kernel32/tests: Don't crash on Vista.
[wine/dibdrv.git] / configure
blobb8eea0b3cc21e618e565e8c7a968c671b9269138
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 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 NASLIBS
714 XML2LIBS
715 XML2INCL
716 XSLTLIBS
717 XSLTINCL
718 HALINCL
719 sane_devel
720 SANEINCL
721 gphoto2_devel
722 gphoto2port_devel
723 GPHOTO2LIBS
724 GPHOTO2INCL
725 ICULIBS
726 RESOLVLIBS
727 LCMSLIBS
728 LDAPLIBS
729 FREETYPELIBS
730 FREETYPEINCL
731 ft_devel
732 ft_devel2
733 FONTSSUBDIRS
734 ESDCONFIG
735 ESDLIBS
736 ESDINCL
737 ALSALIBS
738 AUDIOIOLIBS
739 EXTRACFLAGS
740 BUILTINFLAG
741 DLLEXT
742 DLLFLAGS
743 LDSHARED
744 LDDLLFLAGS
745 LIBEXT
746 IMPLIBEXT
747 LDRPATH_INSTALL
748 LDRPATH_LOCAL
749 DLLTOOL
750 DLLWRAP
751 MINGWAR
752 COREFOUNDATIONLIB
753 IOKITLIB
754 LDEXECFLAGS
755 DISKARBITRATIONLIB
756 COREAUDIO
757 CARBONLIB
758 CROSSTEST
759 CROSSCC
760 CROSSWINDRES
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.39 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.39:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CPP C preprocessor
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1404 ac_builddir=.
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1422 case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1431 *) # Relative name.
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455 cat <<\_ACEOF
1456 Wine configure 0.9.39
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.39, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1473 $ $0 $@
1475 _ACEOF
1476 exec 5>>config.log
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 _ASUNAME
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1511 } >&5
1513 cat >&5 <<_ACEOF
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1520 _ACEOF
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1534 for ac_arg
1536 case $ac_arg in
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1550 else
1551 case $ac_arg in
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 esac
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1565 esac
1566 done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1579 echo
1581 cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1600 esac ;;
1601 esac
1602 done
1603 (set) 2>&1 |
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1606 sed -n \
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 ;; #(
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 esac |
1614 sort
1616 echo
1618 cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623 echo
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1634 if test -n "$ac_subst_files"; then
1635 cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640 echo
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 echo "$ac_var='\''$ac_val'\''"
1648 done | sort
1649 echo
1652 if test -s confdefs.h; then
1653 cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1715 shift
1716 for ac_site_file
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1770 fi;;
1771 esac
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1774 case $ac_new_val in
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1777 esac
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 esac
1783 done
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1936 else
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966 case $host in
1967 x86_64*linux*)
1968 if test "x$enable_win64" != "xyes"
1969 then
1970 test -n "$CC" || CC="gcc -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1973 host_cpu="i386"
1976 esac
1978 case $host_cpu in
1979 *i[3456789]86*)
1980 if test "x$enable_win16" != "xno"
1981 then
1982 enable_win16="yes"
1985 esac
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1992 then
1993 WIN16_FILES=""
1994 WIN16_INSTALL=""
1997 case "$srcdir" in
1998 .) ;;
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2005 fi ;;
2006 esac
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 *@@@%%%=?*=@@@%%%*)
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032 SET_MAKE=
2033 else
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2068 IFS=$as_save_IFS
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2084 ac_ct_CC=$CC
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2108 IFS=$as_save_IFS
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2122 CC=""
2123 else
2124 case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192 ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2196 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2202 continue
2204 ac_cv_prog_CC="cc"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 break 2
2262 done
2263 done
2264 IFS=$as_save_IFS
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2279 done
2281 if test -z "$CC"; then
2282 ac_ct_CC=$CC
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2323 done
2325 if test "x$ac_ct_CC" = x; then
2326 CC=""
2327 else
2328 case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2361 ac_status=$?
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2371 ac_status=$?
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2420 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 esac
2424 done
2425 rm -f $ac_rmfiles
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2445 case $ac_file in
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 [ab].out )
2449 # We found the default executable, but exeext='' is most
2450 # certainly right.
2451 break;;
2452 *.* )
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 then :; else
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2461 # actually working.
2462 break;;
2464 break;;
2465 esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 else
2470 ac_file=''
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 cross_compiling=no
2506 else
2507 if test "$cross_compiling" = maybe; then
2508 cross_compiling=yes
2509 else
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2643 #ifndef __GNUC__
2644 choke me
2645 #endif
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2726 ac_cv_prog_cc_g=yes
2727 else
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 CFLAGS=""
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2755 ac_status=$?
2756 grep -v '^ *+' conftest.er1 >conftest.err
2757 rm -f conftest.er1
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2770 CFLAGS="-g"
2771 cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h. */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2803 ac_cv_prog_cc_g=yes
2804 else
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2826 CFLAGS="-g -O2"
2827 else
2828 CFLAGS="-g"
2830 else
2831 if test "$GCC" = yes; then
2832 CFLAGS="-O2"
2833 else
2834 CFLAGS=
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h. */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858 char **p;
2859 int i;
2861 return p[i];
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2865 char *s;
2866 va_list v;
2867 va_start (v,p);
2868 s = g (p, va_arg (v,int));
2869 va_end (v);
2870 return s;
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2894 main ()
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 return 0;
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942 xno)
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2965 CXX=$CCC
2966 else
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2991 done
2992 done
2993 IFS=$as_save_IFS
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3008 done
3010 if test -z "$CXX"; then
3011 ac_ct_CXX=$CXX
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3052 done
3054 if test "x$ac_ct_CXX" = x; then
3055 CXX="g++"
3056 else
3057 case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CXX=$ac_ct_CXX
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3083 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h. */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 main ()
3122 #ifndef __GNUC__
3123 choke me
3124 #endif
3127 return 0;
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3147 ac_compiler_gnu=yes
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_compiler_gnu=no
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3171 ac_cv_prog_cxx_g=no
3172 CXXFLAGS="-g"
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3196 ac_status=$?
3197 grep -v '^ *+' conftest.er1 >conftest.err
3198 rm -f conftest.er1
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 CXXFLAGS=""
3211 cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h. */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 CXXFLAGS="-g"
3250 cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h. */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3305 CXXFLAGS="-g -O2"
3306 else
3307 CXXFLAGS="-g"
3309 else
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-O2"
3312 else
3313 CXXFLAGS=
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3344 done
3345 done
3346 IFS=$as_save_IFS
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3384 done
3385 done
3386 IFS=$as_save_IFS
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3400 CPPBIN="cpp"
3401 else
3402 case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412 CPPBIN=$ac_ct_CPPBIN
3414 else
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3429 else
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436 esac
3437 else
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458 CPP=
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3467 ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487 Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 ac_status=$?
3497 grep -v '^ *+' conftest.er1 >conftest.err
3498 rm -f conftest.er1
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 }; then
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3511 continue
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h. */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3541 }; then
3542 # Broken: success on invalid input.
3543 continue
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3553 rm -f conftest.err conftest.$ac_ext
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559 break
3562 done
3563 ac_cv_prog_CPP=$CPP
3566 CPP=$ac_cv_prog_CPP
3567 else
3568 ac_cv_prog_CPP=$CPP
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592 Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 }; then
3611 else
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3616 continue
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h. */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 }; then
3647 # Broken: success on invalid input.
3648 continue
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3658 rm -f conftest.err conftest.$ac_ext
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3665 else
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686 withval=$with_x;
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3692 have_x=disabled
3693 else
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705 cd conftest.dir
3706 cat >Imakefile <<'_ACEOF'
3707 incroot:
3708 @echo incroot='${INCROOT}'
3709 usrlibdir:
3710 @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712 @echo libdir='${LIBDIR}'
3713 _ACEOF
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718 done
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3725 done
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 esac
3733 case $ac_im_usrlibdir in
3734 /usr/lib | /lib) ;;
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736 esac
3738 cd ..
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 }; then
3806 # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3815 break
3817 done
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3827 ac_save_LIBS=$LIBS
3828 LIBS="-lX11 $LIBS"
3829 cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h. */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 main ()
3839 XrmInitialize ()
3841 return 0;
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3852 ac_status=$?
3853 grep -v '^ *+' conftest.er1 >conftest.err
3854 rm -f conftest.er1
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3862 LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3876 break 2
3878 done
3879 done
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3887 no,* | *,no | *\'*)
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3895 esac
3897 ;; #(
3898 *) have_x=yes;;
3899 esac
3900 eval "$ac_cv_have_x"
3901 fi # $with_x != no
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906 no_x=yes
3907 else
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3965 ac_status=$?
3966 grep -v '^ *+' conftest.er1 >conftest.err
3967 rm -f conftest.er1
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4034 LIBS=$ac_xsave_LIBS
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 else
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4063 main ()
4065 return XOpenDisplay ();
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h. */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4115 main ()
4117 return dnet_ntoa ();
4119 return 0;
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4130 ac_status=$?
4131 grep -v '^ *+' conftest.er1 >conftest.err
4132 rm -f conftest.er1
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4181 main ()
4183 return dnet_ntoa ();
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # needs -lnsl.
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4282 main ()
4284 return gethostbyname ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4308 else
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4344 main ()
4346 return gethostbyname ();
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4410 main ()
4412 return gethostbyname ();
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef connect
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4506 main ()
4508 return connect ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4568 main ()
4570 return connect ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4640 #undef remove
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char remove ();
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4657 main ()
4659 return remove ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h. */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4719 main ()
4721 return remove ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4791 #undef shmat
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4808 main ()
4810 return shmat ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_func_shmat=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h. */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4870 main ()
4872 return shmat ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h. */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4947 main ()
4949 return IceConnectionNumber ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4962 ac_status=$?
4963 grep -v '^ *+' conftest.er1 >conftest.err
4964 rm -f conftest.er1
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4995 for ac_prog in flex
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5039 then
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5089 then
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5136 done
5138 if test -z "$AS"; then
5139 ac_ct_AS=$AS
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5180 done
5182 if test "x$ac_ct_AS" = x; then
5183 AS="as"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AS=$ac_ct_AS
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5239 ac_ct_LD=$LD
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5277 LD="ld"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 LD=$ac_ct_LD
5291 else
5292 LD="$ac_cv_prog_LD"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5335 ac_ct_AR=$AR
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5373 AR="ar"
5374 else
5375 case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385 AR=$ac_ct_AR
5387 else
5388 AR="$ac_cv_prog_AR"
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5469 RANLIB=":"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577 STRIP=$ac_ct_STRIP
5579 else
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5661 WINDRES="false"
5662 else
5663 case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 WINDRES=$ac_ct_WINDRES
5675 else
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695 LN=ln
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700 LN="cp -p"
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5734 ac_count=0
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5757 $ac_path_GREP_found && break 3
5758 done
5759 done
5761 done
5762 IFS=$as_save_IFS
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5774 else
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5792 else
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5839 $ac_path_EGREP_found && break 3
5840 done
5841 done
5843 done
5844 IFS=$as_save_IFS
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5856 else
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875 case $LDCONFIG in
5876 [\\/]* | ?:[\\/]*)
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5897 esac
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938 /usr/ucb/* ) ;;
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5942 # by default.
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5954 else
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956 break 3
5959 done
5960 done
5962 esac
5963 done
5964 IFS=$as_save_IFS
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5970 else
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5989 case "$INSTALL" in
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6034 done
6036 if test "$LINT" = "lint"
6037 then
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6130 case $host_cpu in
6131 *i[3456789]86*)
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 case $PRELINK in
6140 [\\/]* | ?:[\\/]*)
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6161 esac
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 esac
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386 $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6200 main ()
6202 return i386_set_ldt ();
6204 return 0;
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6215 ac_status=$?
6216 grep -v '^ *+' conftest.er1 >conftest.err
6217 rm -f conftest.er1
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6244 LIBS="-li386 $LIBS"
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6271 main ()
6273 return _oss_ioctl ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lxpg4 $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _xpg4_setrunelocale ();
6342 main ()
6344 return _xpg4_setrunelocale ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6384 _ACEOF
6386 LIBS="-lxpg4 $LIBS"
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char pthread_create ();
6412 main ()
6414 return pthread_create ();
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6457 XLIB=""
6459 XFILES=""
6461 OPENGLFILES=""
6463 GLU32FILES=""
6465 OPENGL_LIBS=""
6467 QUARTZFILES=""
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <stdlib.h>
6483 #include <stdarg.h>
6484 #include <string.h>
6485 #include <float.h>
6488 main ()
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6497 case "(($ac_try" in
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6500 esac
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6513 else
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <string.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, 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 <stdlib.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6568 else
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 main ()
6592 int i;
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6596 return 2;
6597 return 0;
6599 _ACEOF
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6602 case "(($ac_try" in
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6605 esac
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6614 esac
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6621 else
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ( exit $ac_status )
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6641 _ACEOF
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6676 case "(($ac_try" in
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6679 esac
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6682 ac_status=$?
6683 grep -v '^ *+' conftest.er1 >conftest.err
6684 rm -f conftest.er1
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6692 else
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6711 done
6823 for ac_header in \
6824 AudioUnit/AudioUnit.h \
6825 Carbon/Carbon.h \
6826 CoreAudio/CoreAudio.h \
6827 DiskArbitration/DiskArbitration.h \
6828 IOKit/IOKitLib.h \
6829 alsa/asoundlib.h \
6830 arpa/inet.h \
6831 arpa/nameser.h \
6832 asm/types.h \
6833 capi20.h \
6834 cups/cups.h \
6835 curses.h \
6836 direct.h \
6837 dlfcn.h \
6838 elf.h \
6839 float.h \
6840 fontconfig/fontconfig.h \
6841 getopt.h \
6842 ieeefp.h \
6843 io.h \
6844 jack/jack.h \
6845 jpeglib.h \
6846 lber.h \
6847 lcms.h \
6848 lcms/lcms.h \
6849 ldap.h \
6850 libaudioio.h \
6851 link.h \
6852 linux/cdrom.h \
6853 linux/compiler.h \
6854 linux/hdreg.h \
6855 linux/input.h \
6856 linux/ioctl.h \
6857 linux/joystick.h \
6858 linux/major.h \
6859 linux/param.h \
6860 linux/serial.h \
6861 linux/ucdrom.h \
6862 mach/mach.h \
6863 mach/machine.h \
6864 machine/cpu.h \
6865 machine/limits.h \
6866 machine/soundcard.h \
6867 mntent.h \
6868 ncurses.h \
6869 netdb.h \
6870 netinet/in.h \
6871 netinet/in_systm.h \
6872 netinet/tcp.h \
6873 netinet/tcp_fsm.h \
6874 openssl/err.h \
6875 openssl/ssl.h \
6876 poll.h \
6877 process.h \
6878 pthread.h \
6879 pwd.h \
6880 regex.h \
6881 sched.h \
6882 scsi/scsi.h \
6883 scsi/scsi_ioctl.h \
6884 scsi/sg.h \
6885 soundcard.h \
6886 stdint.h \
6887 strings.h \
6888 sys/asoundlib.h \
6889 sys/cdio.h \
6890 sys/elf32.h \
6891 sys/epoll.h \
6892 sys/errno.h \
6893 sys/event.h \
6894 sys/exec_elf.h \
6895 sys/filio.h \
6896 sys/ioctl.h \
6897 sys/ipc.h \
6898 sys/limits.h \
6899 sys/link.h \
6900 sys/lwp.h \
6901 sys/mman.h \
6902 sys/modem.h \
6903 sys/msg.h \
6904 sys/mtio.h \
6905 sys/param.h \
6906 sys/poll.h \
6907 sys/prctl.h \
6908 sys/ptrace.h \
6909 sys/reg.h \
6910 sys/resource.h \
6911 sys/scsiio.h \
6912 sys/shm.h \
6913 sys/signal.h \
6914 sys/socket.h \
6915 sys/sockio.h \
6916 sys/soundcard.h \
6917 sys/statvfs.h \
6918 sys/strtio.h \
6919 sys/syscall.h \
6920 sys/sysctl.h \
6921 sys/time.h \
6922 sys/times.h \
6923 sys/uio.h \
6924 sys/un.h \
6925 sys/vm86.h \
6926 sys/wait.h \
6927 syscall.h \
6928 termios.h \
6929 unicode/ubidi.h \
6930 unistd.h \
6931 utime.h \
6932 valgrind/memcheck.h
6935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 ac_res=`eval echo '${'$as_ac_Header'}'`
6943 { echo "$as_me:$LINENO: result: $ac_res" >&5
6944 echo "${ECHO_T}$ac_res" >&6; }
6945 else
6946 # Is the header compilable?
6947 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6949 cat >conftest.$ac_ext <<_ACEOF
6950 /* confdefs.h. */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 $ac_includes_default
6956 #include <$ac_header>
6957 _ACEOF
6958 rm -f conftest.$ac_objext
6959 if { (ac_try="$ac_compile"
6960 case "(($ac_try" in
6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6963 esac
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965 (eval "$ac_compile") 2>conftest.er1
6966 ac_status=$?
6967 grep -v '^ *+' conftest.er1 >conftest.err
6968 rm -f conftest.er1
6969 cat conftest.err >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } && {
6972 test -z "$ac_c_werror_flag" ||
6973 test ! -s conftest.err
6974 } && test -s conftest.$ac_objext; then
6975 ac_header_compiler=yes
6976 else
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6980 ac_header_compiler=no
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6985 echo "${ECHO_T}$ac_header_compiler" >&6; }
6987 # Is the header present?
6988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6990 cat >conftest.$ac_ext <<_ACEOF
6991 /* confdefs.h. */
6992 _ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
6996 #include <$ac_header>
6997 _ACEOF
6998 if { (ac_try="$ac_cpp conftest.$ac_ext"
6999 case "(($ac_try" in
7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001 *) ac_try_echo=$ac_try;;
7002 esac
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7005 ac_status=$?
7006 grep -v '^ *+' conftest.er1 >conftest.err
7007 rm -f conftest.er1
7008 cat conftest.err >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } >/dev/null && {
7011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7012 test ! -s conftest.err
7013 }; then
7014 ac_header_preproc=yes
7015 else
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7019 ac_header_preproc=no
7022 rm -f conftest.err conftest.$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7024 echo "${ECHO_T}$ac_header_preproc" >&6; }
7026 # So? What about this header?
7027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7028 yes:no: )
7029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7033 ac_header_preproc=yes
7035 no:yes:* )
7036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7048 ( cat <<\_ASBOX
7049 ## ------------------------------------ ##
7050 ## Report this to wine-devel@winehq.org ##
7051 ## ------------------------------------ ##
7052 _ASBOX
7053 ) | sed "s/^/$as_me: WARNING: /" >&2
7055 esac
7056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 else
7061 eval "$as_ac_Header=\$ac_header_preproc"
7063 ac_res=`eval echo '${'$as_ac_Header'}'`
7064 { echo "$as_me:$LINENO: result: $ac_res" >&5
7065 echo "${ECHO_T}$ac_res" >&6; }
7068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7069 cat >>confdefs.h <<_ACEOF
7070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7071 _ACEOF
7075 done
7077 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7078 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7079 if test "${ac_cv_header_stat_broken+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 else
7082 cat >conftest.$ac_ext <<_ACEOF
7083 /* confdefs.h. */
7084 _ACEOF
7085 cat confdefs.h >>conftest.$ac_ext
7086 cat >>conftest.$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7088 #include <sys/types.h>
7089 #include <sys/stat.h>
7091 #if defined S_ISBLK && defined S_IFDIR
7092 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7093 #endif
7095 #if defined S_ISBLK && defined S_IFCHR
7096 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7097 #endif
7099 #if defined S_ISLNK && defined S_IFREG
7100 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7101 #endif
7103 #if defined S_ISSOCK && defined S_IFREG
7104 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7105 #endif
7107 _ACEOF
7108 rm -f conftest.$ac_objext
7109 if { (ac_try="$ac_compile"
7110 case "(($ac_try" in
7111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112 *) ac_try_echo=$ac_try;;
7113 esac
7114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115 (eval "$ac_compile") 2>conftest.er1
7116 ac_status=$?
7117 grep -v '^ *+' conftest.er1 >conftest.err
7118 rm -f conftest.er1
7119 cat conftest.err >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } && {
7122 test -z "$ac_c_werror_flag" ||
7123 test ! -s conftest.err
7124 } && test -s conftest.$ac_objext; then
7125 ac_cv_header_stat_broken=no
7126 else
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.$ac_ext >&5
7130 ac_cv_header_stat_broken=yes
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7136 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7137 if test $ac_cv_header_stat_broken = yes; then
7139 cat >>confdefs.h <<\_ACEOF
7140 #define STAT_MACROS_BROKEN 1
7141 _ACEOF
7151 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <sys/types.h>
7166 #if HAVE_SYS_PARAM_H
7167 # include <sys/param.h>
7168 #endif
7170 #include <$ac_header>
7171 _ACEOF
7172 rm -f conftest.$ac_objext
7173 if { (ac_try="$ac_compile"
7174 case "(($ac_try" in
7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7177 esac
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_compile") 2>conftest.er1
7180 ac_status=$?
7181 grep -v '^ *+' conftest.er1 >conftest.err
7182 rm -f conftest.er1
7183 cat conftest.err >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } && {
7186 test -z "$ac_c_werror_flag" ||
7187 test ! -s conftest.err
7188 } && test -s conftest.$ac_objext; then
7189 eval "$as_ac_Header=yes"
7190 else
7191 echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.$ac_ext >&5
7194 eval "$as_ac_Header=no"
7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7199 ac_res=`eval echo '${'$as_ac_Header'}'`
7200 { echo "$as_me:$LINENO: result: $ac_res" >&5
7201 echo "${ECHO_T}$ac_res" >&6; }
7202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7203 cat >>confdefs.h <<_ACEOF
7204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7205 _ACEOF
7209 done
7218 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
7220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7224 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 else
7226 cat >conftest.$ac_ext <<_ACEOF
7227 /* confdefs.h. */
7228 _ACEOF
7229 cat confdefs.h >>conftest.$ac_ext
7230 cat >>conftest.$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7232 #include <sys/types.h>
7233 #if HAVE_SYS_SOCKET_H
7234 # include <sys/socket.h>
7235 #endif
7237 #include <$ac_header>
7238 _ACEOF
7239 rm -f conftest.$ac_objext
7240 if { (ac_try="$ac_compile"
7241 case "(($ac_try" in
7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7243 *) ac_try_echo=$ac_try;;
7244 esac
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_compile") 2>conftest.er1
7247 ac_status=$?
7248 grep -v '^ *+' conftest.er1 >conftest.err
7249 rm -f conftest.er1
7250 cat conftest.err >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); } && {
7253 test -z "$ac_c_werror_flag" ||
7254 test ! -s conftest.err
7255 } && test -s conftest.$ac_objext; then
7256 eval "$as_ac_Header=yes"
7257 else
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 eval "$as_ac_Header=no"
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7266 ac_res=`eval echo '${'$as_ac_Header'}'`
7267 { echo "$as_me:$LINENO: result: $ac_res" >&5
7268 echo "${ECHO_T}$ac_res" >&6; }
7269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7270 cat >>confdefs.h <<_ACEOF
7271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 _ACEOF
7276 done
7280 for ac_header in linux/ipx.h
7282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 else
7288 cat >conftest.$ac_ext <<_ACEOF
7289 /* confdefs.h. */
7290 _ACEOF
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7294 #include <sys/types.h>
7295 #ifdef HAVE_ASM_TYPES_H
7296 # include <asm/types.h>
7297 #endif
7298 #if HAVE_SYS_SOCKET_H
7299 # include <sys/socket.h>
7300 #endif
7302 #include <$ac_header>
7303 _ACEOF
7304 rm -f conftest.$ac_objext
7305 if { (ac_try="$ac_compile"
7306 case "(($ac_try" in
7307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7308 *) ac_try_echo=$ac_try;;
7309 esac
7310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7311 (eval "$ac_compile") 2>conftest.er1
7312 ac_status=$?
7313 grep -v '^ *+' conftest.er1 >conftest.err
7314 rm -f conftest.er1
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } && {
7318 test -z "$ac_c_werror_flag" ||
7319 test ! -s conftest.err
7320 } && test -s conftest.$ac_objext; then
7321 eval "$as_ac_Header=yes"
7322 else
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.$ac_ext >&5
7326 eval "$as_ac_Header=no"
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331 ac_res=`eval echo '${'$as_ac_Header'}'`
7332 { echo "$as_me:$LINENO: result: $ac_res" >&5
7333 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335 cat >>confdefs.h <<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7345 for ac_header in resolv.h
7347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 else
7353 cat >conftest.$ac_ext <<_ACEOF
7354 /* confdefs.h. */
7355 _ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #include <sys/types.h>
7360 #if HAVE_SYS_SOCKET_H
7361 # include <sys/socket.h>
7362 #endif
7363 #if HAVE_NETINET_IN_H
7364 # include <netinet/in.h>
7365 #endif
7366 #if HAVE_ARPA_NAMESER_H
7367 # include <arpa/nameser.h>
7368 #endif
7370 #include <$ac_header>
7371 _ACEOF
7372 rm -f conftest.$ac_objext
7373 if { (ac_try="$ac_compile"
7374 case "(($ac_try" in
7375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7376 *) ac_try_echo=$ac_try;;
7377 esac
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379 (eval "$ac_compile") 2>conftest.er1
7380 ac_status=$?
7381 grep -v '^ *+' conftest.er1 >conftest.err
7382 rm -f conftest.er1
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && {
7386 test -z "$ac_c_werror_flag" ||
7387 test ! -s conftest.err
7388 } && test -s conftest.$ac_objext; then
7389 eval "$as_ac_Header=yes"
7390 else
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7394 eval "$as_ac_Header=no"
7397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7399 ac_res=`eval echo '${'$as_ac_Header'}'`
7400 { echo "$as_me:$LINENO: result: $ac_res" >&5
7401 echo "${ECHO_T}$ac_res" >&6; }
7402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7403 cat >>confdefs.h <<_ACEOF
7404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7405 _ACEOF
7409 done
7413 for ac_header in ucontext.h
7415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 else
7421 cat >conftest.$ac_ext <<_ACEOF
7422 /* confdefs.h. */
7423 _ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 #include <signal.h>
7429 #include <$ac_header>
7430 _ACEOF
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7433 case "(($ac_try" in
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7436 esac
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_compile") 2>conftest.er1
7439 ac_status=$?
7440 grep -v '^ *+' conftest.er1 >conftest.err
7441 rm -f conftest.er1
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && {
7445 test -z "$ac_c_werror_flag" ||
7446 test ! -s conftest.err
7447 } && test -s conftest.$ac_objext; then
7448 eval "$as_ac_Header=yes"
7449 else
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 eval "$as_ac_Header=no"
7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7458 ac_res=`eval echo '${'$as_ac_Header'}'`
7459 { echo "$as_me:$LINENO: result: $ac_res" >&5
7460 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7472 for ac_header in pthread_np.h
7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else
7480 cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h. */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #ifdef HAVE_PTHREAD_H
7487 #include <pthread.h>
7488 #endif
7490 #include <$ac_header>
7491 _ACEOF
7492 rm -f conftest.$ac_objext
7493 if { (ac_try="$ac_compile"
7494 case "(($ac_try" in
7495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7496 *) ac_try_echo=$ac_try;;
7497 esac
7498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7499 (eval "$ac_compile") 2>conftest.er1
7500 ac_status=$?
7501 grep -v '^ *+' conftest.er1 >conftest.err
7502 rm -f conftest.er1
7503 cat conftest.err >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } && {
7506 test -z "$ac_c_werror_flag" ||
7507 test ! -s conftest.err
7508 } && test -s conftest.$ac_objext; then
7509 eval "$as_ac_Header=yes"
7510 else
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 eval "$as_ac_Header=no"
7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7519 ac_res=`eval echo '${'$as_ac_Header'}'`
7520 { echo "$as_me:$LINENO: result: $ac_res" >&5
7521 echo "${ECHO_T}$ac_res" >&6; }
7522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7523 cat >>confdefs.h <<_ACEOF
7524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 _ACEOF
7529 done
7533 for ac_header in linux/videodev.h
7535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 else
7541 cat >conftest.$ac_ext <<_ACEOF
7542 /* confdefs.h. */
7543 _ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7547 #ifdef HAVE_SYS_TIME_H
7548 #include <sys/time.h>
7549 #endif
7550 #include <sys/types.h>
7551 #ifdef HAVE_ASM_TYPES_H
7552 #include <asm/types.h>
7553 #endif
7555 #include <$ac_header>
7556 _ACEOF
7557 rm -f conftest.$ac_objext
7558 if { (ac_try="$ac_compile"
7559 case "(($ac_try" in
7560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7561 *) ac_try_echo=$ac_try;;
7562 esac
7563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564 (eval "$ac_compile") 2>conftest.er1
7565 ac_status=$?
7566 grep -v '^ *+' conftest.er1 >conftest.err
7567 rm -f conftest.er1
7568 cat conftest.err >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } && {
7571 test -z "$ac_c_werror_flag" ||
7572 test ! -s conftest.err
7573 } && test -s conftest.$ac_objext; then
7574 eval "$as_ac_Header=yes"
7575 else
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7579 eval "$as_ac_Header=no"
7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7584 ac_res=`eval echo '${'$as_ac_Header'}'`
7585 { echo "$as_me:$LINENO: result: $ac_res" >&5
7586 echo "${ECHO_T}$ac_res" >&6; }
7587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7588 cat >>confdefs.h <<_ACEOF
7589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7594 done
7598 for ac_header in linux/capi.h
7600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 else
7606 cat >conftest.$ac_ext <<_ACEOF
7607 /* confdefs.h. */
7608 _ACEOF
7609 cat confdefs.h >>conftest.$ac_ext
7610 cat >>conftest.$ac_ext <<_ACEOF
7611 /* end confdefs.h. */
7612 #define __user
7614 #include <$ac_header>
7615 _ACEOF
7616 rm -f conftest.$ac_objext
7617 if { (ac_try="$ac_compile"
7618 case "(($ac_try" in
7619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7620 *) ac_try_echo=$ac_try;;
7621 esac
7622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7623 (eval "$ac_compile") 2>conftest.er1
7624 ac_status=$?
7625 grep -v '^ *+' conftest.er1 >conftest.err
7626 rm -f conftest.er1
7627 cat conftest.err >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } && {
7630 test -z "$ac_c_werror_flag" ||
7631 test ! -s conftest.err
7632 } && test -s conftest.$ac_objext; then
7633 eval "$as_ac_Header=yes"
7634 else
7635 echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7638 eval "$as_ac_Header=no"
7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 ac_res=`eval echo '${'$as_ac_Header'}'`
7644 { echo "$as_me:$LINENO: result: $ac_res" >&5
7645 echo "${ECHO_T}$ac_res" >&6; }
7646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7647 cat >>confdefs.h <<_ACEOF
7648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7649 _ACEOF
7653 done
7657 if test "$have_x" = "yes"
7658 then
7659 XLIB="-lXext -lX11"
7660 ac_save_CPPFLAGS="$CPPFLAGS"
7661 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7674 for ac_header in X11/Xlib.h \
7675 X11/XKBlib.h \
7676 X11/Xutil.h \
7677 X11/Xcursor/Xcursor.h \
7678 X11/extensions/shape.h \
7679 X11/extensions/XInput.h \
7680 X11/extensions/XShm.h \
7681 X11/extensions/Xinerama.h \
7682 X11/extensions/Xrandr.h \
7683 X11/extensions/Xrender.h \
7684 X11/extensions/xf86vmode.h
7686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 else
7692 cat >conftest.$ac_ext <<_ACEOF
7693 /* confdefs.h. */
7694 _ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 #ifdef HAVE_X11_XLIB_H
7699 # include <X11/Xlib.h>
7700 #endif
7701 #ifdef HAVE_X11_XUTIL_H
7702 # include <X11/Xutil.h>
7703 #endif
7705 #include <$ac_header>
7706 _ACEOF
7707 rm -f conftest.$ac_objext
7708 if { (ac_try="$ac_compile"
7709 case "(($ac_try" in
7710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7711 *) ac_try_echo=$ac_try;;
7712 esac
7713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714 (eval "$ac_compile") 2>conftest.er1
7715 ac_status=$?
7716 grep -v '^ *+' conftest.er1 >conftest.err
7717 rm -f conftest.er1
7718 cat conftest.err >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } && {
7721 test -z "$ac_c_werror_flag" ||
7722 test ! -s conftest.err
7723 } && test -s conftest.$ac_objext; then
7724 eval "$as_ac_Header=yes"
7725 else
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7729 eval "$as_ac_Header=no"
7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734 ac_res=`eval echo '${'$as_ac_Header'}'`
7735 { echo "$as_me:$LINENO: result: $ac_res" >&5
7736 echo "${ECHO_T}$ac_res" >&6; }
7737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7738 cat >>confdefs.h <<_ACEOF
7739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7744 done
7747 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7748 then
7749 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7750 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7751 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7752 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 else
7754 ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7756 cat >conftest.$ac_ext <<_ACEOF
7757 /* confdefs.h. */
7758 _ACEOF
7759 cat confdefs.h >>conftest.$ac_ext
7760 cat >>conftest.$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7763 /* Override any GCC internal prototype to avoid an error.
7764 Use char because int might match the return type of a GCC
7765 builtin and then its argument prototype would still apply. */
7766 #ifdef __cplusplus
7767 extern "C"
7768 #endif
7769 char XkbQueryExtension ();
7771 main ()
7773 return XkbQueryExtension ();
7775 return 0;
7777 _ACEOF
7778 rm -f conftest.$ac_objext conftest$ac_exeext
7779 if { (ac_try="$ac_link"
7780 case "(($ac_try" in
7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7783 esac
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 (eval "$ac_link") 2>conftest.er1
7786 ac_status=$?
7787 grep -v '^ *+' conftest.er1 >conftest.err
7788 rm -f conftest.er1
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } && {
7792 test -z "$ac_c_werror_flag" ||
7793 test ! -s conftest.err
7794 } && test -s conftest$ac_exeext &&
7795 $as_test_x conftest$ac_exeext; then
7796 ac_cv_lib_X11_XkbQueryExtension=yes
7797 else
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 ac_cv_lib_X11_XkbQueryExtension=no
7804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LIBS=$ac_check_lib_save_LIBS
7808 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7809 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7810 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7812 cat >>confdefs.h <<\_ACEOF
7813 #define HAVE_XKB 1
7814 _ACEOF
7820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7821 then
7822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else
7827 ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7830 /* confdefs.h. */
7831 _ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any GCC internal prototype to avoid an error.
7837 Use char because int might match the return type of a GCC
7838 builtin and then its argument prototype would still apply. */
7839 #ifdef __cplusplus
7840 extern "C"
7841 #endif
7842 char XShmQueryExtension ();
7844 main ()
7846 return XShmQueryExtension ();
7848 return 0;
7850 _ACEOF
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7853 case "(($ac_try" in
7854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7855 *) ac_try_echo=$ac_try;;
7856 esac
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858 (eval "$ac_link") 2>conftest.er1
7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } && {
7865 test -z "$ac_c_werror_flag" ||
7866 test ! -s conftest.err
7867 } && test -s conftest$ac_exeext &&
7868 $as_test_x conftest$ac_exeext; then
7869 ac_cv_lib_Xext_XShmQueryExtension=yes
7870 else
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 ac_cv_lib_Xext_XShmQueryExtension=no
7877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878 conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7885 cat >>confdefs.h <<\_ACEOF
7886 #define HAVE_LIBXXSHM 1
7887 _ACEOF
7893 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7894 then
7895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 else
7900 ac_check_lib_save_LIBS=$LIBS
7901 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7902 cat >conftest.$ac_ext <<_ACEOF
7903 /* confdefs.h. */
7904 _ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7909 /* Override any GCC internal prototype to avoid an error.
7910 Use char because int might match the return type of a GCC
7911 builtin and then its argument prototype would still apply. */
7912 #ifdef __cplusplus
7913 extern "C"
7914 #endif
7915 char XShapeQueryExtension ();
7917 main ()
7919 return XShapeQueryExtension ();
7921 return 0;
7923 _ACEOF
7924 rm -f conftest.$ac_objext conftest$ac_exeext
7925 if { (ac_try="$ac_link"
7926 case "(($ac_try" in
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7929 esac
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_link") 2>conftest.er1
7932 ac_status=$?
7933 grep -v '^ *+' conftest.er1 >conftest.err
7934 rm -f conftest.er1
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest$ac_exeext &&
7941 $as_test_x conftest$ac_exeext; then
7942 ac_cv_lib_Xext_XShapeQueryExtension=yes
7943 else
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 ac_cv_lib_Xext_XShapeQueryExtension=no
7950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7951 conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_LIBXSHAPE 1
7960 _ACEOF
7966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7967 then
7968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973 ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF
7976 /* confdefs.h. */
7977 _ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7985 #ifdef __cplusplus
7986 extern "C"
7987 #endif
7988 char XF86VidModeQueryExtension ();
7990 main ()
7992 return XF86VidModeQueryExtension ();
7994 return 0;
7996 _ACEOF
7997 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (ac_try="$ac_link"
7999 case "(($ac_try" in
8000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8001 *) ac_try_echo=$ac_try;;
8002 esac
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004 (eval "$ac_link") 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } && {
8011 test -z "$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8013 } && test -s conftest$ac_exeext &&
8014 $as_test_x conftest$ac_exeext; then
8015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8016 else
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8020 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8024 conftest$ac_exeext conftest.$ac_ext
8025 LIBS=$ac_check_lib_save_LIBS
8027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8031 cat >>confdefs.h <<\_ACEOF
8032 #define HAVE_LIBXXF86VM 1
8033 _ACEOF
8035 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8041 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8042 then
8043 cat >conftest.$ac_ext <<_ACEOF
8044 /* confdefs.h. */
8045 _ACEOF
8046 cat confdefs.h >>conftest.$ac_ext
8047 cat >>conftest.$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 #include <X11/Xlib.h>
8050 #include <X11/extensions/Xrandr.h>
8052 main ()
8054 static typeof(XRRSetScreenConfigAndRate) * func;
8056 return 0;
8058 _ACEOF
8059 rm -f conftest.$ac_objext
8060 if { (ac_try="$ac_compile"
8061 case "(($ac_try" in
8062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8064 esac
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_compile") 2>conftest.er1
8067 ac_status=$?
8068 grep -v '^ *+' conftest.er1 >conftest.err
8069 rm -f conftest.er1
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest.$ac_objext; then
8077 cat >>confdefs.h <<\_ACEOF
8078 #define HAVE_LIBXRANDR 1
8079 _ACEOF
8081 else
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8092 then
8093 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8094 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8095 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 else
8098 ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h. */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8110 #ifdef __cplusplus
8111 extern "C"
8112 #endif
8113 char XRenderSetPictureTransform ();
8115 main ()
8117 return XRenderSetPictureTransform ();
8119 return 0;
8121 _ACEOF
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8124 case "(($ac_try" in
8125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8127 esac
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8130 ac_status=$?
8131 grep -v '^ *+' conftest.er1 >conftest.err
8132 rm -f conftest.er1
8133 cat conftest.err >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest$ac_exeext &&
8139 $as_test_x conftest$ac_exeext; then
8140 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8141 else
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8152 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8154 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8156 cat >>confdefs.h <<\_ACEOF
8157 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8158 _ACEOF
8164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8165 then
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 #include <X11/Xlib.h>
8173 #include <X11/extensions/Xinerama.h>
8175 main ()
8177 static typeof(XineramaQueryScreens) * func;
8179 return 0;
8181 _ACEOF
8182 rm -f conftest.$ac_objext
8183 if { (ac_try="$ac_compile"
8184 case "(($ac_try" in
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8187 esac
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8190 ac_status=$?
8191 grep -v '^ *+' conftest.er1 >conftest.err
8192 rm -f conftest.er1
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest.$ac_objext; then
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_LIBXINERAMA 1
8202 _ACEOF
8204 else
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 if test "x$with_opengl" != "xno"
8216 then
8221 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */
8231 _ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 #ifdef HAVE_GL_GLX_H
8236 # include <GL/glx.h>
8237 #endif
8239 #include <$ac_header>
8240 _ACEOF
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8243 case "(($ac_try" in
8244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245 *) ac_try_echo=$ac_try;;
8246 esac
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_compile") 2>conftest.er1
8249 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest.$ac_objext; then
8258 eval "$as_ac_Header=yes"
8259 else
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8274 _ACEOF
8278 done
8280 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8281 then
8282 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8283 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8284 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 else
8287 cat >conftest.$ac_ext <<_ACEOF
8288 /* confdefs.h. */
8289 _ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 #include <GL/gl.h>
8295 main ()
8297 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8299 return 0;
8301 _ACEOF
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8304 case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8307 esac
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_compile") 2>conftest.er1
8310 ac_status=$?
8311 grep -v '^ *+' conftest.er1 >conftest.err
8312 rm -f conftest.er1
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest.$ac_objext; then
8319 wine_cv_opengl_header_version_OK="yes"
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 wine_cv_opengl_header_version_OK="no"
8327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8329 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8330 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8332 if test "$wine_cv_opengl_header_version_OK" = "yes"
8333 then
8334 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8335 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8336 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339 ac_check_lib_save_LIBS=$LIBS
8340 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8341 cat >conftest.$ac_ext <<_ACEOF
8342 /* confdefs.h. */
8343 _ACEOF
8344 cat confdefs.h >>conftest.$ac_ext
8345 cat >>conftest.$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8348 /* Override any GCC internal prototype to avoid an error.
8349 Use char because int might match the return type of a GCC
8350 builtin and then its argument prototype would still apply. */
8351 #ifdef __cplusplus
8352 extern "C"
8353 #endif
8354 char glXCreateContext ();
8356 main ()
8358 return glXCreateContext ();
8360 return 0;
8362 _ACEOF
8363 rm -f conftest.$ac_objext conftest$ac_exeext
8364 if { (ac_try="$ac_link"
8365 case "(($ac_try" in
8366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367 *) ac_try_echo=$ac_try;;
8368 esac
8369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8370 (eval "$ac_link") 2>conftest.er1
8371 ac_status=$?
8372 grep -v '^ *+' conftest.er1 >conftest.err
8373 rm -f conftest.er1
8374 cat conftest.err >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); } && {
8377 test -z "$ac_c_werror_flag" ||
8378 test ! -s conftest.err
8379 } && test -s conftest$ac_exeext &&
8380 $as_test_x conftest$ac_exeext; then
8381 ac_cv_lib_GL_glXCreateContext=yes
8382 else
8383 echo "$as_me: failed program was:" >&5
8384 sed 's/^/| /' conftest.$ac_ext >&5
8386 ac_cv_lib_GL_glXCreateContext=no
8389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8390 conftest$ac_exeext conftest.$ac_ext
8391 LIBS=$ac_check_lib_save_LIBS
8393 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8394 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8395 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8396 OPENGL_LIBS="-lGL"
8397 OPENGLFILES='$(OPENGLFILES)'
8399 cat >>confdefs.h <<\_ACEOF
8400 #define HAVE_OPENGL 1
8401 _ACEOF
8407 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8408 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8409 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8411 else
8412 ac_check_lib_save_LIBS=$LIBS
8413 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8414 $LIBS"
8415 cat >conftest.$ac_ext <<_ACEOF
8416 /* confdefs.h. */
8417 _ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8422 /* Override any GCC internal prototype to avoid an error.
8423 Use char because int might match the return type of a GCC
8424 builtin and then its argument prototype would still apply. */
8425 #ifdef __cplusplus
8426 extern "C"
8427 #endif
8428 char gluLookAt ();
8430 main ()
8432 return gluLookAt ();
8434 return 0;
8436 _ACEOF
8437 rm -f conftest.$ac_objext conftest$ac_exeext
8438 if { (ac_try="$ac_link"
8439 case "(($ac_try" in
8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441 *) ac_try_echo=$ac_try;;
8442 esac
8443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444 (eval "$ac_link") 2>conftest.er1
8445 ac_status=$?
8446 grep -v '^ *+' conftest.er1 >conftest.err
8447 rm -f conftest.er1
8448 cat conftest.err >&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } && {
8451 test -z "$ac_c_werror_flag" ||
8452 test ! -s conftest.err
8453 } && test -s conftest$ac_exeext &&
8454 $as_test_x conftest$ac_exeext; then
8455 ac_cv_lib_GLU_gluLookAt=yes
8456 else
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.$ac_ext >&5
8460 ac_cv_lib_GLU_gluLookAt=no
8463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8464 conftest$ac_exeext conftest.$ac_ext
8465 LIBS=$ac_check_lib_save_LIBS
8467 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8468 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8469 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8470 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8471 GLU32FILES='$(GLU32FILES)'
8476 else
8477 wine_cv_opengl_headers_found="no"
8480 NASLIBS=""
8483 for ac_header in audio/audiolib.h
8485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8490 echo $ECHO_N "(cached) $ECHO_C" >&6
8492 ac_res=`eval echo '${'$as_ac_Header'}'`
8493 { echo "$as_me:$LINENO: result: $ac_res" >&5
8494 echo "${ECHO_T}$ac_res" >&6; }
8495 else
8496 # Is the header compilable?
8497 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8499 cat >conftest.$ac_ext <<_ACEOF
8500 /* confdefs.h. */
8501 _ACEOF
8502 cat confdefs.h >>conftest.$ac_ext
8503 cat >>conftest.$ac_ext <<_ACEOF
8504 /* end confdefs.h. */
8505 $ac_includes_default
8506 #include <$ac_header>
8507 _ACEOF
8508 rm -f conftest.$ac_objext
8509 if { (ac_try="$ac_compile"
8510 case "(($ac_try" in
8511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8512 *) ac_try_echo=$ac_try;;
8513 esac
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8515 (eval "$ac_compile") 2>conftest.er1
8516 ac_status=$?
8517 grep -v '^ *+' conftest.er1 >conftest.err
8518 rm -f conftest.er1
8519 cat conftest.err >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } && {
8522 test -z "$ac_c_werror_flag" ||
8523 test ! -s conftest.err
8524 } && test -s conftest.$ac_objext; then
8525 ac_header_compiler=yes
8526 else
8527 echo "$as_me: failed program was:" >&5
8528 sed 's/^/| /' conftest.$ac_ext >&5
8530 ac_header_compiler=no
8533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8534 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8535 echo "${ECHO_T}$ac_header_compiler" >&6; }
8537 # Is the header present?
8538 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8540 cat >conftest.$ac_ext <<_ACEOF
8541 /* confdefs.h. */
8542 _ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8546 #include <$ac_header>
8547 _ACEOF
8548 if { (ac_try="$ac_cpp conftest.$ac_ext"
8549 case "(($ac_try" in
8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551 *) ac_try_echo=$ac_try;;
8552 esac
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8555 ac_status=$?
8556 grep -v '^ *+' conftest.er1 >conftest.err
8557 rm -f conftest.er1
8558 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } >/dev/null && {
8561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8562 test ! -s conftest.err
8563 }; then
8564 ac_header_preproc=yes
8565 else
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8569 ac_header_preproc=no
8572 rm -f conftest.err conftest.$ac_ext
8573 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8574 echo "${ECHO_T}$ac_header_preproc" >&6; }
8576 # So? What about this header?
8577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8578 yes:no: )
8579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8583 ac_header_preproc=yes
8585 no:yes:* )
8586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8598 ( cat <<\_ASBOX
8599 ## ------------------------------------ ##
8600 ## Report this to wine-devel@winehq.org ##
8601 ## ------------------------------------ ##
8602 _ASBOX
8603 ) | sed "s/^/$as_me: WARNING: /" >&2
8605 esac
8606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 else
8611 eval "$as_ac_Header=\$ac_header_preproc"
8613 ac_res=`eval echo '${'$as_ac_Header'}'`
8614 { echo "$as_me:$LINENO: result: $ac_res" >&5
8615 echo "${ECHO_T}$ac_res" >&6; }
8618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8619 cat >>confdefs.h <<_ACEOF
8620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8621 _ACEOF
8623 for ac_header in audio/soundlib.h
8625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631 cat >conftest.$ac_ext <<_ACEOF
8632 /* confdefs.h. */
8633 _ACEOF
8634 cat confdefs.h >>conftest.$ac_ext
8635 cat >>conftest.$ac_ext <<_ACEOF
8636 /* end confdefs.h. */
8637 #include <audio/audiolib.h>
8639 #include <$ac_header>
8640 _ACEOF
8641 rm -f conftest.$ac_objext
8642 if { (ac_try="$ac_compile"
8643 case "(($ac_try" in
8644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8645 *) ac_try_echo=$ac_try;;
8646 esac
8647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8648 (eval "$ac_compile") 2>conftest.er1
8649 ac_status=$?
8650 grep -v '^ *+' conftest.er1 >conftest.err
8651 rm -f conftest.er1
8652 cat conftest.err >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } && {
8655 test -z "$ac_c_werror_flag" ||
8656 test ! -s conftest.err
8657 } && test -s conftest.$ac_objext; then
8658 eval "$as_ac_Header=yes"
8659 else
8660 echo "$as_me: failed program was:" >&5
8661 sed 's/^/| /' conftest.$ac_ext >&5
8663 eval "$as_ac_Header=no"
8666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8668 ac_res=`eval echo '${'$as_ac_Header'}'`
8669 { echo "$as_me:$LINENO: result: $ac_res" >&5
8670 echo "${ECHO_T}$ac_res" >&6; }
8671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8672 cat >>confdefs.h <<_ACEOF
8673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8674 _ACEOF
8678 done
8680 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8681 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8682 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 else
8685 ac_check_lib_save_LIBS=$LIBS
8686 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8687 cat >conftest.$ac_ext <<_ACEOF
8688 /* confdefs.h. */
8689 _ACEOF
8690 cat confdefs.h >>conftest.$ac_ext
8691 cat >>conftest.$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8694 /* Override any GCC internal prototype to avoid an error.
8695 Use char because int might match the return type of a GCC
8696 builtin and then its argument prototype would still apply. */
8697 #ifdef __cplusplus
8698 extern "C"
8699 #endif
8700 char AuCreateFlow ();
8702 main ()
8704 return AuCreateFlow ();
8706 return 0;
8708 _ACEOF
8709 rm -f conftest.$ac_objext conftest$ac_exeext
8710 if { (ac_try="$ac_link"
8711 case "(($ac_try" in
8712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8713 *) ac_try_echo=$ac_try;;
8714 esac
8715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8716 (eval "$ac_link") 2>conftest.er1
8717 ac_status=$?
8718 grep -v '^ *+' conftest.er1 >conftest.err
8719 rm -f conftest.er1
8720 cat conftest.err >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } && {
8723 test -z "$ac_c_werror_flag" ||
8724 test ! -s conftest.err
8725 } && test -s conftest$ac_exeext &&
8726 $as_test_x conftest$ac_exeext; then
8727 ac_cv_lib_audio_AuCreateFlow=yes
8728 else
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 ac_cv_lib_audio_AuCreateFlow=no
8735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8736 conftest$ac_exeext conftest.$ac_ext
8737 LIBS=$ac_check_lib_save_LIBS
8739 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8740 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8741 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8743 cat >>confdefs.h <<\_ACEOF
8744 #define HAVE_NAS 1
8745 _ACEOF
8747 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8748 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8749 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8750 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 else
8752 ac_check_lib_save_LIBS=$LIBS
8753 LIBS="-lXau $X_LIBS $LIBS"
8754 cat >conftest.$ac_ext <<_ACEOF
8755 /* confdefs.h. */
8756 _ACEOF
8757 cat confdefs.h >>conftest.$ac_ext
8758 cat >>conftest.$ac_ext <<_ACEOF
8759 /* end confdefs.h. */
8761 /* Override any GCC internal prototype to avoid an error.
8762 Use char because int might match the return type of a GCC
8763 builtin and then its argument prototype would still apply. */
8764 #ifdef __cplusplus
8765 extern "C"
8766 #endif
8767 char XauGetBestAuthByAddr ();
8769 main ()
8771 return XauGetBestAuthByAddr ();
8773 return 0;
8775 _ACEOF
8776 rm -f conftest.$ac_objext conftest$ac_exeext
8777 if { (ac_try="$ac_link"
8778 case "(($ac_try" in
8779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8780 *) ac_try_echo=$ac_try;;
8781 esac
8782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8783 (eval "$ac_link") 2>conftest.er1
8784 ac_status=$?
8785 grep -v '^ *+' conftest.er1 >conftest.err
8786 rm -f conftest.er1
8787 cat conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } && {
8790 test -z "$ac_c_werror_flag" ||
8791 test ! -s conftest.err
8792 } && test -s conftest$ac_exeext &&
8793 $as_test_x conftest$ac_exeext; then
8794 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8795 else
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8799 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8803 conftest$ac_exeext conftest.$ac_ext
8804 LIBS=$ac_check_lib_save_LIBS
8806 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8807 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8808 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8809 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8810 else
8811 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8819 done
8822 CPPFLAGS="$ac_save_CPPFLAGS"
8823 XFILES='$(XFILES)'
8824 else
8825 XLIB=""
8826 X_CFLAGS=""
8827 X_LIBS=""
8831 XML2LIBS=""
8833 XML2INCL=""
8835 XSLTLIBS=""
8837 XSLTINCL=""
8839 ac_save_CPPFLAGS="$CPPFLAGS"
8840 if test "$PKG_CONFIG" != "false"
8841 then
8842 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8843 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8844 else
8845 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
8846 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
8848 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8850 for ac_header in libxml/parser.h
8852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 ac_res=`eval echo '${'$as_ac_Header'}'`
8860 { echo "$as_me:$LINENO: result: $ac_res" >&5
8861 echo "${ECHO_T}$ac_res" >&6; }
8862 else
8863 # Is the header compilable?
8864 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8866 cat >conftest.$ac_ext <<_ACEOF
8867 /* confdefs.h. */
8868 _ACEOF
8869 cat confdefs.h >>conftest.$ac_ext
8870 cat >>conftest.$ac_ext <<_ACEOF
8871 /* end confdefs.h. */
8872 $ac_includes_default
8873 #include <$ac_header>
8874 _ACEOF
8875 rm -f conftest.$ac_objext
8876 if { (ac_try="$ac_compile"
8877 case "(($ac_try" in
8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8880 esac
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_compile") 2>conftest.er1
8883 ac_status=$?
8884 grep -v '^ *+' conftest.er1 >conftest.err
8885 rm -f conftest.er1
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } && {
8889 test -z "$ac_c_werror_flag" ||
8890 test ! -s conftest.err
8891 } && test -s conftest.$ac_objext; then
8892 ac_header_compiler=yes
8893 else
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 ac_header_compiler=no
8900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8901 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8902 echo "${ECHO_T}$ac_header_compiler" >&6; }
8904 # Is the header present?
8905 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8907 cat >conftest.$ac_ext <<_ACEOF
8908 /* confdefs.h. */
8909 _ACEOF
8910 cat confdefs.h >>conftest.$ac_ext
8911 cat >>conftest.$ac_ext <<_ACEOF
8912 /* end confdefs.h. */
8913 #include <$ac_header>
8914 _ACEOF
8915 if { (ac_try="$ac_cpp conftest.$ac_ext"
8916 case "(($ac_try" in
8917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8918 *) ac_try_echo=$ac_try;;
8919 esac
8920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8922 ac_status=$?
8923 grep -v '^ *+' conftest.er1 >conftest.err
8924 rm -f conftest.er1
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } >/dev/null && {
8928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8929 test ! -s conftest.err
8930 }; then
8931 ac_header_preproc=yes
8932 else
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.$ac_ext >&5
8936 ac_header_preproc=no
8939 rm -f conftest.err conftest.$ac_ext
8940 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8941 echo "${ECHO_T}$ac_header_preproc" >&6; }
8943 # So? What about this header?
8944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8945 yes:no: )
8946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8950 ac_header_preproc=yes
8952 no:yes:* )
8953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8965 ( cat <<\_ASBOX
8966 ## ------------------------------------ ##
8967 ## Report this to wine-devel@winehq.org ##
8968 ## ------------------------------------ ##
8969 _ASBOX
8970 ) | sed "s/^/$as_me: WARNING: /" >&2
8972 esac
8973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978 eval "$as_ac_Header=\$ac_header_preproc"
8980 ac_res=`eval echo '${'$as_ac_Header'}'`
8981 { echo "$as_me:$LINENO: result: $ac_res" >&5
8982 echo "${ECHO_T}$ac_res" >&6; }
8985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8986 cat >>confdefs.h <<_ACEOF
8987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8988 _ACEOF
8989 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8990 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8991 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 else
8994 ac_check_lib_save_LIBS=$LIBS
8995 LIBS="-lxml2 $ac_xml_libs $LIBS"
8996 cat >conftest.$ac_ext <<_ACEOF
8997 /* confdefs.h. */
8998 _ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9006 #ifdef __cplusplus
9007 extern "C"
9008 #endif
9009 char xmlParseMemory ();
9011 main ()
9013 return xmlParseMemory ();
9015 return 0;
9017 _ACEOF
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9020 case "(($ac_try" in
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9022 *) ac_try_echo=$ac_try;;
9023 esac
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9026 ac_status=$?
9027 grep -v '^ *+' conftest.er1 >conftest.err
9028 rm -f conftest.er1
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest$ac_exeext &&
9035 $as_test_x conftest$ac_exeext; then
9036 ac_cv_lib_xml2_xmlParseMemory=yes
9037 else
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.$ac_ext >&5
9041 ac_cv_lib_xml2_xmlParseMemory=no
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9045 conftest$ac_exeext conftest.$ac_ext
9046 LIBS=$ac_check_lib_save_LIBS
9048 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9049 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9050 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9052 cat >>confdefs.h <<\_ACEOF
9053 #define HAVE_LIBXML2 1
9054 _ACEOF
9056 XML2LIBS="$ac_xml_libs"
9057 XML2INCL="$ac_xml_cflags"
9060 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9061 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9062 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9064 else
9065 ac_check_lib_save_LIBS=$LIBS
9066 LIBS="-lxml2 $ac_xml_libs $LIBS"
9067 cat >conftest.$ac_ext <<_ACEOF
9068 /* confdefs.h. */
9069 _ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9077 #ifdef __cplusplus
9078 extern "C"
9079 #endif
9080 char xmlReadMemory ();
9082 main ()
9084 return xmlReadMemory ();
9086 return 0;
9088 _ACEOF
9089 rm -f conftest.$ac_objext conftest$ac_exeext
9090 if { (ac_try="$ac_link"
9091 case "(($ac_try" in
9092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9093 *) ac_try_echo=$ac_try;;
9094 esac
9095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9096 (eval "$ac_link") 2>conftest.er1
9097 ac_status=$?
9098 grep -v '^ *+' conftest.er1 >conftest.err
9099 rm -f conftest.er1
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } && {
9103 test -z "$ac_c_werror_flag" ||
9104 test ! -s conftest.err
9105 } && test -s conftest$ac_exeext &&
9106 $as_test_x conftest$ac_exeext; then
9107 ac_cv_lib_xml2_xmlReadMemory=yes
9108 else
9109 echo "$as_me: failed program was:" >&5
9110 sed 's/^/| /' conftest.$ac_ext >&5
9112 ac_cv_lib_xml2_xmlReadMemory=no
9115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9116 conftest$ac_exeext conftest.$ac_ext
9117 LIBS=$ac_check_lib_save_LIBS
9119 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9120 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9121 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9123 cat >>confdefs.h <<\_ACEOF
9124 #define HAVE_XMLREADMEMORY 1
9125 _ACEOF
9129 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9130 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9131 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9132 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 else
9134 ac_check_lib_save_LIBS=$LIBS
9135 LIBS="-lxml2 $ac_xml_libs $LIBS"
9136 cat >conftest.$ac_ext <<_ACEOF
9137 /* confdefs.h. */
9138 _ACEOF
9139 cat confdefs.h >>conftest.$ac_ext
9140 cat >>conftest.$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9146 #ifdef __cplusplus
9147 extern "C"
9148 #endif
9149 char xmlNewDocPI ();
9151 main ()
9153 return xmlNewDocPI ();
9155 return 0;
9157 _ACEOF
9158 rm -f conftest.$ac_objext conftest$ac_exeext
9159 if { (ac_try="$ac_link"
9160 case "(($ac_try" in
9161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9162 *) ac_try_echo=$ac_try;;
9163 esac
9164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9165 (eval "$ac_link") 2>conftest.er1
9166 ac_status=$?
9167 grep -v '^ *+' conftest.er1 >conftest.err
9168 rm -f conftest.er1
9169 cat conftest.err >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } && {
9172 test -z "$ac_c_werror_flag" ||
9173 test ! -s conftest.err
9174 } && test -s conftest$ac_exeext &&
9175 $as_test_x conftest$ac_exeext; then
9176 ac_cv_lib_xml2_xmlNewDocPI=yes
9177 else
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.$ac_ext >&5
9181 ac_cv_lib_xml2_xmlNewDocPI=no
9184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LIBS=$ac_check_lib_save_LIBS
9188 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9189 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9190 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9192 cat >>confdefs.h <<\_ACEOF
9193 #define HAVE_XMLNEWDOCPI 1
9194 _ACEOF
9201 done
9203 CPPFLAGS="$ac_save_CPPFLAGS"
9204 if test "$PKG_CONFIG" != "false"
9205 then
9206 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9207 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9208 else
9209 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9210 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9212 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9215 for ac_header in libxslt/pattern.h libxslt/transform.h
9217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9221 echo $ECHO_N "(cached) $ECHO_C" >&6
9222 else
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h. */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9229 #ifdef HAVE_LIBXSLT_PATTERN_H
9230 # include <libxslt/pattern.h>
9231 #endif
9233 #include <$ac_header>
9234 _ACEOF
9235 rm -f conftest.$ac_objext
9236 if { (ac_try="$ac_compile"
9237 case "(($ac_try" in
9238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9239 *) ac_try_echo=$ac_try;;
9240 esac
9241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9242 (eval "$ac_compile") 2>conftest.er1
9243 ac_status=$?
9244 grep -v '^ *+' conftest.er1 >conftest.err
9245 rm -f conftest.er1
9246 cat conftest.err >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); } && {
9249 test -z "$ac_c_werror_flag" ||
9250 test ! -s conftest.err
9251 } && test -s conftest.$ac_objext; then
9252 eval "$as_ac_Header=yes"
9253 else
9254 echo "$as_me: failed program was:" >&5
9255 sed 's/^/| /' conftest.$ac_ext >&5
9257 eval "$as_ac_Header=no"
9260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9262 ac_res=`eval echo '${'$as_ac_Header'}'`
9263 { echo "$as_me:$LINENO: result: $ac_res" >&5
9264 echo "${ECHO_T}$ac_res" >&6; }
9265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9266 cat >>confdefs.h <<_ACEOF
9267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9268 _ACEOF
9269 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9270 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9271 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9272 echo $ECHO_N "(cached) $ECHO_C" >&6
9273 else
9274 ac_check_lib_save_LIBS=$LIBS
9275 LIBS="-lxslt $ac_xslt_libs $LIBS"
9276 cat >conftest.$ac_ext <<_ACEOF
9277 /* confdefs.h. */
9278 _ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9286 #ifdef __cplusplus
9287 extern "C"
9288 #endif
9289 char xsltCompilePattern ();
9291 main ()
9293 return xsltCompilePattern ();
9295 return 0;
9297 _ACEOF
9298 rm -f conftest.$ac_objext conftest$ac_exeext
9299 if { (ac_try="$ac_link"
9300 case "(($ac_try" in
9301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9302 *) ac_try_echo=$ac_try;;
9303 esac
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_link") 2>conftest.er1
9306 ac_status=$?
9307 grep -v '^ *+' conftest.er1 >conftest.err
9308 rm -f conftest.er1
9309 cat conftest.err >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } && {
9312 test -z "$ac_c_werror_flag" ||
9313 test ! -s conftest.err
9314 } && test -s conftest$ac_exeext &&
9315 $as_test_x conftest$ac_exeext; then
9316 ac_cv_lib_xslt_xsltCompilePattern=yes
9317 else
9318 echo "$as_me: failed program was:" >&5
9319 sed 's/^/| /' conftest.$ac_ext >&5
9321 ac_cv_lib_xslt_xsltCompilePattern=no
9324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_lib_save_LIBS
9328 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9329 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9330 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9332 cat >>confdefs.h <<\_ACEOF
9333 #define HAVE_LIBXSLT 1
9334 _ACEOF
9336 XSLTLIBS="$ac_xslt_libs"
9337 XSLTINCL="$ac_xslt_cflags"
9343 done
9345 CPPFLAGS="$ac_save_CPPFLAGS"
9347 HALINCL=""
9349 if test "$PKG_CONFIG" != "false"
9350 then
9351 ac_save_CPPFLAGS="$CPPFLAGS"
9352 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9353 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9354 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9357 for ac_header in dbus/dbus.h hal/libhal.h
9359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9364 echo $ECHO_N "(cached) $ECHO_C" >&6
9366 ac_res=`eval echo '${'$as_ac_Header'}'`
9367 { echo "$as_me:$LINENO: result: $ac_res" >&5
9368 echo "${ECHO_T}$ac_res" >&6; }
9369 else
9370 # Is the header compilable?
9371 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9373 cat >conftest.$ac_ext <<_ACEOF
9374 /* confdefs.h. */
9375 _ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9379 $ac_includes_default
9380 #include <$ac_header>
9381 _ACEOF
9382 rm -f conftest.$ac_objext
9383 if { (ac_try="$ac_compile"
9384 case "(($ac_try" in
9385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9386 *) ac_try_echo=$ac_try;;
9387 esac
9388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9389 (eval "$ac_compile") 2>conftest.er1
9390 ac_status=$?
9391 grep -v '^ *+' conftest.er1 >conftest.err
9392 rm -f conftest.er1
9393 cat conftest.err >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); } && {
9396 test -z "$ac_c_werror_flag" ||
9397 test ! -s conftest.err
9398 } && test -s conftest.$ac_objext; then
9399 ac_header_compiler=yes
9400 else
9401 echo "$as_me: failed program was:" >&5
9402 sed 's/^/| /' conftest.$ac_ext >&5
9404 ac_header_compiler=no
9407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9408 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9409 echo "${ECHO_T}$ac_header_compiler" >&6; }
9411 # Is the header present?
9412 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9414 cat >conftest.$ac_ext <<_ACEOF
9415 /* confdefs.h. */
9416 _ACEOF
9417 cat confdefs.h >>conftest.$ac_ext
9418 cat >>conftest.$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9420 #include <$ac_header>
9421 _ACEOF
9422 if { (ac_try="$ac_cpp conftest.$ac_ext"
9423 case "(($ac_try" in
9424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9425 *) ac_try_echo=$ac_try;;
9426 esac
9427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9429 ac_status=$?
9430 grep -v '^ *+' conftest.er1 >conftest.err
9431 rm -f conftest.er1
9432 cat conftest.err >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); } >/dev/null && {
9435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9436 test ! -s conftest.err
9437 }; then
9438 ac_header_preproc=yes
9439 else
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9443 ac_header_preproc=no
9446 rm -f conftest.err conftest.$ac_ext
9447 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9448 echo "${ECHO_T}$ac_header_preproc" >&6; }
9450 # So? What about this header?
9451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9452 yes:no: )
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9457 ac_header_preproc=yes
9459 no:yes:* )
9460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9472 ( cat <<\_ASBOX
9473 ## ------------------------------------ ##
9474 ## Report this to wine-devel@winehq.org ##
9475 ## ------------------------------------ ##
9476 _ASBOX
9477 ) | sed "s/^/$as_me: WARNING: /" >&2
9479 esac
9480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9484 else
9485 eval "$as_ac_Header=\$ac_header_preproc"
9487 ac_res=`eval echo '${'$as_ac_Header'}'`
9488 { echo "$as_me:$LINENO: result: $ac_res" >&5
9489 echo "${ECHO_T}$ac_res" >&6; }
9492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9493 cat >>confdefs.h <<_ACEOF
9494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9495 _ACEOF
9499 done
9501 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9502 then
9503 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9504 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9505 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 else
9508 ac_check_lib_save_LIBS=$LIBS
9509 LIBS="-lhal $LIBS"
9510 cat >conftest.$ac_ext <<_ACEOF
9511 /* confdefs.h. */
9512 _ACEOF
9513 cat confdefs.h >>conftest.$ac_ext
9514 cat >>conftest.$ac_ext <<_ACEOF
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9520 #ifdef __cplusplus
9521 extern "C"
9522 #endif
9523 char libhal_ctx_new ();
9525 main ()
9527 return libhal_ctx_new ();
9529 return 0;
9531 _ACEOF
9532 rm -f conftest.$ac_objext conftest$ac_exeext
9533 if { (ac_try="$ac_link"
9534 case "(($ac_try" in
9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9537 esac
9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9539 (eval "$ac_link") 2>conftest.er1
9540 ac_status=$?
9541 grep -v '^ *+' conftest.er1 >conftest.err
9542 rm -f conftest.er1
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } && {
9546 test -z "$ac_c_werror_flag" ||
9547 test ! -s conftest.err
9548 } && test -s conftest$ac_exeext &&
9549 $as_test_x conftest$ac_exeext; then
9550 ac_cv_lib_hal_libhal_ctx_new=yes
9551 else
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9555 ac_cv_lib_hal_libhal_ctx_new=no
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_lib_save_LIBS
9562 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9563 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9564 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9565 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9566 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9567 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 else
9570 ac_check_lib_save_LIBS=$LIBS
9571 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9572 cat >conftest.$ac_ext <<_ACEOF
9573 /* confdefs.h. */
9574 _ACEOF
9575 cat confdefs.h >>conftest.$ac_ext
9576 cat >>conftest.$ac_ext <<_ACEOF
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 char dbus_connection_close ();
9587 main ()
9589 return dbus_connection_close ();
9591 return 0;
9593 _ACEOF
9594 rm -f conftest.$ac_objext conftest$ac_exeext
9595 if { (ac_try="$ac_link"
9596 case "(($ac_try" in
9597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9599 esac
9600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9601 (eval "$ac_link") 2>conftest.er1
9602 ac_status=$?
9603 grep -v '^ *+' conftest.er1 >conftest.err
9604 rm -f conftest.er1
9605 cat conftest.err >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } && {
9608 test -z "$ac_c_werror_flag" ||
9609 test ! -s conftest.err
9610 } && test -s conftest$ac_exeext &&
9611 $as_test_x conftest$ac_exeext; then
9612 ac_cv_lib_dbus_1_dbus_connection_close=yes
9613 else
9614 echo "$as_me: failed program was:" >&5
9615 sed 's/^/| /' conftest.$ac_ext >&5
9617 ac_cv_lib_dbus_1_dbus_connection_close=no
9620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9625 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9626 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9628 cat >>confdefs.h <<\_ACEOF
9629 #define HAVE_LIBHAL 1
9630 _ACEOF
9632 HALINCL="$ac_hal_cflags"
9638 CPPFLAGS="$ac_save_CPPFLAGS"
9641 CURSESLIBS=""
9642 if test "$ac_cv_header_ncurses_h" = "yes"
9643 then
9644 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9645 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9646 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 else
9649 ac_check_lib_save_LIBS=$LIBS
9650 LIBS="-lncurses $LIBS"
9651 cat >conftest.$ac_ext <<_ACEOF
9652 /* confdefs.h. */
9653 _ACEOF
9654 cat confdefs.h >>conftest.$ac_ext
9655 cat >>conftest.$ac_ext <<_ACEOF
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 char waddch ();
9666 main ()
9668 return waddch ();
9670 return 0;
9672 _ACEOF
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (ac_try="$ac_link"
9675 case "(($ac_try" in
9676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9677 *) ac_try_echo=$ac_try;;
9678 esac
9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680 (eval "$ac_link") 2>conftest.er1
9681 ac_status=$?
9682 grep -v '^ *+' conftest.er1 >conftest.err
9683 rm -f conftest.er1
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && {
9687 test -z "$ac_c_werror_flag" ||
9688 test ! -s conftest.err
9689 } && test -s conftest$ac_exeext &&
9690 $as_test_x conftest$ac_exeext; then
9691 ac_cv_lib_ncurses_waddch=yes
9692 else
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9696 ac_cv_lib_ncurses_waddch=no
9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9704 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9705 if test $ac_cv_lib_ncurses_waddch = yes; then
9706 CURSESLIBS="-lncurses"
9709 elif test "$ac_cv_header_curses_h" = "yes"
9710 then
9711 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9712 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9713 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9714 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 else
9716 ac_check_lib_save_LIBS=$LIBS
9717 LIBS="-lcurses $LIBS"
9718 cat >conftest.$ac_ext <<_ACEOF
9719 /* confdefs.h. */
9720 _ACEOF
9721 cat confdefs.h >>conftest.$ac_ext
9722 cat >>conftest.$ac_ext <<_ACEOF
9723 /* end confdefs.h. */
9725 /* Override any GCC internal prototype to avoid an error.
9726 Use char because int might match the return type of a GCC
9727 builtin and then its argument prototype would still apply. */
9728 #ifdef __cplusplus
9729 extern "C"
9730 #endif
9731 char waddch ();
9733 main ()
9735 return waddch ();
9737 return 0;
9739 _ACEOF
9740 rm -f conftest.$ac_objext conftest$ac_exeext
9741 if { (ac_try="$ac_link"
9742 case "(($ac_try" in
9743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9744 *) ac_try_echo=$ac_try;;
9745 esac
9746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9747 (eval "$ac_link") 2>conftest.er1
9748 ac_status=$?
9749 grep -v '^ *+' conftest.er1 >conftest.err
9750 rm -f conftest.er1
9751 cat conftest.err >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } && {
9754 test -z "$ac_c_werror_flag" ||
9755 test ! -s conftest.err
9756 } && test -s conftest$ac_exeext &&
9757 $as_test_x conftest$ac_exeext; then
9758 ac_cv_lib_curses_waddch=yes
9759 else
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9763 ac_cv_lib_curses_waddch=no
9766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_lib_save_LIBS
9770 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9771 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9772 if test $ac_cv_lib_curses_waddch = yes; then
9773 CURSESLIBS="-lcurses"
9777 ac_save_LIBS="$LIBS"
9778 LIBS="$LIBS $CURSESLIBS"
9780 for ac_func in mousemask
9782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 else
9788 cat >conftest.$ac_ext <<_ACEOF
9789 /* confdefs.h. */
9790 _ACEOF
9791 cat confdefs.h >>conftest.$ac_ext
9792 cat >>conftest.$ac_ext <<_ACEOF
9793 /* end confdefs.h. */
9794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9796 #define $ac_func innocuous_$ac_func
9798 /* System header to define __stub macros and hopefully few prototypes,
9799 which can conflict with char $ac_func (); below.
9800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9801 <limits.h> exists even on freestanding compilers. */
9803 #ifdef __STDC__
9804 # include <limits.h>
9805 #else
9806 # include <assert.h>
9807 #endif
9809 #undef $ac_func
9811 /* Override any GCC internal prototype to avoid an error.
9812 Use char because int might match the return type of a GCC
9813 builtin and then its argument prototype would still apply. */
9814 #ifdef __cplusplus
9815 extern "C"
9816 #endif
9817 char $ac_func ();
9818 /* The GNU C library defines this for functions which it implements
9819 to always fail with ENOSYS. Some functions are actually named
9820 something starting with __ and the normal name is an alias. */
9821 #if defined __stub_$ac_func || defined __stub___$ac_func
9822 choke me
9823 #endif
9826 main ()
9828 return $ac_func ();
9830 return 0;
9832 _ACEOF
9833 rm -f conftest.$ac_objext conftest$ac_exeext
9834 if { (ac_try="$ac_link"
9835 case "(($ac_try" in
9836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9838 esac
9839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_link") 2>conftest.er1
9841 ac_status=$?
9842 grep -v '^ *+' conftest.er1 >conftest.err
9843 rm -f conftest.er1
9844 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } && {
9847 test -z "$ac_c_werror_flag" ||
9848 test ! -s conftest.err
9849 } && test -s conftest$ac_exeext &&
9850 $as_test_x conftest$ac_exeext; then
9851 eval "$as_ac_var=yes"
9852 else
9853 echo "$as_me: failed program was:" >&5
9854 sed 's/^/| /' conftest.$ac_ext >&5
9856 eval "$as_ac_var=no"
9859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9860 conftest$ac_exeext conftest.$ac_ext
9862 ac_res=`eval echo '${'$as_ac_var'}'`
9863 { echo "$as_me:$LINENO: result: $ac_res" >&5
9864 echo "${ECHO_T}$ac_res" >&6; }
9865 if test `eval echo '${'$as_ac_var'}'` = yes; then
9866 cat >>confdefs.h <<_ACEOF
9867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9868 _ACEOF
9871 done
9873 LIBS="$ac_save_LIBS"
9875 # Extract the first word of "sane-config", so it can be a program name with args.
9876 set dummy sane-config; ac_word=$2
9877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9879 if test "${ac_cv_prog_sane_devel+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9881 else
9882 if test -n "$sane_devel"; then
9883 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9884 else
9885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9886 for as_dir in $PATH
9888 IFS=$as_save_IFS
9889 test -z "$as_dir" && as_dir=.
9890 for ac_exec_ext in '' $ac_executable_extensions; do
9891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9892 ac_cv_prog_sane_devel="sane-config"
9893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9894 break 2
9896 done
9897 done
9898 IFS=$as_save_IFS
9900 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9903 sane_devel=$ac_cv_prog_sane_devel
9904 if test -n "$sane_devel"; then
9905 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9906 echo "${ECHO_T}$sane_devel" >&6; }
9907 else
9908 { echo "$as_me:$LINENO: result: no" >&5
9909 echo "${ECHO_T}no" >&6; }
9913 SANEINCL=""
9915 if test "$sane_devel" != "no"
9916 then
9917 SANEINCL="`$sane_devel --cflags`"
9918 ac_save_CPPFLAGS="$CPPFLAGS"
9919 CPPFLAGS="$CPPFLAGS $SANEINCL"
9920 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9921 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9922 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9923 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9924 echo $ECHO_N "(cached) $ECHO_C" >&6
9926 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9927 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9928 else
9929 # Is the header compilable?
9930 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9931 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 $ac_includes_default
9939 #include <sane/sane.h>
9940 _ACEOF
9941 rm -f conftest.$ac_objext
9942 if { (ac_try="$ac_compile"
9943 case "(($ac_try" in
9944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9945 *) ac_try_echo=$ac_try;;
9946 esac
9947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9948 (eval "$ac_compile") 2>conftest.er1
9949 ac_status=$?
9950 grep -v '^ *+' conftest.er1 >conftest.err
9951 rm -f conftest.er1
9952 cat conftest.err >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); } && {
9955 test -z "$ac_c_werror_flag" ||
9956 test ! -s conftest.err
9957 } && test -s conftest.$ac_objext; then
9958 ac_header_compiler=yes
9959 else
9960 echo "$as_me: failed program was:" >&5
9961 sed 's/^/| /' conftest.$ac_ext >&5
9963 ac_header_compiler=no
9966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9967 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9968 echo "${ECHO_T}$ac_header_compiler" >&6; }
9970 # Is the header present?
9971 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9972 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h. */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979 #include <sane/sane.h>
9980 _ACEOF
9981 if { (ac_try="$ac_cpp conftest.$ac_ext"
9982 case "(($ac_try" in
9983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9984 *) ac_try_echo=$ac_try;;
9985 esac
9986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9988 ac_status=$?
9989 grep -v '^ *+' conftest.er1 >conftest.err
9990 rm -f conftest.er1
9991 cat conftest.err >&5
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); } >/dev/null && {
9994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9995 test ! -s conftest.err
9996 }; then
9997 ac_header_preproc=yes
9998 else
9999 echo "$as_me: failed program was:" >&5
10000 sed 's/^/| /' conftest.$ac_ext >&5
10002 ac_header_preproc=no
10005 rm -f conftest.err conftest.$ac_ext
10006 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10007 echo "${ECHO_T}$ac_header_preproc" >&6; }
10009 # So? What about this header?
10010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10011 yes:no: )
10012 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10013 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10014 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10015 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10016 ac_header_preproc=yes
10018 no:yes:* )
10019 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10020 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10021 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10022 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10023 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10024 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10025 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10026 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10027 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10028 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10029 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10030 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10031 ( cat <<\_ASBOX
10032 ## ------------------------------------ ##
10033 ## Report this to wine-devel@winehq.org ##
10034 ## ------------------------------------ ##
10035 _ASBOX
10036 ) | sed "s/^/$as_me: WARNING: /" >&2
10038 esac
10039 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10040 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10041 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10044 ac_cv_header_sane_sane_h=$ac_header_preproc
10046 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10047 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10050 if test $ac_cv_header_sane_sane_h = yes; then
10052 cat >>confdefs.h <<\_ACEOF
10053 #define HAVE_SANE 1
10054 _ACEOF
10056 else
10057 SANEINCL=""
10061 CPPFLAGS="$ac_save_CPPFLAGS"
10064 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10065 set dummy gphoto2-config; ac_word=$2
10066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10068 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10069 echo $ECHO_N "(cached) $ECHO_C" >&6
10070 else
10071 if test -n "$gphoto2_devel"; then
10072 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10073 else
10074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 for as_dir in $PATH
10077 IFS=$as_save_IFS
10078 test -z "$as_dir" && as_dir=.
10079 for ac_exec_ext in '' $ac_executable_extensions; do
10080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10081 ac_cv_prog_gphoto2_devel="gphoto2-config"
10082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10083 break 2
10085 done
10086 done
10087 IFS=$as_save_IFS
10089 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10092 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10093 if test -n "$gphoto2_devel"; then
10094 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10095 echo "${ECHO_T}$gphoto2_devel" >&6; }
10096 else
10097 { echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6; }
10102 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10103 set dummy gphoto2-port-config; ac_word=$2
10104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10106 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109 if test -n "$gphoto2port_devel"; then
10110 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10111 else
10112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10113 for as_dir in $PATH
10115 IFS=$as_save_IFS
10116 test -z "$as_dir" && as_dir=.
10117 for ac_exec_ext in '' $ac_executable_extensions; do
10118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10119 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 break 2
10123 done
10124 done
10125 IFS=$as_save_IFS
10127 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10130 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10131 if test -n "$gphoto2port_devel"; then
10132 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10133 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10134 else
10135 { echo "$as_me:$LINENO: result: no" >&5
10136 echo "${ECHO_T}no" >&6; }
10140 GPHOTO2LIBS=""
10142 GPHOTO2INCL=""
10144 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10145 then
10146 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10147 GPHOTO2LIBS=""
10148 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10150 case "$i" in
10151 -L/usr/lib|-L/usr/lib64) ;;
10152 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10153 esac
10154 done
10155 ac_save_CPPFLAGS="$CPPFLAGS"
10156 ac_save_LIBS="$LIBS"
10157 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10158 LIBS="$LIBS $GPHOTO2LIBS"
10159 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10160 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10161 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10162 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10166 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10167 else
10168 # Is the header compilable?
10169 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10170 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10171 cat >conftest.$ac_ext <<_ACEOF
10172 /* confdefs.h. */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10177 $ac_includes_default
10178 #include <gphoto2-camera.h>
10179 _ACEOF
10180 rm -f conftest.$ac_objext
10181 if { (ac_try="$ac_compile"
10182 case "(($ac_try" in
10183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10184 *) ac_try_echo=$ac_try;;
10185 esac
10186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10187 (eval "$ac_compile") 2>conftest.er1
10188 ac_status=$?
10189 grep -v '^ *+' conftest.er1 >conftest.err
10190 rm -f conftest.er1
10191 cat conftest.err >&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } && {
10194 test -z "$ac_c_werror_flag" ||
10195 test ! -s conftest.err
10196 } && test -s conftest.$ac_objext; then
10197 ac_header_compiler=yes
10198 else
10199 echo "$as_me: failed program was:" >&5
10200 sed 's/^/| /' conftest.$ac_ext >&5
10202 ac_header_compiler=no
10205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10207 echo "${ECHO_T}$ac_header_compiler" >&6; }
10209 # Is the header present?
10210 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10211 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10212 cat >conftest.$ac_ext <<_ACEOF
10213 /* confdefs.h. */
10214 _ACEOF
10215 cat confdefs.h >>conftest.$ac_ext
10216 cat >>conftest.$ac_ext <<_ACEOF
10217 /* end confdefs.h. */
10218 #include <gphoto2-camera.h>
10219 _ACEOF
10220 if { (ac_try="$ac_cpp conftest.$ac_ext"
10221 case "(($ac_try" in
10222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10223 *) ac_try_echo=$ac_try;;
10224 esac
10225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10227 ac_status=$?
10228 grep -v '^ *+' conftest.er1 >conftest.err
10229 rm -f conftest.er1
10230 cat conftest.err >&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); } >/dev/null && {
10233 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10234 test ! -s conftest.err
10235 }; then
10236 ac_header_preproc=yes
10237 else
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10241 ac_header_preproc=no
10244 rm -f conftest.err conftest.$ac_ext
10245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10246 echo "${ECHO_T}$ac_header_preproc" >&6; }
10248 # So? What about this header?
10249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10250 yes:no: )
10251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10252 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10254 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10255 ac_header_preproc=yes
10257 no:yes:* )
10258 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10259 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10260 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10261 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10262 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10263 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10264 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10265 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10266 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10267 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10268 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10269 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10270 ( cat <<\_ASBOX
10271 ## ------------------------------------ ##
10272 ## Report this to wine-devel@winehq.org ##
10273 ## ------------------------------------ ##
10274 _ASBOX
10275 ) | sed "s/^/$as_me: WARNING: /" >&2
10277 esac
10278 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10279 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10280 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10281 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 else
10283 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10285 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10286 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10289 if test $ac_cv_header_gphoto2_camera_h = yes; then
10290 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10291 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10292 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 else
10295 ac_check_lib_save_LIBS=$LIBS
10296 LIBS="-lgphoto2 $LIBS"
10297 cat >conftest.$ac_ext <<_ACEOF
10298 /* confdefs.h. */
10299 _ACEOF
10300 cat confdefs.h >>conftest.$ac_ext
10301 cat >>conftest.$ac_ext <<_ACEOF
10302 /* end confdefs.h. */
10304 /* Override any GCC internal prototype to avoid an error.
10305 Use char because int might match the return type of a GCC
10306 builtin and then its argument prototype would still apply. */
10307 #ifdef __cplusplus
10308 extern "C"
10309 #endif
10310 char gp_camera_new ();
10312 main ()
10314 return gp_camera_new ();
10316 return 0;
10318 _ACEOF
10319 rm -f conftest.$ac_objext conftest$ac_exeext
10320 if { (ac_try="$ac_link"
10321 case "(($ac_try" in
10322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10323 *) ac_try_echo=$ac_try;;
10324 esac
10325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10326 (eval "$ac_link") 2>conftest.er1
10327 ac_status=$?
10328 grep -v '^ *+' conftest.er1 >conftest.err
10329 rm -f conftest.er1
10330 cat conftest.err >&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); } && {
10333 test -z "$ac_c_werror_flag" ||
10334 test ! -s conftest.err
10335 } && test -s conftest$ac_exeext &&
10336 $as_test_x conftest$ac_exeext; then
10337 ac_cv_lib_gphoto2_gp_camera_new=yes
10338 else
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.$ac_ext >&5
10342 ac_cv_lib_gphoto2_gp_camera_new=no
10345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10346 conftest$ac_exeext conftest.$ac_ext
10347 LIBS=$ac_check_lib_save_LIBS
10349 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10350 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10351 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10353 cat >>confdefs.h <<\_ACEOF
10354 #define HAVE_GPHOTO2 1
10355 _ACEOF
10357 else
10358 GPHOTO2LIBS=""
10359 GPHOTO2INCL=""
10362 else
10363 GPHOTO2LIBS=""
10364 GPHOTO2INCL=""
10368 LIBS="$ac_save_LIBS"
10369 CPPFLAGS="$ac_save_CPPFLAGS"
10372 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10373 then
10374 saved_libs="$LIBS"
10375 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10376 if test -n "$ICU_LIB_DIR"
10377 then
10378 icu_libs="-L$ICU_LIB_DIR $icu_libs"
10380 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10381 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10382 LIBS="$saved_libs $icu_libs"
10383 if test "$cross_compiling" = yes; then
10384 { echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6; }
10386 else
10387 cat >conftest.$ac_ext <<_ACEOF
10388 /* confdefs.h. */
10389 _ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10393 #include <unicode/ubidi.h>
10395 main ()
10397 ubidi_open()
10399 return 0;
10401 _ACEOF
10402 rm -f conftest$ac_exeext
10403 if { (ac_try="$ac_link"
10404 case "(($ac_try" in
10405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10406 *) ac_try_echo=$ac_try;;
10407 esac
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409 (eval "$ac_link") 2>&5
10410 ac_status=$?
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10413 { (case "(($ac_try" in
10414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10415 *) ac_try_echo=$ac_try;;
10416 esac
10417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10418 (eval "$ac_try") 2>&5
10419 ac_status=$?
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); }; }; then
10423 cat >>confdefs.h <<\_ACEOF
10424 #define HAVE_ICU 1
10425 _ACEOF
10427 ICULIBS="$icu_libs"
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10431 else
10432 echo "$as_me: program exited with status $ac_status" >&5
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10436 ( exit $ac_status )
10437 { echo "$as_me:$LINENO: result: no" >&5
10438 echo "${ECHO_T}no" >&6; }
10440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10444 LIBS="$saved_libs"
10447 RESOLVLIBS=""
10449 if test "$ac_cv_header_resolv_h" = "yes"
10450 then
10451 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10452 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10453 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10454 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 else
10456 ac_check_lib_save_LIBS=$LIBS
10457 LIBS="-lresolv $LIBS"
10458 cat >conftest.$ac_ext <<_ACEOF
10459 /* confdefs.h. */
10460 _ACEOF
10461 cat confdefs.h >>conftest.$ac_ext
10462 cat >>conftest.$ac_ext <<_ACEOF
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10468 #ifdef __cplusplus
10469 extern "C"
10470 #endif
10471 char res_query ();
10473 main ()
10475 return res_query ();
10477 return 0;
10479 _ACEOF
10480 rm -f conftest.$ac_objext conftest$ac_exeext
10481 if { (ac_try="$ac_link"
10482 case "(($ac_try" in
10483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10484 *) ac_try_echo=$ac_try;;
10485 esac
10486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10487 (eval "$ac_link") 2>conftest.er1
10488 ac_status=$?
10489 grep -v '^ *+' conftest.er1 >conftest.err
10490 rm -f conftest.er1
10491 cat conftest.err >&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); } && {
10494 test -z "$ac_c_werror_flag" ||
10495 test ! -s conftest.err
10496 } && test -s conftest$ac_exeext &&
10497 $as_test_x conftest$ac_exeext; then
10498 ac_cv_lib_resolv_res_query=yes
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10503 ac_cv_lib_resolv_res_query=no
10506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_lib_save_LIBS
10510 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10511 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10512 if test $ac_cv_lib_resolv_res_query = yes; then
10514 cat >>confdefs.h <<\_ACEOF
10515 #define HAVE_RESOLV 1
10516 _ACEOF
10518 RESOLVLIBS="-lresolv"
10523 LCMSLIBS=""
10525 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10526 then
10527 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10528 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10529 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10530 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 else
10532 ac_check_lib_save_LIBS=$LIBS
10533 LIBS="-llcms $LIBS"
10534 cat >conftest.$ac_ext <<_ACEOF
10535 /* confdefs.h. */
10536 _ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10544 #ifdef __cplusplus
10545 extern "C"
10546 #endif
10547 char cmsOpenProfileFromFile ();
10549 main ()
10551 return cmsOpenProfileFromFile ();
10553 return 0;
10555 _ACEOF
10556 rm -f conftest.$ac_objext conftest$ac_exeext
10557 if { (ac_try="$ac_link"
10558 case "(($ac_try" in
10559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10560 *) ac_try_echo=$ac_try;;
10561 esac
10562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10563 (eval "$ac_link") 2>conftest.er1
10564 ac_status=$?
10565 grep -v '^ *+' conftest.er1 >conftest.err
10566 rm -f conftest.er1
10567 cat conftest.err >&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); } && {
10570 test -z "$ac_c_werror_flag" ||
10571 test ! -s conftest.err
10572 } && test -s conftest$ac_exeext &&
10573 $as_test_x conftest$ac_exeext; then
10574 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10575 else
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10579 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10587 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10588 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10590 cat >>confdefs.h <<\_ACEOF
10591 #define HAVE_LCMS 1
10592 _ACEOF
10594 LCMSLIBS="-llcms"
10599 LDAPLIBS=""
10601 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10602 then
10603 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10604 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10605 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10606 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 else
10608 ac_check_lib_save_LIBS=$LIBS
10609 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10610 cat >conftest.$ac_ext <<_ACEOF
10611 /* confdefs.h. */
10612 _ACEOF
10613 cat confdefs.h >>conftest.$ac_ext
10614 cat >>conftest.$ac_ext <<_ACEOF
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10620 #ifdef __cplusplus
10621 extern "C"
10622 #endif
10623 char ldap_initialize ();
10625 main ()
10627 return ldap_initialize ();
10629 return 0;
10631 _ACEOF
10632 rm -f conftest.$ac_objext conftest$ac_exeext
10633 if { (ac_try="$ac_link"
10634 case "(($ac_try" in
10635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10636 *) ac_try_echo=$ac_try;;
10637 esac
10638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10639 (eval "$ac_link") 2>conftest.er1
10640 ac_status=$?
10641 grep -v '^ *+' conftest.er1 >conftest.err
10642 rm -f conftest.er1
10643 cat conftest.err >&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } && {
10646 test -z "$ac_c_werror_flag" ||
10647 test ! -s conftest.err
10648 } && test -s conftest$ac_exeext &&
10649 $as_test_x conftest$ac_exeext; then
10650 ac_cv_lib_ldap_r_ldap_initialize=yes
10651 else
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 ac_cv_lib_ldap_r_ldap_initialize=no
10658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10659 conftest$ac_exeext conftest.$ac_ext
10660 LIBS=$ac_check_lib_save_LIBS
10662 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10663 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10664 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10665 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10666 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10667 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10668 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 else
10670 ac_check_lib_save_LIBS=$LIBS
10671 LIBS="-llber $LIBPTHREAD $LIBS"
10672 cat >conftest.$ac_ext <<_ACEOF
10673 /* confdefs.h. */
10674 _ACEOF
10675 cat confdefs.h >>conftest.$ac_ext
10676 cat >>conftest.$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10682 #ifdef __cplusplus
10683 extern "C"
10684 #endif
10685 char ber_init ();
10687 main ()
10689 return ber_init ();
10691 return 0;
10693 _ACEOF
10694 rm -f conftest.$ac_objext conftest$ac_exeext
10695 if { (ac_try="$ac_link"
10696 case "(($ac_try" in
10697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10698 *) ac_try_echo=$ac_try;;
10699 esac
10700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10701 (eval "$ac_link") 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } && {
10708 test -z "$ac_c_werror_flag" ||
10709 test ! -s conftest.err
10710 } && test -s conftest$ac_exeext &&
10711 $as_test_x conftest$ac_exeext; then
10712 ac_cv_lib_lber_ber_init=yes
10713 else
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.$ac_ext >&5
10717 ac_cv_lib_lber_ber_init=no
10720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10721 conftest$ac_exeext conftest.$ac_ext
10722 LIBS=$ac_check_lib_save_LIBS
10724 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10725 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10726 if test $ac_cv_lib_lber_ber_init = yes; then
10728 cat >>confdefs.h <<\_ACEOF
10729 #define HAVE_LDAP 1
10730 _ACEOF
10732 LDAPLIBS="-lldap_r -llber"
10737 ac_wine_check_funcs_save_LIBS="$LIBS"
10738 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10743 for ac_func in \
10744 ldap_count_references \
10745 ldap_first_reference \
10746 ldap_next_reference \
10747 ldap_parse_reference
10749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 else
10755 cat >conftest.$ac_ext <<_ACEOF
10756 /* confdefs.h. */
10757 _ACEOF
10758 cat confdefs.h >>conftest.$ac_ext
10759 cat >>conftest.$ac_ext <<_ACEOF
10760 /* end confdefs.h. */
10761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10763 #define $ac_func innocuous_$ac_func
10765 /* System header to define __stub macros and hopefully few prototypes,
10766 which can conflict with char $ac_func (); below.
10767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10768 <limits.h> exists even on freestanding compilers. */
10770 #ifdef __STDC__
10771 # include <limits.h>
10772 #else
10773 # include <assert.h>
10774 #endif
10776 #undef $ac_func
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10781 #ifdef __cplusplus
10782 extern "C"
10783 #endif
10784 char $ac_func ();
10785 /* The GNU C library defines this for functions which it implements
10786 to always fail with ENOSYS. Some functions are actually named
10787 something starting with __ and the normal name is an alias. */
10788 #if defined __stub_$ac_func || defined __stub___$ac_func
10789 choke me
10790 #endif
10793 main ()
10795 return $ac_func ();
10797 return 0;
10799 _ACEOF
10800 rm -f conftest.$ac_objext conftest$ac_exeext
10801 if { (ac_try="$ac_link"
10802 case "(($ac_try" in
10803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10804 *) ac_try_echo=$ac_try;;
10805 esac
10806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10807 (eval "$ac_link") 2>conftest.er1
10808 ac_status=$?
10809 grep -v '^ *+' conftest.er1 >conftest.err
10810 rm -f conftest.er1
10811 cat conftest.err >&5
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } && {
10814 test -z "$ac_c_werror_flag" ||
10815 test ! -s conftest.err
10816 } && test -s conftest$ac_exeext &&
10817 $as_test_x conftest$ac_exeext; then
10818 eval "$as_ac_var=yes"
10819 else
10820 echo "$as_me: failed program was:" >&5
10821 sed 's/^/| /' conftest.$ac_ext >&5
10823 eval "$as_ac_var=no"
10826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10827 conftest$ac_exeext conftest.$ac_ext
10829 ac_res=`eval echo '${'$as_ac_var'}'`
10830 { echo "$as_me:$LINENO: result: $ac_res" >&5
10831 echo "${ECHO_T}$ac_res" >&6; }
10832 if test `eval echo '${'$as_ac_var'}'` = yes; then
10833 cat >>confdefs.h <<_ACEOF
10834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10835 _ACEOF
10838 done
10840 LIBS="$ac_wine_check_funcs_save_LIBS"
10843 FREETYPELIBS=""
10845 FREETYPEINCL=""
10847 # Extract the first word of "freetype-config", so it can be a program name with args.
10848 set dummy freetype-config; ac_word=$2
10849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10851 if test "${ac_cv_prog_ft_devel+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 else
10854 if test -n "$ft_devel"; then
10855 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10856 else
10857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10858 for as_dir in $PATH
10860 IFS=$as_save_IFS
10861 test -z "$as_dir" && as_dir=.
10862 for ac_exec_ext in '' $ac_executable_extensions; do
10863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10864 ac_cv_prog_ft_devel="freetype-config"
10865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10866 break 2
10868 done
10869 done
10870 IFS=$as_save_IFS
10872 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10875 ft_devel=$ac_cv_prog_ft_devel
10876 if test -n "$ft_devel"; then
10877 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10878 echo "${ECHO_T}$ft_devel" >&6; }
10879 else
10880 { echo "$as_me:$LINENO: result: no" >&5
10881 echo "${ECHO_T}no" >&6; }
10885 if test "$ft_devel" = "no"
10886 then
10887 # Extract the first word of "freetype2-config", so it can be a program name with args.
10888 set dummy freetype2-config; ac_word=$2
10889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10891 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10893 else
10894 if test -n "$ft_devel2"; then
10895 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10896 else
10897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10898 for as_dir in $PATH
10900 IFS=$as_save_IFS
10901 test -z "$as_dir" && as_dir=.
10902 for ac_exec_ext in '' $ac_executable_extensions; do
10903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10904 ac_cv_prog_ft_devel2="freetype2-config"
10905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10906 break 2
10908 done
10909 done
10910 IFS=$as_save_IFS
10912 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10915 ft_devel2=$ac_cv_prog_ft_devel2
10916 if test -n "$ft_devel2"; then
10917 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10918 echo "${ECHO_T}$ft_devel2" >&6; }
10919 else
10920 { echo "$as_me:$LINENO: result: no" >&5
10921 echo "${ECHO_T}no" >&6; }
10925 if test "$ft_devel2" = "freetype2-config"
10926 then
10927 ft_devel=$ft_devel2
10931 if test "$ft_devel" = "no"
10932 then
10933 wine_cv_msg_freetype=yes
10934 else
10935 FREETYPELIBS=`$ft_devel --libs`
10936 FREETYPEINCL=`$ft_devel --cflags`
10937 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10938 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10939 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 else
10942 ac_check_lib_save_LIBS=$LIBS
10943 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10944 cat >conftest.$ac_ext <<_ACEOF
10945 /* confdefs.h. */
10946 _ACEOF
10947 cat confdefs.h >>conftest.$ac_ext
10948 cat >>conftest.$ac_ext <<_ACEOF
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10954 #ifdef __cplusplus
10955 extern "C"
10956 #endif
10957 char FT_Init_FreeType ();
10959 main ()
10961 return FT_Init_FreeType ();
10963 return 0;
10965 _ACEOF
10966 rm -f conftest.$ac_objext conftest$ac_exeext
10967 if { (ac_try="$ac_link"
10968 case "(($ac_try" in
10969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10970 *) ac_try_echo=$ac_try;;
10971 esac
10972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10973 (eval "$ac_link") 2>conftest.er1
10974 ac_status=$?
10975 grep -v '^ *+' conftest.er1 >conftest.err
10976 rm -f conftest.er1
10977 cat conftest.err >&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } && {
10980 test -z "$ac_c_werror_flag" ||
10981 test ! -s conftest.err
10982 } && test -s conftest$ac_exeext &&
10983 $as_test_x conftest$ac_exeext; then
10984 ac_cv_lib_freetype_FT_Init_FreeType=yes
10985 else
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.$ac_ext >&5
10989 ac_cv_lib_freetype_FT_Init_FreeType=no
10992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_lib_save_LIBS
10996 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10997 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10998 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10999 ft_lib=yes
11000 else
11001 ft_lib=no
11004 if test "$ft_lib" = "no"
11005 then
11006 wine_cv_msg_freetype=yes
11007 FREETYPELIBS=""
11008 FREETYPEINCL=""
11009 else
11010 ac_save_CPPFLAGS="$CPPFLAGS"
11011 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11023 for ac_header in ft2build.h \
11024 freetype/freetype.h \
11025 freetype/ftglyph.h \
11026 freetype/tttables.h \
11027 freetype/ftnames.h \
11028 freetype/ftsnames.h \
11029 freetype/ttnameid.h \
11030 freetype/ftoutln.h \
11031 freetype/ftwinfnt.h \
11032 freetype/ftmodapi.h \
11033 freetype/internal/sfnt.h
11035 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11036 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 else
11041 cat >conftest.$ac_ext <<_ACEOF
11042 /* confdefs.h. */
11043 _ACEOF
11044 cat confdefs.h >>conftest.$ac_ext
11045 cat >>conftest.$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11047 #if HAVE_FT2BUILD_H
11048 #include <ft2build.h>
11049 #endif
11051 #include <$ac_header>
11052 _ACEOF
11053 rm -f conftest.$ac_objext
11054 if { (ac_try="$ac_compile"
11055 case "(($ac_try" in
11056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11057 *) ac_try_echo=$ac_try;;
11058 esac
11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_compile") 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } && {
11067 test -z "$ac_c_werror_flag" ||
11068 test ! -s conftest.err
11069 } && test -s conftest.$ac_objext; then
11070 eval "$as_ac_Header=yes"
11071 else
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11075 eval "$as_ac_Header=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11080 ac_res=`eval echo '${'$as_ac_Header'}'`
11081 { echo "$as_me:$LINENO: result: $ac_res" >&5
11082 echo "${ECHO_T}$ac_res" >&6; }
11083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11084 cat >>confdefs.h <<_ACEOF
11085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11086 _ACEOF
11090 done
11092 cat >conftest.$ac_ext <<_ACEOF
11093 /* confdefs.h. */
11094 _ACEOF
11095 cat confdefs.h >>conftest.$ac_ext
11096 cat >>conftest.$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11098 #include <ft2build.h>
11099 #include <freetype/fttrigon.h>
11100 _ACEOF
11101 if { (ac_try="$ac_cpp conftest.$ac_ext"
11102 case "(($ac_try" in
11103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11104 *) ac_try_echo=$ac_try;;
11105 esac
11106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11108 ac_status=$?
11109 grep -v '^ *+' conftest.er1 >conftest.err
11110 rm -f conftest.er1
11111 cat conftest.err >&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } >/dev/null && {
11114 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11115 test ! -s conftest.err
11116 }; then
11118 cat >>confdefs.h <<\_ACEOF
11119 #define HAVE_FREETYPE_FTTRIGON_H 1
11120 _ACEOF
11122 wine_cv_fttrigon=yes
11123 else
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.$ac_ext >&5
11127 wine_cv_fttrigon=no
11130 rm -f conftest.err conftest.$ac_ext
11131 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11132 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11133 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11135 else
11136 cat >conftest.$ac_ext <<_ACEOF
11137 /* confdefs.h. */
11138 _ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <freetype/ftmodapi.h>
11144 typedef FT_TrueTypeEngineType ac__type_new_;
11146 main ()
11148 if ((ac__type_new_ *) 0)
11149 return 0;
11150 if (sizeof (ac__type_new_))
11151 return 0;
11153 return 0;
11155 _ACEOF
11156 rm -f conftest.$ac_objext
11157 if { (ac_try="$ac_compile"
11158 case "(($ac_try" in
11159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11160 *) ac_try_echo=$ac_try;;
11161 esac
11162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11163 (eval "$ac_compile") 2>conftest.er1
11164 ac_status=$?
11165 grep -v '^ *+' conftest.er1 >conftest.err
11166 rm -f conftest.er1
11167 cat conftest.err >&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } && {
11170 test -z "$ac_c_werror_flag" ||
11171 test ! -s conftest.err
11172 } && test -s conftest.$ac_objext; then
11173 ac_cv_type_FT_TrueTypeEngineType=yes
11174 else
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.$ac_ext >&5
11178 ac_cv_type_FT_TrueTypeEngineType=no
11181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11183 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11184 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11185 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11187 cat >>confdefs.h <<_ACEOF
11188 #define HAVE_FT_TRUETYPEENGINETYPE 1
11189 _ACEOF
11194 ac_save_CFLAGS="$CFLAGS"
11195 CFLAGS="$CFLAGS $FREETYPELIBS"
11197 for ac_func in FT_Load_Sfnt_Table
11199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11200 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11202 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 else
11205 cat >conftest.$ac_ext <<_ACEOF
11206 /* confdefs.h. */
11207 _ACEOF
11208 cat confdefs.h >>conftest.$ac_ext
11209 cat >>conftest.$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11213 #define $ac_func innocuous_$ac_func
11215 /* System header to define __stub macros and hopefully few prototypes,
11216 which can conflict with char $ac_func (); below.
11217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11218 <limits.h> exists even on freestanding compilers. */
11220 #ifdef __STDC__
11221 # include <limits.h>
11222 #else
11223 # include <assert.h>
11224 #endif
11226 #undef $ac_func
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char $ac_func ();
11235 /* The GNU C library defines this for functions which it implements
11236 to always fail with ENOSYS. Some functions are actually named
11237 something starting with __ and the normal name is an alias. */
11238 #if defined __stub_$ac_func || defined __stub___$ac_func
11239 choke me
11240 #endif
11243 main ()
11245 return $ac_func ();
11247 return 0;
11249 _ACEOF
11250 rm -f conftest.$ac_objext conftest$ac_exeext
11251 if { (ac_try="$ac_link"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11255 esac
11256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_link") 2>conftest.er1
11258 ac_status=$?
11259 grep -v '^ *+' conftest.er1 >conftest.err
11260 rm -f conftest.er1
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } && {
11264 test -z "$ac_c_werror_flag" ||
11265 test ! -s conftest.err
11266 } && test -s conftest$ac_exeext &&
11267 $as_test_x conftest$ac_exeext; then
11268 eval "$as_ac_var=yes"
11269 else
11270 echo "$as_me: failed program was:" >&5
11271 sed 's/^/| /' conftest.$ac_ext >&5
11273 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11277 conftest$ac_exeext conftest.$ac_ext
11279 ac_res=`eval echo '${'$as_ac_var'}'`
11280 { echo "$as_me:$LINENO: result: $ac_res" >&5
11281 echo "${ECHO_T}$ac_res" >&6; }
11282 if test `eval echo '${'$as_ac_var'}'` = yes; then
11283 cat >>confdefs.h <<_ACEOF
11284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11285 _ACEOF
11288 done
11290 CFLAGS="$ac_save_CFLAGS"
11291 CPPFLAGS="$ac_save_CPPFLAGS"
11292 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11293 then
11295 cat >>confdefs.h <<\_ACEOF
11296 #define HAVE_FREETYPE 1
11297 _ACEOF
11299 wine_cv_msg_freetype=no
11300 else
11301 FREETYPELIBS=""
11302 FREETYPEINCL=""
11303 wine_cv_msg_freetype=yes
11308 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11309 then
11310 FONTSSUBDIRS="fonts"
11314 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11315 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11316 if test "${ac_cv_c_ppdev+set}" = set; then
11317 echo $ECHO_N "(cached) $ECHO_C" >&6
11318 else
11319 cat >conftest.$ac_ext <<_ACEOF
11320 /* confdefs.h. */
11321 _ACEOF
11322 cat confdefs.h >>conftest.$ac_ext
11323 cat >>conftest.$ac_ext <<_ACEOF
11324 /* end confdefs.h. */
11325 #include <linux/ppdev.h>
11327 main ()
11329 ioctl (1,PPCLAIM,0)
11331 return 0;
11333 _ACEOF
11334 rm -f conftest.$ac_objext
11335 if { (ac_try="$ac_compile"
11336 case "(($ac_try" in
11337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11338 *) ac_try_echo=$ac_try;;
11339 esac
11340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11341 (eval "$ac_compile") 2>conftest.er1
11342 ac_status=$?
11343 grep -v '^ *+' conftest.er1 >conftest.err
11344 rm -f conftest.er1
11345 cat conftest.err >&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); } && {
11348 test -z "$ac_c_werror_flag" ||
11349 test ! -s conftest.err
11350 } && test -s conftest.$ac_objext; then
11351 ac_cv_c_ppdev="yes"
11352 else
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.$ac_ext >&5
11356 ac_cv_c_ppdev="no"
11359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11361 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11362 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11363 if test "$ac_cv_c_ppdev" = "yes"
11364 then
11366 cat >>confdefs.h <<\_ACEOF
11367 #define HAVE_PPDEV 1
11368 _ACEOF
11372 { echo "$as_me:$LINENO: checking for va_copy" >&5
11373 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11374 if test "${ac_cv_c_va_copy+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11376 else
11377 cat >conftest.$ac_ext <<_ACEOF
11378 /* confdefs.h. */
11379 _ACEOF
11380 cat confdefs.h >>conftest.$ac_ext
11381 cat >>conftest.$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11383 #include <stdarg.h>
11385 main ()
11387 va_list ap1, ap2; va_copy(ap1,ap2);
11389 return 0;
11391 _ACEOF
11392 rm -f conftest.$ac_objext conftest$ac_exeext
11393 if { (ac_try="$ac_link"
11394 case "(($ac_try" in
11395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11396 *) ac_try_echo=$ac_try;;
11397 esac
11398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11399 (eval "$ac_link") 2>conftest.er1
11400 ac_status=$?
11401 grep -v '^ *+' conftest.er1 >conftest.err
11402 rm -f conftest.er1
11403 cat conftest.err >&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); } && {
11406 test -z "$ac_c_werror_flag" ||
11407 test ! -s conftest.err
11408 } && test -s conftest$ac_exeext &&
11409 $as_test_x conftest$ac_exeext; then
11410 ac_cv_c_va_copy="yes"
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 ac_cv_c_va_copy="no"
11418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11419 conftest$ac_exeext conftest.$ac_ext
11422 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11423 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11424 if test "$ac_cv_c_va_copy" = "yes"
11425 then
11427 cat >>confdefs.h <<\_ACEOF
11428 #define HAVE_VA_COPY 1
11429 _ACEOF
11432 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11433 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11434 if test "${ac_cv_c___va_copy+set}" = set; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 else
11437 cat >conftest.$ac_ext <<_ACEOF
11438 /* confdefs.h. */
11439 _ACEOF
11440 cat confdefs.h >>conftest.$ac_ext
11441 cat >>conftest.$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11443 #include <stdarg.h>
11445 main ()
11447 va_list ap1, ap2; __va_copy(ap1,ap2);
11449 return 0;
11451 _ACEOF
11452 rm -f conftest.$ac_objext conftest$ac_exeext
11453 if { (ac_try="$ac_link"
11454 case "(($ac_try" in
11455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11456 *) ac_try_echo=$ac_try;;
11457 esac
11458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11459 (eval "$ac_link") 2>conftest.er1
11460 ac_status=$?
11461 grep -v '^ *+' conftest.er1 >conftest.err
11462 rm -f conftest.er1
11463 cat conftest.err >&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } && {
11466 test -z "$ac_c_werror_flag" ||
11467 test ! -s conftest.err
11468 } && test -s conftest$ac_exeext &&
11469 $as_test_x conftest$ac_exeext; then
11470 ac_cv_c___va_copy="yes"
11471 else
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 ac_cv_c___va_copy="no"
11478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11479 conftest$ac_exeext conftest.$ac_ext
11482 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11483 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11484 if test "$ac_cv_c___va_copy" = "yes"
11485 then
11487 cat >>confdefs.h <<\_ACEOF
11488 #define HAVE___VA_COPY 1
11489 _ACEOF
11493 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11494 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11495 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 else
11498 cat >conftest.$ac_ext <<_ACEOF
11499 /* confdefs.h. */
11500 _ACEOF
11501 cat confdefs.h >>conftest.$ac_ext
11502 cat >>conftest.$ac_ext <<_ACEOF
11503 /* end confdefs.h. */
11504 #include <setjmp.h>
11506 main ()
11508 sigjmp_buf buf;
11509 sigsetjmp( buf, 1 );
11510 siglongjmp( buf, 1 );
11512 return 0;
11514 _ACEOF
11515 rm -f conftest.$ac_objext conftest$ac_exeext
11516 if { (ac_try="$ac_link"
11517 case "(($ac_try" in
11518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11519 *) ac_try_echo=$ac_try;;
11520 esac
11521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11522 (eval "$ac_link") 2>conftest.er1
11523 ac_status=$?
11524 grep -v '^ *+' conftest.er1 >conftest.err
11525 rm -f conftest.er1
11526 cat conftest.err >&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } && {
11529 test -z "$ac_c_werror_flag" ||
11530 test ! -s conftest.err
11531 } && test -s conftest$ac_exeext &&
11532 $as_test_x conftest$ac_exeext; then
11533 ac_cv_c_sigsetjmp="yes"
11534 else
11535 echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.$ac_ext >&5
11538 ac_cv_c_sigsetjmp="no"
11541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11542 conftest$ac_exeext conftest.$ac_ext
11545 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11546 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11547 if test "$ac_cv_c_sigsetjmp" = "yes"
11548 then
11550 cat >>confdefs.h <<\_ACEOF
11551 #define HAVE_SIGSETJMP 1
11552 _ACEOF
11556 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11557 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11558 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 else
11561 cat >conftest.$ac_ext <<_ACEOF
11562 /* confdefs.h. */
11563 _ACEOF
11564 cat confdefs.h >>conftest.$ac_ext
11565 cat >>conftest.$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11567 #define _GNU_SOURCE
11568 #include <pthread.h>
11570 typedef pthread_rwlock_t ac__type_new_;
11572 main ()
11574 if ((ac__type_new_ *) 0)
11575 return 0;
11576 if (sizeof (ac__type_new_))
11577 return 0;
11579 return 0;
11581 _ACEOF
11582 rm -f conftest.$ac_objext
11583 if { (ac_try="$ac_compile"
11584 case "(($ac_try" in
11585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586 *) ac_try_echo=$ac_try;;
11587 esac
11588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11589 (eval "$ac_compile") 2>conftest.er1
11590 ac_status=$?
11591 grep -v '^ *+' conftest.er1 >conftest.err
11592 rm -f conftest.er1
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } && {
11596 test -z "$ac_c_werror_flag" ||
11597 test ! -s conftest.err
11598 } && test -s conftest.$ac_objext; then
11599 ac_cv_type_pthread_rwlock_t=yes
11600 else
11601 echo "$as_me: failed program was:" >&5
11602 sed 's/^/| /' conftest.$ac_ext >&5
11604 ac_cv_type_pthread_rwlock_t=no
11607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11609 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11610 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11611 if test $ac_cv_type_pthread_rwlock_t = yes; then
11613 cat >>confdefs.h <<_ACEOF
11614 #define HAVE_PTHREAD_RWLOCK_T 1
11615 _ACEOF
11619 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11620 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11621 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 else
11624 cat >conftest.$ac_ext <<_ACEOF
11625 /* confdefs.h. */
11626 _ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 #define _GNU_SOURCE
11631 #include <pthread.h>
11633 typedef pthread_rwlockattr_t ac__type_new_;
11635 main ()
11637 if ((ac__type_new_ *) 0)
11638 return 0;
11639 if (sizeof (ac__type_new_))
11640 return 0;
11642 return 0;
11644 _ACEOF
11645 rm -f conftest.$ac_objext
11646 if { (ac_try="$ac_compile"
11647 case "(($ac_try" in
11648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11649 *) ac_try_echo=$ac_try;;
11650 esac
11651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11652 (eval "$ac_compile") 2>conftest.er1
11653 ac_status=$?
11654 grep -v '^ *+' conftest.er1 >conftest.err
11655 rm -f conftest.er1
11656 cat conftest.err >&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } && {
11659 test -z "$ac_c_werror_flag" ||
11660 test ! -s conftest.err
11661 } && test -s conftest.$ac_objext; then
11662 ac_cv_type_pthread_rwlockattr_t=yes
11663 else
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ac_cv_type_pthread_rwlockattr_t=no
11670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11672 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11673 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11674 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11676 cat >>confdefs.h <<_ACEOF
11677 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11678 _ACEOF
11684 ac_wine_check_funcs_save_LIBS="$LIBS"
11685 LIBS="$LIBS $LIBPTHREAD"
11690 for ac_func in \
11691 pthread_attr_get_np \
11692 pthread_getattr_np \
11693 pthread_get_stackaddr_np \
11694 pthread_get_stacksize_np
11696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11700 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 else
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11710 #define $ac_func innocuous_$ac_func
11712 /* System header to define __stub macros and hopefully few prototypes,
11713 which can conflict with char $ac_func (); below.
11714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11715 <limits.h> exists even on freestanding compilers. */
11717 #ifdef __STDC__
11718 # include <limits.h>
11719 #else
11720 # include <assert.h>
11721 #endif
11723 #undef $ac_func
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11728 #ifdef __cplusplus
11729 extern "C"
11730 #endif
11731 char $ac_func ();
11732 /* The GNU C library defines this for functions which it implements
11733 to always fail with ENOSYS. Some functions are actually named
11734 something starting with __ and the normal name is an alias. */
11735 #if defined __stub_$ac_func || defined __stub___$ac_func
11736 choke me
11737 #endif
11740 main ()
11742 return $ac_func ();
11744 return 0;
11746 _ACEOF
11747 rm -f conftest.$ac_objext conftest$ac_exeext
11748 if { (ac_try="$ac_link"
11749 case "(($ac_try" in
11750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11751 *) ac_try_echo=$ac_try;;
11752 esac
11753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11754 (eval "$ac_link") 2>conftest.er1
11755 ac_status=$?
11756 grep -v '^ *+' conftest.er1 >conftest.err
11757 rm -f conftest.er1
11758 cat conftest.err >&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); } && {
11761 test -z "$ac_c_werror_flag" ||
11762 test ! -s conftest.err
11763 } && test -s conftest$ac_exeext &&
11764 $as_test_x conftest$ac_exeext; then
11765 eval "$as_ac_var=yes"
11766 else
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.$ac_ext >&5
11770 eval "$as_ac_var=no"
11773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11774 conftest$ac_exeext conftest.$ac_ext
11776 ac_res=`eval echo '${'$as_ac_var'}'`
11777 { echo "$as_me:$LINENO: result: $ac_res" >&5
11778 echo "${ECHO_T}$ac_res" >&6; }
11779 if test `eval echo '${'$as_ac_var'}'` = yes; then
11780 cat >>confdefs.h <<_ACEOF
11781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11782 _ACEOF
11785 done
11787 LIBS="$ac_wine_check_funcs_save_LIBS"
11789 # Extract the first word of "esd-config", so it can be a program name with args.
11790 set dummy esd-config; ac_word=$2
11791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11793 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796 case $ESDCONFIG in
11797 [\\/]* | ?:[\\/]*)
11798 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $PATH
11804 IFS=$as_save_IFS
11805 test -z "$as_dir" && as_dir=.
11806 for ac_exec_ext in '' $ac_executable_extensions; do
11807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11808 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11810 break 2
11812 done
11813 done
11814 IFS=$as_save_IFS
11817 esac
11819 ESDCONFIG=$ac_cv_path_ESDCONFIG
11820 if test -n "$ESDCONFIG"; then
11821 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11822 echo "${ECHO_T}$ESDCONFIG" >&6; }
11823 else
11824 { echo "$as_me:$LINENO: result: no" >&5
11825 echo "${ECHO_T}no" >&6; }
11829 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11830 then
11831 ESD_CFLAGS=""
11832 for i in `$ESDCONFIG --cflags`
11834 case "$i" in
11835 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11836 esac
11837 done
11838 ESD_LIBS=`$ESDCONFIG --libs`
11839 save_CFLAGS="$CFLAGS"
11840 CFLAGS="$CFLAGS $ESD_CFLAGS"
11841 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11842 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11843 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 ac_check_lib_save_LIBS=$LIBS
11847 LIBS="-lesd $LIBS"
11848 cat >conftest.$ac_ext <<_ACEOF
11849 /* confdefs.h. */
11850 _ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 char esd_open_sound ();
11863 main ()
11865 return esd_open_sound ();
11867 return 0;
11869 _ACEOF
11870 rm -f conftest.$ac_objext conftest$ac_exeext
11871 if { (ac_try="$ac_link"
11872 case "(($ac_try" in
11873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 *) ac_try_echo=$ac_try;;
11875 esac
11876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11877 (eval "$ac_link") 2>conftest.er1
11878 ac_status=$?
11879 grep -v '^ *+' conftest.er1 >conftest.err
11880 rm -f conftest.er1
11881 cat conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } && {
11884 test -z "$ac_c_werror_flag" ||
11885 test ! -s conftest.err
11886 } && test -s conftest$ac_exeext &&
11887 $as_test_x conftest$ac_exeext; then
11888 ac_cv_lib_esd_esd_open_sound=yes
11889 else
11890 echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.$ac_ext >&5
11893 ac_cv_lib_esd_esd_open_sound=no
11896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_lib_save_LIBS
11900 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11901 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11902 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11903 ESDLIBS=$ESD_LIBS
11905 ESDINCL=$ESD_CFLAGS
11908 cat >>confdefs.h <<\_ACEOF
11909 #define HAVE_ESD 1
11910 _ACEOF
11914 CFLAGS="$save_CFLAGS"
11917 ALSALIBS=""
11919 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11920 then
11921 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11922 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11923 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11926 ac_check_lib_save_LIBS=$LIBS
11927 LIBS="-lasound $LIBS"
11928 cat >conftest.$ac_ext <<_ACEOF
11929 /* confdefs.h. */
11930 _ACEOF
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char snd_pcm_hw_params_get_access ();
11943 main ()
11945 return snd_pcm_hw_params_get_access ();
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (ac_try="$ac_link"
11952 case "(($ac_try" in
11953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11954 *) ac_try_echo=$ac_try;;
11955 esac
11956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11957 (eval "$ac_link") 2>conftest.er1
11958 ac_status=$?
11959 grep -v '^ *+' conftest.er1 >conftest.err
11960 rm -f conftest.er1
11961 cat conftest.err >&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } && {
11964 test -z "$ac_c_werror_flag" ||
11965 test ! -s conftest.err
11966 } && test -s conftest$ac_exeext &&
11967 $as_test_x conftest$ac_exeext; then
11968 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11969 else
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11973 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11977 conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_lib_save_LIBS
11980 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11981 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11982 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11983 cat >conftest.$ac_ext <<_ACEOF
11984 /* confdefs.h. */
11985 _ACEOF
11986 cat confdefs.h >>conftest.$ac_ext
11987 cat >>conftest.$ac_ext <<_ACEOF
11988 /* end confdefs.h. */
11989 #ifdef HAVE_ALSA_ASOUNDLIB_H
11990 #include <alsa/asoundlib.h>
11991 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11992 #include <sys/asoundlib.h>
11993 #endif
11995 main ()
11997 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11999 return 0;
12001 _ACEOF
12002 rm -f conftest.$ac_objext
12003 if { (ac_try="$ac_compile"
12004 case "(($ac_try" in
12005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12006 *) ac_try_echo=$ac_try;;
12007 esac
12008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12009 (eval "$ac_compile") 2>conftest.er1
12010 ac_status=$?
12011 grep -v '^ *+' conftest.er1 >conftest.err
12012 rm -f conftest.er1
12013 cat conftest.err >&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } && {
12016 test -z "$ac_c_werror_flag" ||
12017 test ! -s conftest.err
12018 } && test -s conftest.$ac_objext; then
12020 cat >>confdefs.h <<\_ACEOF
12021 #define HAVE_ALSA 1
12022 _ACEOF
12024 ALSALIBS="-lasound"
12025 else
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12038 AUDIOIOLIBS=""
12040 if test "$ac_cv_header_libaudioio_h" = "yes"
12041 then
12042 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12043 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12044 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 else
12047 ac_check_lib_save_LIBS=$LIBS
12048 LIBS="-laudioio $LIBS"
12049 cat >conftest.$ac_ext <<_ACEOF
12050 /* confdefs.h. */
12051 _ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char AudioIOGetVersion ();
12064 main ()
12066 return AudioIOGetVersion ();
12068 return 0;
12070 _ACEOF
12071 rm -f conftest.$ac_objext conftest$ac_exeext
12072 if { (ac_try="$ac_link"
12073 case "(($ac_try" in
12074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12075 *) ac_try_echo=$ac_try;;
12076 esac
12077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12078 (eval "$ac_link") 2>conftest.er1
12079 ac_status=$?
12080 grep -v '^ *+' conftest.er1 >conftest.err
12081 rm -f conftest.er1
12082 cat conftest.err >&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } && {
12085 test -z "$ac_c_werror_flag" ||
12086 test ! -s conftest.err
12087 } && test -s conftest$ac_exeext &&
12088 $as_test_x conftest$ac_exeext; then
12089 ac_cv_lib_audioio_AudioIOGetVersion=yes
12090 else
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12094 ac_cv_lib_audioio_AudioIOGetVersion=no
12097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12098 conftest$ac_exeext conftest.$ac_ext
12099 LIBS=$ac_check_lib_save_LIBS
12101 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12102 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12103 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12104 AUDIOIOLIBS="-laudioio"
12106 cat >>confdefs.h <<\_ACEOF
12107 #define HAVE_LIBAUDIOIO 1
12108 _ACEOF
12115 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12116 then
12117 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12118 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12119 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lcapi20 $LIBS"
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char capi20_register ();
12139 main ()
12141 return capi20_register ();
12143 return 0;
12145 _ACEOF
12146 rm -f conftest.$ac_objext conftest$ac_exeext
12147 if { (ac_try="$ac_link"
12148 case "(($ac_try" in
12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12150 *) ac_try_echo=$ac_try;;
12151 esac
12152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12153 (eval "$ac_link") 2>conftest.er1
12154 ac_status=$?
12155 grep -v '^ *+' conftest.er1 >conftest.err
12156 rm -f conftest.er1
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } && {
12160 test -z "$ac_c_werror_flag" ||
12161 test ! -s conftest.err
12162 } && test -s conftest$ac_exeext &&
12163 $as_test_x conftest$ac_exeext; then
12164 ac_cv_lib_capi20_capi20_register=yes
12165 else
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.$ac_ext >&5
12169 ac_cv_lib_capi20_capi20_register=no
12172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12177 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12178 if test $ac_cv_lib_capi20_capi20_register = yes; then
12180 cat >>confdefs.h <<\_ACEOF
12181 #define HAVE_CAPI4LINUX 1
12182 _ACEOF
12189 EXTRACFLAGS=""
12191 if test "x${GCC}" = "xyes"
12192 then
12193 EXTRACFLAGS="-Wall -pipe"
12195 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12196 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12197 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 else
12200 if test "$cross_compiling" = yes; then
12201 ac_cv_c_gcc_strength_bug="yes"
12202 else
12203 cat >conftest.$ac_ext <<_ACEOF
12204 /* confdefs.h. */
12205 _ACEOF
12206 cat confdefs.h >>conftest.$ac_ext
12207 cat >>conftest.$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 int L[4] = {0,1,2,3};
12211 main ()
12213 static int Array[3];
12214 unsigned int B = 3;
12215 int i;
12216 for(i=0; i<B; i++) Array[i] = i - 3;
12217 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12218 L[i] = 4;
12219 exit( Array[1] != -2 || L[2] != 3)
12221 return 0;
12223 _ACEOF
12224 rm -f conftest$ac_exeext
12225 if { (ac_try="$ac_link"
12226 case "(($ac_try" in
12227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12228 *) ac_try_echo=$ac_try;;
12229 esac
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 (eval "$ac_link") 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12235 { (case "(($ac_try" in
12236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12237 *) ac_try_echo=$ac_try;;
12238 esac
12239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12240 (eval "$ac_try") 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; }; then
12244 ac_cv_c_gcc_strength_bug="no"
12245 else
12246 echo "$as_me: program exited with status $ac_status" >&5
12247 echo "$as_me: failed program was:" >&5
12248 sed 's/^/| /' conftest.$ac_ext >&5
12250 ( exit $ac_status )
12251 ac_cv_c_gcc_strength_bug="yes"
12253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12258 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12259 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12260 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12261 then
12262 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12266 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12267 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12268 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 else
12271 ac_wine_try_cflags_saved=$CFLAGS
12272 CFLAGS="$CFLAGS -fshort-wchar"
12273 cat >conftest.$ac_ext <<_ACEOF
12274 /* confdefs.h. */
12275 _ACEOF
12276 cat confdefs.h >>conftest.$ac_ext
12277 cat >>conftest.$ac_ext <<_ACEOF
12278 /* end confdefs.h. */
12281 main ()
12285 return 0;
12287 _ACEOF
12288 rm -f conftest.$ac_objext conftest$ac_exeext
12289 if { (ac_try="$ac_link"
12290 case "(($ac_try" in
12291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12292 *) ac_try_echo=$ac_try;;
12293 esac
12294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12295 (eval "$ac_link") 2>conftest.er1
12296 ac_status=$?
12297 grep -v '^ *+' conftest.er1 >conftest.err
12298 rm -f conftest.er1
12299 cat conftest.err >&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); } && {
12302 test -z "$ac_c_werror_flag" ||
12303 test ! -s conftest.err
12304 } && test -s conftest$ac_exeext &&
12305 $as_test_x conftest$ac_exeext; then
12306 ac_cv_cflags__fshort_wchar=yes
12307 else
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12311 ac_cv_cflags__fshort_wchar=no
12314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12315 conftest$ac_exeext conftest.$ac_ext
12316 CFLAGS=$ac_wine_try_cflags_saved
12318 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12319 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12320 if test $ac_cv_cflags__fshort_wchar = yes; then
12322 cat >>confdefs.h <<\_ACEOF
12323 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12324 _ACEOF
12328 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12329 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12330 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 else
12333 ac_wine_try_cflags_saved=$CFLAGS
12334 CFLAGS="$CFLAGS -fno-strict-aliasing"
12335 cat >conftest.$ac_ext <<_ACEOF
12336 /* confdefs.h. */
12337 _ACEOF
12338 cat confdefs.h >>conftest.$ac_ext
12339 cat >>conftest.$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12343 main ()
12347 return 0;
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (ac_try="$ac_link"
12352 case "(($ac_try" in
12353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12354 *) ac_try_echo=$ac_try;;
12355 esac
12356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12357 (eval "$ac_link") 2>conftest.er1
12358 ac_status=$?
12359 grep -v '^ *+' conftest.er1 >conftest.err
12360 rm -f conftest.er1
12361 cat conftest.err >&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } && {
12364 test -z "$ac_c_werror_flag" ||
12365 test ! -s conftest.err
12366 } && test -s conftest$ac_exeext &&
12367 $as_test_x conftest$ac_exeext; then
12368 ac_cv_cflags__fno_strict_aliasing=yes
12369 else
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.$ac_ext >&5
12373 ac_cv_cflags__fno_strict_aliasing=no
12376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12377 conftest$ac_exeext conftest.$ac_ext
12378 CFLAGS=$ac_wine_try_cflags_saved
12380 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12381 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12382 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12383 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12386 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12387 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12388 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 else
12391 ac_wine_try_cflags_saved=$CFLAGS
12392 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12393 cat >conftest.$ac_ext <<_ACEOF
12394 /* confdefs.h. */
12395 _ACEOF
12396 cat confdefs.h >>conftest.$ac_ext
12397 cat >>conftest.$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12401 main ()
12405 return 0;
12407 _ACEOF
12408 rm -f conftest.$ac_objext conftest$ac_exeext
12409 if { (ac_try="$ac_link"
12410 case "(($ac_try" in
12411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12412 *) ac_try_echo=$ac_try;;
12413 esac
12414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12415 (eval "$ac_link") 2>conftest.er1
12416 ac_status=$?
12417 grep -v '^ *+' conftest.er1 >conftest.err
12418 rm -f conftest.er1
12419 cat conftest.err >&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } && {
12422 test -z "$ac_c_werror_flag" ||
12423 test ! -s conftest.err
12424 } && test -s conftest$ac_exeext &&
12425 $as_test_x conftest$ac_exeext; then
12426 ac_cv_cflags__Wdeclaration_after_statement=yes
12427 else
12428 echo "$as_me: failed program was:" >&5
12429 sed 's/^/| /' conftest.$ac_ext >&5
12431 ac_cv_cflags__Wdeclaration_after_statement=no
12434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12435 conftest$ac_exeext conftest.$ac_ext
12436 CFLAGS=$ac_wine_try_cflags_saved
12438 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12439 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12440 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12441 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12444 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12445 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12446 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 else
12449 ac_wine_try_cflags_saved=$CFLAGS
12450 CFLAGS="$CFLAGS -Wwrite-strings"
12451 cat >conftest.$ac_ext <<_ACEOF
12452 /* confdefs.h. */
12453 _ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12459 main ()
12463 return 0;
12465 _ACEOF
12466 rm -f conftest.$ac_objext conftest$ac_exeext
12467 if { (ac_try="$ac_link"
12468 case "(($ac_try" in
12469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12470 *) ac_try_echo=$ac_try;;
12471 esac
12472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12473 (eval "$ac_link") 2>conftest.er1
12474 ac_status=$?
12475 grep -v '^ *+' conftest.er1 >conftest.err
12476 rm -f conftest.er1
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } && {
12480 test -z "$ac_c_werror_flag" ||
12481 test ! -s conftest.err
12482 } && test -s conftest$ac_exeext &&
12483 $as_test_x conftest$ac_exeext; then
12484 ac_cv_cflags__Wwrite_strings=yes
12485 else
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12489 ac_cv_cflags__Wwrite_strings=no
12492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12493 conftest$ac_exeext conftest.$ac_ext
12494 CFLAGS=$ac_wine_try_cflags_saved
12496 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12497 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12498 if test $ac_cv_cflags__Wwrite_strings = yes; then
12499 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12503 saved_CFLAGS="$CFLAGS"
12504 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12505 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12506 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12507 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12509 else
12510 cat >conftest.$ac_ext <<_ACEOF
12511 /* confdefs.h. */
12512 _ACEOF
12513 cat confdefs.h >>conftest.$ac_ext
12514 cat >>conftest.$ac_ext <<_ACEOF
12515 /* end confdefs.h. */
12516 #include <string.h>
12518 main ()
12522 return 0;
12524 _ACEOF
12525 rm -f conftest.$ac_objext
12526 if { (ac_try="$ac_compile"
12527 case "(($ac_try" in
12528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12529 *) ac_try_echo=$ac_try;;
12530 esac
12531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12532 (eval "$ac_compile") 2>conftest.er1
12533 ac_status=$?
12534 grep -v '^ *+' conftest.er1 >conftest.err
12535 rm -f conftest.er1
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } && {
12539 test -z "$ac_c_werror_flag" ||
12540 test ! -s conftest.err
12541 } && test -s conftest.$ac_objext; then
12542 ac_cv_c_string_h_warnings=no
12543 else
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.$ac_ext >&5
12547 ac_cv_c_string_h_warnings=yes
12550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12552 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12553 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12554 CFLAGS="$saved_CFLAGS"
12555 if test "$ac_cv_c_string_h_warnings" = "no"
12556 then
12557 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12560 BUILTINFLAG=""
12562 saved_CFLAGS="$CFLAGS"
12563 CFLAGS="$CFLAGS -Werror"
12564 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12565 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12566 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12577 main ()
12579 int iswlower(unsigned short);
12581 return 0;
12583 _ACEOF
12584 rm -f conftest.$ac_objext
12585 if { (ac_try="$ac_compile"
12586 case "(($ac_try" in
12587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12588 *) ac_try_echo=$ac_try;;
12589 esac
12590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12591 (eval "$ac_compile") 2>conftest.er1
12592 ac_status=$?
12593 grep -v '^ *+' conftest.er1 >conftest.err
12594 rm -f conftest.er1
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } && {
12598 test -z "$ac_c_werror_flag" ||
12599 test ! -s conftest.err
12600 } && test -s conftest.$ac_objext; then
12601 ac_cv_c_builtin_wchar_ctype=no
12602 else
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.$ac_ext >&5
12606 ac_cv_c_builtin_wchar_ctype=yes
12609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12611 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12612 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12613 CFLAGS="$saved_CFLAGS"
12614 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12615 then
12616 BUILTINFLAG="-fno-builtin"
12621 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12622 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12623 if test "${ac_cv_asm_func_def+set}" = set; then
12624 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 else
12626 cat >conftest.$ac_ext <<_ACEOF
12627 /* confdefs.h. */
12628 _ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12634 main ()
12636 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12638 return 0;
12640 _ACEOF
12641 rm -f conftest.$ac_objext conftest$ac_exeext
12642 if { (ac_try="$ac_link"
12643 case "(($ac_try" in
12644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12645 *) ac_try_echo=$ac_try;;
12646 esac
12647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12648 (eval "$ac_link") 2>conftest.er1
12649 ac_status=$?
12650 grep -v '^ *+' conftest.er1 >conftest.err
12651 rm -f conftest.er1
12652 cat conftest.err >&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } && {
12655 test -z "$ac_c_werror_flag" ||
12656 test ! -s conftest.err
12657 } && test -s conftest$ac_exeext &&
12658 $as_test_x conftest$ac_exeext; then
12659 ac_cv_asm_func_def=".def"
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12664 cat >conftest.$ac_ext <<_ACEOF
12665 /* confdefs.h. */
12666 _ACEOF
12667 cat confdefs.h >>conftest.$ac_ext
12668 cat >>conftest.$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12672 main ()
12674 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12676 return 0;
12678 _ACEOF
12679 rm -f conftest.$ac_objext conftest$ac_exeext
12680 if { (ac_try="$ac_link"
12681 case "(($ac_try" in
12682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12684 esac
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_link") 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } && {
12693 test -z "$ac_c_werror_flag" ||
12694 test ! -s conftest.err
12695 } && test -s conftest$ac_exeext &&
12696 $as_test_x conftest$ac_exeext; then
12697 ac_cv_asm_func_def=".type @function"
12698 else
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.$ac_ext >&5
12702 cat >conftest.$ac_ext <<_ACEOF
12703 /* confdefs.h. */
12704 _ACEOF
12705 cat confdefs.h >>conftest.$ac_ext
12706 cat >>conftest.$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12710 main ()
12712 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12714 return 0;
12716 _ACEOF
12717 rm -f conftest.$ac_objext conftest$ac_exeext
12718 if { (ac_try="$ac_link"
12719 case "(($ac_try" in
12720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721 *) ac_try_echo=$ac_try;;
12722 esac
12723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12724 (eval "$ac_link") 2>conftest.er1
12725 ac_status=$?
12726 grep -v '^ *+' conftest.er1 >conftest.err
12727 rm -f conftest.er1
12728 cat conftest.err >&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } && {
12731 test -z "$ac_c_werror_flag" ||
12732 test ! -s conftest.err
12733 } && test -s conftest$ac_exeext &&
12734 $as_test_x conftest$ac_exeext; then
12735 ac_cv_asm_func_def=".type 2"
12736 else
12737 echo "$as_me: failed program was:" >&5
12738 sed 's/^/| /' conftest.$ac_ext >&5
12740 ac_cv_asm_func_def="unknown"
12743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12744 conftest$ac_exeext conftest.$ac_ext
12747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12748 conftest$ac_exeext conftest.$ac_ext
12751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12752 conftest$ac_exeext conftest.$ac_ext
12754 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12755 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12759 case "$ac_cv_asm_func_def" in
12760 ".def")
12761 cat >>confdefs.h <<\_ACEOF
12762 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12763 _ACEOF
12765 ".type @function")
12766 cat >>confdefs.h <<\_ACEOF
12767 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12768 _ACEOF
12770 ".type 2")
12771 cat >>confdefs.h <<\_ACEOF
12772 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12773 _ACEOF
12776 cat >>confdefs.h <<\_ACEOF
12777 #define __ASM_FUNC(name) ""
12778 _ACEOF
12780 esac
12783 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12784 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12785 if test "${ac_cv_c_extern_prefix+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 else
12788 cat >conftest.$ac_ext <<_ACEOF
12789 /* confdefs.h. */
12790 _ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 extern int ac_test;
12796 main ()
12798 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12800 return 0;
12802 _ACEOF
12803 rm -f conftest.$ac_objext conftest$ac_exeext
12804 if { (ac_try="$ac_link"
12805 case "(($ac_try" in
12806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12807 *) ac_try_echo=$ac_try;;
12808 esac
12809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12810 (eval "$ac_link") 2>conftest.er1
12811 ac_status=$?
12812 grep -v '^ *+' conftest.er1 >conftest.err
12813 rm -f conftest.er1
12814 cat conftest.err >&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } && {
12817 test -z "$ac_c_werror_flag" ||
12818 test ! -s conftest.err
12819 } && test -s conftest$ac_exeext &&
12820 $as_test_x conftest$ac_exeext; then
12821 ac_cv_c_extern_prefix="yes"
12822 else
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.$ac_ext >&5
12826 ac_cv_c_extern_prefix="no"
12829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12830 conftest$ac_exeext conftest.$ac_ext
12832 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12833 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12837 if test "$ac_cv_c_extern_prefix" = "yes"
12838 then
12839 cat >>confdefs.h <<\_ACEOF
12840 #define __ASM_NAME(name) "_" name
12841 _ACEOF
12843 else
12844 cat >>confdefs.h <<\_ACEOF
12845 #define __ASM_NAME(name) name
12846 _ACEOF
12851 DLLEXT=""
12853 DLLFLAGS="-D_REENTRANT"
12855 LDSHARED=""
12857 LDDLLFLAGS=""
12859 LIBEXT="so"
12861 IMPLIBEXT="def"
12863 LDRPATH_INSTALL=""
12865 LDRPATH_LOCAL=""
12868 case $host_os in
12869 cygwin*|mingw32*)
12870 if test -n "$ac_tool_prefix"; then
12871 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12872 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12875 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 else
12878 if test -n "$DLLTOOL"; then
12879 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12880 else
12881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12882 for as_dir in $PATH
12884 IFS=$as_save_IFS
12885 test -z "$as_dir" && as_dir=.
12886 for ac_exec_ext in '' $ac_executable_extensions; do
12887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12888 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12890 break 2
12892 done
12893 done
12894 IFS=$as_save_IFS
12898 DLLTOOL=$ac_cv_prog_DLLTOOL
12899 if test -n "$DLLTOOL"; then
12900 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12901 echo "${ECHO_T}$DLLTOOL" >&6; }
12902 else
12903 { echo "$as_me:$LINENO: result: no" >&5
12904 echo "${ECHO_T}no" >&6; }
12909 if test -z "$ac_cv_prog_DLLTOOL"; then
12910 ac_ct_DLLTOOL=$DLLTOOL
12911 # Extract the first word of "dlltool", so it can be a program name with args.
12912 set dummy dlltool; ac_word=$2
12913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12915 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12917 else
12918 if test -n "$ac_ct_DLLTOOL"; then
12919 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12920 else
12921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12922 for as_dir in $PATH
12924 IFS=$as_save_IFS
12925 test -z "$as_dir" && as_dir=.
12926 for ac_exec_ext in '' $ac_executable_extensions; do
12927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12928 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12930 break 2
12932 done
12933 done
12934 IFS=$as_save_IFS
12938 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12939 if test -n "$ac_ct_DLLTOOL"; then
12940 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12941 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12942 else
12943 { echo "$as_me:$LINENO: result: no" >&5
12944 echo "${ECHO_T}no" >&6; }
12947 if test "x$ac_ct_DLLTOOL" = x; then
12948 DLLTOOL="false"
12949 else
12950 case $cross_compiling:$ac_tool_warned in
12951 yes:)
12952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12953 whose name does not start with the host triplet. If you think this
12954 configuration is useful to you, please write to autoconf@gnu.org." >&5
12955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12956 whose name does not start with the host triplet. If you think this
12957 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12958 ac_tool_warned=yes ;;
12959 esac
12960 DLLTOOL=$ac_ct_DLLTOOL
12962 else
12963 DLLTOOL="$ac_cv_prog_DLLTOOL"
12966 if test -n "$ac_tool_prefix"; then
12967 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12968 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12971 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12972 echo $ECHO_N "(cached) $ECHO_C" >&6
12973 else
12974 if test -n "$DLLWRAP"; then
12975 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12976 else
12977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12978 for as_dir in $PATH
12980 IFS=$as_save_IFS
12981 test -z "$as_dir" && as_dir=.
12982 for ac_exec_ext in '' $ac_executable_extensions; do
12983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12984 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12986 break 2
12988 done
12989 done
12990 IFS=$as_save_IFS
12994 DLLWRAP=$ac_cv_prog_DLLWRAP
12995 if test -n "$DLLWRAP"; then
12996 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12997 echo "${ECHO_T}$DLLWRAP" >&6; }
12998 else
12999 { echo "$as_me:$LINENO: result: no" >&5
13000 echo "${ECHO_T}no" >&6; }
13005 if test -z "$ac_cv_prog_DLLWRAP"; then
13006 ac_ct_DLLWRAP=$DLLWRAP
13007 # Extract the first word of "dllwrap", so it can be a program name with args.
13008 set dummy dllwrap; ac_word=$2
13009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13011 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 else
13014 if test -n "$ac_ct_DLLWRAP"; then
13015 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13016 else
13017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13018 for as_dir in $PATH
13020 IFS=$as_save_IFS
13021 test -z "$as_dir" && as_dir=.
13022 for ac_exec_ext in '' $ac_executable_extensions; do
13023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13024 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13026 break 2
13028 done
13029 done
13030 IFS=$as_save_IFS
13034 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13035 if test -n "$ac_ct_DLLWRAP"; then
13036 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13037 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13038 else
13039 { echo "$as_me:$LINENO: result: no" >&5
13040 echo "${ECHO_T}no" >&6; }
13043 if test "x$ac_ct_DLLWRAP" = x; then
13044 DLLWRAP="false"
13045 else
13046 case $cross_compiling:$ac_tool_warned in
13047 yes:)
13048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13049 whose name does not start with the host triplet. If you think this
13050 configuration is useful to you, please write to autoconf@gnu.org." >&5
13051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13052 whose name does not start with the host triplet. If you think this
13053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13054 ac_tool_warned=yes ;;
13055 esac
13056 DLLWRAP=$ac_ct_DLLWRAP
13058 else
13059 DLLWRAP="$ac_cv_prog_DLLWRAP"
13062 if test -n "$ac_tool_prefix"; then
13063 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13064 set dummy ${ac_tool_prefix}ar; ac_word=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 if test -n "$MINGWAR"; then
13071 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13072 else
13073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13074 for as_dir in $PATH
13076 IFS=$as_save_IFS
13077 test -z "$as_dir" && as_dir=.
13078 for ac_exec_ext in '' $ac_executable_extensions; do
13079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13080 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13082 break 2
13084 done
13085 done
13086 IFS=$as_save_IFS
13090 MINGWAR=$ac_cv_prog_MINGWAR
13091 if test -n "$MINGWAR"; then
13092 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13093 echo "${ECHO_T}$MINGWAR" >&6; }
13094 else
13095 { echo "$as_me:$LINENO: result: no" >&5
13096 echo "${ECHO_T}no" >&6; }
13101 if test -z "$ac_cv_prog_MINGWAR"; then
13102 ac_ct_MINGWAR=$MINGWAR
13103 # Extract the first word of "ar", so it can be a program name with args.
13104 set dummy ar; ac_word=$2
13105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13107 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 else
13110 if test -n "$ac_ct_MINGWAR"; then
13111 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13112 else
13113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13114 for as_dir in $PATH
13116 IFS=$as_save_IFS
13117 test -z "$as_dir" && as_dir=.
13118 for ac_exec_ext in '' $ac_executable_extensions; do
13119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13120 ac_cv_prog_ac_ct_MINGWAR="ar"
13121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13122 break 2
13124 done
13125 done
13126 IFS=$as_save_IFS
13130 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13131 if test -n "$ac_ct_MINGWAR"; then
13132 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13133 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13134 else
13135 { echo "$as_me:$LINENO: result: no" >&5
13136 echo "${ECHO_T}no" >&6; }
13139 if test "x$ac_ct_MINGWAR" = x; then
13140 MINGWAR="false"
13141 else
13142 case $cross_compiling:$ac_tool_warned in
13143 yes:)
13144 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13145 whose name does not start with the host triplet. If you think this
13146 configuration is useful to you, please write to autoconf@gnu.org." >&5
13147 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13148 whose name does not start with the host triplet. If you think this
13149 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13150 ac_tool_warned=yes ;;
13151 esac
13152 MINGWAR=$ac_ct_MINGWAR
13154 else
13155 MINGWAR="$ac_cv_prog_MINGWAR"
13158 if test "$DLLWRAP" = "false"; then
13159 LIBEXT="a"
13160 else
13161 LIBEXT="dll"
13163 IMPLIBEXT="a"
13164 WIN16_FILES=""
13165 WIN16_INSTALL=""
13167 darwin*|macosx*)
13168 DLLEXT=".so"
13169 LIBEXT="dylib"
13170 DLLFLAGS="$DLLFLAGS -fPIC"
13171 LDDLLFLAGS="-bundle -multiply_defined suppress"
13172 LIBWINE_LDFLAGS="-multiply_defined suppress"
13173 LDSHARED="\$(CC) -dynamiclib"
13174 STRIP="$STRIP -u -r"
13175 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
13176 COREFOUNDATIONLIB="-framework CoreFoundation"
13178 IOKITLIB="-framework IOKit -framework CoreFoundation"
13180 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13182 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13183 then
13184 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13187 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13188 then
13189 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13192 case $host_cpu in
13193 *powerpc*)
13194 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13195 esac
13196 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13197 then
13198 CARBONLIB="-framework Carbon"
13200 QUARTZFILES='$(QUARTZFILES)'
13204 DLLFLAGS="$DLLFLAGS -fPIC"
13205 DLLEXT=".so"
13206 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13207 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13208 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 else
13211 ac_wine_try_cflags_saved=$CFLAGS
13212 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13213 cat >conftest.$ac_ext <<_ACEOF
13214 void myfunc() {}
13215 _ACEOF
13216 rm -f conftest.$ac_objext conftest$ac_exeext
13217 if { (ac_try="$ac_link"
13218 case "(($ac_try" in
13219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13220 *) ac_try_echo=$ac_try;;
13221 esac
13222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13223 (eval "$ac_link") 2>conftest.er1
13224 ac_status=$?
13225 grep -v '^ *+' conftest.er1 >conftest.err
13226 rm -f conftest.er1
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } && {
13230 test -z "$ac_c_werror_flag" ||
13231 test ! -s conftest.err
13232 } && test -s conftest$ac_exeext &&
13233 $as_test_x conftest$ac_exeext; then
13234 ac_cv_c_dll_gnuelf="yes"
13235 else
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13239 ac_cv_c_dll_gnuelf="no"
13242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13243 conftest$ac_exeext conftest.$ac_ext
13244 CFLAGS=$ac_wine_try_cflags_saved
13246 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13247 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13248 if test "$ac_cv_c_dll_gnuelf" = "yes"
13249 then
13250 LDSHARED="\$(CC) -shared"
13251 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13252 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13253 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13254 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 else
13257 ac_wine_try_cflags_saved=$CFLAGS
13258 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13259 cat >conftest.$ac_ext <<_ACEOF
13260 /* confdefs.h. */
13261 _ACEOF
13262 cat confdefs.h >>conftest.$ac_ext
13263 cat >>conftest.$ac_ext <<_ACEOF
13264 /* end confdefs.h. */
13267 main ()
13271 return 0;
13273 _ACEOF
13274 rm -f conftest.$ac_objext conftest$ac_exeext
13275 if { (ac_try="$ac_link"
13276 case "(($ac_try" in
13277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13278 *) ac_try_echo=$ac_try;;
13279 esac
13280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13281 (eval "$ac_link") 2>conftest.er1
13282 ac_status=$?
13283 grep -v '^ *+' conftest.er1 >conftest.err
13284 rm -f conftest.er1
13285 cat conftest.err >&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } && {
13288 test -z "$ac_c_werror_flag" ||
13289 test ! -s conftest.err
13290 } && test -s conftest$ac_exeext &&
13291 $as_test_x conftest$ac_exeext; then
13292 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13293 else
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.$ac_ext >&5
13297 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13301 conftest$ac_exeext conftest.$ac_ext
13302 CFLAGS=$ac_wine_try_cflags_saved
13304 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13305 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13306 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13307 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13308 else
13309 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13310 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13311 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314 ac_wine_try_cflags_saved=$CFLAGS
13315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13316 cat >conftest.$ac_ext <<_ACEOF
13317 /* confdefs.h. */
13318 _ACEOF
13319 cat confdefs.h >>conftest.$ac_ext
13320 cat >>conftest.$ac_ext <<_ACEOF
13321 /* end confdefs.h. */
13324 main ()
13328 return 0;
13330 _ACEOF
13331 rm -f conftest.$ac_objext conftest$ac_exeext
13332 if { (ac_try="$ac_link"
13333 case "(($ac_try" in
13334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13335 *) ac_try_echo=$ac_try;;
13336 esac
13337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13338 (eval "$ac_link") 2>conftest.er1
13339 ac_status=$?
13340 grep -v '^ *+' conftest.er1 >conftest.err
13341 rm -f conftest.er1
13342 cat conftest.err >&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } && {
13345 test -z "$ac_c_werror_flag" ||
13346 test ! -s conftest.err
13347 } && test -s conftest$ac_exeext &&
13348 $as_test_x conftest$ac_exeext; then
13349 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13350 else
13351 echo "$as_me: failed program was:" >&5
13352 sed 's/^/| /' conftest.$ac_ext >&5
13354 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13358 conftest$ac_exeext conftest.$ac_ext
13359 CFLAGS=$ac_wine_try_cflags_saved
13361 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13362 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13363 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13364 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13370 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13371 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13372 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 else
13375 ac_wine_try_cflags_saved=$CFLAGS
13376 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13377 cat >conftest.$ac_ext <<_ACEOF
13378 /* confdefs.h. */
13379 _ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13385 main ()
13389 return 0;
13391 _ACEOF
13392 rm -f conftest.$ac_objext conftest$ac_exeext
13393 if { (ac_try="$ac_link"
13394 case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13397 esac
13398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13399 (eval "$ac_link") 2>conftest.er1
13400 ac_status=$?
13401 grep -v '^ *+' conftest.er1 >conftest.err
13402 rm -f conftest.er1
13403 cat conftest.err >&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); } && {
13406 test -z "$ac_c_werror_flag" ||
13407 test ! -s conftest.err
13408 } && test -s conftest$ac_exeext &&
13409 $as_test_x conftest$ac_exeext; then
13410 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13411 else
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.$ac_ext >&5
13415 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13419 conftest$ac_exeext conftest.$ac_ext
13420 CFLAGS=$ac_wine_try_cflags_saved
13422 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13423 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13424 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13425 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13429 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13430 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13431 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434 ac_wine_try_cflags_saved=$CFLAGS
13435 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13436 cat >conftest.$ac_ext <<_ACEOF
13437 /* confdefs.h. */
13438 _ACEOF
13439 cat confdefs.h >>conftest.$ac_ext
13440 cat >>conftest.$ac_ext <<_ACEOF
13441 /* end confdefs.h. */
13444 main ()
13448 return 0;
13450 _ACEOF
13451 rm -f conftest.$ac_objext conftest$ac_exeext
13452 if { (ac_try="$ac_link"
13453 case "(($ac_try" in
13454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13455 *) ac_try_echo=$ac_try;;
13456 esac
13457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13458 (eval "$ac_link") 2>conftest.er1
13459 ac_status=$?
13460 grep -v '^ *+' conftest.er1 >conftest.err
13461 rm -f conftest.er1
13462 cat conftest.err >&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } && {
13465 test -z "$ac_c_werror_flag" ||
13466 test ! -s conftest.err
13467 } && test -s conftest$ac_exeext &&
13468 $as_test_x conftest$ac_exeext; then
13469 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13470 else
13471 echo "$as_me: failed program was:" >&5
13472 sed 's/^/| /' conftest.$ac_ext >&5
13474 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13478 conftest$ac_exeext conftest.$ac_ext
13479 CFLAGS=$ac_wine_try_cflags_saved
13481 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13482 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13483 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13484 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13488 echo '{ global: *; };' >conftest.map
13489 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13490 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13491 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13493 else
13494 ac_wine_try_cflags_saved=$CFLAGS
13495 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13496 cat >conftest.$ac_ext <<_ACEOF
13497 /* confdefs.h. */
13498 _ACEOF
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13504 main ()
13508 return 0;
13510 _ACEOF
13511 rm -f conftest.$ac_objext conftest$ac_exeext
13512 if { (ac_try="$ac_link"
13513 case "(($ac_try" in
13514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13515 *) ac_try_echo=$ac_try;;
13516 esac
13517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13518 (eval "$ac_link") 2>conftest.er1
13519 ac_status=$?
13520 grep -v '^ *+' conftest.er1 >conftest.err
13521 rm -f conftest.er1
13522 cat conftest.err >&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } && {
13525 test -z "$ac_c_werror_flag" ||
13526 test ! -s conftest.err
13527 } && test -s conftest$ac_exeext &&
13528 $as_test_x conftest$ac_exeext; then
13529 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13530 else
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.$ac_ext >&5
13534 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13538 conftest$ac_exeext conftest.$ac_ext
13539 CFLAGS=$ac_wine_try_cflags_saved
13541 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13542 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13543 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13544 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13547 rm -f conftest.map
13549 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13550 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13551 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 else
13554 ac_wine_try_cflags_saved=$CFLAGS
13555 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13556 cat >conftest.$ac_ext <<_ACEOF
13557 /* confdefs.h. */
13558 _ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13564 main ()
13568 return 0;
13570 _ACEOF
13571 rm -f conftest.$ac_objext conftest$ac_exeext
13572 if { (ac_try="$ac_link"
13573 case "(($ac_try" in
13574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13575 *) ac_try_echo=$ac_try;;
13576 esac
13577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13578 (eval "$ac_link") 2>conftest.er1
13579 ac_status=$?
13580 grep -v '^ *+' conftest.er1 >conftest.err
13581 rm -f conftest.er1
13582 cat conftest.err >&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } && {
13585 test -z "$ac_c_werror_flag" ||
13586 test ! -s conftest.err
13587 } && test -s conftest$ac_exeext &&
13588 $as_test_x conftest$ac_exeext; then
13589 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13590 else
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.$ac_ext >&5
13594 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13598 conftest$ac_exeext conftest.$ac_ext
13599 CFLAGS=$ac_wine_try_cflags_saved
13601 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13602 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13603 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13604 LDEXECFLAGS="-Wl,--export-dynamic"
13609 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13610 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13611 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13612 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13613 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 else
13615 ac_wine_try_cflags_saved=$CFLAGS
13616 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13617 cat >conftest.$ac_ext <<_ACEOF
13618 /* confdefs.h. */
13619 _ACEOF
13620 cat confdefs.h >>conftest.$ac_ext
13621 cat >>conftest.$ac_ext <<_ACEOF
13622 /* end confdefs.h. */
13625 main ()
13629 return 0;
13631 _ACEOF
13632 rm -f conftest.$ac_objext conftest$ac_exeext
13633 if { (ac_try="$ac_link"
13634 case "(($ac_try" in
13635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13637 esac
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_link") 2>conftest.er1
13640 ac_status=$?
13641 grep -v '^ *+' conftest.er1 >conftest.err
13642 rm -f conftest.er1
13643 cat conftest.err >&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } && {
13646 test -z "$ac_c_werror_flag" ||
13647 test ! -s conftest.err
13648 } && test -s conftest$ac_exeext &&
13649 $as_test_x conftest$ac_exeext; then
13650 eval "$as_ac_var=yes"
13651 else
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.$ac_ext >&5
13655 eval "$as_ac_var=no"
13658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13659 conftest$ac_exeext conftest.$ac_ext
13660 CFLAGS=$ac_wine_try_cflags_saved
13662 ac_res=`eval echo '${'$as_ac_var'}'`
13663 { echo "$as_me:$LINENO: result: $ac_res" >&5
13664 echo "${ECHO_T}$ac_res" >&6; }
13665 if test `eval echo '${'$as_ac_var'}'` = yes; then
13666 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13667 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13668 else
13669 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
13670 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13671 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 else
13675 ac_wine_try_cflags_saved=$CFLAGS
13676 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13677 cat >conftest.$ac_ext <<_ACEOF
13678 /* confdefs.h. */
13679 _ACEOF
13680 cat confdefs.h >>conftest.$ac_ext
13681 cat >>conftest.$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13685 main ()
13689 return 0;
13691 _ACEOF
13692 rm -f conftest.$ac_objext conftest$ac_exeext
13693 if { (ac_try="$ac_link"
13694 case "(($ac_try" in
13695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13696 *) ac_try_echo=$ac_try;;
13697 esac
13698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13699 (eval "$ac_link") 2>conftest.er1
13700 ac_status=$?
13701 grep -v '^ *+' conftest.er1 >conftest.err
13702 rm -f conftest.er1
13703 cat conftest.err >&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); } && {
13706 test -z "$ac_c_werror_flag" ||
13707 test ! -s conftest.err
13708 } && test -s conftest$ac_exeext &&
13709 $as_test_x conftest$ac_exeext; then
13710 eval "$as_ac_var=yes"
13711 else
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13715 eval "$as_ac_var=no"
13718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13719 conftest$ac_exeext conftest.$ac_ext
13720 CFLAGS=$ac_wine_try_cflags_saved
13722 ac_res=`eval echo '${'$as_ac_var'}'`
13723 { echo "$as_me:$LINENO: result: $ac_res" >&5
13724 echo "${ECHO_T}$ac_res" >&6; }
13725 if test `eval echo '${'$as_ac_var'}'` = yes; then
13726 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13727 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13733 case $host_cpu in
13734 *i[3456789]86* | x86_64)
13735 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13736 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13737 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13738 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 else
13740 ac_wine_try_cflags_saved=$CFLAGS
13741 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13742 cat >conftest.$ac_ext <<_ACEOF
13743 /* confdefs.h. */
13744 _ACEOF
13745 cat confdefs.h >>conftest.$ac_ext
13746 cat >>conftest.$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13750 main ()
13754 return 0;
13756 _ACEOF
13757 rm -f conftest.$ac_objext conftest$ac_exeext
13758 if { (ac_try="$ac_link"
13759 case "(($ac_try" in
13760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13761 *) ac_try_echo=$ac_try;;
13762 esac
13763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13764 (eval "$ac_link") 2>conftest.er1
13765 ac_status=$?
13766 grep -v '^ *+' conftest.er1 >conftest.err
13767 rm -f conftest.er1
13768 cat conftest.err >&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); } && {
13771 test -z "$ac_c_werror_flag" ||
13772 test ! -s conftest.err
13773 } && test -s conftest$ac_exeext &&
13774 $as_test_x conftest$ac_exeext; then
13775 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13776 else
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13780 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13784 conftest$ac_exeext conftest.$ac_ext
13785 CFLAGS=$ac_wine_try_cflags_saved
13787 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13788 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13789 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13790 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13794 esac
13796 else
13797 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13798 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13799 if test "${ac_cv_c_dll_unixware+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 else
13802 ac_wine_try_cflags_saved=$CFLAGS
13803 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13804 cat >conftest.$ac_ext <<_ACEOF
13805 void myfunc() {}
13806 _ACEOF
13807 rm -f conftest.$ac_objext conftest$ac_exeext
13808 if { (ac_try="$ac_link"
13809 case "(($ac_try" in
13810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13811 *) ac_try_echo=$ac_try;;
13812 esac
13813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13814 (eval "$ac_link") 2>conftest.er1
13815 ac_status=$?
13816 grep -v '^ *+' conftest.er1 >conftest.err
13817 rm -f conftest.er1
13818 cat conftest.err >&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } && {
13821 test -z "$ac_c_werror_flag" ||
13822 test ! -s conftest.err
13823 } && test -s conftest$ac_exeext &&
13824 $as_test_x conftest$ac_exeext; then
13825 ac_cv_c_dll_unixware="yes"
13826 else
13827 echo "$as_me: failed program was:" >&5
13828 sed 's/^/| /' conftest.$ac_ext >&5
13830 ac_cv_c_dll_unixware="no"
13833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13834 conftest$ac_exeext conftest.$ac_ext
13835 CFLAGS=$ac_wine_try_cflags_saved
13837 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13838 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13839 if test "$ac_cv_c_dll_unixware" = "yes"
13840 then
13841 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13842 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13844 else
13845 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13846 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13847 if test "${ac_cv_c_dll_hpux+set}" = set; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 else
13850 ac_wine_try_cflags_saved=$CFLAGS
13851 CFLAGS="$CFLAGS -shared"
13852 cat >conftest.$ac_ext <<_ACEOF
13853 void myfunc() {}
13854 _ACEOF
13855 rm -f conftest.$ac_objext conftest$ac_exeext
13856 if { (ac_try="$ac_link"
13857 case "(($ac_try" in
13858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13859 *) ac_try_echo=$ac_try;;
13860 esac
13861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13862 (eval "$ac_link") 2>conftest.er1
13863 ac_status=$?
13864 grep -v '^ *+' conftest.er1 >conftest.err
13865 rm -f conftest.er1
13866 cat conftest.err >&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } && {
13869 test -z "$ac_c_werror_flag" ||
13870 test ! -s conftest.err
13871 } && test -s conftest$ac_exeext &&
13872 $as_test_x conftest$ac_exeext; then
13873 ac_cv_c_dll_hpux="yes"
13874 else
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.$ac_ext >&5
13878 ac_cv_c_dll_hpux="no"
13881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13882 conftest$ac_exeext conftest.$ac_ext
13883 CFLAGS=$ac_wine_try_cflags_saved
13885 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13886 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13887 if test "$ac_cv_c_dll_hpux" = "yes"
13888 then
13889 LIBEXT="sl"
13890 DLLEXT=".sl"
13891 LDDLLFLAGS="-shared -fPIC"
13892 LDSHARED="\$(CC) -shared"
13897 CROSSTEST=""
13899 if test "$cross_compiling" = "no"
13900 then
13901 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13903 # Extract the first word of "$ac_prog", so it can be a program name with args.
13904 set dummy $ac_prog; ac_word=$2
13905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13907 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 else
13910 if test -n "$CROSSCC"; then
13911 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13912 else
13913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13914 for as_dir in $PATH
13916 IFS=$as_save_IFS
13917 test -z "$as_dir" && as_dir=.
13918 for ac_exec_ext in '' $ac_executable_extensions; do
13919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13920 ac_cv_prog_CROSSCC="$ac_prog"
13921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13922 break 2
13924 done
13925 done
13926 IFS=$as_save_IFS
13930 CROSSCC=$ac_cv_prog_CROSSCC
13931 if test -n "$CROSSCC"; then
13932 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13933 echo "${ECHO_T}$CROSSCC" >&6; }
13934 else
13935 { echo "$as_me:$LINENO: result: no" >&5
13936 echo "${ECHO_T}no" >&6; }
13940 test -n "$CROSSCC" && break
13941 done
13942 test -n "$CROSSCC" || CROSSCC="false"
13944 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13946 # Extract the first word of "$ac_prog", so it can be a program name with args.
13947 set dummy $ac_prog; ac_word=$2
13948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13950 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953 if test -n "$DLLTOOL"; then
13954 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13955 else
13956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13957 for as_dir in $PATH
13959 IFS=$as_save_IFS
13960 test -z "$as_dir" && as_dir=.
13961 for ac_exec_ext in '' $ac_executable_extensions; do
13962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13963 ac_cv_prog_DLLTOOL="$ac_prog"
13964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13965 break 2
13967 done
13968 done
13969 IFS=$as_save_IFS
13973 DLLTOOL=$ac_cv_prog_DLLTOOL
13974 if test -n "$DLLTOOL"; then
13975 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13976 echo "${ECHO_T}$DLLTOOL" >&6; }
13977 else
13978 { echo "$as_me:$LINENO: result: no" >&5
13979 echo "${ECHO_T}no" >&6; }
13983 test -n "$DLLTOOL" && break
13984 done
13985 test -n "$DLLTOOL" || DLLTOOL="false"
13987 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13989 # Extract the first word of "$ac_prog", so it can be a program name with args.
13990 set dummy $ac_prog; ac_word=$2
13991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13993 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 else
13996 if test -n "$CROSSWINDRES"; then
13997 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
13998 else
13999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14000 for as_dir in $PATH
14002 IFS=$as_save_IFS
14003 test -z "$as_dir" && as_dir=.
14004 for ac_exec_ext in '' $ac_executable_extensions; do
14005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14006 ac_cv_prog_CROSSWINDRES="$ac_prog"
14007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14008 break 2
14010 done
14011 done
14012 IFS=$as_save_IFS
14016 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14017 if test -n "$CROSSWINDRES"; then
14018 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14019 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14020 else
14021 { echo "$as_me:$LINENO: result: no" >&5
14022 echo "${ECHO_T}no" >&6; }
14026 test -n "$CROSSWINDRES" && break
14027 done
14028 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14030 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14032 # Extract the first word of "$ac_prog", so it can be a program name with args.
14033 set dummy $ac_prog; ac_word=$2
14034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14036 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 else
14039 if test -n "$MINGWAR"; then
14040 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14041 else
14042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14043 for as_dir in $PATH
14045 IFS=$as_save_IFS
14046 test -z "$as_dir" && as_dir=.
14047 for ac_exec_ext in '' $ac_executable_extensions; do
14048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14049 ac_cv_prog_MINGWAR="$ac_prog"
14050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14051 break 2
14053 done
14054 done
14055 IFS=$as_save_IFS
14059 MINGWAR=$ac_cv_prog_MINGWAR
14060 if test -n "$MINGWAR"; then
14061 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14062 echo "${ECHO_T}$MINGWAR" >&6; }
14063 else
14064 { echo "$as_me:$LINENO: result: no" >&5
14065 echo "${ECHO_T}no" >&6; }
14069 test -n "$MINGWAR" && break
14070 done
14071 test -n "$MINGWAR" || MINGWAR="false"
14073 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14076 esac
14078 if test "$LIBEXT" = "a"; then
14079 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14080 It is currently not possible to build Wine without shared library
14081 (.so) support to allow transparent switch between .so and .dll files.
14082 If you are using Linux, you will need a newer binutils.
14083 " >&5
14084 echo "$as_me: error: could not find a way to build shared libraries.
14085 It is currently not possible to build Wine without shared library
14086 (.so) support to allow transparent switch between .so and .dll files.
14087 If you are using Linux, you will need a newer binutils.
14088 " >&2;}
14089 { (exit 1); exit 1; }; }
14092 case $build_os in
14093 cygwin*|mingw32*)
14094 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14096 darwin*|macosx*)
14097 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14100 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14102 esac
14104 case $host_os in
14105 mingw32*)
14106 CRTLIBS="-lmsvcrt"
14108 SOCKETLIBS="-lws2_32"
14111 esac
14113 MAIN_BINARY="wine-pthread"
14114 case $host_cpu in
14115 *i[3456789]86*)
14116 case $host_os in
14117 linux* | k*bsd*-gnu)
14118 MAIN_BINARY="wine-glibc"
14120 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14122 esac
14124 esac
14127 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14128 then
14129 # Extract the first word of "ldd", so it can be a program name with args.
14130 set dummy ldd; ac_word=$2
14131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14133 if test "${ac_cv_path_LDD+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 else
14136 case $LDD in
14137 [\\/]* | ?:[\\/]*)
14138 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14142 as_dummy="/sbin:/usr/sbin:$PATH"
14143 for as_dir in $as_dummy
14145 IFS=$as_save_IFS
14146 test -z "$as_dir" && as_dir=.
14147 for ac_exec_ext in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 break 2
14153 done
14154 done
14155 IFS=$as_save_IFS
14157 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14159 esac
14161 LDD=$ac_cv_path_LDD
14162 if test -n "$LDD"; then
14163 { echo "$as_me:$LINENO: result: $LDD" >&5
14164 echo "${ECHO_T}$LDD" >&6; }
14165 else
14166 { echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6; }
14171 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14172 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14173 if test "${ac_cv_lib_soname_X11+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 else
14176 ac_get_soname_save_LIBS=$LIBS
14177 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14178 cat >conftest.$ac_ext <<_ACEOF
14179 /* confdefs.h. */
14180 _ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14188 #ifdef __cplusplus
14189 extern "C"
14190 #endif
14191 char XCreateWindow ();
14193 main ()
14195 return XCreateWindow ();
14197 return 0;
14199 _ACEOF
14200 rm -f conftest.$ac_objext conftest$ac_exeext
14201 if { (ac_try="$ac_link"
14202 case "(($ac_try" in
14203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14204 *) ac_try_echo=$ac_try;;
14205 esac
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14207 (eval "$ac_link") 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } && {
14214 test -z "$ac_c_werror_flag" ||
14215 test ! -s conftest.err
14216 } && test -s conftest$ac_exeext &&
14217 $as_test_x conftest$ac_exeext; then
14218 case "$LIBEXT" in
14219 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'` ;;
14220 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14221 esac
14222 if test "x$ac_cv_lib_soname_X11" = "x"
14223 then
14224 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14226 else
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_get_soname_save_LIBS
14237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14238 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14239 if test "${ac_cv_lib_soname_X11+set}" = set; then
14241 cat >>confdefs.h <<_ACEOF
14242 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14243 _ACEOF
14247 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14248 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14249 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252 ac_get_soname_save_LIBS=$LIBS
14253 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14254 cat >conftest.$ac_ext <<_ACEOF
14255 /* confdefs.h. */
14256 _ACEOF
14257 cat confdefs.h >>conftest.$ac_ext
14258 cat >>conftest.$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char XextCreateExtension ();
14269 main ()
14271 return XextCreateExtension ();
14273 return 0;
14275 _ACEOF
14276 rm -f conftest.$ac_objext conftest$ac_exeext
14277 if { (ac_try="$ac_link"
14278 case "(($ac_try" in
14279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14280 *) ac_try_echo=$ac_try;;
14281 esac
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_link") 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } && {
14290 test -z "$ac_c_werror_flag" ||
14291 test ! -s conftest.err
14292 } && test -s conftest$ac_exeext &&
14293 $as_test_x conftest$ac_exeext; then
14294 case "$LIBEXT" in
14295 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'` ;;
14296 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14297 esac
14298 if test "x$ac_cv_lib_soname_Xext" = "x"
14299 then
14300 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14302 else
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14306 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14310 conftest$ac_exeext conftest.$ac_ext
14311 LIBS=$ac_get_soname_save_LIBS
14313 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14314 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14315 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14317 cat >>confdefs.h <<_ACEOF
14318 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14319 _ACEOF
14323 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14324 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14325 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 else
14328 ac_get_soname_save_LIBS=$LIBS
14329 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14330 cat >conftest.$ac_ext <<_ACEOF
14331 /* confdefs.h. */
14332 _ACEOF
14333 cat confdefs.h >>conftest.$ac_ext
14334 cat >>conftest.$ac_ext <<_ACEOF
14335 /* end confdefs.h. */
14337 /* Override any GCC internal prototype to avoid an error.
14338 Use char because int might match the return type of a GCC
14339 builtin and then its argument prototype would still apply. */
14340 #ifdef __cplusplus
14341 extern "C"
14342 #endif
14343 char XOpenDevice ();
14345 main ()
14347 return XOpenDevice ();
14349 return 0;
14351 _ACEOF
14352 rm -f conftest.$ac_objext conftest$ac_exeext
14353 if { (ac_try="$ac_link"
14354 case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14357 esac
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_link") 2>conftest.er1
14360 ac_status=$?
14361 grep -v '^ *+' conftest.er1 >conftest.err
14362 rm -f conftest.er1
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } && {
14366 test -z "$ac_c_werror_flag" ||
14367 test ! -s conftest.err
14368 } && test -s conftest$ac_exeext &&
14369 $as_test_x conftest$ac_exeext; then
14370 case "$LIBEXT" in
14371 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'` ;;
14372 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14373 esac
14374 if test "x$ac_cv_lib_soname_Xi" = "x"
14375 then
14376 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14378 else
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14382 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_get_soname_save_LIBS
14389 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14390 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14391 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14393 cat >>confdefs.h <<_ACEOF
14394 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14395 _ACEOF
14399 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14400 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14401 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14403 else
14404 ac_get_soname_save_LIBS=$LIBS
14405 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14406 cat >conftest.$ac_ext <<_ACEOF
14407 /* confdefs.h. */
14408 _ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14413 /* Override any GCC internal prototype to avoid an error.
14414 Use char because int might match the return type of a GCC
14415 builtin and then its argument prototype would still apply. */
14416 #ifdef __cplusplus
14417 extern "C"
14418 #endif
14419 char XineramaQueryScreens ();
14421 main ()
14423 return XineramaQueryScreens ();
14425 return 0;
14427 _ACEOF
14428 rm -f conftest.$ac_objext conftest$ac_exeext
14429 if { (ac_try="$ac_link"
14430 case "(($ac_try" in
14431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14432 *) ac_try_echo=$ac_try;;
14433 esac
14434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14435 (eval "$ac_link") 2>conftest.er1
14436 ac_status=$?
14437 grep -v '^ *+' conftest.er1 >conftest.err
14438 rm -f conftest.er1
14439 cat conftest.err >&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } && {
14442 test -z "$ac_c_werror_flag" ||
14443 test ! -s conftest.err
14444 } && test -s conftest$ac_exeext &&
14445 $as_test_x conftest$ac_exeext; then
14446 case "$LIBEXT" in
14447 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'` ;;
14448 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14449 esac
14450 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14451 then
14452 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14458 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14462 conftest$ac_exeext conftest.$ac_ext
14463 LIBS=$ac_get_soname_save_LIBS
14465 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14466 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14467 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14469 cat >>confdefs.h <<_ACEOF
14470 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14471 _ACEOF
14475 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14476 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14477 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 else
14480 ac_get_soname_save_LIBS=$LIBS
14481 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14482 cat >conftest.$ac_ext <<_ACEOF
14483 /* confdefs.h. */
14484 _ACEOF
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14489 /* Override any GCC internal prototype to avoid an error.
14490 Use char because int might match the return type of a GCC
14491 builtin and then its argument prototype would still apply. */
14492 #ifdef __cplusplus
14493 extern "C"
14494 #endif
14495 char XRenderQueryExtension ();
14497 main ()
14499 return XRenderQueryExtension ();
14501 return 0;
14503 _ACEOF
14504 rm -f conftest.$ac_objext conftest$ac_exeext
14505 if { (ac_try="$ac_link"
14506 case "(($ac_try" in
14507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14508 *) ac_try_echo=$ac_try;;
14509 esac
14510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14511 (eval "$ac_link") 2>conftest.er1
14512 ac_status=$?
14513 grep -v '^ *+' conftest.er1 >conftest.err
14514 rm -f conftest.er1
14515 cat conftest.err >&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } && {
14518 test -z "$ac_c_werror_flag" ||
14519 test ! -s conftest.err
14520 } && test -s conftest$ac_exeext &&
14521 $as_test_x conftest$ac_exeext; then
14522 case "$LIBEXT" in
14523 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'` ;;
14524 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14525 esac
14526 if test "x$ac_cv_lib_soname_Xrender" = "x"
14527 then
14528 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14530 else
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.$ac_ext >&5
14534 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14538 conftest$ac_exeext conftest.$ac_ext
14539 LIBS=$ac_get_soname_save_LIBS
14541 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14542 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14543 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14545 cat >>confdefs.h <<_ACEOF
14546 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14547 _ACEOF
14551 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14552 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14553 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 ac_get_soname_save_LIBS=$LIBS
14557 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14565 /* Override any GCC internal prototype to avoid an error.
14566 Use char because int might match the return type of a GCC
14567 builtin and then its argument prototype would still apply. */
14568 #ifdef __cplusplus
14569 extern "C"
14570 #endif
14571 char XRRQueryExtension ();
14573 main ()
14575 return XRRQueryExtension ();
14577 return 0;
14579 _ACEOF
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (ac_try="$ac_link"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14585 esac
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_link") 2>conftest.er1
14588 ac_status=$?
14589 grep -v '^ *+' conftest.er1 >conftest.err
14590 rm -f conftest.er1
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } && {
14594 test -z "$ac_c_werror_flag" ||
14595 test ! -s conftest.err
14596 } && test -s conftest$ac_exeext &&
14597 $as_test_x conftest$ac_exeext; then
14598 case "$LIBEXT" in
14599 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'` ;;
14600 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14601 esac
14602 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14603 then
14604 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14606 else
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.$ac_ext >&5
14610 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14614 conftest$ac_exeext conftest.$ac_ext
14615 LIBS=$ac_get_soname_save_LIBS
14617 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14618 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14619 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14621 cat >>confdefs.h <<_ACEOF
14622 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14623 _ACEOF
14627 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14628 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14629 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 else
14632 ac_get_soname_save_LIBS=$LIBS
14633 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14634 cat >conftest.$ac_ext <<_ACEOF
14635 /* confdefs.h. */
14636 _ACEOF
14637 cat confdefs.h >>conftest.$ac_ext
14638 cat >>conftest.$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 #ifdef __cplusplus
14645 extern "C"
14646 #endif
14647 char XcursorImageLoadCursor ();
14649 main ()
14651 return XcursorImageLoadCursor ();
14653 return 0;
14655 _ACEOF
14656 rm -f conftest.$ac_objext conftest$ac_exeext
14657 if { (ac_try="$ac_link"
14658 case "(($ac_try" in
14659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14660 *) ac_try_echo=$ac_try;;
14661 esac
14662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14663 (eval "$ac_link") 2>conftest.er1
14664 ac_status=$?
14665 grep -v '^ *+' conftest.er1 >conftest.err
14666 rm -f conftest.er1
14667 cat conftest.err >&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } && {
14670 test -z "$ac_c_werror_flag" ||
14671 test ! -s conftest.err
14672 } && test -s conftest$ac_exeext &&
14673 $as_test_x conftest$ac_exeext; then
14674 case "$LIBEXT" in
14675 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'` ;;
14676 so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14677 esac
14678 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14679 then
14680 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14682 else
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14686 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14690 conftest$ac_exeext conftest.$ac_ext
14691 LIBS=$ac_get_soname_save_LIBS
14693 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14694 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14695 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14697 cat >>confdefs.h <<_ACEOF
14698 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14699 _ACEOF
14703 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14704 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14705 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14706 echo $ECHO_N "(cached) $ECHO_C" >&6
14707 else
14708 ac_get_soname_save_LIBS=$LIBS
14709 LIBS="-lfreetype $X_LIBS $LIBS"
14710 cat >conftest.$ac_ext <<_ACEOF
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 #ifdef __cplusplus
14721 extern "C"
14722 #endif
14723 char FT_Init_FreeType ();
14725 main ()
14727 return FT_Init_FreeType ();
14729 return 0;
14731 _ACEOF
14732 rm -f conftest.$ac_objext conftest$ac_exeext
14733 if { (ac_try="$ac_link"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14737 esac
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_link") 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest$ac_exeext &&
14749 $as_test_x conftest$ac_exeext; then
14750 case "$LIBEXT" in
14751 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'` ;;
14752 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14753 esac
14754 if test "x$ac_cv_lib_soname_freetype" = "x"
14755 then
14756 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14758 else
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.$ac_ext >&5
14762 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14766 conftest$ac_exeext conftest.$ac_ext
14767 LIBS=$ac_get_soname_save_LIBS
14769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14770 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14771 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14773 cat >>confdefs.h <<_ACEOF
14774 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14775 _ACEOF
14779 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14780 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14781 if test "${ac_cv_lib_soname_GL+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 else
14784 ac_get_soname_save_LIBS=$LIBS
14785 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14796 #ifdef __cplusplus
14797 extern "C"
14798 #endif
14799 char glXQueryExtension ();
14801 main ()
14803 return glXQueryExtension ();
14805 return 0;
14807 _ACEOF
14808 rm -f conftest.$ac_objext conftest$ac_exeext
14809 if { (ac_try="$ac_link"
14810 case "(($ac_try" in
14811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14812 *) ac_try_echo=$ac_try;;
14813 esac
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_link") 2>conftest.er1
14816 ac_status=$?
14817 grep -v '^ *+' conftest.er1 >conftest.err
14818 rm -f conftest.er1
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } && {
14822 test -z "$ac_c_werror_flag" ||
14823 test ! -s conftest.err
14824 } && test -s conftest$ac_exeext &&
14825 $as_test_x conftest$ac_exeext; then
14826 case "$LIBEXT" in
14827 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'` ;;
14828 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14829 esac
14830 if test "x$ac_cv_lib_soname_GL" = "x"
14831 then
14832 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14834 else
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14838 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_get_soname_save_LIBS
14845 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14846 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14847 if test "${ac_cv_lib_soname_GL+set}" = set; then
14849 cat >>confdefs.h <<_ACEOF
14850 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14851 _ACEOF
14855 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14856 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14857 if test "${ac_cv_lib_soname_hal+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 ac_get_soname_save_LIBS=$LIBS
14861 LIBS="-lhal $LIBS"
14862 cat >conftest.$ac_ext <<_ACEOF
14863 /* confdefs.h. */
14864 _ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14872 #ifdef __cplusplus
14873 extern "C"
14874 #endif
14875 char libhal_ctx_new ();
14877 main ()
14879 return libhal_ctx_new ();
14881 return 0;
14883 _ACEOF
14884 rm -f conftest.$ac_objext conftest$ac_exeext
14885 if { (ac_try="$ac_link"
14886 case "(($ac_try" in
14887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14888 *) ac_try_echo=$ac_try;;
14889 esac
14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14891 (eval "$ac_link") 2>conftest.er1
14892 ac_status=$?
14893 grep -v '^ *+' conftest.er1 >conftest.err
14894 rm -f conftest.er1
14895 cat conftest.err >&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } && {
14898 test -z "$ac_c_werror_flag" ||
14899 test ! -s conftest.err
14900 } && test -s conftest$ac_exeext &&
14901 $as_test_x conftest$ac_exeext; then
14902 case "$LIBEXT" in
14903 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'` ;;
14904 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14905 esac
14906 if test "x$ac_cv_lib_soname_hal" = "x"
14907 then
14908 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14910 else
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14914 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_get_soname_save_LIBS
14921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14922 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14923 if test "${ac_cv_lib_soname_hal+set}" = set; then
14925 cat >>confdefs.h <<_ACEOF
14926 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14927 _ACEOF
14931 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14932 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14933 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 else
14936 ac_get_soname_save_LIBS=$LIBS
14937 LIBS="-ltxc_dxtn $LIBS"
14938 cat >conftest.$ac_ext <<_ACEOF
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14948 #ifdef __cplusplus
14949 extern "C"
14950 #endif
14951 char fetch_2d_texel_rgba_dxt1 ();
14953 main ()
14955 return fetch_2d_texel_rgba_dxt1 ();
14957 return 0;
14959 _ACEOF
14960 rm -f conftest.$ac_objext conftest$ac_exeext
14961 if { (ac_try="$ac_link"
14962 case "(($ac_try" in
14963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14965 esac
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_link") 2>conftest.er1
14968 ac_status=$?
14969 grep -v '^ *+' conftest.er1 >conftest.err
14970 rm -f conftest.er1
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest$ac_exeext &&
14977 $as_test_x conftest$ac_exeext; then
14978 case "$LIBEXT" in
14979 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'` ;;
14980 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'` ;;
14981 esac
14982 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14983 then
14984 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14986 else
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_get_soname_save_LIBS
14997 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14998 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14999 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15001 cat >>confdefs.h <<_ACEOF
15002 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15003 _ACEOF
15007 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15008 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15009 if test "${ac_cv_lib_soname_cups+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 else
15012 ac_get_soname_save_LIBS=$LIBS
15013 LIBS="-lcups $LIBS"
15014 cat >conftest.$ac_ext <<_ACEOF
15015 /* confdefs.h. */
15016 _ACEOF
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 #ifdef __cplusplus
15025 extern "C"
15026 #endif
15027 char cupsGetDefault ();
15029 main ()
15031 return cupsGetDefault ();
15033 return 0;
15035 _ACEOF
15036 rm -f conftest.$ac_objext conftest$ac_exeext
15037 if { (ac_try="$ac_link"
15038 case "(($ac_try" in
15039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;;
15041 esac
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15043 (eval "$ac_link") 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && {
15050 test -z "$ac_c_werror_flag" ||
15051 test ! -s conftest.err
15052 } && test -s conftest$ac_exeext &&
15053 $as_test_x conftest$ac_exeext; then
15054 case "$LIBEXT" in
15055 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'` ;;
15056 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15057 esac
15058 if test "x$ac_cv_lib_soname_cups" = "x"
15059 then
15060 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15062 else
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.$ac_ext >&5
15066 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_get_soname_save_LIBS
15073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15074 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15075 if test "${ac_cv_lib_soname_cups+set}" = set; then
15077 cat >>confdefs.h <<_ACEOF
15078 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15079 _ACEOF
15083 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15084 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15085 if test "${ac_cv_lib_soname_jack+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 else
15088 ac_get_soname_save_LIBS=$LIBS
15089 LIBS="-ljack $LIBS"
15090 cat >conftest.$ac_ext <<_ACEOF
15091 /* confdefs.h. */
15092 _ACEOF
15093 cat confdefs.h >>conftest.$ac_ext
15094 cat >>conftest.$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 #ifdef __cplusplus
15101 extern "C"
15102 #endif
15103 char jack_client_new ();
15105 main ()
15107 return jack_client_new ();
15109 return 0;
15111 _ACEOF
15112 rm -f conftest.$ac_objext conftest$ac_exeext
15113 if { (ac_try="$ac_link"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_link") 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest$ac_exeext &&
15129 $as_test_x conftest$ac_exeext; then
15130 case "$LIBEXT" in
15131 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'` ;;
15132 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15133 esac
15134 if test "x$ac_cv_lib_soname_jack" = "x"
15135 then
15136 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15138 else
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15142 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15146 conftest$ac_exeext conftest.$ac_ext
15147 LIBS=$ac_get_soname_save_LIBS
15149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15150 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15151 if test "${ac_cv_lib_soname_jack+set}" = set; then
15153 cat >>confdefs.h <<_ACEOF
15154 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15155 _ACEOF
15159 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15160 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15161 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 ac_get_soname_save_LIBS=$LIBS
15165 LIBS="-lfontconfig $LIBS"
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15173 /* Override any GCC internal prototype to avoid an error.
15174 Use char because int might match the return type of a GCC
15175 builtin and then its argument prototype would still apply. */
15176 #ifdef __cplusplus
15177 extern "C"
15178 #endif
15179 char FcInit ();
15181 main ()
15183 return FcInit ();
15185 return 0;
15187 _ACEOF
15188 rm -f conftest.$ac_objext conftest$ac_exeext
15189 if { (ac_try="$ac_link"
15190 case "(($ac_try" in
15191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15192 *) ac_try_echo=$ac_try;;
15193 esac
15194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15195 (eval "$ac_link") 2>conftest.er1
15196 ac_status=$?
15197 grep -v '^ *+' conftest.er1 >conftest.err
15198 rm -f conftest.er1
15199 cat conftest.err >&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } && {
15202 test -z "$ac_c_werror_flag" ||
15203 test ! -s conftest.err
15204 } && test -s conftest$ac_exeext &&
15205 $as_test_x conftest$ac_exeext; then
15206 case "$LIBEXT" in
15207 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'` ;;
15208 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15209 esac
15210 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15211 then
15212 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15214 else
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15218 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15222 conftest$ac_exeext conftest.$ac_ext
15223 LIBS=$ac_get_soname_save_LIBS
15225 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15226 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15227 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15229 cat >>confdefs.h <<_ACEOF
15230 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15231 _ACEOF
15235 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15236 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15237 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 else
15240 ac_get_soname_save_LIBS=$LIBS
15241 LIBS="-lssl $LIBS"
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15249 /* Override any GCC internal prototype to avoid an error.
15250 Use char because int might match the return type of a GCC
15251 builtin and then its argument prototype would still apply. */
15252 #ifdef __cplusplus
15253 extern "C"
15254 #endif
15255 char SSL_library_init ();
15257 main ()
15259 return SSL_library_init ();
15261 return 0;
15263 _ACEOF
15264 rm -f conftest.$ac_objext conftest$ac_exeext
15265 if { (ac_try="$ac_link"
15266 case "(($ac_try" in
15267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15268 *) ac_try_echo=$ac_try;;
15269 esac
15270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15271 (eval "$ac_link") 2>conftest.er1
15272 ac_status=$?
15273 grep -v '^ *+' conftest.er1 >conftest.err
15274 rm -f conftest.er1
15275 cat conftest.err >&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } && {
15278 test -z "$ac_c_werror_flag" ||
15279 test ! -s conftest.err
15280 } && test -s conftest$ac_exeext &&
15281 $as_test_x conftest$ac_exeext; then
15282 case "$LIBEXT" in
15283 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'` ;;
15284 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15285 esac
15286 if test "x$ac_cv_lib_soname_ssl" = "x"
15287 then
15288 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15290 else
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15294 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15298 conftest$ac_exeext conftest.$ac_ext
15299 LIBS=$ac_get_soname_save_LIBS
15301 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15302 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15303 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15305 cat >>confdefs.h <<_ACEOF
15306 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15307 _ACEOF
15311 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15312 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15313 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15315 else
15316 ac_get_soname_save_LIBS=$LIBS
15317 LIBS="-lcrypto $LIBS"
15318 cat >conftest.$ac_ext <<_ACEOF
15319 /* confdefs.h. */
15320 _ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15328 #ifdef __cplusplus
15329 extern "C"
15330 #endif
15331 char BIO_new_socket ();
15333 main ()
15335 return BIO_new_socket ();
15337 return 0;
15339 _ACEOF
15340 rm -f conftest.$ac_objext conftest$ac_exeext
15341 if { (ac_try="$ac_link"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15345 esac
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_link") 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } && {
15354 test -z "$ac_c_werror_flag" ||
15355 test ! -s conftest.err
15356 } && test -s conftest$ac_exeext &&
15357 $as_test_x conftest$ac_exeext; then
15358 case "$LIBEXT" in
15359 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'` ;;
15360 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15361 esac
15362 if test "x$ac_cv_lib_soname_crypto" = "x"
15363 then
15364 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15370 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15374 conftest$ac_exeext conftest.$ac_ext
15375 LIBS=$ac_get_soname_save_LIBS
15377 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15378 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15379 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15381 cat >>confdefs.h <<_ACEOF
15382 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15383 _ACEOF
15387 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15388 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15389 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 else
15392 ac_get_soname_save_LIBS=$LIBS
15393 LIBS="-lncurses $LIBS"
15394 cat >conftest.$ac_ext <<_ACEOF
15395 /* confdefs.h. */
15396 _ACEOF
15397 cat confdefs.h >>conftest.$ac_ext
15398 cat >>conftest.$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 #ifdef __cplusplus
15405 extern "C"
15406 #endif
15407 char waddch ();
15409 main ()
15411 return waddch ();
15413 return 0;
15415 _ACEOF
15416 rm -f conftest.$ac_objext conftest$ac_exeext
15417 if { (ac_try="$ac_link"
15418 case "(($ac_try" in
15419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15420 *) ac_try_echo=$ac_try;;
15421 esac
15422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15423 (eval "$ac_link") 2>conftest.er1
15424 ac_status=$?
15425 grep -v '^ *+' conftest.er1 >conftest.err
15426 rm -f conftest.er1
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } && {
15430 test -z "$ac_c_werror_flag" ||
15431 test ! -s conftest.err
15432 } && test -s conftest$ac_exeext &&
15433 $as_test_x conftest$ac_exeext; then
15434 case "$LIBEXT" in
15435 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'` ;;
15436 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15437 esac
15438 if test "x$ac_cv_lib_soname_ncurses" = "x"
15439 then
15440 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15442 else
15443 echo "$as_me: failed program was:" >&5
15444 sed 's/^/| /' conftest.$ac_ext >&5
15446 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15450 conftest$ac_exeext conftest.$ac_ext
15451 LIBS=$ac_get_soname_save_LIBS
15453 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15454 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15455 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15457 cat >>confdefs.h <<_ACEOF
15458 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15459 _ACEOF
15463 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15464 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15465 if test "${ac_cv_lib_soname_curses+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468 ac_get_soname_save_LIBS=$LIBS
15469 LIBS="-lcurses $LIBS"
15470 cat >conftest.$ac_ext <<_ACEOF
15471 /* confdefs.h. */
15472 _ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 #ifdef __cplusplus
15481 extern "C"
15482 #endif
15483 char waddch ();
15485 main ()
15487 return waddch ();
15489 return 0;
15491 _ACEOF
15492 rm -f conftest.$ac_objext conftest$ac_exeext
15493 if { (ac_try="$ac_link"
15494 case "(($ac_try" in
15495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15496 *) ac_try_echo=$ac_try;;
15497 esac
15498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15499 (eval "$ac_link") 2>conftest.er1
15500 ac_status=$?
15501 grep -v '^ *+' conftest.er1 >conftest.err
15502 rm -f conftest.er1
15503 cat conftest.err >&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } && {
15506 test -z "$ac_c_werror_flag" ||
15507 test ! -s conftest.err
15508 } && test -s conftest$ac_exeext &&
15509 $as_test_x conftest$ac_exeext; then
15510 case "$LIBEXT" in
15511 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'` ;;
15512 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15513 esac
15514 if test "x$ac_cv_lib_soname_curses" = "x"
15515 then
15516 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15518 else
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.$ac_ext >&5
15522 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15526 conftest$ac_exeext conftest.$ac_ext
15527 LIBS=$ac_get_soname_save_LIBS
15529 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15530 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15531 if test "${ac_cv_lib_soname_curses+set}" = set; then
15533 cat >>confdefs.h <<_ACEOF
15534 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15535 _ACEOF
15539 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15540 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15541 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else
15544 ac_get_soname_save_LIBS=$LIBS
15545 LIBS="-ljpeg $LIBS"
15546 cat >conftest.$ac_ext <<_ACEOF
15547 /* confdefs.h. */
15548 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15556 #ifdef __cplusplus
15557 extern "C"
15558 #endif
15559 char jpeg_start_decompress ();
15561 main ()
15563 return jpeg_start_decompress ();
15565 return 0;
15567 _ACEOF
15568 rm -f conftest.$ac_objext conftest$ac_exeext
15569 if { (ac_try="$ac_link"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15573 esac
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_link") 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } && {
15582 test -z "$ac_c_werror_flag" ||
15583 test ! -s conftest.err
15584 } && test -s conftest$ac_exeext &&
15585 $as_test_x conftest$ac_exeext; then
15586 case "$LIBEXT" in
15587 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'` ;;
15588 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15589 esac
15590 if test "x$ac_cv_lib_soname_jpeg" = "x"
15591 then
15592 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15594 else
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15598 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15602 conftest$ac_exeext conftest.$ac_ext
15603 LIBS=$ac_get_soname_save_LIBS
15605 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15606 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15607 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15609 cat >>confdefs.h <<_ACEOF
15610 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15611 _ACEOF
15615 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15616 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15617 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15619 else
15620 ac_get_soname_save_LIBS=$LIBS
15621 LIBS="-lcapi20 $LIBS"
15622 cat >conftest.$ac_ext <<_ACEOF
15623 /* confdefs.h. */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15632 #ifdef __cplusplus
15633 extern "C"
15634 #endif
15635 char capi20_isinstalled ();
15637 main ()
15639 return capi20_isinstalled ();
15641 return 0;
15643 _ACEOF
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (ac_try="$ac_link"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15648 *) ac_try_echo=$ac_try;;
15649 esac
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_link") 2>conftest.er1
15652 ac_status=$?
15653 grep -v '^ *+' conftest.er1 >conftest.err
15654 rm -f conftest.er1
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_c_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest$ac_exeext &&
15661 $as_test_x conftest$ac_exeext; then
15662 case "$LIBEXT" in
15663 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'` ;;
15664 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15665 esac
15666 if test "x$ac_cv_lib_soname_capi20" = "x"
15667 then
15668 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15670 else
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15674 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_get_soname_save_LIBS
15681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15682 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15683 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15685 cat >>confdefs.h <<_ACEOF
15686 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15687 _ACEOF
15691 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15692 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15693 if test "${ac_cv_lib_soname_sane+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696 ac_get_soname_save_LIBS=$LIBS
15697 LIBS="-lsane $LIBS"
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 #ifdef __cplusplus
15709 extern "C"
15710 #endif
15711 char sane_init ();
15713 main ()
15715 return sane_init ();
15717 return 0;
15719 _ACEOF
15720 rm -f conftest.$ac_objext conftest$ac_exeext
15721 if { (ac_try="$ac_link"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15725 esac
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_link") 2>conftest.er1
15728 ac_status=$?
15729 grep -v '^ *+' conftest.er1 >conftest.err
15730 rm -f conftest.er1
15731 cat conftest.err >&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest$ac_exeext &&
15737 $as_test_x conftest$ac_exeext; then
15738 case "$LIBEXT" in
15739 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'` ;;
15740 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15741 esac
15742 if test "x$ac_cv_lib_soname_sane" = "x"
15743 then
15744 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15746 else
15747 echo "$as_me: failed program was:" >&5
15748 sed 's/^/| /' conftest.$ac_ext >&5
15750 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15754 conftest$ac_exeext conftest.$ac_ext
15755 LIBS=$ac_get_soname_save_LIBS
15757 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15758 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15759 if test "${ac_cv_lib_soname_sane+set}" = set; then
15761 cat >>confdefs.h <<_ACEOF
15762 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15763 _ACEOF
15831 for ac_func in \
15832 _pclose \
15833 _popen \
15834 _snprintf \
15835 _spawnvp \
15836 _stricmp \
15837 _strnicmp \
15838 _vsnprintf \
15839 asctime_r \
15840 chsize \
15841 clone \
15842 dlopen \
15843 epoll_create \
15844 ffs \
15845 finite \
15846 fork \
15847 fpclass \
15848 fstatfs \
15849 fstatvfs \
15850 ftruncate \
15851 futimes \
15852 futimesat \
15853 getdirentries \
15854 getopt_long \
15855 getpagesize \
15856 getpwuid \
15857 gettid \
15858 gettimeofday \
15859 getuid \
15860 kqueue \
15861 lstat \
15862 memmove \
15863 mmap \
15864 pclose \
15865 poll \
15866 popen \
15867 prctl \
15868 pread \
15869 pwrite \
15870 readlink \
15871 rfork \
15872 sched_yield \
15873 select \
15874 setrlimit \
15875 settimeofday \
15876 sigaltstack \
15877 sigprocmask \
15878 snprintf \
15879 spawnvp \
15880 statfs \
15881 statvfs \
15882 strcasecmp \
15883 strerror \
15884 strncasecmp \
15885 strtold \
15886 tcgetattr \
15887 timegm \
15888 usleep \
15889 vsnprintf \
15890 wait4 \
15891 waitpid \
15894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15899 else
15900 cat >conftest.$ac_ext <<_ACEOF
15901 /* confdefs.h. */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15908 #define $ac_func innocuous_$ac_func
15910 /* System header to define __stub macros and hopefully few prototypes,
15911 which can conflict with char $ac_func (); below.
15912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15913 <limits.h> exists even on freestanding compilers. */
15915 #ifdef __STDC__
15916 # include <limits.h>
15917 #else
15918 # include <assert.h>
15919 #endif
15921 #undef $ac_func
15923 /* Override any GCC internal prototype to avoid an error.
15924 Use char because int might match the return type of a GCC
15925 builtin and then its argument prototype would still apply. */
15926 #ifdef __cplusplus
15927 extern "C"
15928 #endif
15929 char $ac_func ();
15930 /* The GNU C library defines this for functions which it implements
15931 to always fail with ENOSYS. Some functions are actually named
15932 something starting with __ and the normal name is an alias. */
15933 #if defined __stub_$ac_func || defined __stub___$ac_func
15934 choke me
15935 #endif
15938 main ()
15940 return $ac_func ();
15942 return 0;
15944 _ACEOF
15945 rm -f conftest.$ac_objext conftest$ac_exeext
15946 if { (ac_try="$ac_link"
15947 case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15950 esac
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_link") 2>conftest.er1
15953 ac_status=$?
15954 grep -v '^ *+' conftest.er1 >conftest.err
15955 rm -f conftest.er1
15956 cat conftest.err >&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); } && {
15959 test -z "$ac_c_werror_flag" ||
15960 test ! -s conftest.err
15961 } && test -s conftest$ac_exeext &&
15962 $as_test_x conftest$ac_exeext; then
15963 eval "$as_ac_var=yes"
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15968 eval "$as_ac_var=no"
15971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15972 conftest$ac_exeext conftest.$ac_ext
15974 ac_res=`eval echo '${'$as_ac_var'}'`
15975 { echo "$as_me:$LINENO: result: $ac_res" >&5
15976 echo "${ECHO_T}$ac_res" >&6; }
15977 if test `eval echo '${'$as_ac_var'}'` = yes; then
15978 cat >>confdefs.h <<_ACEOF
15979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15980 _ACEOF
15983 done
15986 if test "$ac_cv_func_dlopen" = no
15987 then
15988 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15989 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15990 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15992 else
15993 ac_check_lib_save_LIBS=$LIBS
15994 LIBS="-ldl $LIBS"
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 #ifdef __cplusplus
16006 extern "C"
16007 #endif
16008 char dlopen ();
16010 main ()
16012 return dlopen ();
16014 return 0;
16016 _ACEOF
16017 rm -f conftest.$ac_objext conftest$ac_exeext
16018 if { (ac_try="$ac_link"
16019 case "(($ac_try" in
16020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16021 *) ac_try_echo=$ac_try;;
16022 esac
16023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16024 (eval "$ac_link") 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } && {
16031 test -z "$ac_c_werror_flag" ||
16032 test ! -s conftest.err
16033 } && test -s conftest$ac_exeext &&
16034 $as_test_x conftest$ac_exeext; then
16035 ac_cv_lib_dl_dlopen=yes
16036 else
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 ac_cv_lib_dl_dlopen=no
16043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_lib_save_LIBS
16047 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16048 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16049 if test $ac_cv_lib_dl_dlopen = yes; then
16050 cat >>confdefs.h <<\_ACEOF
16051 #define HAVE_DLOPEN 1
16052 _ACEOF
16053 LIBDL="-ldl"
16058 ac_wine_check_funcs_save_LIBS="$LIBS"
16059 LIBS="$LIBS $LIBDL"
16061 for ac_func in dladdr
16063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16066 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069 cat >conftest.$ac_ext <<_ACEOF
16070 /* confdefs.h. */
16071 _ACEOF
16072 cat confdefs.h >>conftest.$ac_ext
16073 cat >>conftest.$ac_ext <<_ACEOF
16074 /* end confdefs.h. */
16075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16077 #define $ac_func innocuous_$ac_func
16079 /* System header to define __stub macros and hopefully few prototypes,
16080 which can conflict with char $ac_func (); below.
16081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16082 <limits.h> exists even on freestanding compilers. */
16084 #ifdef __STDC__
16085 # include <limits.h>
16086 #else
16087 # include <assert.h>
16088 #endif
16090 #undef $ac_func
16092 /* Override any GCC internal prototype to avoid an error.
16093 Use char because int might match the return type of a GCC
16094 builtin and then its argument prototype would still apply. */
16095 #ifdef __cplusplus
16096 extern "C"
16097 #endif
16098 char $ac_func ();
16099 /* The GNU C library defines this for functions which it implements
16100 to always fail with ENOSYS. Some functions are actually named
16101 something starting with __ and the normal name is an alias. */
16102 #if defined __stub_$ac_func || defined __stub___$ac_func
16103 choke me
16104 #endif
16107 main ()
16109 return $ac_func ();
16111 return 0;
16113 _ACEOF
16114 rm -f conftest.$ac_objext conftest$ac_exeext
16115 if { (ac_try="$ac_link"
16116 case "(($ac_try" in
16117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16118 *) ac_try_echo=$ac_try;;
16119 esac
16120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16121 (eval "$ac_link") 2>conftest.er1
16122 ac_status=$?
16123 grep -v '^ *+' conftest.er1 >conftest.err
16124 rm -f conftest.er1
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } && {
16128 test -z "$ac_c_werror_flag" ||
16129 test ! -s conftest.err
16130 } && test -s conftest$ac_exeext &&
16131 $as_test_x conftest$ac_exeext; then
16132 eval "$as_ac_var=yes"
16133 else
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.$ac_ext >&5
16137 eval "$as_ac_var=no"
16140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16141 conftest$ac_exeext conftest.$ac_ext
16143 ac_res=`eval echo '${'$as_ac_var'}'`
16144 { echo "$as_me:$LINENO: result: $ac_res" >&5
16145 echo "${ECHO_T}$ac_res" >&6; }
16146 if test `eval echo '${'$as_ac_var'}'` = yes; then
16147 cat >>confdefs.h <<_ACEOF
16148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16149 _ACEOF
16152 done
16154 LIBS="$ac_wine_check_funcs_save_LIBS"
16156 if test "$ac_cv_func_poll" = no
16157 then
16158 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16159 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16160 if test "${ac_cv_lib_poll_poll+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16162 else
16163 ac_check_lib_save_LIBS=$LIBS
16164 LIBS="-lpoll $LIBS"
16165 cat >conftest.$ac_ext <<_ACEOF
16166 /* confdefs.h. */
16167 _ACEOF
16168 cat confdefs.h >>conftest.$ac_ext
16169 cat >>conftest.$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 #ifdef __cplusplus
16176 extern "C"
16177 #endif
16178 char poll ();
16180 main ()
16182 return poll ();
16184 return 0;
16186 _ACEOF
16187 rm -f conftest.$ac_objext conftest$ac_exeext
16188 if { (ac_try="$ac_link"
16189 case "(($ac_try" in
16190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16191 *) ac_try_echo=$ac_try;;
16192 esac
16193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16194 (eval "$ac_link") 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 } && test -s conftest$ac_exeext &&
16204 $as_test_x conftest$ac_exeext; then
16205 ac_cv_lib_poll_poll=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 ac_cv_lib_poll_poll=no
16213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16214 conftest$ac_exeext conftest.$ac_ext
16215 LIBS=$ac_check_lib_save_LIBS
16217 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16218 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16219 if test $ac_cv_lib_poll_poll = yes; then
16220 cat >>confdefs.h <<\_ACEOF
16221 #define HAVE_POLL 1
16222 _ACEOF
16223 LIBPOLL="-lpoll"
16229 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16230 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16231 if test "${ac_cv_search_gethostbyname+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 else
16234 ac_func_search_save_LIBS=$LIBS
16235 cat >conftest.$ac_ext <<_ACEOF
16236 /* confdefs.h. */
16237 _ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16242 /* Override any GCC internal prototype to avoid an error.
16243 Use char because int might match the return type of a GCC
16244 builtin and then its argument prototype would still apply. */
16245 #ifdef __cplusplus
16246 extern "C"
16247 #endif
16248 char gethostbyname ();
16250 main ()
16252 return gethostbyname ();
16254 return 0;
16256 _ACEOF
16257 for ac_lib in '' nsl; do
16258 if test -z "$ac_lib"; then
16259 ac_res="none required"
16260 else
16261 ac_res=-l$ac_lib
16262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16264 rm -f conftest.$ac_objext conftest$ac_exeext
16265 if { (ac_try="$ac_link"
16266 case "(($ac_try" in
16267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16269 esac
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_link") 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest$ac_exeext &&
16281 $as_test_x conftest$ac_exeext; then
16282 ac_cv_search_gethostbyname=$ac_res
16283 else
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16291 conftest$ac_exeext
16292 if test "${ac_cv_search_gethostbyname+set}" = set; then
16293 break
16295 done
16296 if test "${ac_cv_search_gethostbyname+set}" = set; then
16298 else
16299 ac_cv_search_gethostbyname=no
16301 rm conftest.$ac_ext
16302 LIBS=$ac_func_search_save_LIBS
16304 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16305 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16306 ac_res=$ac_cv_search_gethostbyname
16307 if test "$ac_res" != no; then
16308 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16313 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16314 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16315 if test "${ac_cv_search_connect+set}" = set; then
16316 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 else
16318 ac_func_search_save_LIBS=$LIBS
16319 cat >conftest.$ac_ext <<_ACEOF
16320 /* confdefs.h. */
16321 _ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16326 /* Override any GCC internal prototype to avoid an error.
16327 Use char because int might match the return type of a GCC
16328 builtin and then its argument prototype would still apply. */
16329 #ifdef __cplusplus
16330 extern "C"
16331 #endif
16332 char connect ();
16334 main ()
16336 return connect ();
16338 return 0;
16340 _ACEOF
16341 for ac_lib in '' socket; do
16342 if test -z "$ac_lib"; then
16343 ac_res="none required"
16344 else
16345 ac_res=-l$ac_lib
16346 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16348 rm -f conftest.$ac_objext conftest$ac_exeext
16349 if { (ac_try="$ac_link"
16350 case "(($ac_try" in
16351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16352 *) ac_try_echo=$ac_try;;
16353 esac
16354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16355 (eval "$ac_link") 2>conftest.er1
16356 ac_status=$?
16357 grep -v '^ *+' conftest.er1 >conftest.err
16358 rm -f conftest.er1
16359 cat conftest.err >&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); } && {
16362 test -z "$ac_c_werror_flag" ||
16363 test ! -s conftest.err
16364 } && test -s conftest$ac_exeext &&
16365 $as_test_x conftest$ac_exeext; then
16366 ac_cv_search_connect=$ac_res
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16375 conftest$ac_exeext
16376 if test "${ac_cv_search_connect+set}" = set; then
16377 break
16379 done
16380 if test "${ac_cv_search_connect+set}" = set; then
16382 else
16383 ac_cv_search_connect=no
16385 rm conftest.$ac_ext
16386 LIBS=$ac_func_search_save_LIBS
16388 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16389 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16390 ac_res=$ac_cv_search_connect
16391 if test "$ac_res" != no; then
16392 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16397 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16398 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16399 if test "${ac_cv_search_inet_aton+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 ac_func_search_save_LIBS=$LIBS
16403 cat >conftest.$ac_ext <<_ACEOF
16404 /* confdefs.h. */
16405 _ACEOF
16406 cat confdefs.h >>conftest.$ac_ext
16407 cat >>conftest.$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16410 /* Override any GCC internal prototype to avoid an error.
16411 Use char because int might match the return type of a GCC
16412 builtin and then its argument prototype would still apply. */
16413 #ifdef __cplusplus
16414 extern "C"
16415 #endif
16416 char inet_aton ();
16418 main ()
16420 return inet_aton ();
16422 return 0;
16424 _ACEOF
16425 for ac_lib in '' resolv; do
16426 if test -z "$ac_lib"; then
16427 ac_res="none required"
16428 else
16429 ac_res=-l$ac_lib
16430 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16432 rm -f conftest.$ac_objext conftest$ac_exeext
16433 if { (ac_try="$ac_link"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16437 esac
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_link") 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } && {
16446 test -z "$ac_c_werror_flag" ||
16447 test ! -s conftest.err
16448 } && test -s conftest$ac_exeext &&
16449 $as_test_x conftest$ac_exeext; then
16450 ac_cv_search_inet_aton=$ac_res
16451 else
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.$ac_ext >&5
16458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16459 conftest$ac_exeext
16460 if test "${ac_cv_search_inet_aton+set}" = set; then
16461 break
16463 done
16464 if test "${ac_cv_search_inet_aton+set}" = set; then
16466 else
16467 ac_cv_search_inet_aton=no
16469 rm conftest.$ac_ext
16470 LIBS=$ac_func_search_save_LIBS
16472 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16473 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16474 ac_res=$ac_cv_search_inet_aton
16475 if test "$ac_res" != no; then
16476 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16489 for ac_func in \
16490 getaddrinfo \
16491 getnameinfo \
16492 getnetbyname \
16493 getprotobyname \
16494 getprotobynumber \
16495 getservbyport \
16496 inet_network \
16497 sendmsg \
16500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 else
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16514 #define $ac_func innocuous_$ac_func
16516 /* System header to define __stub macros and hopefully few prototypes,
16517 which can conflict with char $ac_func (); below.
16518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16519 <limits.h> exists even on freestanding compilers. */
16521 #ifdef __STDC__
16522 # include <limits.h>
16523 #else
16524 # include <assert.h>
16525 #endif
16527 #undef $ac_func
16529 /* Override any GCC internal prototype to avoid an error.
16530 Use char because int might match the return type of a GCC
16531 builtin and then its argument prototype would still apply. */
16532 #ifdef __cplusplus
16533 extern "C"
16534 #endif
16535 char $ac_func ();
16536 /* The GNU C library defines this for functions which it implements
16537 to always fail with ENOSYS. Some functions are actually named
16538 something starting with __ and the normal name is an alias. */
16539 #if defined __stub_$ac_func || defined __stub___$ac_func
16540 choke me
16541 #endif
16544 main ()
16546 return $ac_func ();
16548 return 0;
16550 _ACEOF
16551 rm -f conftest.$ac_objext conftest$ac_exeext
16552 if { (ac_try="$ac_link"
16553 case "(($ac_try" in
16554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16556 esac
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_link") 2>conftest.er1
16559 ac_status=$?
16560 grep -v '^ *+' conftest.er1 >conftest.err
16561 rm -f conftest.er1
16562 cat conftest.err >&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } && {
16565 test -z "$ac_c_werror_flag" ||
16566 test ! -s conftest.err
16567 } && test -s conftest$ac_exeext &&
16568 $as_test_x conftest$ac_exeext; then
16569 eval "$as_ac_var=yes"
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 eval "$as_ac_var=no"
16577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16578 conftest$ac_exeext conftest.$ac_ext
16580 ac_res=`eval echo '${'$as_ac_var'}'`
16581 { echo "$as_me:$LINENO: result: $ac_res" >&5
16582 echo "${ECHO_T}$ac_res" >&6; }
16583 if test `eval echo '${'$as_ac_var'}'` = yes; then
16584 cat >>confdefs.h <<_ACEOF
16585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16586 _ACEOF
16589 done
16593 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16594 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16595 if test "${ac_cv_c_const+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 cat >conftest.$ac_ext <<_ACEOF
16599 /* confdefs.h. */
16600 _ACEOF
16601 cat confdefs.h >>conftest.$ac_ext
16602 cat >>conftest.$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16606 main ()
16608 /* FIXME: Include the comments suggested by Paul. */
16609 #ifndef __cplusplus
16610 /* Ultrix mips cc rejects this. */
16611 typedef int charset[2];
16612 const charset cs;
16613 /* SunOS 4.1.1 cc rejects this. */
16614 char const *const *pcpcc;
16615 char **ppc;
16616 /* NEC SVR4.0.2 mips cc rejects this. */
16617 struct point {int x, y;};
16618 static struct point const zero = {0,0};
16619 /* AIX XL C 1.02.0.0 rejects this.
16620 It does not let you subtract one const X* pointer from another in
16621 an arm of an if-expression whose if-part is not a constant
16622 expression */
16623 const char *g = "string";
16624 pcpcc = &g + (g ? g-g : 0);
16625 /* HPUX 7.0 cc rejects these. */
16626 ++pcpcc;
16627 ppc = (char**) pcpcc;
16628 pcpcc = (char const *const *) ppc;
16629 { /* SCO 3.2v4 cc rejects this. */
16630 char *t;
16631 char const *s = 0 ? (char *) 0 : (char const *) 0;
16633 *t++ = 0;
16634 if (s) return 0;
16636 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16637 int x[] = {25, 17};
16638 const int *foo = &x[0];
16639 ++foo;
16641 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16642 typedef const int *iptr;
16643 iptr p = 0;
16644 ++p;
16646 { /* AIX XL C 1.02.0.0 rejects this saying
16647 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16648 struct s { int j; const int *ap[3]; };
16649 struct s *b; b->j = 5;
16651 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16652 const int foo = 10;
16653 if (!foo) return 0;
16655 return !cs[0] && !zero.x;
16656 #endif
16659 return 0;
16661 _ACEOF
16662 rm -f conftest.$ac_objext
16663 if { (ac_try="$ac_compile"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compile") 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } && {
16676 test -z "$ac_c_werror_flag" ||
16677 test ! -s conftest.err
16678 } && test -s conftest.$ac_objext; then
16679 ac_cv_c_const=yes
16680 else
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16684 ac_cv_c_const=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16689 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16690 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16691 if test $ac_cv_c_const = no; then
16693 cat >>confdefs.h <<\_ACEOF
16694 #define const
16695 _ACEOF
16699 { echo "$as_me:$LINENO: checking for inline" >&5
16700 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16701 if test "${ac_cv_c_inline+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 else
16704 ac_cv_c_inline=no
16705 for ac_kw in inline __inline__ __inline; do
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712 #ifndef __cplusplus
16713 typedef int foo_t;
16714 static $ac_kw foo_t static_foo () {return 0; }
16715 $ac_kw foo_t foo () {return 0; }
16716 #endif
16718 _ACEOF
16719 rm -f conftest.$ac_objext
16720 if { (ac_try="$ac_compile"
16721 case "(($ac_try" in
16722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16723 *) ac_try_echo=$ac_try;;
16724 esac
16725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16726 (eval "$ac_compile") 2>conftest.er1
16727 ac_status=$?
16728 grep -v '^ *+' conftest.er1 >conftest.err
16729 rm -f conftest.er1
16730 cat conftest.err >&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } && {
16733 test -z "$ac_c_werror_flag" ||
16734 test ! -s conftest.err
16735 } && test -s conftest.$ac_objext; then
16736 ac_cv_c_inline=$ac_kw
16737 else
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16745 test "$ac_cv_c_inline" != no && break
16746 done
16749 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16750 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16753 case $ac_cv_c_inline in
16754 inline | yes) ;;
16756 case $ac_cv_c_inline in
16757 no) ac_val=;;
16758 *) ac_val=$ac_cv_c_inline;;
16759 esac
16760 cat >>confdefs.h <<_ACEOF
16761 #ifndef __cplusplus
16762 #define inline $ac_val
16763 #endif
16764 _ACEOF
16766 esac
16768 { echo "$as_me:$LINENO: checking for mode_t" >&5
16769 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16770 if test "${ac_cv_type_mode_t+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 cat >conftest.$ac_ext <<_ACEOF
16774 /* confdefs.h. */
16775 _ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 $ac_includes_default
16780 typedef mode_t ac__type_new_;
16782 main ()
16784 if ((ac__type_new_ *) 0)
16785 return 0;
16786 if (sizeof (ac__type_new_))
16787 return 0;
16789 return 0;
16791 _ACEOF
16792 rm -f conftest.$ac_objext
16793 if { (ac_try="$ac_compile"
16794 case "(($ac_try" in
16795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796 *) ac_try_echo=$ac_try;;
16797 esac
16798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16799 (eval "$ac_compile") 2>conftest.er1
16800 ac_status=$?
16801 grep -v '^ *+' conftest.er1 >conftest.err
16802 rm -f conftest.er1
16803 cat conftest.err >&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } && {
16806 test -z "$ac_c_werror_flag" ||
16807 test ! -s conftest.err
16808 } && test -s conftest.$ac_objext; then
16809 ac_cv_type_mode_t=yes
16810 else
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16814 ac_cv_type_mode_t=no
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16820 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16821 if test $ac_cv_type_mode_t = yes; then
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_MODE_T 1
16825 _ACEOF
16829 { echo "$as_me:$LINENO: checking for off_t" >&5
16830 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16831 if test "${ac_cv_type_off_t+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 else
16834 cat >conftest.$ac_ext <<_ACEOF
16835 /* confdefs.h. */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840 $ac_includes_default
16841 typedef off_t ac__type_new_;
16843 main ()
16845 if ((ac__type_new_ *) 0)
16846 return 0;
16847 if (sizeof (ac__type_new_))
16848 return 0;
16850 return 0;
16852 _ACEOF
16853 rm -f conftest.$ac_objext
16854 if { (ac_try="$ac_compile"
16855 case "(($ac_try" in
16856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16857 *) ac_try_echo=$ac_try;;
16858 esac
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_compile") 2>conftest.er1
16861 ac_status=$?
16862 grep -v '^ *+' conftest.er1 >conftest.err
16863 rm -f conftest.er1
16864 cat conftest.err >&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } && {
16867 test -z "$ac_c_werror_flag" ||
16868 test ! -s conftest.err
16869 } && test -s conftest.$ac_objext; then
16870 ac_cv_type_off_t=yes
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16875 ac_cv_type_off_t=no
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16880 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16881 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16882 if test $ac_cv_type_off_t = yes; then
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_OFF_T 1
16886 _ACEOF
16890 { echo "$as_me:$LINENO: checking for pid_t" >&5
16891 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16892 if test "${ac_cv_type_pid_t+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 else
16895 cat >conftest.$ac_ext <<_ACEOF
16896 /* confdefs.h. */
16897 _ACEOF
16898 cat confdefs.h >>conftest.$ac_ext
16899 cat >>conftest.$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16901 $ac_includes_default
16902 typedef pid_t ac__type_new_;
16904 main ()
16906 if ((ac__type_new_ *) 0)
16907 return 0;
16908 if (sizeof (ac__type_new_))
16909 return 0;
16911 return 0;
16913 _ACEOF
16914 rm -f conftest.$ac_objext
16915 if { (ac_try="$ac_compile"
16916 case "(($ac_try" in
16917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16918 *) ac_try_echo=$ac_try;;
16919 esac
16920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16921 (eval "$ac_compile") 2>conftest.er1
16922 ac_status=$?
16923 grep -v '^ *+' conftest.er1 >conftest.err
16924 rm -f conftest.er1
16925 cat conftest.err >&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } && {
16928 test -z "$ac_c_werror_flag" ||
16929 test ! -s conftest.err
16930 } && test -s conftest.$ac_objext; then
16931 ac_cv_type_pid_t=yes
16932 else
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.$ac_ext >&5
16936 ac_cv_type_pid_t=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16942 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16943 if test $ac_cv_type_pid_t = yes; then
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_PID_T 1
16947 _ACEOF
16951 { echo "$as_me:$LINENO: checking for size_t" >&5
16952 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16953 if test "${ac_cv_type_size_t+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16963 typedef size_t ac__type_new_;
16965 main ()
16967 if ((ac__type_new_ *) 0)
16968 return 0;
16969 if (sizeof (ac__type_new_))
16970 return 0;
16972 return 0;
16974 _ACEOF
16975 rm -f conftest.$ac_objext
16976 if { (ac_try="$ac_compile"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16980 esac
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_compile") 2>conftest.er1
16983 ac_status=$?
16984 grep -v '^ *+' conftest.er1 >conftest.err
16985 rm -f conftest.er1
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && {
16989 test -z "$ac_c_werror_flag" ||
16990 test ! -s conftest.err
16991 } && test -s conftest.$ac_objext; then
16992 ac_cv_type_size_t=yes
16993 else
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16997 ac_cv_type_size_t=no
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17003 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17004 if test $ac_cv_type_size_t = yes; then
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_SIZE_T 1
17008 _ACEOF
17012 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17013 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17014 if test "${ac_cv_type_ssize_t+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 else
17017 cat >conftest.$ac_ext <<_ACEOF
17018 /* confdefs.h. */
17019 _ACEOF
17020 cat confdefs.h >>conftest.$ac_ext
17021 cat >>conftest.$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 $ac_includes_default
17024 typedef ssize_t ac__type_new_;
17026 main ()
17028 if ((ac__type_new_ *) 0)
17029 return 0;
17030 if (sizeof (ac__type_new_))
17031 return 0;
17033 return 0;
17035 _ACEOF
17036 rm -f conftest.$ac_objext
17037 if { (ac_try="$ac_compile"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17041 esac
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_compile") 2>conftest.er1
17044 ac_status=$?
17045 grep -v '^ *+' conftest.er1 >conftest.err
17046 rm -f conftest.er1
17047 cat conftest.err >&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } && {
17050 test -z "$ac_c_werror_flag" ||
17051 test ! -s conftest.err
17052 } && test -s conftest.$ac_objext; then
17053 ac_cv_type_ssize_t=yes
17054 else
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17058 ac_cv_type_ssize_t=no
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17064 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17065 if test $ac_cv_type_ssize_t = yes; then
17067 cat >>confdefs.h <<_ACEOF
17068 #define HAVE_SSIZE_T 1
17069 _ACEOF
17073 { echo "$as_me:$LINENO: checking for long long" >&5
17074 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17075 if test "${ac_cv_type_long_long+set}" = set; then
17076 echo $ECHO_N "(cached) $ECHO_C" >&6
17077 else
17078 cat >conftest.$ac_ext <<_ACEOF
17079 /* confdefs.h. */
17080 _ACEOF
17081 cat confdefs.h >>conftest.$ac_ext
17082 cat >>conftest.$ac_ext <<_ACEOF
17083 /* end confdefs.h. */
17084 $ac_includes_default
17085 typedef long long ac__type_new_;
17087 main ()
17089 if ((ac__type_new_ *) 0)
17090 return 0;
17091 if (sizeof (ac__type_new_))
17092 return 0;
17094 return 0;
17096 _ACEOF
17097 rm -f conftest.$ac_objext
17098 if { (ac_try="$ac_compile"
17099 case "(($ac_try" in
17100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17101 *) ac_try_echo=$ac_try;;
17102 esac
17103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17104 (eval "$ac_compile") 2>conftest.er1
17105 ac_status=$?
17106 grep -v '^ *+' conftest.er1 >conftest.err
17107 rm -f conftest.er1
17108 cat conftest.err >&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } && {
17111 test -z "$ac_c_werror_flag" ||
17112 test ! -s conftest.err
17113 } && test -s conftest.$ac_objext; then
17114 ac_cv_type_long_long=yes
17115 else
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17119 ac_cv_type_long_long=no
17122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17125 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17126 if test $ac_cv_type_long_long = yes; then
17128 cat >>confdefs.h <<_ACEOF
17129 #define HAVE_LONG_LONG 1
17130 _ACEOF
17134 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17135 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17136 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17137 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 else
17139 cat >conftest.$ac_ext <<_ACEOF
17140 /* confdefs.h. */
17141 _ACEOF
17142 cat confdefs.h >>conftest.$ac_ext
17143 cat >>conftest.$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17145 $ac_includes_default
17146 typedef fsblkcnt_t ac__type_new_;
17148 main ()
17150 if ((ac__type_new_ *) 0)
17151 return 0;
17152 if (sizeof (ac__type_new_))
17153 return 0;
17155 return 0;
17157 _ACEOF
17158 rm -f conftest.$ac_objext
17159 if { (ac_try="$ac_compile"
17160 case "(($ac_try" in
17161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17162 *) ac_try_echo=$ac_try;;
17163 esac
17164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17165 (eval "$ac_compile") 2>conftest.er1
17166 ac_status=$?
17167 grep -v '^ *+' conftest.er1 >conftest.err
17168 rm -f conftest.er1
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } && {
17172 test -z "$ac_c_werror_flag" ||
17173 test ! -s conftest.err
17174 } && test -s conftest.$ac_objext; then
17175 ac_cv_type_fsblkcnt_t=yes
17176 else
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17180 ac_cv_type_fsblkcnt_t=no
17183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17185 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17186 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17187 if test $ac_cv_type_fsblkcnt_t = yes; then
17189 cat >>confdefs.h <<_ACEOF
17190 #define HAVE_FSBLKCNT_T 1
17191 _ACEOF
17195 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17196 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17197 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 $ac_includes_default
17207 typedef fsfilcnt_t ac__type_new_;
17209 main ()
17211 if ((ac__type_new_ *) 0)
17212 return 0;
17213 if (sizeof (ac__type_new_))
17214 return 0;
17216 return 0;
17218 _ACEOF
17219 rm -f conftest.$ac_objext
17220 if { (ac_try="$ac_compile"
17221 case "(($ac_try" in
17222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17223 *) ac_try_echo=$ac_try;;
17224 esac
17225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17226 (eval "$ac_compile") 2>conftest.er1
17227 ac_status=$?
17228 grep -v '^ *+' conftest.er1 >conftest.err
17229 rm -f conftest.er1
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } && {
17233 test -z "$ac_c_werror_flag" ||
17234 test ! -s conftest.err
17235 } && test -s conftest.$ac_objext; then
17236 ac_cv_type_fsfilcnt_t=yes
17237 else
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.$ac_ext >&5
17241 ac_cv_type_fsfilcnt_t=no
17244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17247 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17248 if test $ac_cv_type_fsfilcnt_t = yes; then
17250 cat >>confdefs.h <<_ACEOF
17251 #define HAVE_FSFILCNT_T 1
17252 _ACEOF
17257 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17258 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17259 if test "${ac_cv_type_sigset_t+set}" = set; then
17260 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 else
17262 cat >conftest.$ac_ext <<_ACEOF
17263 /* confdefs.h. */
17264 _ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17268 #include <signal.h>
17270 typedef sigset_t ac__type_new_;
17272 main ()
17274 if ((ac__type_new_ *) 0)
17275 return 0;
17276 if (sizeof (ac__type_new_))
17277 return 0;
17279 return 0;
17281 _ACEOF
17282 rm -f conftest.$ac_objext
17283 if { (ac_try="$ac_compile"
17284 case "(($ac_try" in
17285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17287 esac
17288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17289 (eval "$ac_compile") 2>conftest.er1
17290 ac_status=$?
17291 grep -v '^ *+' conftest.er1 >conftest.err
17292 rm -f conftest.er1
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } && {
17296 test -z "$ac_c_werror_flag" ||
17297 test ! -s conftest.err
17298 } && test -s conftest.$ac_objext; then
17299 ac_cv_type_sigset_t=yes
17300 else
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5
17304 ac_cv_type_sigset_t=no
17307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17309 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17310 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17311 if test $ac_cv_type_sigset_t = yes; then
17313 cat >>confdefs.h <<_ACEOF
17314 #define HAVE_SIGSET_T 1
17315 _ACEOF
17320 { echo "$as_me:$LINENO: checking for request_sense" >&5
17321 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17322 if test "${ac_cv_type_request_sense+set}" = set; then
17323 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 else
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 #include <linux/cdrom.h>
17333 typedef request_sense ac__type_new_;
17335 main ()
17337 if ((ac__type_new_ *) 0)
17338 return 0;
17339 if (sizeof (ac__type_new_))
17340 return 0;
17342 return 0;
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17362 ac_cv_type_request_sense=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 ac_cv_type_request_sense=no
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17373 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17374 if test $ac_cv_type_request_sense = yes; then
17376 cat >>confdefs.h <<_ACEOF
17377 #define HAVE_REQUEST_SENSE 1
17378 _ACEOF
17384 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17385 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17386 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 #ifdef HAVE_LINUX_INPUT_H
17396 #include <linux/input.h>
17397 #endif
17400 main ()
17402 static struct ff_effect ac_aggr;
17403 if (ac_aggr.direction)
17404 return 0;
17406 return 0;
17408 _ACEOF
17409 rm -f conftest.$ac_objext
17410 if { (ac_try="$ac_compile"
17411 case "(($ac_try" in
17412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17413 *) ac_try_echo=$ac_try;;
17414 esac
17415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17416 (eval "$ac_compile") 2>conftest.er1
17417 ac_status=$?
17418 grep -v '^ *+' conftest.er1 >conftest.err
17419 rm -f conftest.er1
17420 cat conftest.err >&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && {
17423 test -z "$ac_c_werror_flag" ||
17424 test ! -s conftest.err
17425 } && test -s conftest.$ac_objext; then
17426 ac_cv_member_struct_ff_effect_direction=yes
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 cat >conftest.$ac_ext <<_ACEOF
17432 /* confdefs.h. */
17433 _ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 #ifdef HAVE_LINUX_INPUT_H
17438 #include <linux/input.h>
17439 #endif
17442 main ()
17444 static struct ff_effect ac_aggr;
17445 if (sizeof ac_aggr.direction)
17446 return 0;
17448 return 0;
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (ac_try="$ac_compile"
17453 case "(($ac_try" in
17454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17455 *) ac_try_echo=$ac_try;;
17456 esac
17457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17458 (eval "$ac_compile") 2>conftest.er1
17459 ac_status=$?
17460 grep -v '^ *+' conftest.er1 >conftest.err
17461 rm -f conftest.er1
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } && {
17465 test -z "$ac_c_werror_flag" ||
17466 test ! -s conftest.err
17467 } && test -s conftest.$ac_objext; then
17468 ac_cv_member_struct_ff_effect_direction=yes
17469 else
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17473 ac_cv_member_struct_ff_effect_direction=no
17476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17482 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17483 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17485 cat >>confdefs.h <<_ACEOF
17486 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17487 _ACEOF
17493 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17494 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17495 if test "${wine_cv_have_sigaddset+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 #include <signal.h>
17506 main ()
17508 sigset_t set; sigaddset(&set,SIGTERM);
17510 return 0;
17512 _ACEOF
17513 rm -f conftest.$ac_objext conftest$ac_exeext
17514 if { (ac_try="$ac_link"
17515 case "(($ac_try" in
17516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17517 *) ac_try_echo=$ac_try;;
17518 esac
17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17520 (eval "$ac_link") 2>conftest.er1
17521 ac_status=$?
17522 grep -v '^ *+' conftest.er1 >conftest.err
17523 rm -f conftest.er1
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } && {
17527 test -z "$ac_c_werror_flag" ||
17528 test ! -s conftest.err
17529 } && test -s conftest$ac_exeext &&
17530 $as_test_x conftest$ac_exeext; then
17531 wine_cv_have_sigaddset=yes
17532 else
17533 echo "$as_me: failed program was:" >&5
17534 sed 's/^/| /' conftest.$ac_ext >&5
17536 wine_cv_have_sigaddset=no
17539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17540 conftest$ac_exeext conftest.$ac_ext
17542 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17543 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17544 if test "$wine_cv_have_sigaddset" = "yes"
17545 then
17547 cat >>confdefs.h <<\_ACEOF
17548 #define HAVE_SIGADDSET 1
17549 _ACEOF
17554 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17555 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17556 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17557 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 else
17559 cat >conftest.$ac_ext <<_ACEOF
17560 /* confdefs.h. */
17561 _ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17565 #include <netdb.h>
17567 main ()
17570 char *name=NULL;
17571 struct hostent he;
17572 struct hostent *result;
17573 char *buf=NULL;
17574 int bufsize=0;
17575 int res,errnr;
17576 char *addr=NULL;
17577 int addrlen=0;
17578 int addrtype=0;
17579 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17580 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17583 return 0;
17585 _ACEOF
17586 rm -f conftest.$ac_objext conftest$ac_exeext
17587 if { (ac_try="$ac_link"
17588 case "(($ac_try" in
17589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17591 esac
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_link") 2>conftest.er1
17594 ac_status=$?
17595 grep -v '^ *+' conftest.er1 >conftest.err
17596 rm -f conftest.er1
17597 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest$ac_exeext &&
17603 $as_test_x conftest$ac_exeext; then
17604 wine_cv_linux_gethostbyname_r_6=yes
17605 else
17606 echo "$as_me: failed program was:" >&5
17607 sed 's/^/| /' conftest.$ac_ext >&5
17609 wine_cv_linux_gethostbyname_r_6=no
17613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17614 conftest$ac_exeext conftest.$ac_ext
17617 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17618 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17619 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17620 then
17622 cat >>confdefs.h <<\_ACEOF
17623 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17624 _ACEOF
17628 if test "$ac_cv_header_linux_joystick_h" = "yes"
17629 then
17630 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17631 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17632 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 else
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17642 #include <sys/ioctl.h>
17643 #include <sys/types.h>
17644 #include <linux/joystick.h>
17646 struct js_event blub;
17647 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17648 #error "no 2.2 header"
17649 #endif
17652 main ()
17654 /*empty*/
17656 return 0;
17658 _ACEOF
17659 rm -f conftest.$ac_objext
17660 if { (ac_try="$ac_compile"
17661 case "(($ac_try" in
17662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663 *) ac_try_echo=$ac_try;;
17664 esac
17665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666 (eval "$ac_compile") 2>conftest.er1
17667 ac_status=$?
17668 grep -v '^ *+' conftest.er1 >conftest.err
17669 rm -f conftest.er1
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } && {
17673 test -z "$ac_c_werror_flag" ||
17674 test ! -s conftest.err
17675 } && test -s conftest.$ac_objext; then
17676 wine_cv_linux_joystick_22_api=yes
17677 else
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17681 wine_cv_linux_joystick_22_api=no
17684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17688 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17689 if test "$wine_cv_linux_joystick_22_api" = "yes"
17690 then
17692 cat >>confdefs.h <<\_ACEOF
17693 #define HAVE_LINUX_22_JOYSTICK_API 1
17694 _ACEOF
17700 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17701 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17702 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 else
17705 cat >conftest.$ac_ext <<_ACEOF
17706 /* confdefs.h. */
17707 _ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711 #include <sys/types.h>
17712 #ifdef HAVE_SYS_PARAM_H
17713 # include <sys/param.h>
17714 #endif
17715 #ifdef HAVE_SYS_MOUNT_H
17716 # include <sys/mount.h>
17717 #endif
17718 #ifdef HAVE_SYS_VFS_H
17719 # include <sys/vfs.h>
17720 #endif
17721 #ifdef HAVE_SYS_STATFS_H
17722 # include <sys/statfs.h>
17723 #endif
17726 main ()
17728 static struct statfs ac_aggr;
17729 if (ac_aggr.f_bfree)
17730 return 0;
17732 return 0;
17734 _ACEOF
17735 rm -f conftest.$ac_objext
17736 if { (ac_try="$ac_compile"
17737 case "(($ac_try" in
17738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17739 *) ac_try_echo=$ac_try;;
17740 esac
17741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17742 (eval "$ac_compile") 2>conftest.er1
17743 ac_status=$?
17744 grep -v '^ *+' conftest.er1 >conftest.err
17745 rm -f conftest.er1
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } && {
17749 test -z "$ac_c_werror_flag" ||
17750 test ! -s conftest.err
17751 } && test -s conftest.$ac_objext; then
17752 ac_cv_member_struct_statfs_f_bfree=yes
17753 else
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.$ac_ext >&5
17757 cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h. */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 #include <sys/types.h>
17764 #ifdef HAVE_SYS_PARAM_H
17765 # include <sys/param.h>
17766 #endif
17767 #ifdef HAVE_SYS_MOUNT_H
17768 # include <sys/mount.h>
17769 #endif
17770 #ifdef HAVE_SYS_VFS_H
17771 # include <sys/vfs.h>
17772 #endif
17773 #ifdef HAVE_SYS_STATFS_H
17774 # include <sys/statfs.h>
17775 #endif
17778 main ()
17780 static struct statfs ac_aggr;
17781 if (sizeof ac_aggr.f_bfree)
17782 return 0;
17784 return 0;
17786 _ACEOF
17787 rm -f conftest.$ac_objext
17788 if { (ac_try="$ac_compile"
17789 case "(($ac_try" in
17790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17791 *) ac_try_echo=$ac_try;;
17792 esac
17793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17794 (eval "$ac_compile") 2>conftest.er1
17795 ac_status=$?
17796 grep -v '^ *+' conftest.er1 >conftest.err
17797 rm -f conftest.er1
17798 cat conftest.err >&5
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } && {
17801 test -z "$ac_c_werror_flag" ||
17802 test ! -s conftest.err
17803 } && test -s conftest.$ac_objext; then
17804 ac_cv_member_struct_statfs_f_bfree=yes
17805 else
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17809 ac_cv_member_struct_statfs_f_bfree=no
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17818 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17819 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17821 cat >>confdefs.h <<_ACEOF
17822 #define HAVE_STRUCT_STATFS_F_BFREE 1
17823 _ACEOF
17827 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17828 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17829 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 else
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 #include <sys/types.h>
17839 #ifdef HAVE_SYS_PARAM_H
17840 # include <sys/param.h>
17841 #endif
17842 #ifdef HAVE_SYS_MOUNT_H
17843 # include <sys/mount.h>
17844 #endif
17845 #ifdef HAVE_SYS_VFS_H
17846 # include <sys/vfs.h>
17847 #endif
17848 #ifdef HAVE_SYS_STATFS_H
17849 # include <sys/statfs.h>
17850 #endif
17853 main ()
17855 static struct statfs ac_aggr;
17856 if (ac_aggr.f_bavail)
17857 return 0;
17859 return 0;
17861 _ACEOF
17862 rm -f conftest.$ac_objext
17863 if { (ac_try="$ac_compile"
17864 case "(($ac_try" in
17865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17866 *) ac_try_echo=$ac_try;;
17867 esac
17868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17869 (eval "$ac_compile") 2>conftest.er1
17870 ac_status=$?
17871 grep -v '^ *+' conftest.er1 >conftest.err
17872 rm -f conftest.er1
17873 cat conftest.err >&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } && {
17876 test -z "$ac_c_werror_flag" ||
17877 test ! -s conftest.err
17878 } && test -s conftest.$ac_objext; then
17879 ac_cv_member_struct_statfs_f_bavail=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #include <sys/types.h>
17891 #ifdef HAVE_SYS_PARAM_H
17892 # include <sys/param.h>
17893 #endif
17894 #ifdef HAVE_SYS_MOUNT_H
17895 # include <sys/mount.h>
17896 #endif
17897 #ifdef HAVE_SYS_VFS_H
17898 # include <sys/vfs.h>
17899 #endif
17900 #ifdef HAVE_SYS_STATFS_H
17901 # include <sys/statfs.h>
17902 #endif
17905 main ()
17907 static struct statfs ac_aggr;
17908 if (sizeof ac_aggr.f_bavail)
17909 return 0;
17911 return 0;
17913 _ACEOF
17914 rm -f conftest.$ac_objext
17915 if { (ac_try="$ac_compile"
17916 case "(($ac_try" in
17917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17918 *) ac_try_echo=$ac_try;;
17919 esac
17920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17921 (eval "$ac_compile") 2>conftest.er1
17922 ac_status=$?
17923 grep -v '^ *+' conftest.er1 >conftest.err
17924 rm -f conftest.er1
17925 cat conftest.err >&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } && {
17928 test -z "$ac_c_werror_flag" ||
17929 test ! -s conftest.err
17930 } && test -s conftest.$ac_objext; then
17931 ac_cv_member_struct_statfs_f_bavail=yes
17932 else
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 ac_cv_member_struct_statfs_f_bavail=no
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17945 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17946 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17948 cat >>confdefs.h <<_ACEOF
17949 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17950 _ACEOF
17954 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17955 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17956 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 else
17959 cat >conftest.$ac_ext <<_ACEOF
17960 /* confdefs.h. */
17961 _ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965 #include <sys/types.h>
17966 #ifdef HAVE_SYS_PARAM_H
17967 # include <sys/param.h>
17968 #endif
17969 #ifdef HAVE_SYS_MOUNT_H
17970 # include <sys/mount.h>
17971 #endif
17972 #ifdef HAVE_SYS_VFS_H
17973 # include <sys/vfs.h>
17974 #endif
17975 #ifdef HAVE_SYS_STATFS_H
17976 # include <sys/statfs.h>
17977 #endif
17980 main ()
17982 static struct statfs ac_aggr;
17983 if (ac_aggr.f_frsize)
17984 return 0;
17986 return 0;
17988 _ACEOF
17989 rm -f conftest.$ac_objext
17990 if { (ac_try="$ac_compile"
17991 case "(($ac_try" in
17992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17993 *) ac_try_echo=$ac_try;;
17994 esac
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17997 ac_status=$?
17998 grep -v '^ *+' conftest.er1 >conftest.err
17999 rm -f conftest.er1
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.$ac_objext; then
18006 ac_cv_member_struct_statfs_f_frsize=yes
18007 else
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18011 cat >conftest.$ac_ext <<_ACEOF
18012 /* confdefs.h. */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 #include <sys/types.h>
18018 #ifdef HAVE_SYS_PARAM_H
18019 # include <sys/param.h>
18020 #endif
18021 #ifdef HAVE_SYS_MOUNT_H
18022 # include <sys/mount.h>
18023 #endif
18024 #ifdef HAVE_SYS_VFS_H
18025 # include <sys/vfs.h>
18026 #endif
18027 #ifdef HAVE_SYS_STATFS_H
18028 # include <sys/statfs.h>
18029 #endif
18032 main ()
18034 static struct statfs ac_aggr;
18035 if (sizeof ac_aggr.f_frsize)
18036 return 0;
18038 return 0;
18040 _ACEOF
18041 rm -f conftest.$ac_objext
18042 if { (ac_try="$ac_compile"
18043 case "(($ac_try" in
18044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18045 *) ac_try_echo=$ac_try;;
18046 esac
18047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18048 (eval "$ac_compile") 2>conftest.er1
18049 ac_status=$?
18050 grep -v '^ *+' conftest.er1 >conftest.err
18051 rm -f conftest.er1
18052 cat conftest.err >&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } && {
18055 test -z "$ac_c_werror_flag" ||
18056 test ! -s conftest.err
18057 } && test -s conftest.$ac_objext; then
18058 ac_cv_member_struct_statfs_f_frsize=yes
18059 else
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18063 ac_cv_member_struct_statfs_f_frsize=no
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18072 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18073 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18075 cat >>confdefs.h <<_ACEOF
18076 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18077 _ACEOF
18081 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18082 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18083 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 else
18086 cat >conftest.$ac_ext <<_ACEOF
18087 /* confdefs.h. */
18088 _ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 #include <sys/types.h>
18093 #ifdef HAVE_SYS_PARAM_H
18094 # include <sys/param.h>
18095 #endif
18096 #ifdef HAVE_SYS_MOUNT_H
18097 # include <sys/mount.h>
18098 #endif
18099 #ifdef HAVE_SYS_VFS_H
18100 # include <sys/vfs.h>
18101 #endif
18102 #ifdef HAVE_SYS_STATFS_H
18103 # include <sys/statfs.h>
18104 #endif
18107 main ()
18109 static struct statfs ac_aggr;
18110 if (ac_aggr.f_ffree)
18111 return 0;
18113 return 0;
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (ac_try="$ac_compile"
18118 case "(($ac_try" in
18119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18120 *) ac_try_echo=$ac_try;;
18121 esac
18122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18123 (eval "$ac_compile") 2>conftest.er1
18124 ac_status=$?
18125 grep -v '^ *+' conftest.er1 >conftest.err
18126 rm -f conftest.er1
18127 cat conftest.err >&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } && {
18130 test -z "$ac_c_werror_flag" ||
18131 test ! -s conftest.err
18132 } && test -s conftest.$ac_objext; then
18133 ac_cv_member_struct_statfs_f_ffree=yes
18134 else
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5
18138 cat >conftest.$ac_ext <<_ACEOF
18139 /* confdefs.h. */
18140 _ACEOF
18141 cat confdefs.h >>conftest.$ac_ext
18142 cat >>conftest.$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 #include <sys/types.h>
18145 #ifdef HAVE_SYS_PARAM_H
18146 # include <sys/param.h>
18147 #endif
18148 #ifdef HAVE_SYS_MOUNT_H
18149 # include <sys/mount.h>
18150 #endif
18151 #ifdef HAVE_SYS_VFS_H
18152 # include <sys/vfs.h>
18153 #endif
18154 #ifdef HAVE_SYS_STATFS_H
18155 # include <sys/statfs.h>
18156 #endif
18159 main ()
18161 static struct statfs ac_aggr;
18162 if (sizeof ac_aggr.f_ffree)
18163 return 0;
18165 return 0;
18167 _ACEOF
18168 rm -f conftest.$ac_objext
18169 if { (ac_try="$ac_compile"
18170 case "(($ac_try" in
18171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18172 *) ac_try_echo=$ac_try;;
18173 esac
18174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175 (eval "$ac_compile") 2>conftest.er1
18176 ac_status=$?
18177 grep -v '^ *+' conftest.er1 >conftest.err
18178 rm -f conftest.er1
18179 cat conftest.err >&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } && {
18182 test -z "$ac_c_werror_flag" ||
18183 test ! -s conftest.err
18184 } && test -s conftest.$ac_objext; then
18185 ac_cv_member_struct_statfs_f_ffree=yes
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18190 ac_cv_member_struct_statfs_f_ffree=no
18193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18199 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18200 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define HAVE_STRUCT_STATFS_F_FFREE 1
18204 _ACEOF
18208 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18209 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18210 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 else
18213 cat >conftest.$ac_ext <<_ACEOF
18214 /* confdefs.h. */
18215 _ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 #include <sys/types.h>
18220 #ifdef HAVE_SYS_PARAM_H
18221 # include <sys/param.h>
18222 #endif
18223 #ifdef HAVE_SYS_MOUNT_H
18224 # include <sys/mount.h>
18225 #endif
18226 #ifdef HAVE_SYS_VFS_H
18227 # include <sys/vfs.h>
18228 #endif
18229 #ifdef HAVE_SYS_STATFS_H
18230 # include <sys/statfs.h>
18231 #endif
18234 main ()
18236 static struct statfs ac_aggr;
18237 if (ac_aggr.f_favail)
18238 return 0;
18240 return 0;
18242 _ACEOF
18243 rm -f conftest.$ac_objext
18244 if { (ac_try="$ac_compile"
18245 case "(($ac_try" in
18246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247 *) ac_try_echo=$ac_try;;
18248 esac
18249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18250 (eval "$ac_compile") 2>conftest.er1
18251 ac_status=$?
18252 grep -v '^ *+' conftest.er1 >conftest.err
18253 rm -f conftest.er1
18254 cat conftest.err >&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); } && {
18257 test -z "$ac_c_werror_flag" ||
18258 test ! -s conftest.err
18259 } && test -s conftest.$ac_objext; then
18260 ac_cv_member_struct_statfs_f_favail=yes
18261 else
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271 #include <sys/types.h>
18272 #ifdef HAVE_SYS_PARAM_H
18273 # include <sys/param.h>
18274 #endif
18275 #ifdef HAVE_SYS_MOUNT_H
18276 # include <sys/mount.h>
18277 #endif
18278 #ifdef HAVE_SYS_VFS_H
18279 # include <sys/vfs.h>
18280 #endif
18281 #ifdef HAVE_SYS_STATFS_H
18282 # include <sys/statfs.h>
18283 #endif
18286 main ()
18288 static struct statfs ac_aggr;
18289 if (sizeof ac_aggr.f_favail)
18290 return 0;
18292 return 0;
18294 _ACEOF
18295 rm -f conftest.$ac_objext
18296 if { (ac_try="$ac_compile"
18297 case "(($ac_try" in
18298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18299 *) ac_try_echo=$ac_try;;
18300 esac
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_compile") 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } && {
18309 test -z "$ac_c_werror_flag" ||
18310 test ! -s conftest.err
18311 } && test -s conftest.$ac_objext; then
18312 ac_cv_member_struct_statfs_f_favail=yes
18313 else
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18317 ac_cv_member_struct_statfs_f_favail=no
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18325 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18326 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18327 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18329 cat >>confdefs.h <<_ACEOF
18330 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18331 _ACEOF
18335 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18336 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18337 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18339 else
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h. */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #include <sys/types.h>
18347 #ifdef HAVE_SYS_PARAM_H
18348 # include <sys/param.h>
18349 #endif
18350 #ifdef HAVE_SYS_MOUNT_H
18351 # include <sys/mount.h>
18352 #endif
18353 #ifdef HAVE_SYS_VFS_H
18354 # include <sys/vfs.h>
18355 #endif
18356 #ifdef HAVE_SYS_STATFS_H
18357 # include <sys/statfs.h>
18358 #endif
18361 main ()
18363 static struct statfs ac_aggr;
18364 if (ac_aggr.f_namelen)
18365 return 0;
18367 return 0;
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (ac_try="$ac_compile"
18372 case "(($ac_try" in
18373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18375 esac
18376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18377 (eval "$ac_compile") 2>conftest.er1
18378 ac_status=$?
18379 grep -v '^ *+' conftest.er1 >conftest.err
18380 rm -f conftest.er1
18381 cat conftest.err >&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && {
18384 test -z "$ac_c_werror_flag" ||
18385 test ! -s conftest.err
18386 } && test -s conftest.$ac_objext; then
18387 ac_cv_member_struct_statfs_f_namelen=yes
18388 else
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.$ac_ext >&5
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <sys/types.h>
18399 #ifdef HAVE_SYS_PARAM_H
18400 # include <sys/param.h>
18401 #endif
18402 #ifdef HAVE_SYS_MOUNT_H
18403 # include <sys/mount.h>
18404 #endif
18405 #ifdef HAVE_SYS_VFS_H
18406 # include <sys/vfs.h>
18407 #endif
18408 #ifdef HAVE_SYS_STATFS_H
18409 # include <sys/statfs.h>
18410 #endif
18413 main ()
18415 static struct statfs ac_aggr;
18416 if (sizeof ac_aggr.f_namelen)
18417 return 0;
18419 return 0;
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (ac_try="$ac_compile"
18424 case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18427 esac
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_compile") 2>conftest.er1
18430 ac_status=$?
18431 grep -v '^ *+' conftest.er1 >conftest.err
18432 rm -f conftest.er1
18433 cat conftest.err >&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } && {
18436 test -z "$ac_c_werror_flag" ||
18437 test ! -s conftest.err
18438 } && test -s conftest.$ac_objext; then
18439 ac_cv_member_struct_statfs_f_namelen=yes
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18444 ac_cv_member_struct_statfs_f_namelen=no
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18453 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18454 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18456 cat >>confdefs.h <<_ACEOF
18457 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18458 _ACEOF
18464 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18465 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18466 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 else
18469 cat >conftest.$ac_ext <<_ACEOF
18470 /* confdefs.h. */
18471 _ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475 #ifdef HAVE_SYS_STATVFS_H
18476 #include <sys/statvfs.h>
18477 #endif
18480 main ()
18482 static struct statvfs ac_aggr;
18483 if (ac_aggr.f_blocks)
18484 return 0;
18486 return 0;
18488 _ACEOF
18489 rm -f conftest.$ac_objext
18490 if { (ac_try="$ac_compile"
18491 case "(($ac_try" in
18492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18493 *) ac_try_echo=$ac_try;;
18494 esac
18495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18496 (eval "$ac_compile") 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } && {
18503 test -z "$ac_c_werror_flag" ||
18504 test ! -s conftest.err
18505 } && test -s conftest.$ac_objext; then
18506 ac_cv_member_struct_statvfs_f_blocks=yes
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 #ifdef HAVE_SYS_STATVFS_H
18518 #include <sys/statvfs.h>
18519 #endif
18522 main ()
18524 static struct statvfs ac_aggr;
18525 if (sizeof ac_aggr.f_blocks)
18526 return 0;
18528 return 0;
18530 _ACEOF
18531 rm -f conftest.$ac_objext
18532 if { (ac_try="$ac_compile"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18536 esac
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_compile") 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_c_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest.$ac_objext; then
18548 ac_cv_member_struct_statvfs_f_blocks=yes
18549 else
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18553 ac_cv_member_struct_statvfs_f_blocks=no
18556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18562 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18563 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18565 cat >>confdefs.h <<_ACEOF
18566 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18567 _ACEOF
18573 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18574 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18575 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 else
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <sys/types.h>
18585 #ifdef HAVE_SYS_SOCKET_H
18586 # include <sys/socket.h>
18587 #endif
18588 #ifdef HAVE_SYS_UN_H
18589 # include <sys/un.h>
18590 #endif
18593 main ()
18595 static struct msghdr ac_aggr;
18596 if (ac_aggr.msg_accrights)
18597 return 0;
18599 return 0;
18601 _ACEOF
18602 rm -f conftest.$ac_objext
18603 if { (ac_try="$ac_compile"
18604 case "(($ac_try" in
18605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18607 esac
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_compile") 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } && {
18616 test -z "$ac_c_werror_flag" ||
18617 test ! -s conftest.err
18618 } && test -s conftest.$ac_objext; then
18619 ac_cv_member_struct_msghdr_msg_accrights=yes
18620 else
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 #include <sys/types.h>
18631 #ifdef HAVE_SYS_SOCKET_H
18632 # include <sys/socket.h>
18633 #endif
18634 #ifdef HAVE_SYS_UN_H
18635 # include <sys/un.h>
18636 #endif
18639 main ()
18641 static struct msghdr ac_aggr;
18642 if (sizeof ac_aggr.msg_accrights)
18643 return 0;
18645 return 0;
18647 _ACEOF
18648 rm -f conftest.$ac_objext
18649 if { (ac_try="$ac_compile"
18650 case "(($ac_try" in
18651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18652 *) ac_try_echo=$ac_try;;
18653 esac
18654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18655 (eval "$ac_compile") 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } && {
18662 test -z "$ac_c_werror_flag" ||
18663 test ! -s conftest.err
18664 } && test -s conftest.$ac_objext; then
18665 ac_cv_member_struct_msghdr_msg_accrights=yes
18666 else
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18670 ac_cv_member_struct_msghdr_msg_accrights=no
18673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18679 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18680 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18682 cat >>confdefs.h <<_ACEOF
18683 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18684 _ACEOF
18688 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18689 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18690 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 else
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #include <sys/types.h>
18700 #ifdef HAVE_SYS_SOCKET_H
18701 # include <sys/socket.h>
18702 #endif
18703 #ifdef HAVE_SYS_UN_H
18704 # include <sys/un.h>
18705 #endif
18708 main ()
18710 static struct sockaddr ac_aggr;
18711 if (ac_aggr.sa_len)
18712 return 0;
18714 return 0;
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18722 esac
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 ac_cv_member_struct_sockaddr_sa_len=yes
18735 else
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 cat >conftest.$ac_ext <<_ACEOF
18740 /* confdefs.h. */
18741 _ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745 #include <sys/types.h>
18746 #ifdef HAVE_SYS_SOCKET_H
18747 # include <sys/socket.h>
18748 #endif
18749 #ifdef HAVE_SYS_UN_H
18750 # include <sys/un.h>
18751 #endif
18754 main ()
18756 static struct sockaddr ac_aggr;
18757 if (sizeof ac_aggr.sa_len)
18758 return 0;
18760 return 0;
18762 _ACEOF
18763 rm -f conftest.$ac_objext
18764 if { (ac_try="$ac_compile"
18765 case "(($ac_try" in
18766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18767 *) ac_try_echo=$ac_try;;
18768 esac
18769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18770 (eval "$ac_compile") 2>conftest.er1
18771 ac_status=$?
18772 grep -v '^ *+' conftest.er1 >conftest.err
18773 rm -f conftest.er1
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } && {
18777 test -z "$ac_c_werror_flag" ||
18778 test ! -s conftest.err
18779 } && test -s conftest.$ac_objext; then
18780 ac_cv_member_struct_sockaddr_sa_len=yes
18781 else
18782 echo "$as_me: failed program was:" >&5
18783 sed 's/^/| /' conftest.$ac_ext >&5
18785 ac_cv_member_struct_sockaddr_sa_len=no
18788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18794 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18795 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18797 cat >>confdefs.h <<_ACEOF
18798 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18799 _ACEOF
18803 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18804 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18805 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 else
18808 cat >conftest.$ac_ext <<_ACEOF
18809 /* confdefs.h. */
18810 _ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18814 #include <sys/types.h>
18815 #ifdef HAVE_SYS_SOCKET_H
18816 # include <sys/socket.h>
18817 #endif
18818 #ifdef HAVE_SYS_UN_H
18819 # include <sys/un.h>
18820 #endif
18823 main ()
18825 static struct sockaddr_un ac_aggr;
18826 if (ac_aggr.sun_len)
18827 return 0;
18829 return 0;
18831 _ACEOF
18832 rm -f conftest.$ac_objext
18833 if { (ac_try="$ac_compile"
18834 case "(($ac_try" in
18835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18836 *) ac_try_echo=$ac_try;;
18837 esac
18838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18839 (eval "$ac_compile") 2>conftest.er1
18840 ac_status=$?
18841 grep -v '^ *+' conftest.er1 >conftest.err
18842 rm -f conftest.er1
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } && {
18846 test -z "$ac_c_werror_flag" ||
18847 test ! -s conftest.err
18848 } && test -s conftest.$ac_objext; then
18849 ac_cv_member_struct_sockaddr_un_sun_len=yes
18850 else
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.$ac_ext >&5
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <sys/types.h>
18861 #ifdef HAVE_SYS_SOCKET_H
18862 # include <sys/socket.h>
18863 #endif
18864 #ifdef HAVE_SYS_UN_H
18865 # include <sys/un.h>
18866 #endif
18869 main ()
18871 static struct sockaddr_un ac_aggr;
18872 if (sizeof ac_aggr.sun_len)
18873 return 0;
18875 return 0;
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (ac_try="$ac_compile"
18880 case "(($ac_try" in
18881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18882 *) ac_try_echo=$ac_try;;
18883 esac
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_compile") 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest.$ac_objext; then
18895 ac_cv_member_struct_sockaddr_un_sun_len=yes
18896 else
18897 echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.$ac_ext >&5
18900 ac_cv_member_struct_sockaddr_un_sun_len=no
18903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18909 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18910 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18912 cat >>confdefs.h <<_ACEOF
18913 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18914 _ACEOF
18920 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18921 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18922 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18924 else
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <sys/types.h>
18932 #ifdef HAVE_SCSI_SG_H
18933 #include <scsi/sg.h>
18934 #endif
18937 main ()
18939 static scsireq_t ac_aggr;
18940 if (ac_aggr.cmd)
18941 return 0;
18943 return 0;
18945 _ACEOF
18946 rm -f conftest.$ac_objext
18947 if { (ac_try="$ac_compile"
18948 case "(($ac_try" in
18949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18950 *) ac_try_echo=$ac_try;;
18951 esac
18952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18953 (eval "$ac_compile") 2>conftest.er1
18954 ac_status=$?
18955 grep -v '^ *+' conftest.er1 >conftest.err
18956 rm -f conftest.er1
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } && {
18960 test -z "$ac_c_werror_flag" ||
18961 test ! -s conftest.err
18962 } && test -s conftest.$ac_objext; then
18963 ac_cv_member_scsireq_t_cmd=yes
18964 else
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18968 cat >conftest.$ac_ext <<_ACEOF
18969 /* confdefs.h. */
18970 _ACEOF
18971 cat confdefs.h >>conftest.$ac_ext
18972 cat >>conftest.$ac_ext <<_ACEOF
18973 /* end confdefs.h. */
18974 #include <sys/types.h>
18975 #ifdef HAVE_SCSI_SG_H
18976 #include <scsi/sg.h>
18977 #endif
18980 main ()
18982 static scsireq_t ac_aggr;
18983 if (sizeof ac_aggr.cmd)
18984 return 0;
18986 return 0;
18988 _ACEOF
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
19006 ac_cv_member_scsireq_t_cmd=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 ac_cv_member_scsireq_t_cmd=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19020 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19021 if test $ac_cv_member_scsireq_t_cmd = yes; then
19023 cat >>confdefs.h <<_ACEOF
19024 #define HAVE_SCSIREQ_T_CMD 1
19025 _ACEOF
19029 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19030 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19031 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034 cat >conftest.$ac_ext <<_ACEOF
19035 /* confdefs.h. */
19036 _ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 #include <sys/types.h>
19041 #ifdef HAVE_SCSI_SG_H
19042 #include <scsi/sg.h>
19043 #endif
19046 main ()
19048 static sg_io_hdr_t ac_aggr;
19049 if (ac_aggr.interface_id)
19050 return 0;
19052 return 0;
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_cv_member_sg_io_hdr_t_interface_id=yes
19073 else
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <sys/types.h>
19084 #ifdef HAVE_SCSI_SG_H
19085 #include <scsi/sg.h>
19086 #endif
19089 main ()
19091 static sg_io_hdr_t ac_aggr;
19092 if (sizeof ac_aggr.interface_id)
19093 return 0;
19095 return 0;
19097 _ACEOF
19098 rm -f conftest.$ac_objext
19099 if { (ac_try="$ac_compile"
19100 case "(($ac_try" in
19101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19102 *) ac_try_echo=$ac_try;;
19103 esac
19104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19105 (eval "$ac_compile") 2>conftest.er1
19106 ac_status=$?
19107 grep -v '^ *+' conftest.er1 >conftest.err
19108 rm -f conftest.er1
19109 cat conftest.err >&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } && {
19112 test -z "$ac_c_werror_flag" ||
19113 test ! -s conftest.err
19114 } && test -s conftest.$ac_objext; then
19115 ac_cv_member_sg_io_hdr_t_interface_id=yes
19116 else
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.$ac_ext >&5
19120 ac_cv_member_sg_io_hdr_t_interface_id=no
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19129 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19130 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19134 _ACEOF
19140 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19141 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19142 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145 cat >conftest.$ac_ext <<_ACEOF
19146 /* confdefs.h. */
19147 _ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #include <signal.h>
19154 main ()
19156 static siginfo_t ac_aggr;
19157 if (ac_aggr.si_fd)
19158 return 0;
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 ac_cv_member_siginfo_t_si_fd=yes
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <signal.h>
19194 main ()
19196 static siginfo_t ac_aggr;
19197 if (sizeof ac_aggr.si_fd)
19198 return 0;
19200 return 0;
19202 _ACEOF
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19211 ac_status=$?
19212 grep -v '^ *+' conftest.er1 >conftest.err
19213 rm -f conftest.er1
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 ac_cv_member_siginfo_t_si_fd=yes
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19225 ac_cv_member_siginfo_t_si_fd=no
19228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19233 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19234 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19235 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_SIGINFO_T_SI_FD 1
19239 _ACEOF
19245 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19246 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19247 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 else
19250 cat >conftest.$ac_ext <<_ACEOF
19251 /* confdefs.h. */
19252 _ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256 #include <sys/types.h>
19257 #ifdef HAVE_SYS_MTIO_H
19258 #include <sys/mtio.h>
19259 #endif
19262 main ()
19264 static struct mtget ac_aggr;
19265 if (ac_aggr.mt_blksiz)
19266 return 0;
19268 return 0;
19270 _ACEOF
19271 rm -f conftest.$ac_objext
19272 if { (ac_try="$ac_compile"
19273 case "(($ac_try" in
19274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19275 *) ac_try_echo=$ac_try;;
19276 esac
19277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19278 (eval "$ac_compile") 2>conftest.er1
19279 ac_status=$?
19280 grep -v '^ *+' conftest.er1 >conftest.err
19281 rm -f conftest.er1
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } && {
19285 test -z "$ac_c_werror_flag" ||
19286 test ! -s conftest.err
19287 } && test -s conftest.$ac_objext; then
19288 ac_cv_member_struct_mtget_mt_blksiz=yes
19289 else
19290 echo "$as_me: failed program was:" >&5
19291 sed 's/^/| /' conftest.$ac_ext >&5
19293 cat >conftest.$ac_ext <<_ACEOF
19294 /* confdefs.h. */
19295 _ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19299 #include <sys/types.h>
19300 #ifdef HAVE_SYS_MTIO_H
19301 #include <sys/mtio.h>
19302 #endif
19305 main ()
19307 static struct mtget ac_aggr;
19308 if (sizeof ac_aggr.mt_blksiz)
19309 return 0;
19311 return 0;
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19319 esac
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_cv_member_struct_mtget_mt_blksiz=yes
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_member_struct_mtget_mt_blksiz=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19345 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19346 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19350 _ACEOF
19354 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19355 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19356 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19357 echo $ECHO_N "(cached) $ECHO_C" >&6
19358 else
19359 cat >conftest.$ac_ext <<_ACEOF
19360 /* confdefs.h. */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #include <sys/types.h>
19366 #ifdef HAVE_SYS_MTIO_H
19367 #include <sys/mtio.h>
19368 #endif
19371 main ()
19373 static struct mtget ac_aggr;
19374 if (ac_aggr.mt_gstat)
19375 return 0;
19377 return 0;
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 ac_cv_member_struct_mtget_mt_gstat=yes
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <sys/types.h>
19409 #ifdef HAVE_SYS_MTIO_H
19410 #include <sys/mtio.h>
19411 #endif
19414 main ()
19416 static struct mtget ac_aggr;
19417 if (sizeof ac_aggr.mt_gstat)
19418 return 0;
19420 return 0;
19422 _ACEOF
19423 rm -f conftest.$ac_objext
19424 if { (ac_try="$ac_compile"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19428 esac
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19440 ac_cv_member_struct_mtget_mt_gstat=yes
19441 else
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19445 ac_cv_member_struct_mtget_mt_gstat=no
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19453 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19454 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19455 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19457 cat >>confdefs.h <<_ACEOF
19458 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19459 _ACEOF
19463 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19464 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19465 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 else
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #include <sys/types.h>
19475 #ifdef HAVE_SYS_MTIO_H
19476 #include <sys/mtio.h>
19477 #endif
19480 main ()
19482 static struct mtget ac_aggr;
19483 if (ac_aggr.mt_blkno)
19484 return 0;
19486 return 0;
19488 _ACEOF
19489 rm -f conftest.$ac_objext
19490 if { (ac_try="$ac_compile"
19491 case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_compile") 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && {
19503 test -z "$ac_c_werror_flag" ||
19504 test ! -s conftest.err
19505 } && test -s conftest.$ac_objext; then
19506 ac_cv_member_struct_mtget_mt_blkno=yes
19507 else
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.$ac_ext >&5
19511 cat >conftest.$ac_ext <<_ACEOF
19512 /* confdefs.h. */
19513 _ACEOF
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19517 #include <sys/types.h>
19518 #ifdef HAVE_SYS_MTIO_H
19519 #include <sys/mtio.h>
19520 #endif
19523 main ()
19525 static struct mtget ac_aggr;
19526 if (sizeof ac_aggr.mt_blkno)
19527 return 0;
19529 return 0;
19531 _ACEOF
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19537 esac
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_cv_member_struct_mtget_mt_blkno=yes
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19554 ac_cv_member_struct_mtget_mt_blkno=no
19557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19563 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19564 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19566 cat >>confdefs.h <<_ACEOF
19567 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19568 _ACEOF
19574 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19575 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19576 if test "${ac_cv_member_struct_option_name+set}" = set; then
19577 echo $ECHO_N "(cached) $ECHO_C" >&6
19578 else
19579 cat >conftest.$ac_ext <<_ACEOF
19580 /* confdefs.h. */
19581 _ACEOF
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 #ifdef HAVE_GETOPT_H
19586 #include <getopt.h>
19587 #endif
19590 main ()
19592 static struct option ac_aggr;
19593 if (ac_aggr.name)
19594 return 0;
19596 return 0;
19598 _ACEOF
19599 rm -f conftest.$ac_objext
19600 if { (ac_try="$ac_compile"
19601 case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19604 esac
19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_compile") 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && {
19613 test -z "$ac_c_werror_flag" ||
19614 test ! -s conftest.err
19615 } && test -s conftest.$ac_objext; then
19616 ac_cv_member_struct_option_name=yes
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19621 cat >conftest.$ac_ext <<_ACEOF
19622 /* confdefs.h. */
19623 _ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 #ifdef HAVE_GETOPT_H
19628 #include <getopt.h>
19629 #endif
19632 main ()
19634 static struct option ac_aggr;
19635 if (sizeof ac_aggr.name)
19636 return 0;
19638 return 0;
19640 _ACEOF
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19646 esac
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19649 ac_status=$?
19650 grep -v '^ *+' conftest.er1 >conftest.err
19651 rm -f conftest.er1
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_c_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.$ac_objext; then
19658 ac_cv_member_struct_option_name=yes
19659 else
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19663 ac_cv_member_struct_option_name=no
19666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19672 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19673 if test $ac_cv_member_struct_option_name = yes; then
19675 cat >>confdefs.h <<_ACEOF
19676 #define HAVE_STRUCT_OPTION_NAME 1
19677 _ACEOF
19683 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19684 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19685 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 else
19688 cat >conftest.$ac_ext <<_ACEOF
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19696 main ()
19698 static struct stat ac_aggr;
19699 if (ac_aggr.st_blocks)
19700 return 0;
19702 return 0;
19704 _ACEOF
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19710 esac
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_c_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.$ac_objext; then
19722 ac_cv_member_struct_stat_st_blocks=yes
19723 else
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19735 main ()
19737 static struct stat ac_aggr;
19738 if (sizeof ac_aggr.st_blocks)
19739 return 0;
19741 return 0;
19743 _ACEOF
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749 esac
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19752 ac_status=$?
19753 grep -v '^ *+' conftest.er1 >conftest.err
19754 rm -f conftest.er1
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19761 ac_cv_member_struct_stat_st_blocks=yes
19762 else
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19766 ac_cv_member_struct_stat_st_blocks=no
19769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19775 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19776 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19778 cat >>confdefs.h <<_ACEOF
19779 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19780 _ACEOF
19786 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19787 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19788 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 else
19791 cat >conftest.$ac_ext <<_ACEOF
19792 /* confdefs.h. */
19793 _ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 #ifdef HAVE_SYS_TYPES_H
19798 #include <sys/types.h>
19799 #endif
19800 #ifdef HAVE_NETINET_IN_H
19801 #include <netinet/in.h>
19802 #endif
19805 main ()
19807 static struct sockaddr_in6 ac_aggr;
19808 if (ac_aggr.sin6_scope_id)
19809 return 0;
19811 return 0;
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (ac_try="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19819 esac
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } && {
19828 test -z "$ac_c_werror_flag" ||
19829 test ! -s conftest.err
19830 } && test -s conftest.$ac_objext; then
19831 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19832 else
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 #ifdef HAVE_SYS_TYPES_H
19843 #include <sys/types.h>
19844 #endif
19845 #ifdef HAVE_NETINET_IN_H
19846 #include <netinet/in.h>
19847 #endif
19850 main ()
19852 static struct sockaddr_in6 ac_aggr;
19853 if (sizeof ac_aggr.sin6_scope_id)
19854 return 0;
19856 return 0;
19858 _ACEOF
19859 rm -f conftest.$ac_objext
19860 if { (ac_try="$ac_compile"
19861 case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19864 esac
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_compile") 2>conftest.er1
19867 ac_status=$?
19868 grep -v '^ *+' conftest.er1 >conftest.err
19869 rm -f conftest.er1
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest.$ac_objext; then
19876 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19877 else
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19881 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19890 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19891 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19893 cat >>confdefs.h <<_ACEOF
19894 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19895 _ACEOF
19901 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19902 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19903 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 else
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h. */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912 #ifdef HAVE_SYS_TYPES_H
19913 #include <sys/types.h>
19914 #endif
19915 #ifdef HAVE_NETINET_IN_H
19916 # include <netinet/in.h>
19917 #endif
19918 #ifdef HAVE_ARPA_NAMESER_H
19919 # include <arpa/nameser.h>
19920 #endif
19923 main ()
19925 static ns_msg ac_aggr;
19926 if (ac_aggr._msg_ptr)
19927 return 0;
19929 return 0;
19931 _ACEOF
19932 rm -f conftest.$ac_objext
19933 if { (ac_try="$ac_compile"
19934 case "(($ac_try" in
19935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19936 *) ac_try_echo=$ac_try;;
19937 esac
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_compile") 2>conftest.er1
19940 ac_status=$?
19941 grep -v '^ *+' conftest.er1 >conftest.err
19942 rm -f conftest.er1
19943 cat conftest.err >&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } && {
19946 test -z "$ac_c_werror_flag" ||
19947 test ! -s conftest.err
19948 } && test -s conftest.$ac_objext; then
19949 ac_cv_member_ns_msg__msg_ptr=yes
19950 else
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #ifdef HAVE_SYS_TYPES_H
19961 #include <sys/types.h>
19962 #endif
19963 #ifdef HAVE_NETINET_IN_H
19964 # include <netinet/in.h>
19965 #endif
19966 #ifdef HAVE_ARPA_NAMESER_H
19967 # include <arpa/nameser.h>
19968 #endif
19971 main ()
19973 static ns_msg ac_aggr;
19974 if (sizeof ac_aggr._msg_ptr)
19975 return 0;
19977 return 0;
19979 _ACEOF
19980 rm -f conftest.$ac_objext
19981 if { (ac_try="$ac_compile"
19982 case "(($ac_try" in
19983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19984 *) ac_try_echo=$ac_try;;
19985 esac
19986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19987 (eval "$ac_compile") 2>conftest.er1
19988 ac_status=$?
19989 grep -v '^ *+' conftest.er1 >conftest.err
19990 rm -f conftest.er1
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } && {
19994 test -z "$ac_c_werror_flag" ||
19995 test ! -s conftest.err
19996 } && test -s conftest.$ac_objext; then
19997 ac_cv_member_ns_msg__msg_ptr=yes
19998 else
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 ac_cv_member_ns_msg__msg_ptr=no
20005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20011 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20012 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20014 cat >>confdefs.h <<_ACEOF
20015 #define HAVE_NS_MSG__MSG_PTR 1
20016 _ACEOF
20022 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20023 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20024 if test "${ac_cv_have_timezone+set}" = set; then
20025 echo $ECHO_N "(cached) $ECHO_C" >&6
20026 else
20027 cat >conftest.$ac_ext <<_ACEOF
20028 /* confdefs.h. */
20029 _ACEOF
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 #include <time.h>
20035 main ()
20037 timezone = 1
20039 return 0;
20041 _ACEOF
20042 rm -f conftest.$ac_objext conftest$ac_exeext
20043 if { (ac_try="$ac_link"
20044 case "(($ac_try" in
20045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20046 *) ac_try_echo=$ac_try;;
20047 esac
20048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20049 (eval "$ac_link") 2>conftest.er1
20050 ac_status=$?
20051 grep -v '^ *+' conftest.er1 >conftest.err
20052 rm -f conftest.er1
20053 cat conftest.err >&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } && {
20056 test -z "$ac_c_werror_flag" ||
20057 test ! -s conftest.err
20058 } && test -s conftest$ac_exeext &&
20059 $as_test_x conftest$ac_exeext; then
20060 ac_cv_have_timezone="yes"
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 ac_cv_have_timezone="no"
20068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20069 conftest$ac_exeext conftest.$ac_ext
20071 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20072 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20073 if test "$ac_cv_have_timezone" = "yes"
20074 then
20076 cat >>confdefs.h <<\_ACEOF
20077 #define HAVE_TIMEZONE 1
20078 _ACEOF
20081 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20082 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20083 if test "${ac_cv_have_daylight+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 else
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 #include <time.h>
20094 main ()
20096 daylight = 1
20098 return 0;
20100 _ACEOF
20101 rm -f conftest.$ac_objext conftest$ac_exeext
20102 if { (ac_try="$ac_link"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20106 esac
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_link") 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest$ac_exeext &&
20118 $as_test_x conftest$ac_exeext; then
20119 ac_cv_have_daylight="yes"
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 ac_cv_have_daylight="no"
20127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20128 conftest$ac_exeext conftest.$ac_ext
20130 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20131 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20132 if test "$ac_cv_have_daylight" = "yes"
20133 then
20135 cat >>confdefs.h <<\_ACEOF
20136 #define HAVE_DAYLIGHT 1
20137 _ACEOF
20142 case $host_cpu in
20143 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20144 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20145 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 else
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #ifndef __i386__
20156 #endif
20157 _ACEOF
20158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20159 $EGREP "yes" >/dev/null 2>&1; then
20160 ac_cv_cpp_def___i386__=yes
20161 else
20162 ac_cv_cpp_def___i386__=no
20164 rm -f conftest*
20167 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20168 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20169 if test $ac_cv_cpp_def___i386__ = yes; then
20170 CFLAGS="$CFLAGS -D__i386__"
20171 LINTFLAGS="$LINTFLAGS -D__i386__"
20174 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20175 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20176 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 else
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 #ifndef __x86_64__
20187 #endif
20188 _ACEOF
20189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20190 $EGREP "yes" >/dev/null 2>&1; then
20191 ac_cv_cpp_def___x86_64__=yes
20192 else
20193 ac_cv_cpp_def___x86_64__=no
20195 rm -f conftest*
20198 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20199 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20200 if test $ac_cv_cpp_def___x86_64__ = yes; then
20201 CFLAGS="$CFLAGS -D__x86_64__"
20202 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20205 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20206 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20207 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 else
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 #ifndef __ALPHA__
20218 #endif
20219 _ACEOF
20220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20221 $EGREP "yes" >/dev/null 2>&1; then
20222 ac_cv_cpp_def___ALPHA__=yes
20223 else
20224 ac_cv_cpp_def___ALPHA__=no
20226 rm -f conftest*
20229 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20230 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20231 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20232 CFLAGS="$CFLAGS -D__ALPHA__"
20233 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20236 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20237 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20238 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 else
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 #ifndef __sparc__
20249 #endif
20250 _ACEOF
20251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20252 $EGREP "yes" >/dev/null 2>&1; then
20253 ac_cv_cpp_def___sparc__=yes
20254 else
20255 ac_cv_cpp_def___sparc__=no
20257 rm -f conftest*
20260 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20261 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20262 if test $ac_cv_cpp_def___sparc__ = yes; then
20263 CFLAGS="$CFLAGS -D__sparc__"
20264 LINTFLAGS="$LINTFLAGS -D__sparc__"
20267 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20268 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20269 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 else
20272 cat >conftest.$ac_ext <<_ACEOF
20273 /* confdefs.h. */
20274 _ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 #ifndef __powerpc__
20280 #endif
20281 _ACEOF
20282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20283 $EGREP "yes" >/dev/null 2>&1; then
20284 ac_cv_cpp_def___powerpc__=yes
20285 else
20286 ac_cv_cpp_def___powerpc__=no
20288 rm -f conftest*
20291 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20292 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20293 if test $ac_cv_cpp_def___powerpc__ = yes; then
20294 CFLAGS="$CFLAGS -D__powerpc__"
20295 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20298 esac
20300 case $host_vendor in
20301 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20302 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20303 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20305 else
20306 cat >conftest.$ac_ext <<_ACEOF
20307 /* confdefs.h. */
20308 _ACEOF
20309 cat confdefs.h >>conftest.$ac_ext
20310 cat >>conftest.$ac_ext <<_ACEOF
20311 /* end confdefs.h. */
20312 #ifndef __sun__
20314 #endif
20315 _ACEOF
20316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20317 $EGREP "yes" >/dev/null 2>&1; then
20318 ac_cv_cpp_def___sun__=yes
20319 else
20320 ac_cv_cpp_def___sun__=no
20322 rm -f conftest*
20325 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20326 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20327 if test $ac_cv_cpp_def___sun__ = yes; then
20328 CFLAGS="$CFLAGS -D__sun__"
20329 LINTFLAGS="$LINTFLAGS -D__sun__"
20332 esac
20335 DEPENDENCIES="### Dependencies:
20337 .INIT: Makefile
20338 .BEGIN: Makefile
20339 Makefile: dummy
20340 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20342 \$(OBJS): \$(IDL_GEN_HEADERS)
20343 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20344 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20345 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20351 ac_config_commands="$ac_config_commands include/stamp-h"
20354 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20356 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20358 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20360 ac_config_commands="$ac_config_commands dlls/user32/resources"
20362 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20364 ac_config_commands="$ac_config_commands include/wine"
20367 MAKE_RULES=Make.rules
20370 MAKE_DLL_RULES=dlls/Makedll.rules
20373 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20376 MAKE_TEST_RULES=dlls/Maketest.rules
20379 MAKE_PROG_RULES=programs/Makeprog.rules
20382 ac_config_files="$ac_config_files Make.rules"
20384 ac_config_files="$ac_config_files dlls/Makedll.rules"
20386 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20388 ac_config_files="$ac_config_files dlls/Maketest.rules"
20390 ac_config_files="$ac_config_files programs/Makeprog.rules"
20392 ac_config_files="$ac_config_files Makefile"
20394 ac_config_files="$ac_config_files dlls/Makefile"
20396 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20398 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20400 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20402 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20404 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20406 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20408 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20410 ac_config_files="$ac_config_files dlls/atl/Makefile"
20412 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20414 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20416 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20418 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20422 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20424 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20426 ac_config_files="$ac_config_files dlls/cards/Makefile"
20428 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20430 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20432 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20434 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20436 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20438 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20440 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20442 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20446 ac_config_files="$ac_config_files dlls/credui/Makefile"
20448 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20450 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20452 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20454 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20456 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20458 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20460 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20462 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20464 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20466 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20468 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20470 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20472 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20474 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20476 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20478 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20480 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20482 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20484 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20486 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20488 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20490 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20492 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20494 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20496 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20498 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20500 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20502 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20504 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20506 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20508 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20510 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20512 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20514 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20516 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20518 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20520 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20522 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20526 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20528 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20530 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20532 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20534 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20536 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20538 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20540 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20542 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20544 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20546 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20548 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20552 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20554 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20556 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20558 ac_config_files="$ac_config_files dlls/hal/Makefile"
20560 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20562 ac_config_files="$ac_config_files dlls/hid/Makefile"
20564 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20566 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20570 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20572 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20574 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20576 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20578 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20580 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20582 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20584 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20586 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20588 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20590 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/itss/Makefile"
20594 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20598 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20600 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20602 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20604 ac_config_files="$ac_config_files dlls/localui/Makefile"
20606 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20610 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20614 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20618 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20620 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20622 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20624 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20626 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20628 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20632 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20634 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20636 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20638 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20640 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20642 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20646 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20648 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20650 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20652 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20654 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20656 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20658 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20660 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20662 ac_config_files="$ac_config_files dlls/msi/Makefile"
20664 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20666 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20668 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20670 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20672 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20674 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20676 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20678 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20680 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20682 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20684 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20686 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20688 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20690 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20692 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20694 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20696 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20698 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20700 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20702 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20704 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20706 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20710 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20712 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20714 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20716 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20718 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20720 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20722 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20724 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20726 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20728 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20730 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20732 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20736 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20738 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20740 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20742 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20744 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20746 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20748 ac_config_files="$ac_config_files dlls/printui/Makefile"
20750 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20752 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20754 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20756 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20758 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20760 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/query/Makefile"
20764 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20766 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20768 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20770 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20772 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20774 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20776 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20778 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20780 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20782 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20784 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20786 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20788 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20790 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20792 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20794 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20796 ac_config_files="$ac_config_files dlls/security/Makefile"
20798 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20800 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20802 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20804 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20806 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20808 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20810 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20812 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20814 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20816 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20818 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20820 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20822 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20824 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20826 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20828 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20830 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20832 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20834 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20836 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20838 ac_config_files="$ac_config_files dlls/sti/Makefile"
20840 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20842 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20844 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20846 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20848 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20850 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20852 ac_config_files="$ac_config_files dlls/url/Makefile"
20854 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20856 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20858 ac_config_files="$ac_config_files dlls/user32/Makefile"
20860 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20862 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20864 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20866 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20868 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20870 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20872 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20874 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20876 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20878 ac_config_files="$ac_config_files dlls/version/Makefile"
20880 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20882 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20884 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20886 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20888 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20890 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20892 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20894 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20896 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20898 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20900 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20902 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20904 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20906 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20908 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20910 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20912 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20914 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20916 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20918 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20920 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20922 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20924 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20926 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20928 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20930 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20932 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20934 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20936 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20938 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20940 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20942 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20944 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20946 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20948 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20950 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20952 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20954 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20956 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20958 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20960 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20962 ac_config_files="$ac_config_files documentation/Makefile"
20964 ac_config_files="$ac_config_files fonts/Makefile"
20966 ac_config_files="$ac_config_files include/Makefile"
20968 ac_config_files="$ac_config_files libs/Makefile"
20970 ac_config_files="$ac_config_files libs/port/Makefile"
20972 ac_config_files="$ac_config_files libs/wine/Makefile"
20974 ac_config_files="$ac_config_files libs/wpp/Makefile"
20976 ac_config_files="$ac_config_files loader/Makefile"
20978 ac_config_files="$ac_config_files programs/Makefile"
20980 ac_config_files="$ac_config_files programs/clock/Makefile"
20982 ac_config_files="$ac_config_files programs/cmd/Makefile"
20984 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20986 ac_config_files="$ac_config_files programs/control/Makefile"
20988 ac_config_files="$ac_config_files programs/eject/Makefile"
20990 ac_config_files="$ac_config_files programs/expand/Makefile"
20992 ac_config_files="$ac_config_files programs/explorer/Makefile"
20994 ac_config_files="$ac_config_files programs/hh/Makefile"
20996 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20998 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21000 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21002 ac_config_files="$ac_config_files programs/net/Makefile"
21004 ac_config_files="$ac_config_files programs/notepad/Makefile"
21006 ac_config_files="$ac_config_files programs/oleview/Makefile"
21008 ac_config_files="$ac_config_files programs/progman/Makefile"
21010 ac_config_files="$ac_config_files programs/regedit/Makefile"
21012 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21014 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21016 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21018 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21020 ac_config_files="$ac_config_files programs/start/Makefile"
21022 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21024 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21026 ac_config_files="$ac_config_files programs/view/Makefile"
21028 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21030 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21032 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21034 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21036 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21038 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21040 ac_config_files="$ac_config_files programs/winefile/Makefile"
21042 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21044 ac_config_files="$ac_config_files programs/winemine/Makefile"
21046 ac_config_files="$ac_config_files programs/winepath/Makefile"
21048 ac_config_files="$ac_config_files programs/winetest/Makefile"
21050 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21052 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21054 ac_config_files="$ac_config_files programs/winver/Makefile"
21056 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21058 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21060 ac_config_files="$ac_config_files server/Makefile"
21062 ac_config_files="$ac_config_files tools/Makefile"
21064 ac_config_files="$ac_config_files tools/widl/Makefile"
21066 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21068 ac_config_files="$ac_config_files tools/winedump/Makefile"
21070 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21072 ac_config_files="$ac_config_files tools/wmc/Makefile"
21074 ac_config_files="$ac_config_files tools/wrc/Makefile"
21077 cat >confcache <<\_ACEOF
21078 # This file is a shell script that caches the results of configure
21079 # tests run on this system so they can be shared between configure
21080 # scripts and configure runs, see configure's option --config-cache.
21081 # It is not useful on other systems. If it contains results you don't
21082 # want to keep, you may remove or edit it.
21084 # config.status only pays attention to the cache file if you give it
21085 # the --recheck option to rerun configure.
21087 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21088 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21089 # following values.
21091 _ACEOF
21093 # The following way of writing the cache mishandles newlines in values,
21094 # but we know of no workaround that is simple, portable, and efficient.
21095 # So, we kill variables containing newlines.
21096 # Ultrix sh set writes to stderr and can't be redirected directly,
21097 # and sets the high bit in the cache file unless we assign to the vars.
21099 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21100 eval ac_val=\$$ac_var
21101 case $ac_val in #(
21102 *${as_nl}*)
21103 case $ac_var in #(
21104 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21105 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21106 esac
21107 case $ac_var in #(
21108 _ | IFS | as_nl) ;; #(
21109 *) $as_unset $ac_var ;;
21110 esac ;;
21111 esac
21112 done
21114 (set) 2>&1 |
21115 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21116 *${as_nl}ac_space=\ *)
21117 # `set' does not quote correctly, so add quotes (double-quote
21118 # substitution turns \\\\ into \\, and sed turns \\ into \).
21119 sed -n \
21120 "s/'/'\\\\''/g;
21121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21122 ;; #(
21124 # `set' quotes correctly as required by POSIX, so do not add quotes.
21125 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21127 esac |
21128 sort
21130 sed '
21131 /^ac_cv_env_/b end
21132 t clear
21133 :clear
21134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21135 t end
21136 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21137 :end' >>confcache
21138 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21139 if test -w "$cache_file"; then
21140 test "x$cache_file" != "x/dev/null" &&
21141 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21142 echo "$as_me: updating cache $cache_file" >&6;}
21143 cat confcache >$cache_file
21144 else
21145 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21146 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21149 rm -f confcache
21151 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21152 # Let make expand exec_prefix.
21153 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21155 DEFS=-DHAVE_CONFIG_H
21157 ac_libobjs=
21158 ac_ltlibobjs=
21159 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21160 # 1. Remove the extension, and $U if already installed.
21161 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21162 ac_i=`echo "$ac_i" | sed "$ac_script"`
21163 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21164 # will be set to the directory where LIBOBJS objects are built.
21165 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21166 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21167 done
21168 LIBOBJS=$ac_libobjs
21170 LTLIBOBJS=$ac_ltlibobjs
21174 : ${CONFIG_STATUS=./config.status}
21175 ac_clean_files_save=$ac_clean_files
21176 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21177 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21178 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21179 cat >$CONFIG_STATUS <<_ACEOF
21180 #! $SHELL
21181 # Generated by $as_me.
21182 # Run this file to recreate the current configuration.
21183 # Compiler output produced by configure, useful for debugging
21184 # configure, is in config.log if it exists.
21186 debug=false
21187 ac_cs_recheck=false
21188 ac_cs_silent=false
21189 SHELL=\${CONFIG_SHELL-$SHELL}
21190 _ACEOF
21192 cat >>$CONFIG_STATUS <<\_ACEOF
21193 ## --------------------- ##
21194 ## M4sh Initialization. ##
21195 ## --------------------- ##
21197 # Be more Bourne compatible
21198 DUALCASE=1; export DUALCASE # for MKS sh
21199 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21200 emulate sh
21201 NULLCMD=:
21202 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21203 # is contrary to our usage. Disable this feature.
21204 alias -g '${1+"$@"}'='"$@"'
21205 setopt NO_GLOB_SUBST
21206 else
21207 case `(set -o) 2>/dev/null` in
21208 *posix*) set -o posix ;;
21209 esac
21216 # PATH needs CR
21217 # Avoid depending upon Character Ranges.
21218 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21219 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21220 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21221 as_cr_digits='0123456789'
21222 as_cr_alnum=$as_cr_Letters$as_cr_digits
21224 # The user is always right.
21225 if test "${PATH_SEPARATOR+set}" != set; then
21226 echo "#! /bin/sh" >conf$$.sh
21227 echo "exit 0" >>conf$$.sh
21228 chmod +x conf$$.sh
21229 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21230 PATH_SEPARATOR=';'
21231 else
21232 PATH_SEPARATOR=:
21234 rm -f conf$$.sh
21237 # Support unset when possible.
21238 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21239 as_unset=unset
21240 else
21241 as_unset=false
21245 # IFS
21246 # We need space, tab and new line, in precisely that order. Quoting is
21247 # there to prevent editors from complaining about space-tab.
21248 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21249 # splitting by setting IFS to empty value.)
21250 as_nl='
21252 IFS=" "" $as_nl"
21254 # Find who we are. Look in the path if we contain no directory separator.
21255 case $0 in
21256 *[\\/]* ) as_myself=$0 ;;
21257 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21258 for as_dir in $PATH
21260 IFS=$as_save_IFS
21261 test -z "$as_dir" && as_dir=.
21262 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21263 done
21264 IFS=$as_save_IFS
21267 esac
21268 # We did not find ourselves, most probably we were run as `sh COMMAND'
21269 # in which case we are not to be found in the path.
21270 if test "x$as_myself" = x; then
21271 as_myself=$0
21273 if test ! -f "$as_myself"; then
21274 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21275 { (exit 1); exit 1; }
21278 # Work around bugs in pre-3.0 UWIN ksh.
21279 for as_var in ENV MAIL MAILPATH
21280 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21281 done
21282 PS1='$ '
21283 PS2='> '
21284 PS4='+ '
21286 # NLS nuisances.
21287 for as_var in \
21288 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21289 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21290 LC_TELEPHONE LC_TIME
21292 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21293 eval $as_var=C; export $as_var
21294 else
21295 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21297 done
21299 # Required to use basename.
21300 if expr a : '\(a\)' >/dev/null 2>&1 &&
21301 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21302 as_expr=expr
21303 else
21304 as_expr=false
21307 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21308 as_basename=basename
21309 else
21310 as_basename=false
21314 # Name of the executable.
21315 as_me=`$as_basename -- "$0" ||
21316 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21317 X"$0" : 'X\(//\)$' \| \
21318 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21319 echo X/"$0" |
21320 sed '/^.*\/\([^/][^/]*\)\/*$/{
21321 s//\1/
21324 /^X\/\(\/\/\)$/{
21325 s//\1/
21328 /^X\/\(\/\).*/{
21329 s//\1/
21332 s/.*/./; q'`
21334 # CDPATH.
21335 $as_unset CDPATH
21339 as_lineno_1=$LINENO
21340 as_lineno_2=$LINENO
21341 test "x$as_lineno_1" != "x$as_lineno_2" &&
21342 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21344 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21345 # uniformly replaced by the line number. The first 'sed' inserts a
21346 # line-number line after each line using $LINENO; the second 'sed'
21347 # does the real work. The second script uses 'N' to pair each
21348 # line-number line with the line containing $LINENO, and appends
21349 # trailing '-' during substitution so that $LINENO is not a special
21350 # case at line end.
21351 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21352 # scripts with optimization help from Paolo Bonzini. Blame Lee
21353 # E. McMahon (1931-1989) for sed's syntax. :-)
21354 sed -n '
21356 /[$]LINENO/=
21357 ' <$as_myself |
21358 sed '
21359 s/[$]LINENO.*/&-/
21360 t lineno
21362 :lineno
21364 :loop
21365 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21366 t loop
21367 s/-\n.*//
21368 ' >$as_me.lineno &&
21369 chmod +x "$as_me.lineno" ||
21370 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21371 { (exit 1); exit 1; }; }
21373 # Don't try to exec as it changes $[0], causing all sort of problems
21374 # (the dirname of $[0] is not the place where we might find the
21375 # original and so on. Autoconf is especially sensitive to this).
21376 . "./$as_me.lineno"
21377 # Exit status is that of the last command.
21378 exit
21382 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21383 as_dirname=dirname
21384 else
21385 as_dirname=false
21388 ECHO_C= ECHO_N= ECHO_T=
21389 case `echo -n x` in
21390 -n*)
21391 case `echo 'x\c'` in
21392 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21393 *) ECHO_C='\c';;
21394 esac;;
21396 ECHO_N='-n';;
21397 esac
21399 if expr a : '\(a\)' >/dev/null 2>&1 &&
21400 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21401 as_expr=expr
21402 else
21403 as_expr=false
21406 rm -f conf$$ conf$$.exe conf$$.file
21407 if test -d conf$$.dir; then
21408 rm -f conf$$.dir/conf$$.file
21409 else
21410 rm -f conf$$.dir
21411 mkdir conf$$.dir
21413 echo >conf$$.file
21414 if ln -s conf$$.file conf$$ 2>/dev/null; then
21415 as_ln_s='ln -s'
21416 # ... but there are two gotchas:
21417 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21418 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21419 # In both cases, we have to default to `cp -p'.
21420 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21421 as_ln_s='cp -p'
21422 elif ln conf$$.file conf$$ 2>/dev/null; then
21423 as_ln_s=ln
21424 else
21425 as_ln_s='cp -p'
21427 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21428 rmdir conf$$.dir 2>/dev/null
21430 if mkdir -p . 2>/dev/null; then
21431 as_mkdir_p=:
21432 else
21433 test -d ./-p && rmdir ./-p
21434 as_mkdir_p=false
21437 if test -x / >/dev/null 2>&1; then
21438 as_test_x='test -x'
21439 else
21440 if ls -dL / >/dev/null 2>&1; then
21441 as_ls_L_option=L
21442 else
21443 as_ls_L_option=
21445 as_test_x='
21446 eval sh -c '\''
21447 if test -d "$1"; then
21448 test -d "$1/.";
21449 else
21450 case $1 in
21451 -*)set "./$1";;
21452 esac;
21453 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21454 ???[sx]*):;;*)false;;esac;fi
21455 '\'' sh
21458 as_executable_p=$as_test_x
21460 # Sed expression to map a string onto a valid CPP name.
21461 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21463 # Sed expression to map a string onto a valid variable name.
21464 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21467 exec 6>&1
21469 # Save the log message, to keep $[0] and so on meaningful, and to
21470 # report actual input values of CONFIG_FILES etc. instead of their
21471 # values after options handling.
21472 ac_log="
21473 This file was extended by Wine $as_me 0.9.39, which was
21474 generated by GNU Autoconf 2.61. Invocation command line was
21476 CONFIG_FILES = $CONFIG_FILES
21477 CONFIG_HEADERS = $CONFIG_HEADERS
21478 CONFIG_LINKS = $CONFIG_LINKS
21479 CONFIG_COMMANDS = $CONFIG_COMMANDS
21480 $ $0 $@
21482 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21485 _ACEOF
21487 cat >>$CONFIG_STATUS <<_ACEOF
21488 # Files that config.status was made for.
21489 config_files="$ac_config_files"
21490 config_headers="$ac_config_headers"
21491 config_commands="$ac_config_commands"
21493 _ACEOF
21495 cat >>$CONFIG_STATUS <<\_ACEOF
21496 ac_cs_usage="\
21497 \`$as_me' instantiates files from templates according to the
21498 current configuration.
21500 Usage: $0 [OPTIONS] [FILE]...
21502 -h, --help print this help, then exit
21503 -V, --version print version number and configuration settings, then exit
21504 -q, --quiet do not print progress messages
21505 -d, --debug don't remove temporary files
21506 --recheck update $as_me by reconfiguring in the same conditions
21507 --file=FILE[:TEMPLATE]
21508 instantiate the configuration file FILE
21509 --header=FILE[:TEMPLATE]
21510 instantiate the configuration header FILE
21512 Configuration files:
21513 $config_files
21515 Configuration headers:
21516 $config_headers
21518 Configuration commands:
21519 $config_commands
21521 Report bugs to <bug-autoconf@gnu.org>."
21523 _ACEOF
21524 cat >>$CONFIG_STATUS <<_ACEOF
21525 ac_cs_version="\\
21526 Wine config.status 0.9.39
21527 configured by $0, generated by GNU Autoconf 2.61,
21528 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21530 Copyright (C) 2006 Free Software Foundation, Inc.
21531 This config.status script is free software; the Free Software Foundation
21532 gives unlimited permission to copy, distribute and modify it."
21534 ac_pwd='$ac_pwd'
21535 srcdir='$srcdir'
21536 INSTALL='$INSTALL'
21537 _ACEOF
21539 cat >>$CONFIG_STATUS <<\_ACEOF
21540 # If no file are specified by the user, then we need to provide default
21541 # value. By we need to know if files were specified by the user.
21542 ac_need_defaults=:
21543 while test $# != 0
21545 case $1 in
21546 --*=*)
21547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21549 ac_shift=:
21552 ac_option=$1
21553 ac_optarg=$2
21554 ac_shift=shift
21556 esac
21558 case $ac_option in
21559 # Handling of the options.
21560 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21561 ac_cs_recheck=: ;;
21562 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21563 echo "$ac_cs_version"; exit ;;
21564 --debug | --debu | --deb | --de | --d | -d )
21565 debug=: ;;
21566 --file | --fil | --fi | --f )
21567 $ac_shift
21568 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21569 ac_need_defaults=false;;
21570 --header | --heade | --head | --hea )
21571 $ac_shift
21572 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21573 ac_need_defaults=false;;
21574 --he | --h)
21575 # Conflict between --help and --header
21576 { echo "$as_me: error: ambiguous option: $1
21577 Try \`$0 --help' for more information." >&2
21578 { (exit 1); exit 1; }; };;
21579 --help | --hel | -h )
21580 echo "$ac_cs_usage"; exit ;;
21581 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21582 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21583 ac_cs_silent=: ;;
21585 # This is an error.
21586 -*) { echo "$as_me: error: unrecognized option: $1
21587 Try \`$0 --help' for more information." >&2
21588 { (exit 1); exit 1; }; } ;;
21590 *) ac_config_targets="$ac_config_targets $1"
21591 ac_need_defaults=false ;;
21593 esac
21594 shift
21595 done
21597 ac_configure_extra_args=
21599 if $ac_cs_silent; then
21600 exec 6>/dev/null
21601 ac_configure_extra_args="$ac_configure_extra_args --silent"
21604 _ACEOF
21605 cat >>$CONFIG_STATUS <<_ACEOF
21606 if \$ac_cs_recheck; then
21607 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21608 CONFIG_SHELL=$SHELL
21609 export CONFIG_SHELL
21610 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21613 _ACEOF
21614 cat >>$CONFIG_STATUS <<\_ACEOF
21615 exec 5>>config.log
21617 echo
21618 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21619 ## Running $as_me. ##
21620 _ASBOX
21621 echo "$ac_log"
21622 } >&5
21624 _ACEOF
21625 cat >>$CONFIG_STATUS <<_ACEOF
21626 _ACEOF
21628 cat >>$CONFIG_STATUS <<\_ACEOF
21630 # Handling of arguments.
21631 for ac_config_target in $ac_config_targets
21633 case $ac_config_target in
21634 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21635 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21636 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21637 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21638 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21639 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21640 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21641 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21642 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21643 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21644 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21645 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21646 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21647 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21648 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21649 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21650 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21651 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21652 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21653 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21654 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21655 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21656 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21657 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21658 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21659 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21660 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21661 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21662 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21663 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21664 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21665 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21666 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21667 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21668 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21669 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21670 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21671 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21672 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21673 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21674 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21675 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21676 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21677 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21678 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21679 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21680 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21681 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21682 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21683 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21684 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21685 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21686 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21687 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21688 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21689 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21690 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21691 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21692 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21693 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21694 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21695 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21696 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21697 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21698 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21699 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21700 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21701 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21702 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21703 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21704 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21705 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21706 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21707 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21708 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21709 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21710 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21711 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21712 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21713 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21714 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21715 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21716 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21717 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21718 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21719 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21720 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21721 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21722 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21723 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21724 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21725 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21726 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21727 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21728 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21729 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21730 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21731 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21732 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21733 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21734 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21735 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21736 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21737 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21738 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21739 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21740 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21741 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21742 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21743 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21744 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21745 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21746 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21747 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21748 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21749 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21750 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21751 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21752 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21753 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21754 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21755 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21756 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21757 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21758 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21759 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21760 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21761 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21762 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21763 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21764 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21765 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21766 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21767 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21768 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21769 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21770 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21771 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21772 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21773 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21774 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21775 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21776 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21777 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21778 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21779 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21780 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21781 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21782 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21783 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21784 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21785 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21786 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21787 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21788 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21789 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21790 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21791 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21792 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21793 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21794 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21795 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21796 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21797 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21798 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21799 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21800 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21801 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21802 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21803 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21804 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21805 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21806 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21807 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21808 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21809 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21810 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21811 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21812 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21813 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21814 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21815 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21816 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21817 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21818 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21819 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21820 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21821 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21822 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21823 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21824 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21825 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21826 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21827 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21828 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21829 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21830 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21831 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21832 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21833 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21834 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21835 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21836 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21837 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21838 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21839 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21840 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21841 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21842 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21843 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21844 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21845 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21846 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21847 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21848 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21849 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21850 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21851 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21852 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21853 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21854 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21855 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21856 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21857 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21858 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21859 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21860 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21861 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21862 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21863 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21864 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21865 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21866 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21867 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21868 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21869 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21870 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21871 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21872 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21873 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21874 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21875 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21876 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21877 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21878 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21879 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21880 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21881 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21882 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21883 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21884 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21885 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21886 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21887 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21888 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21889 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21890 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21891 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21892 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21893 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21894 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21895 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21896 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21897 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21898 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21899 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21900 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21901 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21902 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21903 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21904 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21905 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21906 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21907 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21908 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21909 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21910 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21911 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21912 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21913 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21914 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21915 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21916 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21917 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21918 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21919 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21920 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21921 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21922 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21923 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21924 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21925 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21926 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21927 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21928 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21929 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21930 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21931 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21932 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21933 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21934 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21935 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21936 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21937 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21938 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21939 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21940 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21941 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21942 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21943 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21944 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21945 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21946 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21947 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21948 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21949 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21950 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21951 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21952 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21953 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21954 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21955 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21956 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21957 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21958 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21959 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21960 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21961 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21962 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21963 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21964 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21965 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21966 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21967 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21968 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21969 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21970 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21971 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21972 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21973 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21974 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21975 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21976 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21977 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21978 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21979 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21980 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21981 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21982 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21983 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21984 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21985 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21986 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21987 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21988 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21990 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21991 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21992 { (exit 1); exit 1; }; };;
21993 esac
21994 done
21997 # If the user did not use the arguments to specify the items to instantiate,
21998 # then the envvar interface is used. Set only those that are not.
21999 # We use the long form for the default assignment because of an extremely
22000 # bizarre bug on SunOS 4.1.3.
22001 if $ac_need_defaults; then
22002 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22003 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22004 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22007 # Have a temporary directory for convenience. Make it in the build tree
22008 # simply because there is no reason against having it here, and in addition,
22009 # creating and moving files from /tmp can sometimes cause problems.
22010 # Hook for its removal unless debugging.
22011 # Note that there is a small window in which the directory will not be cleaned:
22012 # after its creation but before its name has been assigned to `$tmp'.
22013 $debug ||
22015 tmp=
22016 trap 'exit_status=$?
22017 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22019 trap '{ (exit 1); exit 1; }' 1 2 13 15
22021 # Create a (secure) tmp directory for tmp files.
22024 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22025 test -n "$tmp" && test -d "$tmp"
22026 } ||
22028 tmp=./conf$$-$RANDOM
22029 (umask 077 && mkdir "$tmp")
22030 } ||
22032 echo "$me: cannot create a temporary directory in ." >&2
22033 { (exit 1); exit 1; }
22037 # Set up the sed scripts for CONFIG_FILES section.
22040 # No need to generate the scripts if there are no CONFIG_FILES.
22041 # This happens for instance when ./config.status config.h
22042 if test -n "$CONFIG_FILES"; then
22044 _ACEOF
22046 # Create sed commands to just substitute file output variables.
22048 # Remaining file output variables are in a fragment that also has non-file
22049 # output varibles.
22053 ac_delim='%!_!# '
22054 for ac_last_try in false false false false false :; do
22055 cat >conf$$subs.sed <<_ACEOF
22056 SHELL!$SHELL$ac_delim
22057 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22058 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22059 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22060 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22061 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22062 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22063 exec_prefix!$exec_prefix$ac_delim
22064 prefix!$prefix$ac_delim
22065 program_transform_name!$program_transform_name$ac_delim
22066 bindir!$bindir$ac_delim
22067 sbindir!$sbindir$ac_delim
22068 libexecdir!$libexecdir$ac_delim
22069 datarootdir!$datarootdir$ac_delim
22070 datadir!$datadir$ac_delim
22071 sysconfdir!$sysconfdir$ac_delim
22072 sharedstatedir!$sharedstatedir$ac_delim
22073 localstatedir!$localstatedir$ac_delim
22074 includedir!$includedir$ac_delim
22075 oldincludedir!$oldincludedir$ac_delim
22076 docdir!$docdir$ac_delim
22077 infodir!$infodir$ac_delim
22078 htmldir!$htmldir$ac_delim
22079 dvidir!$dvidir$ac_delim
22080 pdfdir!$pdfdir$ac_delim
22081 psdir!$psdir$ac_delim
22082 libdir!$libdir$ac_delim
22083 localedir!$localedir$ac_delim
22084 mandir!$mandir$ac_delim
22085 DEFS!$DEFS$ac_delim
22086 ECHO_C!$ECHO_C$ac_delim
22087 ECHO_N!$ECHO_N$ac_delim
22088 ECHO_T!$ECHO_T$ac_delim
22089 LIBS!$LIBS$ac_delim
22090 build_alias!$build_alias$ac_delim
22091 host_alias!$host_alias$ac_delim
22092 target_alias!$target_alias$ac_delim
22093 build!$build$ac_delim
22094 build_cpu!$build_cpu$ac_delim
22095 build_vendor!$build_vendor$ac_delim
22096 build_os!$build_os$ac_delim
22097 host!$host$ac_delim
22098 host_cpu!$host_cpu$ac_delim
22099 host_vendor!$host_vendor$ac_delim
22100 host_os!$host_os$ac_delim
22101 WIN16_FILES!$WIN16_FILES$ac_delim
22102 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22103 SET_MAKE!$SET_MAKE$ac_delim
22104 CC!$CC$ac_delim
22105 CFLAGS!$CFLAGS$ac_delim
22106 LDFLAGS!$LDFLAGS$ac_delim
22107 CPPFLAGS!$CPPFLAGS$ac_delim
22108 ac_ct_CC!$ac_ct_CC$ac_delim
22109 EXEEXT!$EXEEXT$ac_delim
22110 OBJEXT!$OBJEXT$ac_delim
22111 CXX!$CXX$ac_delim
22112 CXXFLAGS!$CXXFLAGS$ac_delim
22113 ac_ct_CXX!$ac_ct_CXX$ac_delim
22114 CPPBIN!$CPPBIN$ac_delim
22115 TOOLSDIR!$TOOLSDIR$ac_delim
22116 XMKMF!$XMKMF$ac_delim
22117 CPP!$CPP$ac_delim
22118 X_CFLAGS!$X_CFLAGS$ac_delim
22119 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22120 X_LIBS!$X_LIBS$ac_delim
22121 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22122 FLEX!$FLEX$ac_delim
22123 BISON!$BISON$ac_delim
22124 AS!$AS$ac_delim
22125 ac_ct_AS!$ac_ct_AS$ac_delim
22126 LD!$LD$ac_delim
22127 AR!$AR$ac_delim
22128 RANLIB!$RANLIB$ac_delim
22129 STRIP!$STRIP$ac_delim
22130 WINDRES!$WINDRES$ac_delim
22131 LN_S!$LN_S$ac_delim
22132 LN!$LN$ac_delim
22133 GREP!$GREP$ac_delim
22134 EGREP!$EGREP$ac_delim
22135 LDCONFIG!$LDCONFIG$ac_delim
22136 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22137 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22138 _ACEOF
22140 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22141 break
22142 elif $ac_last_try; then
22143 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22144 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22145 { (exit 1); exit 1; }; }
22146 else
22147 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22149 done
22151 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22152 if test -n "$ac_eof"; then
22153 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22154 ac_eof=`expr $ac_eof + 1`
22157 cat >>$CONFIG_STATUS <<_ACEOF
22158 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22159 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22160 /^[ ]*@MAKE_RULES@[ ]*$/{
22161 r $MAKE_RULES
22164 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22165 r $MAKE_DLL_RULES
22168 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22169 r $MAKE_IMPLIB_RULES
22172 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22173 r $MAKE_TEST_RULES
22176 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22177 r $MAKE_PROG_RULES
22180 _ACEOF
22181 sed '
22182 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22183 s/^/s,@/; s/!/@,|#_!!_#|/
22186 s/'"$ac_delim"'$/,g/; t
22187 s/$/\\/; p
22188 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22189 ' >>$CONFIG_STATUS <conf$$subs.sed
22190 rm -f conf$$subs.sed
22191 cat >>$CONFIG_STATUS <<_ACEOF
22192 CEOF$ac_eof
22193 _ACEOF
22196 ac_delim='%!_!# '
22197 for ac_last_try in false false false false false :; do
22198 cat >conf$$subs.sed <<_ACEOF
22199 INSTALL_DATA!$INSTALL_DATA$ac_delim
22200 LINT!$LINT$ac_delim
22201 LINTFLAGS!$LINTFLAGS$ac_delim
22202 FONTFORGE!$FONTFORGE$ac_delim
22203 PKG_CONFIG!$PKG_CONFIG$ac_delim
22204 PRELINK!$PRELINK$ac_delim
22205 LIBPTHREAD!$LIBPTHREAD$ac_delim
22206 XLIB!$XLIB$ac_delim
22207 XFILES!$XFILES$ac_delim
22208 OPENGLFILES!$OPENGLFILES$ac_delim
22209 GLU32FILES!$GLU32FILES$ac_delim
22210 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22211 QUARTZFILES!$QUARTZFILES$ac_delim
22212 NASLIBS!$NASLIBS$ac_delim
22213 XML2LIBS!$XML2LIBS$ac_delim
22214 XML2INCL!$XML2INCL$ac_delim
22215 XSLTLIBS!$XSLTLIBS$ac_delim
22216 XSLTINCL!$XSLTINCL$ac_delim
22217 HALINCL!$HALINCL$ac_delim
22218 sane_devel!$sane_devel$ac_delim
22219 SANEINCL!$SANEINCL$ac_delim
22220 gphoto2_devel!$gphoto2_devel$ac_delim
22221 gphoto2port_devel!$gphoto2port_devel$ac_delim
22222 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22223 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22224 ICULIBS!$ICULIBS$ac_delim
22225 RESOLVLIBS!$RESOLVLIBS$ac_delim
22226 LCMSLIBS!$LCMSLIBS$ac_delim
22227 LDAPLIBS!$LDAPLIBS$ac_delim
22228 FREETYPELIBS!$FREETYPELIBS$ac_delim
22229 FREETYPEINCL!$FREETYPEINCL$ac_delim
22230 ft_devel!$ft_devel$ac_delim
22231 ft_devel2!$ft_devel2$ac_delim
22232 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22233 ESDCONFIG!$ESDCONFIG$ac_delim
22234 ESDLIBS!$ESDLIBS$ac_delim
22235 ESDINCL!$ESDINCL$ac_delim
22236 ALSALIBS!$ALSALIBS$ac_delim
22237 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22238 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22239 BUILTINFLAG!$BUILTINFLAG$ac_delim
22240 DLLEXT!$DLLEXT$ac_delim
22241 DLLFLAGS!$DLLFLAGS$ac_delim
22242 LDSHARED!$LDSHARED$ac_delim
22243 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22244 LIBEXT!$LIBEXT$ac_delim
22245 IMPLIBEXT!$IMPLIBEXT$ac_delim
22246 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22247 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22248 DLLTOOL!$DLLTOOL$ac_delim
22249 DLLWRAP!$DLLWRAP$ac_delim
22250 MINGWAR!$MINGWAR$ac_delim
22251 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22252 IOKITLIB!$IOKITLIB$ac_delim
22253 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22254 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22255 COREAUDIO!$COREAUDIO$ac_delim
22256 CARBONLIB!$CARBONLIB$ac_delim
22257 CROSSTEST!$CROSSTEST$ac_delim
22258 CROSSCC!$CROSSCC$ac_delim
22259 CROSSWINDRES!$CROSSWINDRES$ac_delim
22260 LDPATH!$LDPATH$ac_delim
22261 CRTLIBS!$CRTLIBS$ac_delim
22262 SOCKETLIBS!$SOCKETLIBS$ac_delim
22263 MAIN_BINARY!$MAIN_BINARY$ac_delim
22264 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22265 LDD!$LDD$ac_delim
22266 LIBDL!$LIBDL$ac_delim
22267 LIBPOLL!$LIBPOLL$ac_delim
22268 DEPENDENCIES!$DEPENDENCIES$ac_delim
22269 LIBOBJS!$LIBOBJS$ac_delim
22270 LTLIBOBJS!$LTLIBOBJS$ac_delim
22271 _ACEOF
22273 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22274 break
22275 elif $ac_last_try; then
22276 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22277 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22278 { (exit 1); exit 1; }; }
22279 else
22280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22282 done
22284 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22285 if test -n "$ac_eof"; then
22286 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22287 ac_eof=`expr $ac_eof + 1`
22290 cat >>$CONFIG_STATUS <<_ACEOF
22291 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22293 _ACEOF
22294 sed '
22295 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22296 s/^/s,@/; s/!/@,|#_!!_#|/
22299 s/'"$ac_delim"'$/,g/; t
22300 s/$/\\/; p
22301 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22302 ' >>$CONFIG_STATUS <conf$$subs.sed
22303 rm -f conf$$subs.sed
22304 cat >>$CONFIG_STATUS <<_ACEOF
22305 :end
22306 s/|#_!!_#|//g
22307 CEOF$ac_eof
22308 _ACEOF
22311 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22312 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22313 # trailing colons and then remove the whole line if VPATH becomes empty
22314 # (actually we leave an empty line to preserve line numbers).
22315 if test "x$srcdir" = x.; then
22316 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22317 s/:*\$(srcdir):*/:/
22318 s/:*\${srcdir}:*/:/
22319 s/:*@srcdir@:*/:/
22320 s/^\([^=]*=[ ]*\):*/\1/
22321 s/:*$//
22322 s/^[^=]*=[ ]*$//
22326 cat >>$CONFIG_STATUS <<\_ACEOF
22327 fi # test -n "$CONFIG_FILES"
22330 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22332 case $ac_tag in
22333 :[FHLC]) ac_mode=$ac_tag; continue;;
22334 esac
22335 case $ac_mode$ac_tag in
22336 :[FHL]*:*);;
22337 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22338 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22339 { (exit 1); exit 1; }; };;
22340 :[FH]-) ac_tag=-:-;;
22341 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22342 esac
22343 ac_save_IFS=$IFS
22344 IFS=:
22345 set x $ac_tag
22346 IFS=$ac_save_IFS
22347 shift
22348 ac_file=$1
22349 shift
22351 case $ac_mode in
22352 :L) ac_source=$1;;
22353 :[FH])
22354 ac_file_inputs=
22355 for ac_f
22357 case $ac_f in
22358 -) ac_f="$tmp/stdin";;
22359 *) # Look for the file first in the build tree, then in the source tree
22360 # (if the path is not absolute). The absolute path cannot be DOS-style,
22361 # because $ac_f cannot contain `:'.
22362 test -f "$ac_f" ||
22363 case $ac_f in
22364 [\\/$]*) false;;
22365 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22366 esac ||
22367 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22368 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22369 { (exit 1); exit 1; }; };;
22370 esac
22371 ac_file_inputs="$ac_file_inputs $ac_f"
22372 done
22374 # Let's still pretend it is `configure' which instantiates (i.e., don't
22375 # use $as_me), people would be surprised to read:
22376 # /* config.h. Generated by config.status. */
22377 configure_input="Generated from "`IFS=:
22378 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22379 if test x"$ac_file" != x-; then
22380 configure_input="$ac_file. $configure_input"
22381 { echo "$as_me:$LINENO: creating $ac_file" >&5
22382 echo "$as_me: creating $ac_file" >&6;}
22385 case $ac_tag in
22386 *:-:* | *:-) cat >"$tmp/stdin";;
22387 esac
22389 esac
22391 ac_dir=`$as_dirname -- "$ac_file" ||
22392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22393 X"$ac_file" : 'X\(//\)[^/]' \| \
22394 X"$ac_file" : 'X\(//\)$' \| \
22395 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22396 echo X"$ac_file" |
22397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22398 s//\1/
22401 /^X\(\/\/\)[^/].*/{
22402 s//\1/
22405 /^X\(\/\/\)$/{
22406 s//\1/
22409 /^X\(\/\).*/{
22410 s//\1/
22413 s/.*/./; q'`
22414 { as_dir="$ac_dir"
22415 case $as_dir in #(
22416 -*) as_dir=./$as_dir;;
22417 esac
22418 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22419 as_dirs=
22420 while :; do
22421 case $as_dir in #(
22422 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22423 *) as_qdir=$as_dir;;
22424 esac
22425 as_dirs="'$as_qdir' $as_dirs"
22426 as_dir=`$as_dirname -- "$as_dir" ||
22427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22428 X"$as_dir" : 'X\(//\)[^/]' \| \
22429 X"$as_dir" : 'X\(//\)$' \| \
22430 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22431 echo X"$as_dir" |
22432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22433 s//\1/
22436 /^X\(\/\/\)[^/].*/{
22437 s//\1/
22440 /^X\(\/\/\)$/{
22441 s//\1/
22444 /^X\(\/\).*/{
22445 s//\1/
22448 s/.*/./; q'`
22449 test -d "$as_dir" && break
22450 done
22451 test -z "$as_dirs" || eval "mkdir $as_dirs"
22452 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22453 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22454 { (exit 1); exit 1; }; }; }
22455 ac_builddir=.
22457 case "$ac_dir" in
22458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22460 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22461 # A ".." for each directory in $ac_dir_suffix.
22462 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22463 case $ac_top_builddir_sub in
22464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22466 esac ;;
22467 esac
22468 ac_abs_top_builddir=$ac_pwd
22469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22470 # for backward compatibility:
22471 ac_top_builddir=$ac_top_build_prefix
22473 case $srcdir in
22474 .) # We are building in place.
22475 ac_srcdir=.
22476 ac_top_srcdir=$ac_top_builddir_sub
22477 ac_abs_top_srcdir=$ac_pwd ;;
22478 [\\/]* | ?:[\\/]* ) # Absolute name.
22479 ac_srcdir=$srcdir$ac_dir_suffix;
22480 ac_top_srcdir=$srcdir
22481 ac_abs_top_srcdir=$srcdir ;;
22482 *) # Relative name.
22483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22484 ac_top_srcdir=$ac_top_build_prefix$srcdir
22485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22486 esac
22487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22490 case $ac_mode in
22493 # CONFIG_FILE
22496 case $INSTALL in
22497 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22498 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22499 esac
22500 _ACEOF
22502 cat >>$CONFIG_STATUS <<\_ACEOF
22503 # If the template does not know about datarootdir, expand it.
22504 # FIXME: This hack should be removed a few years after 2.60.
22505 ac_datarootdir_hack=; ac_datarootdir_seen=
22507 case `sed -n '/datarootdir/ {
22511 /@datadir@/p
22512 /@docdir@/p
22513 /@infodir@/p
22514 /@localedir@/p
22515 /@mandir@/p
22516 ' $ac_file_inputs` in
22517 *datarootdir*) ac_datarootdir_seen=yes;;
22518 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22519 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22520 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22521 _ACEOF
22522 cat >>$CONFIG_STATUS <<_ACEOF
22523 ac_datarootdir_hack='
22524 s&@datadir@&$datadir&g
22525 s&@docdir@&$docdir&g
22526 s&@infodir@&$infodir&g
22527 s&@localedir@&$localedir&g
22528 s&@mandir@&$mandir&g
22529 s&\\\${datarootdir}&$datarootdir&g' ;;
22530 esac
22531 _ACEOF
22533 # Neutralize VPATH when `$srcdir' = `.'.
22534 # Shell code in configure.ac might set extrasub.
22535 # FIXME: do we really want to maintain this feature?
22536 cat >>$CONFIG_STATUS <<_ACEOF
22537 sed "$ac_vpsub
22538 $extrasub
22539 _ACEOF
22540 cat >>$CONFIG_STATUS <<\_ACEOF
22542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22543 s&@configure_input@&$configure_input&;t t
22544 s&@top_builddir@&$ac_top_builddir_sub&;t t
22545 s&@srcdir@&$ac_srcdir&;t t
22546 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22547 s&@top_srcdir@&$ac_top_srcdir&;t t
22548 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22549 s&@builddir@&$ac_builddir&;t t
22550 s&@abs_builddir@&$ac_abs_builddir&;t t
22551 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22552 s&@INSTALL@&$ac_INSTALL&;t t
22553 $ac_datarootdir_hack
22554 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22556 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22557 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22558 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22559 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22560 which seems to be undefined. Please make sure it is defined." >&5
22561 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22562 which seems to be undefined. Please make sure it is defined." >&2;}
22564 rm -f "$tmp/stdin"
22565 case $ac_file in
22566 -) cat "$tmp/out"; rm -f "$tmp/out";;
22567 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22568 esac
22572 # CONFIG_HEADER
22574 _ACEOF
22576 # Transform confdefs.h into a sed script `conftest.defines', that
22577 # substitutes the proper values into config.h.in to produce config.h.
22578 rm -f conftest.defines conftest.tail
22579 # First, append a space to every undef/define line, to ease matching.
22580 echo 's/$/ /' >conftest.defines
22581 # Then, protect against being on the right side of a sed subst, or in
22582 # an unquoted here document, in config.status. If some macros were
22583 # called several times there might be several #defines for the same
22584 # symbol, which is useless. But do not sort them, since the last
22585 # AC_DEFINE must be honored.
22586 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22587 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22588 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22589 # PARAMS is the parameter list in the macro definition--in most cases, it's
22590 # just an empty string.
22591 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22592 ac_dB='\\)[ (].*,\\1define\\2'
22593 ac_dC=' '
22594 ac_dD=' ,'
22596 uniq confdefs.h |
22597 sed -n '
22598 t rset
22599 :rset
22600 s/^[ ]*#[ ]*define[ ][ ]*//
22601 t ok
22604 s/[\\&,]/\\&/g
22605 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22606 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22607 ' >>conftest.defines
22609 # Remove the space that was appended to ease matching.
22610 # Then replace #undef with comments. This is necessary, for
22611 # example, in the case of _POSIX_SOURCE, which is predefined and required
22612 # on some systems where configure will not decide to define it.
22613 # (The regexp can be short, since the line contains either #define or #undef.)
22614 echo 's/ $//
22615 s,^[ #]*u.*,/* & */,' >>conftest.defines
22617 # Break up conftest.defines:
22618 ac_max_sed_lines=50
22620 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22621 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22622 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22623 # et cetera.
22624 ac_in='$ac_file_inputs'
22625 ac_out='"$tmp/out1"'
22626 ac_nxt='"$tmp/out2"'
22628 while :
22630 # Write a here document:
22631 cat >>$CONFIG_STATUS <<_ACEOF
22632 # First, check the format of the line:
22633 cat >"\$tmp/defines.sed" <<\\CEOF
22634 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22635 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22637 :def
22638 _ACEOF
22639 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22640 echo 'CEOF
22641 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22642 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22643 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22644 grep . conftest.tail >/dev/null || break
22645 rm -f conftest.defines
22646 mv conftest.tail conftest.defines
22647 done
22648 rm -f conftest.defines conftest.tail
22650 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22651 cat >>$CONFIG_STATUS <<\_ACEOF
22652 if test x"$ac_file" != x-; then
22653 echo "/* $configure_input */" >"$tmp/config.h"
22654 cat "$ac_result" >>"$tmp/config.h"
22655 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22656 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22657 echo "$as_me: $ac_file is unchanged" >&6;}
22658 else
22659 rm -f $ac_file
22660 mv "$tmp/config.h" $ac_file
22662 else
22663 echo "/* $configure_input */"
22664 cat "$ac_result"
22666 rm -f "$tmp/out12"
22669 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22670 echo "$as_me: executing $ac_file commands" >&6;}
22672 esac
22675 case $ac_file$ac_mode in
22676 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22677 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22678 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22679 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22680 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22681 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22682 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22683 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22684 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22685 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22686 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22687 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22688 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22690 esac
22691 done # for ac_tag
22694 { (exit 0); exit 0; }
22695 _ACEOF
22696 chmod +x $CONFIG_STATUS
22697 ac_clean_files=$ac_clean_files_save
22700 # configure is writing to config.log, and then calls config.status.
22701 # config.status does its own redirection, appending to config.log.
22702 # Unfortunately, on DOS this fails, as config.log is still kept open
22703 # by configure, so config.status won't be able to write to it; its
22704 # output is simply discarded. So we exec the FD to /dev/null,
22705 # effectively closing config.log, so it can be properly (re)opened and
22706 # appended to by config.status. When coming back to configure, we
22707 # need to make the FD available again.
22708 if test "$no_create" != yes; then
22709 ac_cs_success=:
22710 ac_config_status_args=
22711 test "$silent" = yes &&
22712 ac_config_status_args="$ac_config_status_args --quiet"
22713 exec 5>/dev/null
22714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22715 exec 5>>config.log
22716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22717 # would make configure fail if this is the last instruction.
22718 $ac_cs_success || { (exit 1); exit 1; }
22723 if test "$no_create" = "yes"
22724 then
22725 exit 0
22728 if test "$verbose" = "yes"
22729 then
22730 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22731 then
22732 echo >&2
22733 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22734 echo "$as_me: libcapi20 development files not found." >&6;}
22735 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22736 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22739 if test "$ac_cv_header_cups_cups_h" != "yes"
22740 then
22741 echo >&2
22742 { echo "$as_me:$LINENO: libcups development files not found." >&5
22743 echo "$as_me: libcups development files not found." >&6;}
22744 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22745 echo "$as_me: Wine will be built without CUPS support." >&6;}
22749 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22750 then
22751 echo >&2
22752 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22753 echo "$as_me: libgphoto2 development files not found." >&6;}
22754 if test "$ac_cv_header_sane_sane_h" = "yes"
22755 then
22756 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22757 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22758 else
22759 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22760 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22764 if test "$ac_cv_header_hal_libhal_h" != "yes"
22765 then
22766 echo >&2
22767 { echo "$as_me:$LINENO: libhal development files not found." >&5
22768 echo "$as_me: libhal development files not found." >&6;}
22769 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22770 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22773 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22774 then
22775 echo >&2
22776 { echo "$as_me:$LINENO: libicu development files not found." >&5
22777 echo "$as_me: libicu development files not found." >&6;}
22778 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22779 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22782 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22783 then
22784 echo >&2
22785 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22786 echo "$as_me: liblcms development files not found." >&6;}
22787 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22788 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22791 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22792 then
22793 echo >&2
22794 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22795 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22796 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22797 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22800 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22801 then
22802 echo >&2
22803 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22804 echo "$as_me: lib(n)curses development files not found." >&6;}
22805 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22806 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22809 if test "$ac_cv_header_sane_sane_h" != "yes"
22810 then
22811 echo >&2
22812 { echo "$as_me:$LINENO: libsane development files not found." >&5
22813 echo "$as_me: libsane development files not found." >&6;}
22814 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22815 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22818 if test "$have_x" = "yes"
22819 then
22820 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22821 then
22822 echo >&2
22823 { echo "$as_me:$LINENO: libxext development files not found." >&5
22824 echo "$as_me: libxext development files not found." >&6;}
22825 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22826 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22829 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22830 then
22831 echo >&2
22832 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22833 echo "$as_me: libXrandr development files not found." >&6;}
22834 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22835 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22838 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22839 then
22840 echo >&2
22841 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22842 echo "$as_me: libXrender development files not found." >&6;}
22843 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22844 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22847 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22848 then
22849 echo >&2
22850 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22851 echo "$as_me: libXxf86vm development files not found." >&6;}
22852 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22853 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22857 if test "$ac_cv_header_libxml_parser_h" != "yes"
22858 then
22859 echo >&2
22860 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22861 echo "$as_me: libxml2 development files not found." >&6;}
22862 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22863 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22866 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22867 then
22868 echo >&2
22869 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22870 echo "$as_me: libxslt development files not found." >&6;}
22871 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22872 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22877 if test "$have_x" = "no"
22878 then
22879 echo >&2
22880 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22881 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22882 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22883 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22884 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22885 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22886 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22887 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22890 if test -z "$OPENGLFILES"
22891 then
22892 echo >&2
22893 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22894 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22895 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22896 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22897 if test "$wine_cv_opengl_headers_found" = "no"
22898 then
22899 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22900 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22902 if test "$wine_cv_opengl_header_version_OK" = "no"
22903 then
22904 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22905 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22906 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22907 then
22908 if test -f /usr/X11R6/lib/libGL.a
22909 then
22910 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22911 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22912 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22913 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22914 else
22915 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22916 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22921 if test "$wine_cv_msg_freetype" = "yes"
22922 then
22923 echo >&2
22924 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22925 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22926 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22927 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22928 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22929 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22930 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22931 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22934 if test -z "$FONTSSUBDIRS"
22935 then
22936 echo >&2
22937 if test "$FONTFORGE" = "false"
22938 then
22939 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22940 echo "$as_me: WARNING: FontForge is missing." >&2;}
22941 else
22942 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22943 echo "$as_me: WARNING: FreeType is missing." >&2;}
22945 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22946 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22949 if test -z "$ALSALIBS" -a \
22950 -z "$AUDIOIOLIBS" -a \
22951 -z "$NASLIBS" -a \
22952 -z "$ESD_LIBS" -a \
22953 -z "$ac_cv_lib_soname_jack" -a \
22954 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22955 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22956 "$ac_cv_header_soundcard_h" != "yes"
22957 then
22958 echo >&2
22959 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22960 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22961 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22962 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22963 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22964 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22967 echo
22968 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22969 echo