push 46d7c5ab81dbd26521afad86048775d05a228dc3
[wine/hacks.git] / configure
blob546541e9bc1593968454259894d51eb782397252
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.36.
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.36'
578 PACKAGE_STRING='Wine 0.9.36'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 NASLIBS
716 XML2LIBS
717 XML2INCL
718 XSLTLIBS
719 XSLTINCL
720 HALINCL
721 sane_devel
722 SANEINCL
723 gphoto2_devel
724 gphoto2port_devel
725 GPHOTO2LIBS
726 GPHOTO2INCL
727 ICULIBS
728 RESOLVLIBS
729 LCMSLIBS
730 LDAPLIBS
731 FREETYPELIBS
732 FREETYPEINCL
733 ft_devel
734 ft_devel2
735 FONTSSUBDIRS
736 ESDCONFIG
737 ESDLIBS
738 ESDINCL
739 ALSALIBS
740 AUDIOIOLIBS
741 EXTRACFLAGS
742 BUILTINFLAG
743 DLLEXT
744 DLLFLAGS
745 LDSHARED
746 LDDLLFLAGS
747 LIBEXT
748 IMPLIBEXT
749 LIBWINE_LDFLAGS
750 DLLTOOL
751 DLLWRAP
752 MINGWAR
753 COREFOUNDATIONLIB
754 IOKITLIB
755 LDEXECFLAGS
756 DISKARBITRATIONLIB
757 COREAUDIO
758 CARBONLIB
759 CROSSTEST
760 CROSSCC
761 CROSSWINDRES
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
768 LIBDL
769 LIBPOLL
770 DEPENDENCIES
771 LIBOBJS
772 LTLIBOBJS'
773 ac_subst_files='MAKE_RULES
774 MAKE_DLL_RULES
775 MAKE_IMPLIB_RULES
776 MAKE_TEST_RULES
777 MAKE_PROG_RULES'
778 ac_precious_vars='build_alias
779 host_alias
780 target_alias
782 CFLAGS
783 LDFLAGS
784 LIBS
785 CPPFLAGS
787 CXXFLAGS
789 XMKMF
790 CPP'
793 # Initialize some variables set by options.
794 ac_init_help=
795 ac_init_version=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
839 ac_prev=
840 ac_dashdash=
841 for ac_option
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
846 ac_prev=
847 continue
850 case $ac_option in
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 *) ac_optarg=yes ;;
853 esac
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
859 ac_dashdash=yes ;;
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
878 --config-cache | -C)
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_$ac_feature=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
903 ac_prev=docdir ;;
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 docdir=$ac_optarg ;;
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 ac_prev=dvidir ;;
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 dvidir=$ac_optarg ;;
912 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
932 with_gas=yes ;;
934 -help | --help | --hel | --he | -h)
935 ac_init_help=long ;;
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 ac_prev=htmldir ;;
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 | --ht=*)
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 ac_prev=infodir ;;
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
965 ac_prev=libdir ;;
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 libdir=$ac_optarg ;;
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
977 ac_prev=localedir ;;
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 ac_prev=mandir ;;
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 mandir=$ac_optarg ;;
993 -nfp | --nfp | --nf)
994 # Obsolete; use --without-fp.
995 with_fp=no ;;
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
999 no_create=yes ;;
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 no_recursion=yes ;;
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 ac_prev=prefix ;;
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 ac_prev=pdfdir ;;
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1056 ac_prev=psdir ;;
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 psdir=$ac_optarg ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 silent=yes ;;
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 ac_prev=sbindir ;;
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 | --sbi=* | --sb=*)
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1073 | --sha | --sh)
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 | --sha=* | --sh=*)
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1082 ac_prev=site ;;
1083 -site=* | --site=* | --sit=*)
1084 site=$ac_optarg ;;
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 ac_prev=srcdir ;;
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 verbose=yes ;;
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1109 -with-* | --with-*)
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=no ;;
1127 --x)
1128 # Obsolete; use --with-x.
1129 with_x=yes ;;
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1150 *=*)
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 esac
1168 done
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1189 done
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1194 build=$build_alias
1195 host=$host_alias
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes
1209 ac_tool_prefix=
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 echo X"$0" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/
1239 /^X\(\/\/\)[^/].*/{
1240 s//\1/
1243 /^X\(\/\/\)$/{
1244 s//\1/
1247 /^X\(\/\).*/{
1248 s//\1/
1251 s/.*/./; q'`
1252 srcdir=$ac_confdir
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 srcdir=..
1256 else
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1268 pwd)`
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 srcdir=.
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1276 case $srcdir in
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 esac
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284 done
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1292 cat <<_ACEOF
1293 \`configure' configures Wine 0.9.36 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1302 Configuration:
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 [PREFIX]
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1346 _ACEOF
1348 cat <<\_ACEOF
1350 X features:
1351 --x-includes=DIR X include files are in DIR
1352 --x-libraries=DIR X library files are in DIR
1354 System types:
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1357 _ACEOF
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of Wine 0.9.36:";;
1363 esac
1364 cat <<\_ACEOF
1366 Optional Features:
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1371 binaries)
1372 --disable-tests do not build the testsuites
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 CPP C preprocessor
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 Wine configure 0.9.36
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.36, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1828 ac_aux_dir=
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 break
1834 elif test -f "$ac_dir/install.sh"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 break
1838 elif test -f "$ac_dir/shtool"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 break
1843 done
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 else
1901 ac_build_alias=$build_alias
1902 test "x$ac_build_alias" = x &&
1903 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x &&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1917 *-*-*) ;;
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1921 esac
1922 build=$ac_cv_build
1923 ac_save_IFS=$IFS; IFS='-'
1924 set x $ac_cv_build
1925 shift
1926 build_cpu=$1
1927 build_vendor=$2
1928 shift; shift
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1931 build_os=$*
1932 IFS=$ac_save_IFS
1933 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 if test "x$host_alias" = x; then
1942 ac_cv_host=$ac_cv_build
1943 else
1944 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1953 case $ac_cv_host in
1954 *-*-*) ;;
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1958 esac
1959 host=$ac_cv_host
1960 ac_save_IFS=$IFS; IFS='-'
1961 set x $ac_cv_host
1962 shift
1963 host_cpu=$1
1964 host_vendor=$2
1965 shift; shift
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1968 host_os=$*
1969 IFS=$ac_save_IFS
1970 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1973 case $host in
1974 x86_64*linux*)
1975 if test "x$enable_win64" != "xyes"
1976 then
1977 test -n "$CC" || CC="gcc -m32"
1978 test -n "$LD" || LD="ld -m elf_i386"
1979 test -n "$AS" || AS="as --32"
1980 host_cpu="i386"
1983 esac
1985 case $host_cpu in
1986 *i[3456789]86*)
1987 if test "x$enable_win16" != "xno"
1988 then
1989 enable_win16="yes"
1992 esac
1994 WIN16_FILES="\$(WIN16_FILES)"
1996 WIN16_INSTALL="\$(WIN16_INSTALL)"
1998 if test "x$enable_win16" != "xyes"
1999 then
2000 WIN16_FILES=""
2001 WIN16_INSTALL=""
2004 if test "x$enable_tests" == "xno"
2005 then
2006 TESTSUBDIRS=""
2008 WINETEST=""
2010 else
2011 TESTSUBDIRS="\$(TESTSUBDIRS)"
2013 WINETEST="winetest"
2017 case "$srcdir" in
2018 .) ;;
2019 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2020 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2021 You need to run 'make distclean' in the source tree first." >&5
2022 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&2;}
2024 { (exit 1); exit 1; }; }
2025 fi ;;
2026 esac
2029 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 cat >conftest.make <<\_ACEOF
2036 SHELL = /bin/sh
2037 all:
2038 @echo '@@@%%%=$(MAKE)=@@@%%%'
2039 _ACEOF
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2042 *@@@%%%=?*=@@@%%%*)
2043 eval ac_cv_prog_make_${ac_make}_set=yes;;
2045 eval ac_cv_prog_make_${ac_make}_set=no;;
2046 esac
2047 rm -f conftest.make
2049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2050 { echo "$as_me:$LINENO: result: yes" >&5
2051 echo "${ECHO_T}yes" >&6; }
2052 SET_MAKE=
2053 else
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2056 SET_MAKE="MAKE=${MAKE-make}"
2059 ac_ext=c
2060 ac_cpp='$CPP $CPPFLAGS'
2061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2096 else
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_CC"; then
2104 ac_ct_CC=$CC
2105 # Extract the first word of "gcc", so it can be a program name with args.
2106 set dummy gcc; ac_word=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112 if test -n "$ac_ct_CC"; then
2113 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2118 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_CC="gcc"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2126 done
2127 done
2128 IFS=$as_save_IFS
2132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6; }
2136 else
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_CC" = x; then
2142 CC=""
2143 else
2144 case $cross_compiling:$ac_tool_warned in
2145 yes:)
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned=yes ;;
2153 esac
2154 CC=$ac_ct_CC
2156 else
2157 CC="$ac_cv_prog_CC"
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy ${ac_tool_prefix}cc; ac_word=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC="${ac_tool_prefix}cc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 break 2
2183 done
2184 done
2185 IFS=$as_save_IFS
2189 CC=$ac_cv_prog_CC
2190 if test -n "$CC"; then
2191 { echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6; }
2193 else
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected=yes
2222 continue
2224 ac_cv_prog_CC="cc"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2228 done
2229 done
2230 IFS=$as_save_IFS
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy $ac_cv_prog_CC
2235 shift
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2240 shift
2241 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2246 CC=$ac_cv_prog_CC
2247 if test -n "$CC"; then
2248 { echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6; }
2250 else
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 else
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 break 2
2282 done
2283 done
2284 IFS=$as_save_IFS
2288 CC=$ac_cv_prog_CC
2289 if test -n "$CC"; then
2290 { echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6; }
2292 else
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$CC" && break
2299 done
2301 if test -z "$CC"; then
2302 ac_ct_CC=$CC
2303 for ac_prog in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy $ac_prog; ac_word=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 else
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2314 else
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 for as_dir in $PATH
2318 IFS=$as_save_IFS
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 break 2
2326 done
2327 done
2328 IFS=$as_save_IFS
2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2335 echo "${ECHO_T}$ac_ct_CC" >&6; }
2336 else
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$ac_ct_CC" && break
2343 done
2345 if test "x$ac_ct_CC" = x; then
2346 CC=""
2347 else
2348 case $cross_compiling:$ac_tool_warned in
2349 yes:)
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned=yes ;;
2357 esac
2358 CC=$ac_ct_CC
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO: checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (ac_try="$ac_compiler --version >&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 --version >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (ac_try="$ac_compiler -v >&5"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compiler -v >&5") 2>&5
2391 ac_status=$?
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2394 { (ac_try="$ac_compiler -V >&5"
2395 case "(($ac_try" in
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2398 esac
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler -V >&5") 2>&5
2401 ac_status=$?
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2405 cat >conftest.$ac_ext <<_ACEOF
2406 /* confdefs.h. */
2407 _ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2413 main ()
2417 return 0;
2419 _ACEOF
2420 ac_clean_files_save=$ac_clean_files
2421 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2422 # Try to create an executable without -o first, disregard a.out.
2423 # It will help us diagnose broken compilers, and finding out an intuition
2424 # of exeext.
2425 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2426 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2427 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2429 # List of possible output files, starting from the most likely.
2430 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2431 # only as a last resort. b.out is created by i960 compilers.
2432 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2434 # The IRIX 6 linker writes into existing files which may not be
2435 # executable, retaining their permissions. Remove them first so a
2436 # subsequent execution test works.
2437 ac_rmfiles=
2438 for ac_file in $ac_files
2440 case $ac_file in
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2443 esac
2444 done
2445 rm -f $ac_rmfiles
2447 if { (ac_try="$ac_link_default"
2448 case "(($ac_try" in
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2451 esac
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_link_default") 2>&5
2454 ac_status=$?
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2461 # Autoconf.
2462 for ac_file in $ac_files ''
2464 test -f "$ac_file" || continue
2465 case $ac_file in
2466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474 then :; else
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2481 # actually working.
2482 break;;
2484 break;;
2485 esac
2486 done
2487 test "$ac_cv_exeext" = no && ac_cv_exeext=
2489 else
2490 ac_file=''
2493 { echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&2;}
2503 { (exit 77); exit 77; }; }
2506 ac_exeext=$ac_cv_exeext
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2511 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2513 # If not cross compiling, check that we can run a simple program.
2514 if test "$cross_compiling" != yes; then
2515 if { ac_try='./$ac_file'
2516 { (case "(($ac_try" in
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2519 esac
2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_try") 2>&5
2522 ac_status=$?
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2525 cross_compiling=no
2526 else
2527 if test "$cross_compiling" = maybe; then
2528 cross_compiling=yes
2529 else
2530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2531 If you meant to cross compile, use \`--host'.
2532 See \`config.log' for more details." >&5
2533 echo "$as_me: error: cannot run C compiled programs.
2534 If you meant to cross compile, use \`--host'.
2535 See \`config.log' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2540 { echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6; }
2543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2544 ac_clean_files=$ac_clean_files_save
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2549 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2550 echo "${ECHO_T}$cross_compiling" >&6; }
2552 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2554 if { (ac_try="$ac_link"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_link") 2>&5
2561 ac_status=$?
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2565 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2566 # work properly (i.e., refer to `conftest.exe'), while it won't with
2567 # `rm'.
2568 for ac_file in conftest.exe conftest conftest.*; do
2569 test -f "$ac_file" || continue
2570 case $ac_file in
2571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2572 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2573 break;;
2574 * ) break;;
2575 esac
2576 done
2577 else
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest$ac_cv_exeext
2586 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2589 rm -f conftest.$ac_ext
2590 EXEEXT=$ac_cv_exeext
2591 ac_exeext=$EXEEXT
2592 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2593 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2594 if test "${ac_cv_objext+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 else
2597 cat >conftest.$ac_ext <<_ACEOF
2598 /* confdefs.h. */
2599 _ACEOF
2600 cat confdefs.h >>conftest.$ac_ext
2601 cat >>conftest.$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2605 main ()
2609 return 0;
2611 _ACEOF
2612 rm -f conftest.o conftest.obj
2613 if { (ac_try="$ac_compile"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compile") 2>&5
2620 ac_status=$?
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; then
2623 for ac_file in conftest.o conftest.obj conftest.*; do
2624 test -f "$ac_file" || continue;
2625 case $ac_file in
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2628 break;;
2629 esac
2630 done
2631 else
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2636 See \`config.log' for more details." >&5
2637 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details." >&2;}
2639 { (exit 1); exit 1; }; }
2642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2644 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2645 echo "${ECHO_T}$ac_cv_objext" >&6; }
2646 OBJEXT=$ac_cv_objext
2647 ac_objext=$OBJEXT
2648 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2649 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 else
2653 cat >conftest.$ac_ext <<_ACEOF
2654 /* confdefs.h. */
2655 _ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2661 main ()
2663 #ifndef __GNUC__
2664 choke me
2665 #endif
2668 return 0;
2670 _ACEOF
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2679 ac_status=$?
2680 grep -v '^ *+' conftest.er1 >conftest.err
2681 rm -f conftest.er1
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2688 ac_compiler_gnu=yes
2689 else
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2693 ac_compiler_gnu=no
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2701 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2702 GCC=`test $ac_compiler_gnu = yes && echo yes`
2703 ac_test_CFLAGS=${CFLAGS+set}
2704 ac_save_CFLAGS=$CFLAGS
2705 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 else
2710 ac_save_c_werror_flag=$ac_c_werror_flag
2711 ac_c_werror_flag=yes
2712 ac_cv_prog_cc_g=no
2713 CFLAGS="-g"
2714 cat >conftest.$ac_ext <<_ACEOF
2715 /* confdefs.h. */
2716 _ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2722 main ()
2726 return 0;
2728 _ACEOF
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2737 ac_status=$?
2738 grep -v '^ *+' conftest.er1 >conftest.err
2739 rm -f conftest.er1
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 CFLAGS=""
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2775 ac_status=$?
2776 grep -v '^ *+' conftest.er1 >conftest.err
2777 rm -f conftest.er1
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then
2785 else
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_c_werror_flag=$ac_save_c_werror_flag
2790 CFLAGS="-g"
2791 cat >conftest.$ac_ext <<_ACEOF
2792 /* confdefs.h. */
2793 _ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2799 main ()
2803 return 0;
2805 _ACEOF
2806 rm -f conftest.$ac_objext
2807 if { (ac_try="$ac_compile"
2808 case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compile") 2>conftest.er1
2814 ac_status=$?
2815 grep -v '^ *+' conftest.er1 >conftest.err
2816 rm -f conftest.er1
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then
2823 ac_cv_prog_cc_g=yes
2824 else
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2846 CFLAGS="-g -O2"
2847 else
2848 CFLAGS="-g"
2850 else
2851 if test "$GCC" = yes; then
2852 CFLAGS="-O2"
2853 else
2854 CFLAGS=
2857 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2858 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 ac_cv_prog_cc_c89=no
2863 ac_save_CC=$CC
2864 cat >conftest.$ac_ext <<_ACEOF
2865 /* confdefs.h. */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2870 #include <stdarg.h>
2871 #include <stdio.h>
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2878 char **p;
2879 int i;
2881 return p[i];
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2885 char *s;
2886 va_list v;
2887 va_start (v,p);
2888 s = g (p, va_arg (v,int));
2889 va_end (v);
2890 return s;
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2894 function prototypes and stuff, but not '\xHH' hex character constants.
2895 These don't provoke an error unfortunately, instead are silently treated
2896 as 'x'. The following induces an error, until -std is added to get
2897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2898 array size at least. It's necessary to write '\x00'==0 to get something
2899 that's true only with -std. */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903 inside strings and character constants. */
2904 #define FOO(x) 'x'
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2911 int argc;
2912 char **argv;
2914 main ()
2916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2918 return 0;
2920 _ACEOF
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2924 CC="$ac_save_CC $ac_arg"
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2933 ac_status=$?
2934 grep -v '^ *+' conftest.er1 >conftest.err
2935 rm -f conftest.er1
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2942 ac_cv_prog_cc_c89=$ac_arg
2943 else
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x$ac_cv_prog_cc_c89" != "xno" && break
2952 done
2953 rm -f conftest.$ac_ext
2954 CC=$ac_save_CC
2957 # AC_CACHE_VAL
2958 case "x$ac_cv_prog_cc_c89" in
2960 { echo "$as_me:$LINENO: result: none needed" >&5
2961 echo "${ECHO_T}none needed" >&6; } ;;
2962 xno)
2963 { echo "$as_me:$LINENO: result: unsupported" >&5
2964 echo "${ECHO_T}unsupported" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2969 esac
2972 ac_ext=c
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2978 ac_ext=cpp
2979 ac_cpp='$CXXCPP $CPPFLAGS'
2980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2983 if test -z "$CXX"; then
2984 if test -n "$CCC"; then
2985 CXX=$CCC
2986 else
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CXX+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 else
2997 if test -n "$CXX"; then
2998 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 break 2
3011 done
3012 done
3013 IFS=$as_save_IFS
3017 CXX=$ac_cv_prog_CXX
3018 if test -n "$CXX"; then
3019 { echo "$as_me:$LINENO: result: $CXX" >&5
3020 echo "${ECHO_T}$CXX" >&6; }
3021 else
3022 { echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6; }
3027 test -n "$CXX" && break
3028 done
3030 if test -z "$CXX"; then
3031 ac_ct_CXX=$CXX
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 else
3041 if test -n "$ac_ct_CXX"; then
3042 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3043 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH
3047 IFS=$as_save_IFS
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CXX="$ac_prog"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 break 2
3055 done
3056 done
3057 IFS=$as_save_IFS
3061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3062 if test -n "$ac_ct_CXX"; then
3063 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3064 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3065 else
3066 { echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6; }
3071 test -n "$ac_ct_CXX" && break
3072 done
3074 if test "x$ac_ct_CXX" = x; then
3075 CXX="g++"
3076 else
3077 case $cross_compiling:$ac_tool_warned in
3078 yes:)
3079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3080 whose name does not start with the host triplet. If you think this
3081 configuration is useful to you, please write to autoconf@gnu.org." >&5
3082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3083 whose name does not start with the host triplet. If you think this
3084 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3085 ac_tool_warned=yes ;;
3086 esac
3087 CXX=$ac_ct_CXX
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3095 ac_compiler=`set X $ac_compile; echo $2`
3096 { (ac_try="$ac_compiler --version >&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 --version >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3106 { (ac_try="$ac_compiler -v >&5"
3107 case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3110 esac
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compiler -v >&5") 2>&5
3113 ac_status=$?
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }
3116 { (ac_try="$ac_compiler -V >&5"
3117 case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compiler -V >&5") 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3127 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3128 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3129 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 else
3132 cat >conftest.$ac_ext <<_ACEOF
3133 /* confdefs.h. */
3134 _ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3140 main ()
3142 #ifndef __GNUC__
3143 choke me
3144 #endif
3147 return 0;
3149 _ACEOF
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_compiler_gnu=yes
3168 else
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 ac_compiler_gnu=no
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3179 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3180 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3181 GXX=`test $ac_compiler_gnu = yes && echo yes`
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3185 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3191 ac_cv_prog_cxx_g=no
3192 CXXFLAGS="-g"
3193 cat >conftest.$ac_ext <<_ACEOF
3194 /* confdefs.h. */
3195 _ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3201 main ()
3205 return 0;
3207 _ACEOF
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3210 case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3213 esac
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3216 ac_status=$?
3217 grep -v '^ *+' conftest.er1 >conftest.err
3218 rm -f conftest.er1
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_cxx_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3225 ac_cv_prog_cxx_g=yes
3226 else
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 CXXFLAGS=""
3231 cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3239 main ()
3243 return 0;
3245 _ACEOF
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3248 case "(($ac_try" in
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3251 esac
3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_cxx_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest.$ac_objext; then
3264 else
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3269 CXXFLAGS="-g"
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3278 main ()
3282 return 0;
3284 _ACEOF
3285 rm -f conftest.$ac_objext
3286 if { (ac_try="$ac_compile"
3287 case "(($ac_try" in
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3290 esac
3291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_cxx_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cxx_g=yes
3303 else
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3319 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3320 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3321 if test "$ac_test_CXXFLAGS" = set; then
3322 CXXFLAGS=$ac_save_CXXFLAGS
3323 elif test $ac_cv_prog_cxx_g = yes; then
3324 if test "$GXX" = yes; then
3325 CXXFLAGS="-g -O2"
3326 else
3327 CXXFLAGS="-g"
3329 else
3330 if test "$GXX" = yes; then
3331 CXXFLAGS="-O2"
3332 else
3333 CXXFLAGS=
3336 ac_ext=c
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3347 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 else
3350 if test -n "$CPPBIN"; then
3351 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 CPPBIN=$ac_cv_prog_CPPBIN
3371 if test -n "$CPPBIN"; then
3372 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3373 echo "${ECHO_T}$CPPBIN" >&6; }
3374 else
3375 { echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6; }
3381 if test -z "$ac_cv_prog_CPPBIN"; then
3382 ac_ct_CPPBIN=$CPPBIN
3383 # Extract the first word of "cpp", so it can be a program name with args.
3384 set dummy cpp; ac_word=$2
3385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3387 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 else
3390 if test -n "$ac_ct_CPPBIN"; then
3391 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CPPBIN="cpp"
3401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3411 if test -n "$ac_ct_CPPBIN"; then
3412 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3413 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3414 else
3415 { echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6; }
3419 if test "x$ac_ct_CPPBIN" = x; then
3420 CPPBIN="cpp"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3425 whose name does not start with the host triplet. If you think this
3426 configuration is useful to you, please write to autoconf@gnu.org." >&5
3427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3428 whose name does not start with the host triplet. If you think this
3429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3430 ac_tool_warned=yes ;;
3431 esac
3432 CPPBIN=$ac_ct_CPPBIN
3434 else
3435 CPPBIN="$ac_cv_prog_CPPBIN"
3439 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3440 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3441 if test "${wine_cv_toolsdir+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 else
3444 if test -z "$with_wine_tools"; then
3445 if test "$cross_compiling" = "yes"; then
3446 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3447 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3448 { (exit 1); exit 1; }; }
3449 else
3450 wine_cv_toolsdir="\$(TOPOBJDIR)"
3452 elif test -d "$with_wine_tools/tools/winebuild"; then
3453 case $with_wine_tools in
3454 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3455 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3456 esac
3457 else
3458 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3459 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3460 { (exit 1); exit 1; }; }
3463 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3464 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3465 TOOLSDIR=$wine_cv_toolsdir
3469 ac_ext=c
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3475 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3476 # On Suns, sometimes $CPP names a directory.
3477 if test -n "$CPP" && test -d "$CPP"; then
3478 CPP=
3480 if test -z "$CPP"; then
3481 if test "${ac_cv_prog_CPP+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484 # Double quotes because CPP needs to be expanded
3485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3487 ac_preproc_ok=false
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error" is here to catch this case.
3496 cat >conftest.$ac_ext <<_ACEOF
3497 /* confdefs.h. */
3498 _ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #ifdef __STDC__
3503 # include <limits.h>
3504 #else
3505 # include <assert.h>
3506 #endif
3507 Syntax error
3508 _ACEOF
3509 if { (ac_try="$ac_cpp conftest.$ac_ext"
3510 case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3516 ac_status=$?
3517 grep -v '^ *+' conftest.er1 >conftest.err
3518 rm -f conftest.er1
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev/null && {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3524 }; then
3526 else
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 # Broken: fails on valid input.
3531 continue
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether nonexistent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3539 /* confdefs.h. */
3540 _ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3545 _ACEOF
3546 if { (ac_try="$ac_cpp conftest.$ac_ext"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3553 ac_status=$?
3554 grep -v '^ *+' conftest.er1 >conftest.err
3555 rm -f conftest.er1
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3561 }; then
3562 # Broken: success on invalid input.
3563 continue
3564 else
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3569 ac_preproc_ok=:
3570 break
3573 rm -f conftest.err conftest.$ac_ext
3575 done
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.$ac_ext
3578 if $ac_preproc_ok; then
3579 break
3582 done
3583 ac_cv_prog_CPP=$CPP
3586 CPP=$ac_cv_prog_CPP
3587 else
3588 ac_cv_prog_CPP=$CPP
3590 { echo "$as_me:$LINENO: result: $CPP" >&5
3591 echo "${ECHO_T}$CPP" >&6; }
3592 ac_preproc_ok=false
3593 for ac_c_preproc_warn_flag in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error" is here to catch this case.
3601 cat >conftest.$ac_ext <<_ACEOF
3602 /* confdefs.h. */
3603 _ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 #ifdef __STDC__
3608 # include <limits.h>
3609 #else
3610 # include <assert.h>
3611 #endif
3612 Syntax error
3613 _ACEOF
3614 if { (ac_try="$ac_cpp conftest.$ac_ext"
3615 case "(($ac_try" in
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3618 esac
3619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3621 ac_status=$?
3622 grep -v '^ *+' conftest.er1 >conftest.err
3623 rm -f conftest.er1
3624 cat conftest.err >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); } >/dev/null && {
3627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3628 test ! -s conftest.err
3629 }; then
3631 else
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3635 # Broken: fails on valid input.
3636 continue
3639 rm -f conftest.err conftest.$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat >conftest.$ac_ext <<_ACEOF
3644 /* confdefs.h. */
3645 _ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <ac_nonexistent.h>
3650 _ACEOF
3651 if { (ac_try="$ac_cpp conftest.$ac_ext"
3652 case "(($ac_try" in
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3655 esac
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 }; then
3667 # Broken: success on invalid input.
3668 continue
3669 else
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Passes both tests.
3674 ac_preproc_ok=:
3675 break
3678 rm -f conftest.err conftest.$ac_ext
3680 done
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.$ac_ext
3683 if $ac_preproc_ok; then
3685 else
3686 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3687 See \`config.log' for more details." >&5
3688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log' for more details." >&2;}
3690 { (exit 1); exit 1; }; }
3693 ac_ext=c
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { echo "$as_me:$LINENO: checking for X" >&5
3701 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3704 # Check whether --with-x was given.
3705 if test "${with_x+set}" = set; then
3706 withval=$with_x;
3709 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3710 if test "x$with_x" = xno; then
3711 # The user explicitly disabled X.
3712 have_x=disabled
3713 else
3714 case $x_includes,$x_libraries in #(
3715 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3716 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3717 { (exit 1); exit 1; }; };; #(
3718 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 else
3721 # One or both of the vars are not set, and there is no cached value.
3722 ac_x_includes=no ac_x_libraries=no
3723 rm -f -r conftest.dir
3724 if mkdir conftest.dir; then
3725 cd conftest.dir
3726 cat >Imakefile <<'_ACEOF'
3727 incroot:
3728 @echo incroot='${INCROOT}'
3729 usrlibdir:
3730 @echo usrlibdir='${USRLIBDIR}'
3731 libdir:
3732 @echo libdir='${LIBDIR}'
3733 _ACEOF
3734 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3736 for ac_var in incroot usrlibdir libdir; do
3737 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3738 done
3739 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3740 for ac_extension in a so sl; do
3741 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3742 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3743 ac_im_usrlibdir=$ac_im_libdir; break
3745 done
3746 # Screen out bogus values from the imake configuration. They are
3747 # bogus both because they are the default anyway, and because
3748 # using them would break gcc on systems where it needs fixed includes.
3749 case $ac_im_incroot in
3750 /usr/include) ac_x_includes= ;;
3751 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3752 esac
3753 case $ac_im_usrlibdir in
3754 /usr/lib | /lib) ;;
3755 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3756 esac
3758 cd ..
3759 rm -f -r conftest.dir
3762 # Standard set of common directories for X headers.
3763 # Check X11 before X11Rn because it is often a symlink to the current release.
3764 ac_x_header_dirs='
3765 /usr/X11/include
3766 /usr/X11R6/include
3767 /usr/X11R5/include
3768 /usr/X11R4/include
3770 /usr/include/X11
3771 /usr/include/X11R6
3772 /usr/include/X11R5
3773 /usr/include/X11R4
3775 /usr/local/X11/include
3776 /usr/local/X11R6/include
3777 /usr/local/X11R5/include
3778 /usr/local/X11R4/include
3780 /usr/local/include/X11
3781 /usr/local/include/X11R6
3782 /usr/local/include/X11R5
3783 /usr/local/include/X11R4
3785 /usr/X386/include
3786 /usr/x386/include
3787 /usr/XFree86/include/X11
3789 /usr/include
3790 /usr/local/include
3791 /usr/unsupported/include
3792 /usr/athena/include
3793 /usr/local/x11r5/include
3794 /usr/lpp/Xamples/include
3796 /usr/openwin/include
3797 /usr/openwin/share/include'
3799 if test "$ac_x_includes" = no; then
3800 # Guess where to find include files, by looking for Xlib.h.
3801 # First, try using that file with no special directory specified.
3802 cat >conftest.$ac_ext <<_ACEOF
3803 /* confdefs.h. */
3804 _ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <X11/Xlib.h>
3809 _ACEOF
3810 if { (ac_try="$ac_cpp conftest.$ac_ext"
3811 case "(($ac_try" in
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3814 esac
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3817 ac_status=$?
3818 grep -v '^ *+' conftest.er1 >conftest.err
3819 rm -f conftest.er1
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null && {
3823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3825 }; then
3826 # We can compile using X headers with no special include directory.
3827 ac_x_includes=
3828 else
3829 echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.$ac_ext >&5
3832 for ac_dir in $ac_x_header_dirs; do
3833 if test -r "$ac_dir/X11/Xlib.h"; then
3834 ac_x_includes=$ac_dir
3835 break
3837 done
3840 rm -f conftest.err conftest.$ac_ext
3841 fi # $ac_x_includes = no
3843 if test "$ac_x_libraries" = no; then
3844 # Check for the libraries.
3845 # See if we find them without any special options.
3846 # Don't add to $LIBS permanently.
3847 ac_save_LIBS=$LIBS
3848 LIBS="-lX11 $LIBS"
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <X11/Xlib.h>
3857 main ()
3859 XrmInitialize ()
3861 return 0;
3863 _ACEOF
3864 rm -f conftest.$ac_objext conftest$ac_exeext
3865 if { (ac_try="$ac_link"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_link") 2>conftest.er1
3872 ac_status=$?
3873 grep -v '^ *+' conftest.er1 >conftest.err
3874 rm -f conftest.er1
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest$ac_exeext &&
3881 $as_test_x conftest$ac_exeext; then
3882 LIBS=$ac_save_LIBS
3883 # We can link X programs with no special library path.
3884 ac_x_libraries=
3885 else
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3889 LIBS=$ac_save_LIBS
3890 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3892 # Don't even attempt the hair of trying to link an X program!
3893 for ac_extension in a so sl; do
3894 if test -r "$ac_dir/libX11.$ac_extension"; then
3895 ac_x_libraries=$ac_dir
3896 break 2
3898 done
3899 done
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3904 fi # $ac_x_libraries = no
3906 case $ac_x_includes,$ac_x_libraries in #(
3907 no,* | *,no | *\'*)
3908 # Didn't find X, or a directory has "'" in its name.
3909 ac_cv_have_x="have_x=no";; #(
3911 # Record where we found X for the cache.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$ac_x_includes'\
3914 ac_x_libraries='$ac_x_libraries'"
3915 esac
3917 ;; #(
3918 *) have_x=yes;;
3919 esac
3920 eval "$ac_cv_have_x"
3921 fi # $with_x != no
3923 if test "$have_x" != yes; then
3924 { echo "$as_me:$LINENO: result: $have_x" >&5
3925 echo "${ECHO_T}$have_x" >&6; }
3926 no_x=yes
3927 else
3928 # If each of the values was on the command line, it overrides each guess.
3929 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3930 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3931 # Update the cache value to reflect the command line values.
3932 ac_cv_have_x="have_x=yes\
3933 ac_x_includes='$x_includes'\
3934 ac_x_libraries='$x_libraries'"
3935 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3939 if test "$no_x" = yes; then
3940 # Not all programs may use this symbol, but it does not hurt to define it.
3942 cat >>confdefs.h <<\_ACEOF
3943 #define X_DISPLAY_MISSING 1
3944 _ACEOF
3946 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3947 else
3948 if test -n "$x_includes"; then
3949 X_CFLAGS="$X_CFLAGS -I$x_includes"
3952 # It would also be nice to do this for all -L options, not just this one.
3953 if test -n "$x_libraries"; then
3954 X_LIBS="$X_LIBS -L$x_libraries"
3955 # For Solaris; some versions of Sun CC require a space after -R and
3956 # others require no space. Words are not sufficient . . . .
3957 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3958 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3959 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3960 ac_xsave_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3962 cat >conftest.$ac_ext <<_ACEOF
3963 /* confdefs.h. */
3964 _ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3970 main ()
3974 return 0;
3976 _ACEOF
3977 rm -f conftest.$ac_objext conftest$ac_exeext
3978 if { (ac_try="$ac_link"
3979 case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_link") 2>conftest.er1
3985 ac_status=$?
3986 grep -v '^ *+' conftest.er1 >conftest.err
3987 rm -f conftest.er1
3988 cat conftest.err >&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest$ac_exeext &&
3994 $as_test_x conftest$ac_exeext; then
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 X_LIBS="$X_LIBS -R$x_libraries"
3998 else
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4002 LIBS="$ac_xsave_LIBS -R $x_libraries"
4003 cat >conftest.$ac_ext <<_ACEOF
4004 /* confdefs.h. */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4011 main ()
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4026 ac_status=$?
4027 grep -v '^ *+' conftest.er1 >conftest.err
4028 rm -f conftest.er1
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest$ac_exeext &&
4035 $as_test_x conftest$ac_exeext; then
4036 { echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6; }
4038 X_LIBS="$X_LIBS -R $x_libraries"
4039 else
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { echo "$as_me:$LINENO: result: neither works" >&5
4044 echo "${ECHO_T}neither works" >&6; }
4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4048 conftest$ac_exeext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4052 conftest$ac_exeext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_xsave_c_werror_flag
4054 LIBS=$ac_xsave_LIBS
4057 # Check for system-dependent libraries X programs must link with.
4058 # Do this before checking for the system-independent R6 libraries
4059 # (-lICE), since we may need -lsocket or whatever for X linking.
4061 if test "$ISC" = yes; then
4062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4063 else
4064 # Martyn Johnson says this is needed for Ultrix, if the X
4065 # libraries were built with DECnet support. And Karl Berry says
4066 # the Alpha needs dnet_stub (dnet does not exist).
4067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4068 cat >conftest.$ac_ext <<_ACEOF
4069 /* confdefs.h. */
4070 _ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4078 #ifdef __cplusplus
4079 extern "C"
4080 #endif
4081 char XOpenDisplay ();
4083 main ()
4085 return XOpenDisplay ();
4087 return 0;
4089 _ACEOF
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (ac_try="$ac_link"
4092 case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_link") 2>conftest.er1
4098 ac_status=$?
4099 grep -v '^ *+' conftest.er1 >conftest.err
4100 rm -f conftest.er1
4101 cat conftest.err >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest$ac_exeext &&
4107 $as_test_x conftest$ac_exeext; then
4109 else
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118 ac_check_lib_save_LIBS=$LIBS
4119 LIBS="-ldnet $LIBS"
4120 cat >conftest.$ac_ext <<_ACEOF
4121 /* confdefs.h. */
4122 _ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any GCC internal prototype to avoid an error.
4128 Use char because int might match the return type of a GCC
4129 builtin and then its argument prototype would still apply. */
4130 #ifdef __cplusplus
4131 extern "C"
4132 #endif
4133 char dnet_ntoa ();
4135 main ()
4137 return dnet_ntoa ();
4139 return 0;
4141 _ACEOF
4142 rm -f conftest.$ac_objext conftest$ac_exeext
4143 if { (ac_try="$ac_link"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_link") 2>conftest.er1
4150 ac_status=$?
4151 grep -v '^ *+' conftest.er1 >conftest.err
4152 rm -f conftest.er1
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest$ac_exeext &&
4159 $as_test_x conftest$ac_exeext; then
4160 ac_cv_lib_dnet_dnet_ntoa=yes
4161 else
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_cv_lib_dnet_dnet_ntoa=no
4168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4169 conftest$ac_exeext conftest.$ac_ext
4170 LIBS=$ac_check_lib_save_LIBS
4172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4173 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4174 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4178 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4179 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4180 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 else
4184 ac_check_lib_save_LIBS=$LIBS
4185 LIBS="-ldnet_stub $LIBS"
4186 cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h. */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 /* Override any GCC internal prototype to avoid an error.
4194 Use char because int might match the return type of a GCC
4195 builtin and then its argument prototype would still apply. */
4196 #ifdef __cplusplus
4197 extern "C"
4198 #endif
4199 char dnet_ntoa ();
4201 main ()
4203 return dnet_ntoa ();
4205 return 0;
4207 _ACEOF
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4216 ac_status=$?
4217 grep -v '^ *+' conftest.er1 >conftest.err
4218 rm -f conftest.er1
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest$ac_exeext &&
4225 $as_test_x conftest$ac_exeext; then
4226 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4227 else
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 ac_cv_lib_dnet_stub_dnet_ntoa=no
4234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4235 conftest$ac_exeext conftest.$ac_ext
4236 LIBS=$ac_check_lib_save_LIBS
4238 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4239 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4240 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4241 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4248 conftest$ac_exeext conftest.$ac_ext
4249 LIBS="$ac_xsave_LIBS"
4251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4252 # to get the SysV transport functions.
4253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4254 # needs -lnsl.
4255 # The nsl library prevents programs from opening the X display
4256 # on Irix 5.2, according to T.E. Dickey.
4257 # The functions gethostbyname, getservbyname, and inet_addr are
4258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4259 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4260 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4261 if test "${ac_cv_func_gethostbyname+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 else
4264 cat >conftest.$ac_ext <<_ACEOF
4265 /* confdefs.h. */
4266 _ACEOF
4267 cat confdefs.h >>conftest.$ac_ext
4268 cat >>conftest.$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4270 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4272 #define gethostbyname innocuous_gethostbyname
4274 /* System header to define __stub macros and hopefully few prototypes,
4275 which can conflict with char gethostbyname (); below.
4276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 <limits.h> exists even on freestanding compilers. */
4279 #ifdef __STDC__
4280 # include <limits.h>
4281 #else
4282 # include <assert.h>
4283 #endif
4285 #undef gethostbyname
4287 /* Override any GCC internal prototype to avoid an error.
4288 Use char because int might match the return type of a GCC
4289 builtin and then its argument prototype would still apply. */
4290 #ifdef __cplusplus
4291 extern "C"
4292 #endif
4293 char gethostbyname ();
4294 /* The GNU C library defines this for functions which it implements
4295 to always fail with ENOSYS. Some functions are actually named
4296 something starting with __ and the normal name is an alias. */
4297 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4298 choke me
4299 #endif
4302 main ()
4304 return gethostbyname ();
4306 return 0;
4308 _ACEOF
4309 rm -f conftest.$ac_objext conftest$ac_exeext
4310 if { (ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_link") 2>conftest.er1
4317 ac_status=$?
4318 grep -v '^ *+' conftest.er1 >conftest.err
4319 rm -f conftest.er1
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest$ac_exeext &&
4326 $as_test_x conftest$ac_exeext; then
4327 ac_cv_func_gethostbyname=yes
4328 else
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 ac_cv_func_gethostbyname=no
4335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4341 if test $ac_cv_func_gethostbyname = no; then
4342 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4343 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4344 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 else
4347 ac_check_lib_save_LIBS=$LIBS
4348 LIBS="-lnsl $LIBS"
4349 cat >conftest.$ac_ext <<_ACEOF
4350 /* confdefs.h. */
4351 _ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4359 #ifdef __cplusplus
4360 extern "C"
4361 #endif
4362 char gethostbyname ();
4364 main ()
4366 return gethostbyname ();
4368 return 0;
4370 _ACEOF
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_link") 2>conftest.er1
4379 ac_status=$?
4380 grep -v '^ *+' conftest.er1 >conftest.err
4381 rm -f conftest.er1
4382 cat conftest.err >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest$ac_exeext &&
4388 $as_test_x conftest$ac_exeext; then
4389 ac_cv_lib_nsl_gethostbyname=yes
4390 else
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.$ac_ext >&5
4394 ac_cv_lib_nsl_gethostbyname=no
4397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4398 conftest$ac_exeext conftest.$ac_ext
4399 LIBS=$ac_check_lib_save_LIBS
4401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4407 if test $ac_cv_lib_nsl_gethostbyname = no; then
4408 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 else
4413 ac_check_lib_save_LIBS=$LIBS
4414 LIBS="-lbsd $LIBS"
4415 cat >conftest.$ac_ext <<_ACEOF
4416 /* confdefs.h. */
4417 _ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>conftest.$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4425 #ifdef __cplusplus
4426 extern "C"
4427 #endif
4428 char gethostbyname ();
4430 main ()
4432 return gethostbyname ();
4434 return 0;
4436 _ACEOF
4437 rm -f conftest.$ac_objext conftest$ac_exeext
4438 if { (ac_try="$ac_link"
4439 case "(($ac_try" in
4440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4442 esac
4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444 (eval "$ac_link") 2>conftest.er1
4445 ac_status=$?
4446 grep -v '^ *+' conftest.er1 >conftest.err
4447 rm -f conftest.er1
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext &&
4454 $as_test_x conftest$ac_exeext; then
4455 ac_cv_lib_bsd_gethostbyname=yes
4456 else
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_lib_bsd_gethostbyname=no
4463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4464 conftest$ac_exeext conftest.$ac_ext
4465 LIBS=$ac_check_lib_save_LIBS
4467 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4477 # socket/setsockopt and other routines are undefined under SCO ODT
4478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4479 # on later versions), says Simon Leinen: it contains gethostby*
4480 # variants that don't use the name server (or something). -lsocket
4481 # must be given before -lnsl if both are needed. We assume that
4482 # if connect needs -lnsl, so does gethostbyname.
4483 { echo "$as_me:$LINENO: checking for connect" >&5
4484 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_connect+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 else
4488 cat >conftest.$ac_ext <<_ACEOF
4489 /* confdefs.h. */
4490 _ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define connect innocuous_connect
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char connect (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4503 #ifdef __STDC__
4504 # include <limits.h>
4505 #else
4506 # include <assert.h>
4507 #endif
4509 #undef connect
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4514 #ifdef __cplusplus
4515 extern "C"
4516 #endif
4517 char connect ();
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_connect || defined __stub___connect
4522 choke me
4523 #endif
4526 main ()
4528 return connect ();
4530 return 0;
4532 _ACEOF
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4535 case "(($ac_try" in
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4538 esac
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 ac_cv_func_connect=yes
4552 else
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_func_connect=no
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4563 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 if test $ac_cv_func_connect = no; then
4566 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4567 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_socket_connect+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571 ac_check_lib_save_LIBS=$LIBS
4572 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4573 cat >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4583 #ifdef __cplusplus
4584 extern "C"
4585 #endif
4586 char connect ();
4588 main ()
4590 return connect ();
4592 return 0;
4594 _ACEOF
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (ac_try="$ac_link"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4603 ac_status=$?
4604 grep -v '^ *+' conftest.er1 >conftest.err
4605 rm -f conftest.er1
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_socket_connect=yes
4614 else
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_socket_connect=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4627 if test $ac_cv_lib_socket_connect = yes; then
4628 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4633 # Guillermo Gomez says -lposix is necessary on A/UX.
4634 { echo "$as_me:$LINENO: checking for remove" >&5
4635 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4636 if test "${ac_cv_func_remove+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 cat >conftest.$ac_ext <<_ACEOF
4640 /* confdefs.h. */
4641 _ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4647 #define remove innocuous_remove
4649 /* System header to define __stub macros and hopefully few prototypes,
4650 which can conflict with char remove (); below.
4651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 <limits.h> exists even on freestanding compilers. */
4654 #ifdef __STDC__
4655 # include <limits.h>
4656 #else
4657 # include <assert.h>
4658 #endif
4660 #undef remove
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4665 #ifdef __cplusplus
4666 extern "C"
4667 #endif
4668 char remove ();
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined __stub_remove || defined __stub___remove
4673 choke me
4674 #endif
4677 main ()
4679 return remove ();
4681 return 0;
4683 _ACEOF
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4692 ac_status=$?
4693 grep -v '^ *+' conftest.er1 >conftest.err
4694 rm -f conftest.er1
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest$ac_exeext &&
4701 $as_test_x conftest$ac_exeext; then
4702 ac_cv_func_remove=yes
4703 else
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 ac_cv_func_remove=no
4710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4711 conftest$ac_exeext conftest.$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4714 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4716 if test $ac_cv_func_remove = no; then
4717 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4718 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4719 if test "${ac_cv_lib_posix_remove+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 else
4722 ac_check_lib_save_LIBS=$LIBS
4723 LIBS="-lposix $LIBS"
4724 cat >conftest.$ac_ext <<_ACEOF
4725 /* confdefs.h. */
4726 _ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char remove ();
4739 main ()
4741 return remove ();
4743 return 0;
4745 _ACEOF
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_lib_posix_remove=yes
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_lib_posix_remove=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4774 LIBS=$ac_check_lib_save_LIBS
4776 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 { echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 else
4790 cat >conftest.$ac_ext <<_ACEOF
4791 /* confdefs.h. */
4792 _ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define shmat innocuous_shmat
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char shmat (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4805 #ifdef __STDC__
4806 # include <limits.h>
4807 #else
4808 # include <assert.h>
4809 #endif
4811 #undef shmat
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4816 #ifdef __cplusplus
4817 extern "C"
4818 #endif
4819 char shmat ();
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_shmat || defined __stub___shmat
4824 choke me
4825 #endif
4828 main ()
4830 return shmat ();
4832 return 0;
4834 _ACEOF
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4837 case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4843 ac_status=$?
4844 grep -v '^ *+' conftest.er1 >conftest.err
4845 rm -f conftest.er1
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest$ac_exeext &&
4852 $as_test_x conftest$ac_exeext; then
4853 ac_cv_func_shmat=yes
4854 else
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 ac_cv_func_shmat=no
4861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4862 conftest$ac_exeext conftest.$ac_ext
4864 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4865 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4867 if test $ac_cv_func_shmat = no; then
4868 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4869 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4870 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 ac_check_lib_save_LIBS=$LIBS
4874 LIBS="-lipc $LIBS"
4875 cat >conftest.$ac_ext <<_ACEOF
4876 /* confdefs.h. */
4877 _ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char shmat ();
4890 main ()
4892 return shmat ();
4894 return 0;
4896 _ACEOF
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4905 ac_status=$?
4906 grep -v '^ *+' conftest.er1 >conftest.err
4907 rm -f conftest.er1
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_lib_ipc_shmat=yes
4916 else
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_lib_ipc_shmat=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4925 LIBS=$ac_check_lib_save_LIBS
4927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4929 if test $ac_cv_lib_ipc_shmat = yes; then
4930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4936 # Check for libraries that X11R6 Xt/Xaw programs need.
4937 ac_save_LDFLAGS=$LDFLAGS
4938 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4940 # check for ICE first), but we must link in the order -lSM -lICE or
4941 # we get undefined symbols. So assume we have SM if we have ICE.
4942 # These have to be linked with before -lX11, unlike the other
4943 # libraries we check for below, so use a different variable.
4944 # John Interrante, Karl Berry
4945 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 else
4950 ac_check_lib_save_LIBS=$LIBS
4951 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4952 cat >conftest.$ac_ext <<_ACEOF
4953 /* confdefs.h. */
4954 _ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4962 #ifdef __cplusplus
4963 extern "C"
4964 #endif
4965 char IceConnectionNumber ();
4967 main ()
4969 return IceConnectionNumber ();
4971 return 0;
4973 _ACEOF
4974 rm -f conftest.$ac_objext conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4976 case "(($ac_try" in
4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4979 esac
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_link") 2>conftest.er1
4982 ac_status=$?
4983 grep -v '^ *+' conftest.er1 >conftest.err
4984 rm -f conftest.er1
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && {
4988 test -z "$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4990 } && test -s conftest$ac_exeext &&
4991 $as_test_x conftest$ac_exeext; then
4992 ac_cv_lib_ICE_IceConnectionNumber=yes
4993 else
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4997 ac_cv_lib_ICE_IceConnectionNumber=no
5000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5001 conftest$ac_exeext conftest.$ac_ext
5002 LIBS=$ac_check_lib_save_LIBS
5004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5005 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5006 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5007 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5010 LDFLAGS=$ac_save_LDFLAGS
5015 for ac_prog in flex
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy $ac_prog; ac_word=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_FLEX+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 else
5024 if test -n "$FLEX"; then
5025 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_FLEX="$ac_prog"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5038 done
5039 done
5040 IFS=$as_save_IFS
5044 FLEX=$ac_cv_prog_FLEX
5045 if test -n "$FLEX"; then
5046 { echo "$as_me:$LINENO: result: $FLEX" >&5
5047 echo "${ECHO_T}$FLEX" >&6; }
5048 else
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 test -n "$FLEX" && break
5055 done
5056 test -n "$FLEX" || FLEX="none"
5058 if test "$FLEX" = "none"
5059 then
5060 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5061 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5062 { (exit 1); exit 1; }; }
5065 for ac_prog in bison
5067 # Extract the first word of "$ac_prog", so it can be a program name with args.
5068 set dummy $ac_prog; ac_word=$2
5069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5071 if test "${ac_cv_prog_BISON+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 else
5074 if test -n "$BISON"; then
5075 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_BISON="$ac_prog"
5085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 BISON=$ac_cv_prog_BISON
5095 if test -n "$BISON"; then
5096 { echo "$as_me:$LINENO: result: $BISON" >&5
5097 echo "${ECHO_T}$BISON" >&6; }
5098 else
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5104 test -n "$BISON" && break
5105 done
5106 test -n "$BISON" || BISON="none"
5108 if test "$BISON" = "none"
5109 then
5110 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5111 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5112 { (exit 1); exit 1; }; }
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog in gas as
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_AS+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 else
5125 if test -n "$AS"; then
5126 ac_cv_prog_AS="$AS" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 AS=$ac_cv_prog_AS
5146 if test -n "$AS"; then
5147 { echo "$as_me:$LINENO: result: $AS" >&5
5148 echo "${ECHO_T}$AS" >&6; }
5149 else
5150 { echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6; }
5155 test -n "$AS" && break
5156 done
5158 if test -z "$AS"; then
5159 ac_ct_AS=$AS
5160 for ac_prog in gas as
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 else
5169 if test -n "$ac_ct_AS"; then
5170 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_ac_ct_AS="$ac_prog"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5190 if test -n "$ac_ct_AS"; then
5191 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5192 echo "${ECHO_T}$ac_ct_AS" >&6; }
5193 else
5194 { echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6; }
5199 test -n "$ac_ct_AS" && break
5200 done
5202 if test "x$ac_ct_AS" = x; then
5203 AS="as"
5204 else
5205 case $cross_compiling:$ac_tool_warned in
5206 yes:)
5207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208 whose name does not start with the host triplet. If you think this
5209 configuration is useful to you, please write to autoconf@gnu.org." >&5
5210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211 whose name does not start with the host triplet. If you think this
5212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213 ac_tool_warned=yes ;;
5214 esac
5215 AS=$ac_ct_AS
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}ld; ac_word=$2
5222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224 if test "${ac_cv_prog_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$LD"; then
5228 ac_cv_prog_LD="$LD" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_LD="${ac_tool_prefix}ld"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5243 IFS=$as_save_IFS
5247 LD=$ac_cv_prog_LD
5248 if test -n "$LD"; then
5249 { echo "$as_me:$LINENO: result: $LD" >&5
5250 echo "${ECHO_T}$LD" >&6; }
5251 else
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5258 if test -z "$ac_cv_prog_LD"; then
5259 ac_ct_LD=$LD
5260 # Extract the first word of "ld", so it can be a program name with args.
5261 set dummy ld; ac_word=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 else
5267 if test -n "$ac_ct_LD"; then
5268 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_LD="ld"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5288 if test -n "$ac_ct_LD"; then
5289 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5290 echo "${ECHO_T}$ac_ct_LD" >&6; }
5291 else
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5296 if test "x$ac_ct_LD" = x; then
5297 LD="ld"
5298 else
5299 case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309 LD=$ac_ct_LD
5311 else
5312 LD="$ac_cv_prog_LD"
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy ${ac_tool_prefix}ar; ac_word=$2
5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR="$AR" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR="${ac_tool_prefix}ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5339 IFS=$as_save_IFS
5343 AR=$ac_cv_prog_AR
5344 if test -n "$AR"; then
5345 { echo "$as_me:$LINENO: result: $AR" >&5
5346 echo "${ECHO_T}$AR" >&6; }
5347 else
5348 { echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5355 ac_ct_AR=$AR
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy ar; ac_word=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 else
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR="ar"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5386 echo "${ECHO_T}$ac_ct_AR" >&6; }
5387 else
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5392 if test "x$ac_ct_AR" = x; then
5393 AR="ar"
5394 else
5395 case $cross_compiling:$ac_tool_warned in
5396 yes:)
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned=yes ;;
5404 esac
5405 AR=$ac_ct_AR
5407 else
5408 AR="$ac_cv_prog_AR"
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 RANLIB=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5442 echo "${ECHO_T}$RANLIB" >&6; }
5443 else
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib; ac_word=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB="ranlib"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5482 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5483 else
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x; then
5489 RANLIB=":"
5490 else
5491 case $cross_compiling:$ac_tool_warned in
5492 yes:)
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501 RANLIB=$ac_ct_RANLIB
5503 else
5504 RANLIB="$ac_cv_prog_RANLIB"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy ${ac_tool_prefix}strip; ac_word=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_STRIP+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 else
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 STRIP=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { echo "$as_me:$LINENO: result: $STRIP" >&5
5538 echo "${ECHO_T}$STRIP" >&6; }
5539 else
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5547 ac_ct_STRIP=$STRIP
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip; ac_word=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 else
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_STRIP="strip"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5578 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5579 else
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_STRIP" = x; then
5585 STRIP="strip"
5586 else
5587 case $cross_compiling:$ac_tool_warned in
5588 yes:)
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned=yes ;;
5596 esac
5597 STRIP=$ac_ct_STRIP
5599 else
5600 STRIP="$ac_cv_prog_STRIP"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5605 set dummy ${ac_tool_prefix}windres; ac_word=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_WINDRES+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 if test -n "$WINDRES"; then
5612 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 WINDRES=$ac_cv_prog_WINDRES
5632 if test -n "$WINDRES"; then
5633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5634 echo "${ECHO_T}$WINDRES" >&6; }
5635 else
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_WINDRES"; then
5643 ac_ct_WINDRES=$WINDRES
5644 # Extract the first word of "windres", so it can be a program name with args.
5645 set dummy windres; ac_word=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651 if test -n "$ac_ct_WINDRES"; then
5652 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5657 IFS=$as_save_IFS
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_WINDRES="windres"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 break 2
5665 done
5666 done
5667 IFS=$as_save_IFS
5671 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5672 if test -n "$ac_ct_WINDRES"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5675 else
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_WINDRES" = x; then
5681 WINDRES="false"
5682 else
5683 case $cross_compiling:$ac_tool_warned in
5684 yes:)
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned=yes ;;
5692 esac
5693 WINDRES=$ac_ct_WINDRES
5695 else
5696 WINDRES="$ac_cv_prog_WINDRES"
5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5701 LN_S=$as_ln_s
5702 if test "$LN_S" = "ln -s"; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5707 echo "${ECHO_T}no, using $LN_S" >&6; }
5710 { echo "$as_me:$LINENO: checking whether ln works" >&5
5711 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5712 rm -f conf$$ conf$$.file
5713 echo >conf$$.file
5714 if ln conf$$.file conf$$ 2>/dev/null; then
5715 LN=ln
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5719 else
5720 LN="cp -p"
5722 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5723 echo "${ECHO_T}no, using $LN" >&6; }
5725 rm -f conf$$ conf$$.file
5726 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5727 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_GREP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 else
5731 # Extract the first word of "grep ggrep" to use in msg output
5732 if test -z "$GREP"; then
5733 set dummy grep ggrep; ac_prog_name=$2
5734 if test "${ac_cv_path_GREP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737 ac_path_GREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in grep ggrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5748 # Check for GNU ac_path_GREP and select it if it is found.
5749 # Check for GNU $ac_path_GREP
5750 case `"$ac_path_GREP" --version 2>&1` in
5751 *GNU*)
5752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5754 ac_count=0
5755 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5756 while :
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 echo 'GREP' >> "conftest.nl"
5762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5764 ac_count=`expr $ac_count + 1`
5765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_GREP="$ac_path_GREP"
5768 ac_path_GREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5772 done
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5774 esac
5777 $ac_path_GREP_found && break 3
5778 done
5779 done
5781 done
5782 IFS=$as_save_IFS
5787 GREP="$ac_cv_path_GREP"
5788 if test -z "$GREP"; then
5789 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5790 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5791 { (exit 1); exit 1; }; }
5794 else
5795 ac_cv_path_GREP=$GREP
5800 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5801 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5802 GREP="$ac_cv_path_GREP"
5805 { echo "$as_me:$LINENO: checking for egrep" >&5
5806 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5807 if test "${ac_cv_path_EGREP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 else
5810 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5811 then ac_cv_path_EGREP="$GREP -E"
5812 else
5813 # Extract the first word of "egrep" to use in msg output
5814 if test -z "$EGREP"; then
5815 set dummy egrep; ac_prog_name=$2
5816 if test "${ac_cv_path_EGREP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819 ac_path_EGREP_found=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_prog in egrep; do
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5829 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5830 # Check for GNU ac_path_EGREP and select it if it is found.
5831 # Check for GNU $ac_path_EGREP
5832 case `"$ac_path_EGREP" --version 2>&1` in
5833 *GNU*)
5834 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5836 ac_count=0
5837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5838 while :
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 echo 'EGREP' >> "conftest.nl"
5844 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846 ac_count=`expr $ac_count + 1`
5847 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_EGREP="$ac_path_EGREP"
5850 ac_path_EGREP_max=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5854 done
5855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 esac
5859 $ac_path_EGREP_found && break 3
5860 done
5861 done
5863 done
5864 IFS=$as_save_IFS
5869 EGREP="$ac_cv_path_EGREP"
5870 if test -z "$EGREP"; then
5871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5873 { (exit 1); exit 1; }; }
5876 else
5877 ac_cv_path_EGREP=$EGREP
5883 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5884 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5885 EGREP="$ac_cv_path_EGREP"
5888 # Extract the first word of "ldconfig", so it can be a program name with args.
5889 set dummy ldconfig; ac_word=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 else
5895 case $LDCONFIG in
5896 [\\/]* | ?:[\\/]*)
5897 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in /sbin /usr/sbin $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5915 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5917 esac
5919 LDCONFIG=$ac_cv_path_LDCONFIG
5920 if test -n "$LDCONFIG"; then
5921 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5922 echo "${ECHO_T}$LDCONFIG" >&6; }
5923 else
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 # Find a good install program. We prefer a C program (faster),
5930 # so one script is as good as another. But avoid the broken or
5931 # incompatible versions:
5932 # SysV /etc/install, /usr/sbin/install
5933 # SunOS /usr/etc/install
5934 # IRIX /sbin/install
5935 # AIX /bin/install
5936 # AmigaOS /C/install, which installs bootblocks on floppy discs
5937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5940 # OS/2's system install, which has a completely different semantic
5941 # ./install, which can be erroneously created by make from ./install.sh.
5942 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5944 if test -z "$INSTALL"; then
5945 if test "${ac_cv_path_install+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5951 IFS=$as_save_IFS
5952 test -z "$as_dir" && as_dir=.
5953 # Account for people who put trailing slashes in PATH elements.
5954 case $as_dir/ in
5955 ./ | .// | /cC/* | \
5956 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5957 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5958 /usr/ucb/* ) ;;
5960 # OSF1 and SCO ODT 3.0 have their own names for install.
5961 # Don't use installbsd from OSF since it installs stuff as root
5962 # by default.
5963 for ac_prog in ginstall scoinst install; do
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5966 if test $ac_prog = install &&
5967 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5968 # AIX install. It has an incompatible calling convention.
5970 elif test $ac_prog = install &&
5971 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5972 # program-specific install script used by HP pwplus--don't use.
5974 else
5975 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5976 break 3
5979 done
5980 done
5982 esac
5983 done
5984 IFS=$as_save_IFS
5988 if test "${ac_cv_path_install+set}" = set; then
5989 INSTALL=$ac_cv_path_install
5990 else
5991 # As a last resort, use the slow shell script. Don't cache a
5992 # value for INSTALL within a source directory, because that will
5993 # break other packages using the cache if that directory is
5994 # removed, or if the value is a relative name.
5995 INSTALL=$ac_install_sh
5998 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5999 echo "${ECHO_T}$INSTALL" >&6; }
6001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6002 # It thinks the first close brace ends the variable substitution.
6003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6007 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6009 case "$INSTALL" in
6010 [\\/$]* | ?:[\\/]* ) ;;
6011 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6012 esac
6014 for ac_prog in lclint lint
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy $ac_prog; ac_word=$2
6018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6020 if test "${ac_cv_prog_LINT+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else
6023 if test -n "$LINT"; then
6024 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6029 IFS=$as_save_IFS
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_LINT="$ac_prog"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 LINT=$ac_cv_prog_LINT
6044 if test -n "$LINT"; then
6045 { echo "$as_me:$LINENO: result: $LINT" >&5
6046 echo "${ECHO_T}$LINT" >&6; }
6047 else
6048 { echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6; }
6053 test -n "$LINT" && break
6054 done
6056 if test "$LINT" = "lint"
6057 then
6058 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6063 for ac_prog in fontforge
6065 # Extract the first word of "$ac_prog", so it can be a program name with args.
6066 set dummy $ac_prog; ac_word=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 if test -n "$FONTFORGE"; then
6073 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_FONTFORGE="$ac_prog"
6083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 FONTFORGE=$ac_cv_prog_FONTFORGE
6093 if test -n "$FONTFORGE"; then
6094 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6095 echo "${ECHO_T}$FONTFORGE" >&6; }
6096 else
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$FONTFORGE" && break
6103 done
6104 test -n "$FONTFORGE" || FONTFORGE="false"
6106 for ac_prog in pkg-config
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy $ac_prog; ac_word=$2
6110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6112 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115 if test -n "$PKG_CONFIG"; then
6116 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_PKG_CONFIG="$ac_prog"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6136 if test -n "$PKG_CONFIG"; then
6137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6139 else
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 test -n "$PKG_CONFIG" && break
6146 done
6147 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6150 case $host_cpu in
6151 *i[3456789]86*)
6152 # Extract the first word of "prelink", so it can be a program name with args.
6153 set dummy prelink; ac_word=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_path_PRELINK+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159 case $PRELINK in
6160 [\\/]* | ?:[\\/]*)
6161 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in /sbin /usr/sbin $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6179 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6181 esac
6183 PRELINK=$ac_cv_path_PRELINK
6184 if test -n "$PRELINK"; then
6185 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6186 echo "${ECHO_T}$PRELINK" >&6; }
6187 else
6188 { echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6; }
6194 esac
6198 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6199 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6200 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 ac_check_lib_save_LIBS=$LIBS
6204 LIBS="-li386 $LIBS"
6205 cat >conftest.$ac_ext <<_ACEOF
6206 /* confdefs.h. */
6207 _ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any GCC internal prototype to avoid an error.
6213 Use char because int might match the return type of a GCC
6214 builtin and then its argument prototype would still apply. */
6215 #ifdef __cplusplus
6216 extern "C"
6217 #endif
6218 char i386_set_ldt ();
6220 main ()
6222 return i386_set_ldt ();
6224 return 0;
6226 _ACEOF
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (ac_try="$ac_link"
6229 case "(($ac_try" in
6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6232 esac
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_link") 2>conftest.er1
6235 ac_status=$?
6236 grep -v '^ *+' conftest.er1 >conftest.err
6237 rm -f conftest.er1
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } && {
6241 test -z "$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6243 } && test -s conftest$ac_exeext &&
6244 $as_test_x conftest$ac_exeext; then
6245 ac_cv_lib_i386_i386_set_ldt=yes
6246 else
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_cv_lib_i386_i386_set_ldt=no
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS
6257 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6258 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6259 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_LIBI386 1
6262 _ACEOF
6264 LIBS="-li386 $LIBS"
6269 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6270 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-lossaudio $LIBS"
6276 cat >conftest.$ac_ext <<_ACEOF
6277 /* confdefs.h. */
6278 _ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6286 #ifdef __cplusplus
6287 extern "C"
6288 #endif
6289 char _oss_ioctl ();
6291 main ()
6293 return _oss_ioctl ();
6295 return 0;
6297 _ACEOF
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6300 case "(($ac_try" in
6301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6302 *) ac_try_echo=$ac_try;;
6303 esac
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6306 ac_status=$?
6307 grep -v '^ *+' conftest.er1 >conftest.err
6308 rm -f conftest.er1
6309 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest$ac_exeext &&
6315 $as_test_x conftest$ac_exeext; then
6316 ac_cv_lib_ossaudio__oss_ioctl=yes
6317 else
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_cv_lib_ossaudio__oss_ioctl=no
6324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6325 conftest$ac_exeext conftest.$ac_ext
6326 LIBS=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6329 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6330 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6331 cat >>confdefs.h <<_ACEOF
6332 #define HAVE_LIBOSSAUDIO 1
6333 _ACEOF
6335 LIBS="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6341 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 else
6345 ac_check_lib_save_LIBS=$LIBS
6346 LIBS="-lxpg4 $LIBS"
6347 cat >conftest.$ac_ext <<_ACEOF
6348 /* confdefs.h. */
6349 _ACEOF
6350 cat confdefs.h >>conftest.$ac_ext
6351 cat >>conftest.$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6357 #ifdef __cplusplus
6358 extern "C"
6359 #endif
6360 char _xpg4_setrunelocale ();
6362 main ()
6364 return _xpg4_setrunelocale ();
6366 return 0;
6368 _ACEOF
6369 rm -f conftest.$ac_objext conftest$ac_exeext
6370 if { (ac_try="$ac_link"
6371 case "(($ac_try" in
6372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6374 esac
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6388 else
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6400 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6401 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6402 cat >>confdefs.h <<_ACEOF
6403 #define HAVE_LIBXPG4 1
6404 _ACEOF
6406 LIBS="-lxpg4 $LIBS"
6410 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6411 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6412 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 else
6415 ac_check_lib_save_LIBS=$LIBS
6416 LIBS="-lpthread $LIBS"
6417 cat >conftest.$ac_ext <<_ACEOF
6418 /* confdefs.h. */
6419 _ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6424 /* Override any GCC internal prototype to avoid an error.
6425 Use char because int might match the return type of a GCC
6426 builtin and then its argument prototype would still apply. */
6427 #ifdef __cplusplus
6428 extern "C"
6429 #endif
6430 char pthread_create ();
6432 main ()
6434 return pthread_create ();
6436 return 0;
6438 _ACEOF
6439 rm -f conftest.$ac_objext conftest$ac_exeext
6440 if { (ac_try="$ac_link"
6441 case "(($ac_try" in
6442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6443 *) ac_try_echo=$ac_try;;
6444 esac
6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6446 (eval "$ac_link") 2>conftest.er1
6447 ac_status=$?
6448 grep -v '^ *+' conftest.er1 >conftest.err
6449 rm -f conftest.er1
6450 cat conftest.err >&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } && {
6453 test -z "$ac_c_werror_flag" ||
6454 test ! -s conftest.err
6455 } && test -s conftest$ac_exeext &&
6456 $as_test_x conftest$ac_exeext; then
6457 ac_cv_lib_pthread_pthread_create=yes
6458 else
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 ac_cv_lib_pthread_pthread_create=no
6465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6466 conftest$ac_exeext conftest.$ac_ext
6467 LIBS=$ac_check_lib_save_LIBS
6469 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6470 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6471 if test $ac_cv_lib_pthread_pthread_create = yes; then
6472 LIBPTHREAD="-lpthread"
6477 XLIB=""
6479 XFILES=""
6481 OPENGLFILES=""
6483 GLU32FILES=""
6485 OPENGL_LIBS=""
6487 QUARTZFILES=""
6491 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6493 if test "${ac_cv_header_stdc+set}" = set; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6495 else
6496 cat >conftest.$ac_ext <<_ACEOF
6497 /* confdefs.h. */
6498 _ACEOF
6499 cat confdefs.h >>conftest.$ac_ext
6500 cat >>conftest.$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6502 #include <stdlib.h>
6503 #include <stdarg.h>
6504 #include <string.h>
6505 #include <float.h>
6508 main ()
6512 return 0;
6514 _ACEOF
6515 rm -f conftest.$ac_objext
6516 if { (ac_try="$ac_compile"
6517 case "(($ac_try" in
6518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6519 *) ac_try_echo=$ac_try;;
6520 esac
6521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6522 (eval "$ac_compile") 2>conftest.er1
6523 ac_status=$?
6524 grep -v '^ *+' conftest.er1 >conftest.err
6525 rm -f conftest.er1
6526 cat conftest.err >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } && {
6529 test -z "$ac_c_werror_flag" ||
6530 test ! -s conftest.err
6531 } && test -s conftest.$ac_objext; then
6532 ac_cv_header_stdc=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6542 if test $ac_cv_header_stdc = yes; then
6543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <string.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "memchr" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565 cat >conftest.$ac_ext <<_ACEOF
6566 /* confdefs.h. */
6567 _ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6571 #include <stdlib.h>
6573 _ACEOF
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "free" >/dev/null 2>&1; then
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f conftest*
6584 if test $ac_cv_header_stdc = yes; then
6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586 if test "$cross_compiling" = yes; then
6588 else
6589 cat >conftest.$ac_ext <<_ACEOF
6590 /* confdefs.h. */
6591 _ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6595 #include <ctype.h>
6596 #include <stdlib.h>
6597 #if ((' ' & 0x0FF) == 0x020)
6598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6600 #else
6601 # define ISLOWER(c) \
6602 (('a' <= (c) && (c) <= 'i') \
6603 || ('j' <= (c) && (c) <= 'r') \
6604 || ('s' <= (c) && (c) <= 'z'))
6605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6606 #endif
6608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6610 main ()
6612 int i;
6613 for (i = 0; i < 256; i++)
6614 if (XOR (islower (i), ISLOWER (i))
6615 || toupper (i) != TOUPPER (i))
6616 return 2;
6617 return 0;
6619 _ACEOF
6620 rm -f conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6622 case "(($ac_try" in
6623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6624 *) ac_try_echo=$ac_try;;
6625 esac
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>&5
6628 ac_status=$?
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6631 { (case "(($ac_try" in
6632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6634 esac
6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6636 (eval "$ac_try") 2>&5
6637 ac_status=$?
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6641 else
6642 echo "$as_me: program exited with status $ac_status" >&5
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 ( exit $ac_status )
6647 ac_cv_header_stdc=no
6649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6655 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6656 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6657 if test $ac_cv_header_stdc = yes; then
6659 cat >>confdefs.h <<\_ACEOF
6660 #define STDC_HEADERS 1
6661 _ACEOF
6665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6676 inttypes.h stdint.h unistd.h
6678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 else
6684 cat >conftest.$ac_ext <<_ACEOF
6685 /* confdefs.h. */
6686 _ACEOF
6687 cat confdefs.h >>conftest.$ac_ext
6688 cat >>conftest.$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 $ac_includes_default
6692 #include <$ac_header>
6693 _ACEOF
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6696 case "(($ac_try" in
6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6698 *) ac_try_echo=$ac_try;;
6699 esac
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6702 ac_status=$?
6703 grep -v '^ *+' conftest.er1 >conftest.err
6704 rm -f conftest.er1
6705 cat conftest.err >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.$ac_objext; then
6711 eval "$as_ac_Header=yes"
6712 else
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 eval "$as_ac_Header=no"
6719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 ac_res=`eval echo '${'$as_ac_Header'}'`
6722 { echo "$as_me:$LINENO: result: $ac_res" >&5
6723 echo "${ECHO_T}$ac_res" >&6; }
6724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725 cat >>confdefs.h <<_ACEOF
6726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 _ACEOF
6731 done
6843 for ac_header in \
6844 AudioUnit/AudioUnit.h \
6845 Carbon/Carbon.h \
6846 CoreAudio/CoreAudio.h \
6847 DiskArbitration/DiskArbitration.h \
6848 IOKit/IOKitLib.h \
6849 alsa/asoundlib.h \
6850 arpa/inet.h \
6851 arpa/nameser.h \
6852 asm/types.h \
6853 capi20.h \
6854 cups/cups.h \
6855 curses.h \
6856 direct.h \
6857 dlfcn.h \
6858 elf.h \
6859 float.h \
6860 fontconfig/fontconfig.h \
6861 getopt.h \
6862 ieeefp.h \
6863 io.h \
6864 jack/jack.h \
6865 jpeglib.h \
6866 lber.h \
6867 lcms.h \
6868 lcms/lcms.h \
6869 ldap.h \
6870 libaudioio.h \
6871 link.h \
6872 linux/cdrom.h \
6873 linux/compiler.h \
6874 linux/hdreg.h \
6875 linux/input.h \
6876 linux/ioctl.h \
6877 linux/joystick.h \
6878 linux/major.h \
6879 linux/param.h \
6880 linux/serial.h \
6881 linux/ucdrom.h \
6882 mach/mach.h \
6883 mach/machine.h \
6884 machine/cpu.h \
6885 machine/limits.h \
6886 machine/soundcard.h \
6887 mntent.h \
6888 ncurses.h \
6889 netdb.h \
6890 netinet/in.h \
6891 netinet/in_systm.h \
6892 netinet/tcp.h \
6893 netinet/tcp_fsm.h \
6894 openssl/err.h \
6895 openssl/ssl.h \
6896 poll.h \
6897 process.h \
6898 pthread.h \
6899 pwd.h \
6900 regex.h \
6901 sched.h \
6902 scsi/scsi.h \
6903 scsi/scsi_ioctl.h \
6904 scsi/sg.h \
6905 soundcard.h \
6906 stdint.h \
6907 strings.h \
6908 sys/asoundlib.h \
6909 sys/cdio.h \
6910 sys/elf32.h \
6911 sys/epoll.h \
6912 sys/errno.h \
6913 sys/event.h \
6914 sys/exec_elf.h \
6915 sys/filio.h \
6916 sys/ioctl.h \
6917 sys/ipc.h \
6918 sys/limits.h \
6919 sys/link.h \
6920 sys/lwp.h \
6921 sys/mman.h \
6922 sys/modem.h \
6923 sys/msg.h \
6924 sys/mtio.h \
6925 sys/param.h \
6926 sys/poll.h \
6927 sys/prctl.h \
6928 sys/ptrace.h \
6929 sys/reg.h \
6930 sys/resource.h \
6931 sys/scsiio.h \
6932 sys/shm.h \
6933 sys/signal.h \
6934 sys/socket.h \
6935 sys/sockio.h \
6936 sys/soundcard.h \
6937 sys/statvfs.h \
6938 sys/strtio.h \
6939 sys/syscall.h \
6940 sys/sysctl.h \
6941 sys/time.h \
6942 sys/times.h \
6943 sys/uio.h \
6944 sys/un.h \
6945 sys/vm86.h \
6946 sys/wait.h \
6947 syscall.h \
6948 termios.h \
6949 unicode/ubidi.h \
6950 unistd.h \
6951 utime.h \
6952 valgrind/memcheck.h
6955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 ac_res=`eval echo '${'$as_ac_Header'}'`
6963 { echo "$as_me:$LINENO: result: $ac_res" >&5
6964 echo "${ECHO_T}$ac_res" >&6; }
6965 else
6966 # Is the header compilable?
6967 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6969 cat >conftest.$ac_ext <<_ACEOF
6970 /* confdefs.h. */
6971 _ACEOF
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 $ac_includes_default
6976 #include <$ac_header>
6977 _ACEOF
6978 rm -f conftest.$ac_objext
6979 if { (ac_try="$ac_compile"
6980 case "(($ac_try" in
6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6983 esac
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_compile") 2>conftest.er1
6986 ac_status=$?
6987 grep -v '^ *+' conftest.er1 >conftest.err
6988 rm -f conftest.er1
6989 cat conftest.err >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } && {
6992 test -z "$ac_c_werror_flag" ||
6993 test ! -s conftest.err
6994 } && test -s conftest.$ac_objext; then
6995 ac_header_compiler=yes
6996 else
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7000 ac_header_compiler=no
7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7005 echo "${ECHO_T}$ac_header_compiler" >&6; }
7007 # Is the header present?
7008 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7010 cat >conftest.$ac_ext <<_ACEOF
7011 /* confdefs.h. */
7012 _ACEOF
7013 cat confdefs.h >>conftest.$ac_ext
7014 cat >>conftest.$ac_ext <<_ACEOF
7015 /* end confdefs.h. */
7016 #include <$ac_header>
7017 _ACEOF
7018 if { (ac_try="$ac_cpp conftest.$ac_ext"
7019 case "(($ac_try" in
7020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7021 *) ac_try_echo=$ac_try;;
7022 esac
7023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7025 ac_status=$?
7026 grep -v '^ *+' conftest.er1 >conftest.err
7027 rm -f conftest.er1
7028 cat conftest.err >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } >/dev/null && {
7031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7032 test ! -s conftest.err
7033 }; then
7034 ac_header_preproc=yes
7035 else
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7039 ac_header_preproc=no
7042 rm -f conftest.err conftest.$ac_ext
7043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7044 echo "${ECHO_T}$ac_header_preproc" >&6; }
7046 # So? What about this header?
7047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7048 yes:no: )
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7053 ac_header_preproc=yes
7055 no:yes:* )
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7068 ( cat <<\_ASBOX
7069 ## ------------------------------------ ##
7070 ## Report this to wine-devel@winehq.org ##
7071 ## ------------------------------------ ##
7072 _ASBOX
7073 ) | sed "s/^/$as_me: WARNING: /" >&2
7075 esac
7076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 else
7081 eval "$as_ac_Header=\$ac_header_preproc"
7083 ac_res=`eval echo '${'$as_ac_Header'}'`
7084 { echo "$as_me:$LINENO: result: $ac_res" >&5
7085 echo "${ECHO_T}$ac_res" >&6; }
7088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7089 cat >>confdefs.h <<_ACEOF
7090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7091 _ACEOF
7095 done
7097 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7098 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7099 if test "${ac_cv_header_stat_broken+set}" = set; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7101 else
7102 cat >conftest.$ac_ext <<_ACEOF
7103 /* confdefs.h. */
7104 _ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7108 #include <sys/types.h>
7109 #include <sys/stat.h>
7111 #if defined S_ISBLK && defined S_IFDIR
7112 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7113 #endif
7115 #if defined S_ISBLK && defined S_IFCHR
7116 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7117 #endif
7119 #if defined S_ISLNK && defined S_IFREG
7120 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7121 #endif
7123 #if defined S_ISSOCK && defined S_IFREG
7124 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7125 #endif
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (ac_try="$ac_compile"
7130 case "(($ac_try" in
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7133 esac
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 ac_cv_header_stat_broken=no
7146 else
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7150 ac_cv_header_stat_broken=yes
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7156 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7157 if test $ac_cv_header_stat_broken = yes; then
7159 cat >>confdefs.h <<\_ACEOF
7160 #define STAT_MACROS_BROKEN 1
7161 _ACEOF
7171 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 else
7179 cat >conftest.$ac_ext <<_ACEOF
7180 /* confdefs.h. */
7181 _ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <sys/types.h>
7186 #if HAVE_SYS_PARAM_H
7187 # include <sys/param.h>
7188 #endif
7190 #include <$ac_header>
7191 _ACEOF
7192 rm -f conftest.$ac_objext
7193 if { (ac_try="$ac_compile"
7194 case "(($ac_try" in
7195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7197 esac
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_compile") 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest.$ac_objext; then
7209 eval "$as_ac_Header=yes"
7210 else
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 eval "$as_ac_Header=no"
7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7219 ac_res=`eval echo '${'$as_ac_Header'}'`
7220 { echo "$as_me:$LINENO: result: $ac_res" >&5
7221 echo "${ECHO_T}$ac_res" >&6; }
7222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7223 cat >>confdefs.h <<_ACEOF
7224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7225 _ACEOF
7229 done
7238 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
7240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 else
7246 cat >conftest.$ac_ext <<_ACEOF
7247 /* confdefs.h. */
7248 _ACEOF
7249 cat confdefs.h >>conftest.$ac_ext
7250 cat >>conftest.$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 #include <sys/types.h>
7253 #if HAVE_SYS_SOCKET_H
7254 # include <sys/socket.h>
7255 #endif
7257 #include <$ac_header>
7258 _ACEOF
7259 rm -f conftest.$ac_objext
7260 if { (ac_try="$ac_compile"
7261 case "(($ac_try" in
7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7264 esac
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7267 ac_status=$?
7268 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7276 eval "$as_ac_Header=yes"
7277 else
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7281 eval "$as_ac_Header=no"
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7286 ac_res=`eval echo '${'$as_ac_Header'}'`
7287 { echo "$as_me:$LINENO: result: $ac_res" >&5
7288 echo "${ECHO_T}$ac_res" >&6; }
7289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7290 cat >>confdefs.h <<_ACEOF
7291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7292 _ACEOF
7296 done
7300 for ac_header in linux/ipx.h
7302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7307 else
7308 cat >conftest.$ac_ext <<_ACEOF
7309 /* confdefs.h. */
7310 _ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <sys/types.h>
7315 #ifdef HAVE_ASM_TYPES_H
7316 # include <asm/types.h>
7317 #endif
7318 #if HAVE_SYS_SOCKET_H
7319 # include <sys/socket.h>
7320 #endif
7322 #include <$ac_header>
7323 _ACEOF
7324 rm -f conftest.$ac_objext
7325 if { (ac_try="$ac_compile"
7326 case "(($ac_try" in
7327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7328 *) ac_try_echo=$ac_try;;
7329 esac
7330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7331 (eval "$ac_compile") 2>conftest.er1
7332 ac_status=$?
7333 grep -v '^ *+' conftest.er1 >conftest.err
7334 rm -f conftest.er1
7335 cat conftest.err >&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); } && {
7338 test -z "$ac_c_werror_flag" ||
7339 test ! -s conftest.err
7340 } && test -s conftest.$ac_objext; then
7341 eval "$as_ac_Header=yes"
7342 else
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.$ac_ext >&5
7346 eval "$as_ac_Header=no"
7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 ac_res=`eval echo '${'$as_ac_Header'}'`
7352 { echo "$as_me:$LINENO: result: $ac_res" >&5
7353 echo "${ECHO_T}$ac_res" >&6; }
7354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7355 cat >>confdefs.h <<_ACEOF
7356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7357 _ACEOF
7361 done
7365 for ac_header in resolv.h
7367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7371 echo $ECHO_N "(cached) $ECHO_C" >&6
7372 else
7373 cat >conftest.$ac_ext <<_ACEOF
7374 /* confdefs.h. */
7375 _ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7379 #include <sys/types.h>
7380 #if HAVE_SYS_SOCKET_H
7381 # include <sys/socket.h>
7382 #endif
7383 #if HAVE_NETINET_IN_H
7384 # include <netinet/in.h>
7385 #endif
7386 #if HAVE_ARPA_NAMESER_H
7387 # include <arpa/nameser.h>
7388 #endif
7390 #include <$ac_header>
7391 _ACEOF
7392 rm -f conftest.$ac_objext
7393 if { (ac_try="$ac_compile"
7394 case "(($ac_try" in
7395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7396 *) ac_try_echo=$ac_try;;
7397 esac
7398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7399 (eval "$ac_compile") 2>conftest.er1
7400 ac_status=$?
7401 grep -v '^ *+' conftest.er1 >conftest.err
7402 rm -f conftest.er1
7403 cat conftest.err >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } && {
7406 test -z "$ac_c_werror_flag" ||
7407 test ! -s conftest.err
7408 } && test -s conftest.$ac_objext; then
7409 eval "$as_ac_Header=yes"
7410 else
7411 echo "$as_me: failed program was:" >&5
7412 sed 's/^/| /' conftest.$ac_ext >&5
7414 eval "$as_ac_Header=no"
7417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7419 ac_res=`eval echo '${'$as_ac_Header'}'`
7420 { echo "$as_me:$LINENO: result: $ac_res" >&5
7421 echo "${ECHO_T}$ac_res" >&6; }
7422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7423 cat >>confdefs.h <<_ACEOF
7424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7425 _ACEOF
7429 done
7433 for ac_header in ucontext.h
7435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 else
7441 cat >conftest.$ac_ext <<_ACEOF
7442 /* confdefs.h. */
7443 _ACEOF
7444 cat confdefs.h >>conftest.$ac_ext
7445 cat >>conftest.$ac_ext <<_ACEOF
7446 /* end confdefs.h. */
7447 #include <signal.h>
7449 #include <$ac_header>
7450 _ACEOF
7451 rm -f conftest.$ac_objext
7452 if { (ac_try="$ac_compile"
7453 case "(($ac_try" in
7454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7455 *) ac_try_echo=$ac_try;;
7456 esac
7457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7458 (eval "$ac_compile") 2>conftest.er1
7459 ac_status=$?
7460 grep -v '^ *+' conftest.er1 >conftest.err
7461 rm -f conftest.er1
7462 cat conftest.err >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } && {
7465 test -z "$ac_c_werror_flag" ||
7466 test ! -s conftest.err
7467 } && test -s conftest.$ac_objext; then
7468 eval "$as_ac_Header=yes"
7469 else
7470 echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.$ac_ext >&5
7473 eval "$as_ac_Header=no"
7476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478 ac_res=`eval echo '${'$as_ac_Header'}'`
7479 { echo "$as_me:$LINENO: result: $ac_res" >&5
7480 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7484 _ACEOF
7488 done
7492 for ac_header in pthread_np.h
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500 cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h. */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #ifdef HAVE_PTHREAD_H
7507 #include <pthread.h>
7508 #endif
7510 #include <$ac_header>
7511 _ACEOF
7512 rm -f conftest.$ac_objext
7513 if { (ac_try="$ac_compile"
7514 case "(($ac_try" in
7515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7516 *) ac_try_echo=$ac_try;;
7517 esac
7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7519 (eval "$ac_compile") 2>conftest.er1
7520 ac_status=$?
7521 grep -v '^ *+' conftest.er1 >conftest.err
7522 rm -f conftest.er1
7523 cat conftest.err >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } && {
7526 test -z "$ac_c_werror_flag" ||
7527 test ! -s conftest.err
7528 } && test -s conftest.$ac_objext; then
7529 eval "$as_ac_Header=yes"
7530 else
7531 echo "$as_me: failed program was:" >&5
7532 sed 's/^/| /' conftest.$ac_ext >&5
7534 eval "$as_ac_Header=no"
7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539 ac_res=`eval echo '${'$as_ac_Header'}'`
7540 { echo "$as_me:$LINENO: result: $ac_res" >&5
7541 echo "${ECHO_T}$ac_res" >&6; }
7542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7543 cat >>confdefs.h <<_ACEOF
7544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7545 _ACEOF
7549 done
7553 for ac_header in linux/videodev.h
7555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 else
7561 cat >conftest.$ac_ext <<_ACEOF
7562 /* confdefs.h. */
7563 _ACEOF
7564 cat confdefs.h >>conftest.$ac_ext
7565 cat >>conftest.$ac_ext <<_ACEOF
7566 /* end confdefs.h. */
7567 #ifdef HAVE_SYS_TIME_H
7568 #include <sys/time.h>
7569 #endif
7570 #include <sys/types.h>
7571 #ifdef HAVE_ASM_TYPES_H
7572 #include <asm/types.h>
7573 #endif
7575 #include <$ac_header>
7576 _ACEOF
7577 rm -f conftest.$ac_objext
7578 if { (ac_try="$ac_compile"
7579 case "(($ac_try" in
7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581 *) ac_try_echo=$ac_try;;
7582 esac
7583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_compile") 2>conftest.er1
7585 ac_status=$?
7586 grep -v '^ *+' conftest.er1 >conftest.err
7587 rm -f conftest.er1
7588 cat conftest.err >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && {
7591 test -z "$ac_c_werror_flag" ||
7592 test ! -s conftest.err
7593 } && test -s conftest.$ac_objext; then
7594 eval "$as_ac_Header=yes"
7595 else
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.$ac_ext >&5
7599 eval "$as_ac_Header=no"
7602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7604 ac_res=`eval echo '${'$as_ac_Header'}'`
7605 { echo "$as_me:$LINENO: result: $ac_res" >&5
7606 echo "${ECHO_T}$ac_res" >&6; }
7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7608 cat >>confdefs.h <<_ACEOF
7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7610 _ACEOF
7614 done
7618 for ac_header in linux/capi.h
7620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626 cat >conftest.$ac_ext <<_ACEOF
7627 /* confdefs.h. */
7628 _ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 #define __user
7634 #include <$ac_header>
7635 _ACEOF
7636 rm -f conftest.$ac_objext
7637 if { (ac_try="$ac_compile"
7638 case "(($ac_try" in
7639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7640 *) ac_try_echo=$ac_try;;
7641 esac
7642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7643 (eval "$ac_compile") 2>conftest.er1
7644 ac_status=$?
7645 grep -v '^ *+' conftest.er1 >conftest.err
7646 rm -f conftest.er1
7647 cat conftest.err >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); } && {
7650 test -z "$ac_c_werror_flag" ||
7651 test ! -s conftest.err
7652 } && test -s conftest.$ac_objext; then
7653 eval "$as_ac_Header=yes"
7654 else
7655 echo "$as_me: failed program was:" >&5
7656 sed 's/^/| /' conftest.$ac_ext >&5
7658 eval "$as_ac_Header=no"
7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7663 ac_res=`eval echo '${'$as_ac_Header'}'`
7664 { echo "$as_me:$LINENO: result: $ac_res" >&5
7665 echo "${ECHO_T}$ac_res" >&6; }
7666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7667 cat >>confdefs.h <<_ACEOF
7668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7677 if test "$have_x" = "yes"
7678 then
7679 XLIB="-lXext -lX11"
7680 ac_save_CPPFLAGS="$CPPFLAGS"
7681 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7694 for ac_header in X11/Xlib.h \
7695 X11/XKBlib.h \
7696 X11/Xutil.h \
7697 X11/Xcursor/Xcursor.h \
7698 X11/extensions/shape.h \
7699 X11/extensions/XInput.h \
7700 X11/extensions/XShm.h \
7701 X11/extensions/Xinerama.h \
7702 X11/extensions/Xrandr.h \
7703 X11/extensions/Xrender.h \
7704 X11/extensions/xf86vmode.h
7706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7711 else
7712 cat >conftest.$ac_ext <<_ACEOF
7713 /* confdefs.h. */
7714 _ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 #ifdef HAVE_X11_XLIB_H
7719 # include <X11/Xlib.h>
7720 #endif
7721 #ifdef HAVE_X11_XUTIL_H
7722 # include <X11/Xutil.h>
7723 #endif
7725 #include <$ac_header>
7726 _ACEOF
7727 rm -f conftest.$ac_objext
7728 if { (ac_try="$ac_compile"
7729 case "(($ac_try" in
7730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731 *) ac_try_echo=$ac_try;;
7732 esac
7733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734 (eval "$ac_compile") 2>conftest.er1
7735 ac_status=$?
7736 grep -v '^ *+' conftest.er1 >conftest.err
7737 rm -f conftest.er1
7738 cat conftest.err >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } && {
7741 test -z "$ac_c_werror_flag" ||
7742 test ! -s conftest.err
7743 } && test -s conftest.$ac_objext; then
7744 eval "$as_ac_Header=yes"
7745 else
7746 echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.$ac_ext >&5
7749 eval "$as_ac_Header=no"
7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754 ac_res=`eval echo '${'$as_ac_Header'}'`
7755 { echo "$as_me:$LINENO: result: $ac_res" >&5
7756 echo "${ECHO_T}$ac_res" >&6; }
7757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7758 cat >>confdefs.h <<_ACEOF
7759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7760 _ACEOF
7764 done
7767 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7768 then
7769 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7770 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7771 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 else
7774 ac_check_lib_save_LIBS=$LIBS
7775 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7776 cat >conftest.$ac_ext <<_ACEOF
7777 /* confdefs.h. */
7778 _ACEOF
7779 cat confdefs.h >>conftest.$ac_ext
7780 cat >>conftest.$ac_ext <<_ACEOF
7781 /* end confdefs.h. */
7783 /* Override any GCC internal prototype to avoid an error.
7784 Use char because int might match the return type of a GCC
7785 builtin and then its argument prototype would still apply. */
7786 #ifdef __cplusplus
7787 extern "C"
7788 #endif
7789 char XkbQueryExtension ();
7791 main ()
7793 return XkbQueryExtension ();
7795 return 0;
7797 _ACEOF
7798 rm -f conftest.$ac_objext conftest$ac_exeext
7799 if { (ac_try="$ac_link"
7800 case "(($ac_try" in
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7803 esac
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_link") 2>conftest.er1
7806 ac_status=$?
7807 grep -v '^ *+' conftest.er1 >conftest.err
7808 rm -f conftest.er1
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } && {
7812 test -z "$ac_c_werror_flag" ||
7813 test ! -s conftest.err
7814 } && test -s conftest$ac_exeext &&
7815 $as_test_x conftest$ac_exeext; then
7816 ac_cv_lib_X11_XkbQueryExtension=yes
7817 else
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.$ac_ext >&5
7821 ac_cv_lib_X11_XkbQueryExtension=no
7824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7825 conftest$ac_exeext conftest.$ac_ext
7826 LIBS=$ac_check_lib_save_LIBS
7828 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7829 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7830 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7832 cat >>confdefs.h <<\_ACEOF
7833 #define HAVE_XKB 1
7834 _ACEOF
7840 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7841 then
7842 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7843 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7844 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 else
7847 ac_check_lib_save_LIBS=$LIBS
7848 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7856 /* Override any GCC internal prototype to avoid an error.
7857 Use char because int might match the return type of a GCC
7858 builtin and then its argument prototype would still apply. */
7859 #ifdef __cplusplus
7860 extern "C"
7861 #endif
7862 char XShmQueryExtension ();
7864 main ()
7866 return XShmQueryExtension ();
7868 return 0;
7870 _ACEOF
7871 rm -f conftest.$ac_objext conftest$ac_exeext
7872 if { (ac_try="$ac_link"
7873 case "(($ac_try" in
7874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7875 *) ac_try_echo=$ac_try;;
7876 esac
7877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7878 (eval "$ac_link") 2>conftest.er1
7879 ac_status=$?
7880 grep -v '^ *+' conftest.er1 >conftest.err
7881 rm -f conftest.er1
7882 cat conftest.err >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); } && {
7885 test -z "$ac_c_werror_flag" ||
7886 test ! -s conftest.err
7887 } && test -s conftest$ac_exeext &&
7888 $as_test_x conftest$ac_exeext; then
7889 ac_cv_lib_Xext_XShmQueryExtension=yes
7890 else
7891 echo "$as_me: failed program was:" >&5
7892 sed 's/^/| /' conftest.$ac_ext >&5
7894 ac_cv_lib_Xext_XShmQueryExtension=no
7897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7898 conftest$ac_exeext conftest.$ac_ext
7899 LIBS=$ac_check_lib_save_LIBS
7901 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7902 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7903 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7905 cat >>confdefs.h <<\_ACEOF
7906 #define HAVE_LIBXXSHM 1
7907 _ACEOF
7913 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7914 then
7915 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7916 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7917 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 else
7920 ac_check_lib_save_LIBS=$LIBS
7921 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7922 cat >conftest.$ac_ext <<_ACEOF
7923 /* confdefs.h. */
7924 _ACEOF
7925 cat confdefs.h >>conftest.$ac_ext
7926 cat >>conftest.$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7929 /* Override any GCC internal prototype to avoid an error.
7930 Use char because int might match the return type of a GCC
7931 builtin and then its argument prototype would still apply. */
7932 #ifdef __cplusplus
7933 extern "C"
7934 #endif
7935 char XShapeQueryExtension ();
7937 main ()
7939 return XShapeQueryExtension ();
7941 return 0;
7943 _ACEOF
7944 rm -f conftest.$ac_objext conftest$ac_exeext
7945 if { (ac_try="$ac_link"
7946 case "(($ac_try" in
7947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7948 *) ac_try_echo=$ac_try;;
7949 esac
7950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7951 (eval "$ac_link") 2>conftest.er1
7952 ac_status=$?
7953 grep -v '^ *+' conftest.er1 >conftest.err
7954 rm -f conftest.er1
7955 cat conftest.err >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } && {
7958 test -z "$ac_c_werror_flag" ||
7959 test ! -s conftest.err
7960 } && test -s conftest$ac_exeext &&
7961 $as_test_x conftest$ac_exeext; then
7962 ac_cv_lib_Xext_XShapeQueryExtension=yes
7963 else
7964 echo "$as_me: failed program was:" >&5
7965 sed 's/^/| /' conftest.$ac_ext >&5
7967 ac_cv_lib_Xext_XShapeQueryExtension=no
7970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7971 conftest$ac_exeext conftest.$ac_ext
7972 LIBS=$ac_check_lib_save_LIBS
7974 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7975 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7976 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7978 cat >>confdefs.h <<\_ACEOF
7979 #define HAVE_LIBXSHAPE 1
7980 _ACEOF
7986 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7987 then
7988 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7989 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7990 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7992 else
7993 ac_check_lib_save_LIBS=$LIBS
7994 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h. */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8002 /* Override any GCC internal prototype to avoid an error.
8003 Use char because int might match the return type of a GCC
8004 builtin and then its argument prototype would still apply. */
8005 #ifdef __cplusplus
8006 extern "C"
8007 #endif
8008 char XF86VidModeQueryExtension ();
8010 main ()
8012 return XF86VidModeQueryExtension ();
8014 return 0;
8016 _ACEOF
8017 rm -f conftest.$ac_objext conftest$ac_exeext
8018 if { (ac_try="$ac_link"
8019 case "(($ac_try" in
8020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8021 *) ac_try_echo=$ac_try;;
8022 esac
8023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8024 (eval "$ac_link") 2>conftest.er1
8025 ac_status=$?
8026 grep -v '^ *+' conftest.er1 >conftest.err
8027 rm -f conftest.er1
8028 cat conftest.err >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && {
8031 test -z "$ac_c_werror_flag" ||
8032 test ! -s conftest.err
8033 } && test -s conftest$ac_exeext &&
8034 $as_test_x conftest$ac_exeext; then
8035 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8036 else
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.$ac_ext >&5
8040 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8044 conftest$ac_exeext conftest.$ac_ext
8045 LIBS=$ac_check_lib_save_LIBS
8047 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8048 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8049 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8051 cat >>confdefs.h <<\_ACEOF
8052 #define HAVE_LIBXXF86VM 1
8053 _ACEOF
8055 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8061 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8062 then
8063 cat >conftest.$ac_ext <<_ACEOF
8064 /* confdefs.h. */
8065 _ACEOF
8066 cat confdefs.h >>conftest.$ac_ext
8067 cat >>conftest.$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8069 #include <X11/Xlib.h>
8070 #include <X11/extensions/Xrandr.h>
8072 main ()
8074 static typeof(XRRSetScreenConfigAndRate) * func;
8076 return 0;
8078 _ACEOF
8079 rm -f conftest.$ac_objext
8080 if { (ac_try="$ac_compile"
8081 case "(($ac_try" in
8082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8083 *) ac_try_echo=$ac_try;;
8084 esac
8085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8086 (eval "$ac_compile") 2>conftest.er1
8087 ac_status=$?
8088 grep -v '^ *+' conftest.er1 >conftest.err
8089 rm -f conftest.er1
8090 cat conftest.err >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } && {
8093 test -z "$ac_c_werror_flag" ||
8094 test ! -s conftest.err
8095 } && test -s conftest.$ac_objext; then
8097 cat >>confdefs.h <<\_ACEOF
8098 #define HAVE_LIBXRANDR 1
8099 _ACEOF
8101 else
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.$ac_ext >&5
8108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8111 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8112 then
8113 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8114 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8115 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8117 else
8118 ac_check_lib_save_LIBS=$LIBS
8119 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8120 cat >conftest.$ac_ext <<_ACEOF
8121 /* confdefs.h. */
8122 _ACEOF
8123 cat confdefs.h >>conftest.$ac_ext
8124 cat >>conftest.$ac_ext <<_ACEOF
8125 /* end confdefs.h. */
8127 /* Override any GCC internal prototype to avoid an error.
8128 Use char because int might match the return type of a GCC
8129 builtin and then its argument prototype would still apply. */
8130 #ifdef __cplusplus
8131 extern "C"
8132 #endif
8133 char XRenderSetPictureTransform ();
8135 main ()
8137 return XRenderSetPictureTransform ();
8139 return 0;
8141 _ACEOF
8142 rm -f conftest.$ac_objext conftest$ac_exeext
8143 if { (ac_try="$ac_link"
8144 case "(($ac_try" in
8145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8146 *) ac_try_echo=$ac_try;;
8147 esac
8148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8149 (eval "$ac_link") 2>conftest.er1
8150 ac_status=$?
8151 grep -v '^ *+' conftest.er1 >conftest.err
8152 rm -f conftest.er1
8153 cat conftest.err >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } && {
8156 test -z "$ac_c_werror_flag" ||
8157 test ! -s conftest.err
8158 } && test -s conftest$ac_exeext &&
8159 $as_test_x conftest$ac_exeext; then
8160 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8161 else
8162 echo "$as_me: failed program was:" >&5
8163 sed 's/^/| /' conftest.$ac_ext >&5
8165 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8169 conftest$ac_exeext conftest.$ac_ext
8170 LIBS=$ac_check_lib_save_LIBS
8172 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8173 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8174 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8176 cat >>confdefs.h <<\_ACEOF
8177 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8178 _ACEOF
8184 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8185 then
8186 cat >conftest.$ac_ext <<_ACEOF
8187 /* confdefs.h. */
8188 _ACEOF
8189 cat confdefs.h >>conftest.$ac_ext
8190 cat >>conftest.$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8192 #include <X11/Xlib.h>
8193 #include <X11/extensions/Xinerama.h>
8195 main ()
8197 static typeof(XineramaQueryScreens) * func;
8199 return 0;
8201 _ACEOF
8202 rm -f conftest.$ac_objext
8203 if { (ac_try="$ac_compile"
8204 case "(($ac_try" in
8205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8207 esac
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_compile") 2>conftest.er1
8210 ac_status=$?
8211 grep -v '^ *+' conftest.er1 >conftest.err
8212 rm -f conftest.er1
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest.$ac_objext; then
8220 cat >>confdefs.h <<\_ACEOF
8221 #define HAVE_LIBXINERAMA 1
8222 _ACEOF
8224 else
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8235 if test "x$with_opengl" != "xno"
8236 then
8241 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 else
8249 cat >conftest.$ac_ext <<_ACEOF
8250 /* confdefs.h. */
8251 _ACEOF
8252 cat confdefs.h >>conftest.$ac_ext
8253 cat >>conftest.$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8255 #ifdef HAVE_GL_GLX_H
8256 # include <GL/glx.h>
8257 #endif
8259 #include <$ac_header>
8260 _ACEOF
8261 rm -f conftest.$ac_objext
8262 if { (ac_try="$ac_compile"
8263 case "(($ac_try" in
8264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8265 *) ac_try_echo=$ac_try;;
8266 esac
8267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8268 (eval "$ac_compile") 2>conftest.er1
8269 ac_status=$?
8270 grep -v '^ *+' conftest.er1 >conftest.err
8271 rm -f conftest.er1
8272 cat conftest.err >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); } && {
8275 test -z "$ac_c_werror_flag" ||
8276 test ! -s conftest.err
8277 } && test -s conftest.$ac_objext; then
8278 eval "$as_ac_Header=yes"
8279 else
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 eval "$as_ac_Header=no"
8286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8288 ac_res=`eval echo '${'$as_ac_Header'}'`
8289 { echo "$as_me:$LINENO: result: $ac_res" >&5
8290 echo "${ECHO_T}$ac_res" >&6; }
8291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8292 cat >>confdefs.h <<_ACEOF
8293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8294 _ACEOF
8298 done
8300 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8301 then
8302 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8303 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8304 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 else
8307 cat >conftest.$ac_ext <<_ACEOF
8308 /* confdefs.h. */
8309 _ACEOF
8310 cat confdefs.h >>conftest.$ac_ext
8311 cat >>conftest.$ac_ext <<_ACEOF
8312 /* end confdefs.h. */
8313 #include <GL/gl.h>
8315 main ()
8317 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8319 return 0;
8321 _ACEOF
8322 rm -f conftest.$ac_objext
8323 if { (ac_try="$ac_compile"
8324 case "(($ac_try" in
8325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8326 *) ac_try_echo=$ac_try;;
8327 esac
8328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8329 (eval "$ac_compile") 2>conftest.er1
8330 ac_status=$?
8331 grep -v '^ *+' conftest.er1 >conftest.err
8332 rm -f conftest.er1
8333 cat conftest.err >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } && {
8336 test -z "$ac_c_werror_flag" ||
8337 test ! -s conftest.err
8338 } && test -s conftest.$ac_objext; then
8339 wine_cv_opengl_header_version_OK="yes"
8340 else
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.$ac_ext >&5
8344 wine_cv_opengl_header_version_OK="no"
8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8351 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8352 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8354 if test "$wine_cv_opengl_header_version_OK" = "yes"
8355 then
8356 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8357 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8358 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 else
8361 ac_check_lib_save_LIBS=$LIBS
8362 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8363 cat >conftest.$ac_ext <<_ACEOF
8364 /* confdefs.h. */
8365 _ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8370 /* Override any GCC internal prototype to avoid an error.
8371 Use char because int might match the return type of a GCC
8372 builtin and then its argument prototype would still apply. */
8373 #ifdef __cplusplus
8374 extern "C"
8375 #endif
8376 char glXCreateContext ();
8378 main ()
8380 return glXCreateContext ();
8382 return 0;
8384 _ACEOF
8385 rm -f conftest.$ac_objext conftest$ac_exeext
8386 if { (ac_try="$ac_link"
8387 case "(($ac_try" in
8388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8389 *) ac_try_echo=$ac_try;;
8390 esac
8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8392 (eval "$ac_link") 2>conftest.er1
8393 ac_status=$?
8394 grep -v '^ *+' conftest.er1 >conftest.err
8395 rm -f conftest.er1
8396 cat conftest.err >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && {
8399 test -z "$ac_c_werror_flag" ||
8400 test ! -s conftest.err
8401 } && test -s conftest$ac_exeext &&
8402 $as_test_x conftest$ac_exeext; then
8403 ac_cv_lib_GL_glXCreateContext=yes
8404 else
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8408 ac_cv_lib_GL_glXCreateContext=no
8411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8412 conftest$ac_exeext conftest.$ac_ext
8413 LIBS=$ac_check_lib_save_LIBS
8415 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8416 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8417 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8418 OPENGL_LIBS="-lGL"
8419 OPENGLFILES='$(OPENGLFILES)'
8421 cat >>confdefs.h <<\_ACEOF
8422 #define HAVE_OPENGL 1
8423 _ACEOF
8429 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8430 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8431 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 else
8434 ac_check_lib_save_LIBS=$LIBS
8435 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8436 $LIBS"
8437 cat >conftest.$ac_ext <<_ACEOF
8438 /* confdefs.h. */
8439 _ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8444 /* Override any GCC internal prototype to avoid an error.
8445 Use char because int might match the return type of a GCC
8446 builtin and then its argument prototype would still apply. */
8447 #ifdef __cplusplus
8448 extern "C"
8449 #endif
8450 char gluLookAt ();
8452 main ()
8454 return gluLookAt ();
8456 return 0;
8458 _ACEOF
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (ac_try="$ac_link"
8461 case "(($ac_try" in
8462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8464 esac
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_link") 2>conftest.er1
8467 ac_status=$?
8468 grep -v '^ *+' conftest.er1 >conftest.err
8469 rm -f conftest.er1
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest$ac_exeext &&
8476 $as_test_x conftest$ac_exeext; then
8477 ac_cv_lib_GLU_gluLookAt=yes
8478 else
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8482 ac_cv_lib_GLU_gluLookAt=no
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486 conftest$ac_exeext conftest.$ac_ext
8487 LIBS=$ac_check_lib_save_LIBS
8489 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8490 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8491 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8492 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8493 GLU32FILES='$(GLU32FILES)'
8498 else
8499 wine_cv_opengl_headers_found="no"
8502 NASLIBS=""
8505 for ac_header in audio/audiolib.h
8507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 ac_res=`eval echo '${'$as_ac_Header'}'`
8515 { echo "$as_me:$LINENO: result: $ac_res" >&5
8516 echo "${ECHO_T}$ac_res" >&6; }
8517 else
8518 # Is the header compilable?
8519 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8521 cat >conftest.$ac_ext <<_ACEOF
8522 /* confdefs.h. */
8523 _ACEOF
8524 cat confdefs.h >>conftest.$ac_ext
8525 cat >>conftest.$ac_ext <<_ACEOF
8526 /* end confdefs.h. */
8527 $ac_includes_default
8528 #include <$ac_header>
8529 _ACEOF
8530 rm -f conftest.$ac_objext
8531 if { (ac_try="$ac_compile"
8532 case "(($ac_try" in
8533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8534 *) ac_try_echo=$ac_try;;
8535 esac
8536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8537 (eval "$ac_compile") 2>conftest.er1
8538 ac_status=$?
8539 grep -v '^ *+' conftest.er1 >conftest.err
8540 rm -f conftest.er1
8541 cat conftest.err >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } && {
8544 test -z "$ac_c_werror_flag" ||
8545 test ! -s conftest.err
8546 } && test -s conftest.$ac_objext; then
8547 ac_header_compiler=yes
8548 else
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 ac_header_compiler=no
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8557 echo "${ECHO_T}$ac_header_compiler" >&6; }
8559 # Is the header present?
8560 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8562 cat >conftest.$ac_ext <<_ACEOF
8563 /* confdefs.h. */
8564 _ACEOF
8565 cat confdefs.h >>conftest.$ac_ext
8566 cat >>conftest.$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 #include <$ac_header>
8569 _ACEOF
8570 if { (ac_try="$ac_cpp conftest.$ac_ext"
8571 case "(($ac_try" in
8572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8573 *) ac_try_echo=$ac_try;;
8574 esac
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8577 ac_status=$?
8578 grep -v '^ *+' conftest.er1 >conftest.err
8579 rm -f conftest.er1
8580 cat conftest.err >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } >/dev/null && {
8583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 }; then
8586 ac_header_preproc=yes
8587 else
8588 echo "$as_me: failed program was:" >&5
8589 sed 's/^/| /' conftest.$ac_ext >&5
8591 ac_header_preproc=no
8594 rm -f conftest.err conftest.$ac_ext
8595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8596 echo "${ECHO_T}$ac_header_preproc" >&6; }
8598 # So? What about this header?
8599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8600 yes:no: )
8601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8605 ac_header_preproc=yes
8607 no:yes:* )
8608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8620 ( cat <<\_ASBOX
8621 ## ------------------------------------ ##
8622 ## Report this to wine-devel@winehq.org ##
8623 ## ------------------------------------ ##
8624 _ASBOX
8625 ) | sed "s/^/$as_me: WARNING: /" >&2
8627 esac
8628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 else
8633 eval "$as_ac_Header=\$ac_header_preproc"
8635 ac_res=`eval echo '${'$as_ac_Header'}'`
8636 { echo "$as_me:$LINENO: result: $ac_res" >&5
8637 echo "${ECHO_T}$ac_res" >&6; }
8640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8641 cat >>confdefs.h <<_ACEOF
8642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8643 _ACEOF
8645 for ac_header in audio/soundlib.h
8647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 else
8653 cat >conftest.$ac_ext <<_ACEOF
8654 /* confdefs.h. */
8655 _ACEOF
8656 cat confdefs.h >>conftest.$ac_ext
8657 cat >>conftest.$ac_ext <<_ACEOF
8658 /* end confdefs.h. */
8659 #include <audio/audiolib.h>
8661 #include <$ac_header>
8662 _ACEOF
8663 rm -f conftest.$ac_objext
8664 if { (ac_try="$ac_compile"
8665 case "(($ac_try" in
8666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8667 *) ac_try_echo=$ac_try;;
8668 esac
8669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8670 (eval "$ac_compile") 2>conftest.er1
8671 ac_status=$?
8672 grep -v '^ *+' conftest.er1 >conftest.err
8673 rm -f conftest.er1
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } && {
8677 test -z "$ac_c_werror_flag" ||
8678 test ! -s conftest.err
8679 } && test -s conftest.$ac_objext; then
8680 eval "$as_ac_Header=yes"
8681 else
8682 echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.$ac_ext >&5
8685 eval "$as_ac_Header=no"
8688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8690 ac_res=`eval echo '${'$as_ac_Header'}'`
8691 { echo "$as_me:$LINENO: result: $ac_res" >&5
8692 echo "${ECHO_T}$ac_res" >&6; }
8693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8694 cat >>confdefs.h <<_ACEOF
8695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8696 _ACEOF
8700 done
8702 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8703 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8704 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 else
8707 ac_check_lib_save_LIBS=$LIBS
8708 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8709 cat >conftest.$ac_ext <<_ACEOF
8710 /* confdefs.h. */
8711 _ACEOF
8712 cat confdefs.h >>conftest.$ac_ext
8713 cat >>conftest.$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8716 /* Override any GCC internal prototype to avoid an error.
8717 Use char because int might match the return type of a GCC
8718 builtin and then its argument prototype would still apply. */
8719 #ifdef __cplusplus
8720 extern "C"
8721 #endif
8722 char AuCreateFlow ();
8724 main ()
8726 return AuCreateFlow ();
8728 return 0;
8730 _ACEOF
8731 rm -f conftest.$ac_objext conftest$ac_exeext
8732 if { (ac_try="$ac_link"
8733 case "(($ac_try" in
8734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8735 *) ac_try_echo=$ac_try;;
8736 esac
8737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8738 (eval "$ac_link") 2>conftest.er1
8739 ac_status=$?
8740 grep -v '^ *+' conftest.er1 >conftest.err
8741 rm -f conftest.er1
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } && {
8745 test -z "$ac_c_werror_flag" ||
8746 test ! -s conftest.err
8747 } && test -s conftest$ac_exeext &&
8748 $as_test_x conftest$ac_exeext; then
8749 ac_cv_lib_audio_AuCreateFlow=yes
8750 else
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8754 ac_cv_lib_audio_AuCreateFlow=no
8757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8758 conftest$ac_exeext conftest.$ac_ext
8759 LIBS=$ac_check_lib_save_LIBS
8761 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8762 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8763 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8765 cat >>confdefs.h <<\_ACEOF
8766 #define HAVE_NAS 1
8767 _ACEOF
8769 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8770 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8771 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 else
8774 ac_check_lib_save_LIBS=$LIBS
8775 LIBS="-lXau $X_LIBS $LIBS"
8776 cat >conftest.$ac_ext <<_ACEOF
8777 /* confdefs.h. */
8778 _ACEOF
8779 cat confdefs.h >>conftest.$ac_ext
8780 cat >>conftest.$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8783 /* Override any GCC internal prototype to avoid an error.
8784 Use char because int might match the return type of a GCC
8785 builtin and then its argument prototype would still apply. */
8786 #ifdef __cplusplus
8787 extern "C"
8788 #endif
8789 char XauGetBestAuthByAddr ();
8791 main ()
8793 return XauGetBestAuthByAddr ();
8795 return 0;
8797 _ACEOF
8798 rm -f conftest.$ac_objext conftest$ac_exeext
8799 if { (ac_try="$ac_link"
8800 case "(($ac_try" in
8801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8802 *) ac_try_echo=$ac_try;;
8803 esac
8804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8805 (eval "$ac_link") 2>conftest.er1
8806 ac_status=$?
8807 grep -v '^ *+' conftest.er1 >conftest.err
8808 rm -f conftest.er1
8809 cat conftest.err >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && {
8812 test -z "$ac_c_werror_flag" ||
8813 test ! -s conftest.err
8814 } && test -s conftest$ac_exeext &&
8815 $as_test_x conftest$ac_exeext; then
8816 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8817 else
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5
8821 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8825 conftest$ac_exeext conftest.$ac_ext
8826 LIBS=$ac_check_lib_save_LIBS
8828 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8829 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8830 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8831 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8832 else
8833 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8841 done
8844 CPPFLAGS="$ac_save_CPPFLAGS"
8845 XFILES='$(XFILES)'
8846 else
8847 XLIB=""
8848 X_CFLAGS=""
8849 X_LIBS=""
8853 XML2LIBS=""
8855 XML2INCL=""
8857 XSLTLIBS=""
8859 XSLTINCL=""
8861 if test "$PKG_CONFIG" != "false"
8862 then
8863 ac_save_CPPFLAGS="$CPPFLAGS"
8864 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8865 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8866 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8868 for ac_header in libxml/parser.h
8870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8877 ac_res=`eval echo '${'$as_ac_Header'}'`
8878 { echo "$as_me:$LINENO: result: $ac_res" >&5
8879 echo "${ECHO_T}$ac_res" >&6; }
8880 else
8881 # Is the header compilable?
8882 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890 $ac_includes_default
8891 #include <$ac_header>
8892 _ACEOF
8893 rm -f conftest.$ac_objext
8894 if { (ac_try="$ac_compile"
8895 case "(($ac_try" in
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8898 esac
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_compile") 2>conftest.er1
8901 ac_status=$?
8902 grep -v '^ *+' conftest.er1 >conftest.err
8903 rm -f conftest.er1
8904 cat conftest.err >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } && {
8907 test -z "$ac_c_werror_flag" ||
8908 test ! -s conftest.err
8909 } && test -s conftest.$ac_objext; then
8910 ac_header_compiler=yes
8911 else
8912 echo "$as_me: failed program was:" >&5
8913 sed 's/^/| /' conftest.$ac_ext >&5
8915 ac_header_compiler=no
8918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8919 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8920 echo "${ECHO_T}$ac_header_compiler" >&6; }
8922 # Is the header present?
8923 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8925 cat >conftest.$ac_ext <<_ACEOF
8926 /* confdefs.h. */
8927 _ACEOF
8928 cat confdefs.h >>conftest.$ac_ext
8929 cat >>conftest.$ac_ext <<_ACEOF
8930 /* end confdefs.h. */
8931 #include <$ac_header>
8932 _ACEOF
8933 if { (ac_try="$ac_cpp conftest.$ac_ext"
8934 case "(($ac_try" in
8935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8936 *) ac_try_echo=$ac_try;;
8937 esac
8938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8940 ac_status=$?
8941 grep -v '^ *+' conftest.er1 >conftest.err
8942 rm -f conftest.er1
8943 cat conftest.err >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } >/dev/null && {
8946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8947 test ! -s conftest.err
8948 }; then
8949 ac_header_preproc=yes
8950 else
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8954 ac_header_preproc=no
8957 rm -f conftest.err conftest.$ac_ext
8958 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8959 echo "${ECHO_T}$ac_header_preproc" >&6; }
8961 # So? What about this header?
8962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8963 yes:no: )
8964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8968 ac_header_preproc=yes
8970 no:yes:* )
8971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8983 ( cat <<\_ASBOX
8984 ## ------------------------------------ ##
8985 ## Report this to wine-devel@winehq.org ##
8986 ## ------------------------------------ ##
8987 _ASBOX
8988 ) | sed "s/^/$as_me: WARNING: /" >&2
8990 esac
8991 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 else
8996 eval "$as_ac_Header=\$ac_header_preproc"
8998 ac_res=`eval echo '${'$as_ac_Header'}'`
8999 { echo "$as_me:$LINENO: result: $ac_res" >&5
9000 echo "${ECHO_T}$ac_res" >&6; }
9003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9004 cat >>confdefs.h <<_ACEOF
9005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9006 _ACEOF
9007 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9008 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9009 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9010 echo $ECHO_N "(cached) $ECHO_C" >&6
9011 else
9012 ac_check_lib_save_LIBS=$LIBS
9013 LIBS="-lxml2 $ac_xml_libs $LIBS"
9014 cat >conftest.$ac_ext <<_ACEOF
9015 /* confdefs.h. */
9016 _ACEOF
9017 cat confdefs.h >>conftest.$ac_ext
9018 cat >>conftest.$ac_ext <<_ACEOF
9019 /* end confdefs.h. */
9021 /* Override any GCC internal prototype to avoid an error.
9022 Use char because int might match the return type of a GCC
9023 builtin and then its argument prototype would still apply. */
9024 #ifdef __cplusplus
9025 extern "C"
9026 #endif
9027 char xmlParseMemory ();
9029 main ()
9031 return xmlParseMemory ();
9033 return 0;
9035 _ACEOF
9036 rm -f conftest.$ac_objext conftest$ac_exeext
9037 if { (ac_try="$ac_link"
9038 case "(($ac_try" in
9039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9040 *) ac_try_echo=$ac_try;;
9041 esac
9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9043 (eval "$ac_link") 2>conftest.er1
9044 ac_status=$?
9045 grep -v '^ *+' conftest.er1 >conftest.err
9046 rm -f conftest.er1
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } && {
9050 test -z "$ac_c_werror_flag" ||
9051 test ! -s conftest.err
9052 } && test -s conftest$ac_exeext &&
9053 $as_test_x conftest$ac_exeext; then
9054 ac_cv_lib_xml2_xmlParseMemory=yes
9055 else
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.$ac_ext >&5
9059 ac_cv_lib_xml2_xmlParseMemory=no
9062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS=$ac_check_lib_save_LIBS
9066 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9067 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9068 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9070 cat >>confdefs.h <<\_ACEOF
9071 #define HAVE_LIBXML2 1
9072 _ACEOF
9074 XML2LIBS="$ac_xml_libs"
9075 XML2INCL="$ac_xml_cflags"
9078 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9079 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9080 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 else
9083 ac_check_lib_save_LIBS=$LIBS
9084 LIBS="-lxml2 $ac_xml_libs $LIBS"
9085 cat >conftest.$ac_ext <<_ACEOF
9086 /* confdefs.h. */
9087 _ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9095 #ifdef __cplusplus
9096 extern "C"
9097 #endif
9098 char xmlReadMemory ();
9100 main ()
9102 return xmlReadMemory ();
9104 return 0;
9106 _ACEOF
9107 rm -f conftest.$ac_objext conftest$ac_exeext
9108 if { (ac_try="$ac_link"
9109 case "(($ac_try" in
9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9111 *) ac_try_echo=$ac_try;;
9112 esac
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9114 (eval "$ac_link") 2>conftest.er1
9115 ac_status=$?
9116 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } && {
9121 test -z "$ac_c_werror_flag" ||
9122 test ! -s conftest.err
9123 } && test -s conftest$ac_exeext &&
9124 $as_test_x conftest$ac_exeext; then
9125 ac_cv_lib_xml2_xmlReadMemory=yes
9126 else
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.$ac_ext >&5
9130 ac_cv_lib_xml2_xmlReadMemory=no
9133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9134 conftest$ac_exeext conftest.$ac_ext
9135 LIBS=$ac_check_lib_save_LIBS
9137 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9138 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9139 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9141 cat >>confdefs.h <<\_ACEOF
9142 #define HAVE_XMLREADMEMORY 1
9143 _ACEOF
9147 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9148 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9149 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 else
9152 ac_check_lib_save_LIBS=$LIBS
9153 LIBS="-lxml2 $ac_xml_libs $LIBS"
9154 cat >conftest.$ac_ext <<_ACEOF
9155 /* confdefs.h. */
9156 _ACEOF
9157 cat confdefs.h >>conftest.$ac_ext
9158 cat >>conftest.$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9164 #ifdef __cplusplus
9165 extern "C"
9166 #endif
9167 char xmlNewDocPI ();
9169 main ()
9171 return xmlNewDocPI ();
9173 return 0;
9175 _ACEOF
9176 rm -f conftest.$ac_objext conftest$ac_exeext
9177 if { (ac_try="$ac_link"
9178 case "(($ac_try" in
9179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9180 *) ac_try_echo=$ac_try;;
9181 esac
9182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9183 (eval "$ac_link") 2>conftest.er1
9184 ac_status=$?
9185 grep -v '^ *+' conftest.er1 >conftest.err
9186 rm -f conftest.er1
9187 cat conftest.err >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } && {
9190 test -z "$ac_c_werror_flag" ||
9191 test ! -s conftest.err
9192 } && test -s conftest$ac_exeext &&
9193 $as_test_x conftest$ac_exeext; then
9194 ac_cv_lib_xml2_xmlNewDocPI=yes
9195 else
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9199 ac_cv_lib_xml2_xmlNewDocPI=no
9202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_lib_save_LIBS
9206 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9207 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9208 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9210 cat >>confdefs.h <<\_ACEOF
9211 #define HAVE_XMLNEWDOCPI 1
9212 _ACEOF
9219 done
9221 CPPFLAGS="$ac_save_CPPFLAGS"
9222 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9223 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9224 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9227 for ac_header in libxslt/pattern.h libxslt/transform.h
9229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9230 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 cat >conftest.$ac_ext <<_ACEOF
9236 /* confdefs.h. */
9237 _ACEOF
9238 cat confdefs.h >>conftest.$ac_ext
9239 cat >>conftest.$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9241 #ifdef HAVE_LIBXSLT_PATTERN_H
9242 # include <libxslt/pattern.h>
9243 #endif
9245 #include <$ac_header>
9246 _ACEOF
9247 rm -f conftest.$ac_objext
9248 if { (ac_try="$ac_compile"
9249 case "(($ac_try" in
9250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9251 *) ac_try_echo=$ac_try;;
9252 esac
9253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9254 (eval "$ac_compile") 2>conftest.er1
9255 ac_status=$?
9256 grep -v '^ *+' conftest.er1 >conftest.err
9257 rm -f conftest.er1
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } && {
9261 test -z "$ac_c_werror_flag" ||
9262 test ! -s conftest.err
9263 } && test -s conftest.$ac_objext; then
9264 eval "$as_ac_Header=yes"
9265 else
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.$ac_ext >&5
9269 eval "$as_ac_Header=no"
9272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9274 ac_res=`eval echo '${'$as_ac_Header'}'`
9275 { echo "$as_me:$LINENO: result: $ac_res" >&5
9276 echo "${ECHO_T}$ac_res" >&6; }
9277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9278 cat >>confdefs.h <<_ACEOF
9279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9280 _ACEOF
9281 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9282 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9283 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9285 else
9286 ac_check_lib_save_LIBS=$LIBS
9287 LIBS="-lxslt $ac_xslt_libs $LIBS"
9288 cat >conftest.$ac_ext <<_ACEOF
9289 /* confdefs.h. */
9290 _ACEOF
9291 cat confdefs.h >>conftest.$ac_ext
9292 cat >>conftest.$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9298 #ifdef __cplusplus
9299 extern "C"
9300 #endif
9301 char xsltCompilePattern ();
9303 main ()
9305 return xsltCompilePattern ();
9307 return 0;
9309 _ACEOF
9310 rm -f conftest.$ac_objext conftest$ac_exeext
9311 if { (ac_try="$ac_link"
9312 case "(($ac_try" in
9313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9314 *) ac_try_echo=$ac_try;;
9315 esac
9316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9317 (eval "$ac_link") 2>conftest.er1
9318 ac_status=$?
9319 grep -v '^ *+' conftest.er1 >conftest.err
9320 rm -f conftest.er1
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } && {
9324 test -z "$ac_c_werror_flag" ||
9325 test ! -s conftest.err
9326 } && test -s conftest$ac_exeext &&
9327 $as_test_x conftest$ac_exeext; then
9328 ac_cv_lib_xslt_xsltCompilePattern=yes
9329 else
9330 echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9333 ac_cv_lib_xslt_xsltCompilePattern=no
9336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9341 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9342 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9344 cat >>confdefs.h <<\_ACEOF
9345 #define HAVE_LIBXSLT 1
9346 _ACEOF
9348 XSLTLIBS="$ac_xslt_libs"
9349 XSLTINCL="$ac_xslt_cflags"
9355 done
9357 CPPFLAGS="$ac_save_CPPFLAGS"
9360 HALINCL=""
9362 if test "$PKG_CONFIG" != "false"
9363 then
9364 ac_save_CPPFLAGS="$CPPFLAGS"
9365 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9366 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9367 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9370 for ac_header in dbus/dbus.h hal/libhal.h
9372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 ac_res=`eval echo '${'$as_ac_Header'}'`
9380 { echo "$as_me:$LINENO: result: $ac_res" >&5
9381 echo "${ECHO_T}$ac_res" >&6; }
9382 else
9383 # Is the header compilable?
9384 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9386 cat >conftest.$ac_ext <<_ACEOF
9387 /* confdefs.h. */
9388 _ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9392 $ac_includes_default
9393 #include <$ac_header>
9394 _ACEOF
9395 rm -f conftest.$ac_objext
9396 if { (ac_try="$ac_compile"
9397 case "(($ac_try" in
9398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9399 *) ac_try_echo=$ac_try;;
9400 esac
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_compile") 2>conftest.er1
9403 ac_status=$?
9404 grep -v '^ *+' conftest.er1 >conftest.err
9405 rm -f conftest.er1
9406 cat conftest.err >&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } && {
9409 test -z "$ac_c_werror_flag" ||
9410 test ! -s conftest.err
9411 } && test -s conftest.$ac_objext; then
9412 ac_header_compiler=yes
9413 else
9414 echo "$as_me: failed program was:" >&5
9415 sed 's/^/| /' conftest.$ac_ext >&5
9417 ac_header_compiler=no
9420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9421 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9422 echo "${ECHO_T}$ac_header_compiler" >&6; }
9424 # Is the header present?
9425 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9427 cat >conftest.$ac_ext <<_ACEOF
9428 /* confdefs.h. */
9429 _ACEOF
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 #include <$ac_header>
9434 _ACEOF
9435 if { (ac_try="$ac_cpp conftest.$ac_ext"
9436 case "(($ac_try" in
9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9439 esac
9440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9442 ac_status=$?
9443 grep -v '^ *+' conftest.er1 >conftest.err
9444 rm -f conftest.er1
9445 cat conftest.err >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } >/dev/null && {
9448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9449 test ! -s conftest.err
9450 }; then
9451 ac_header_preproc=yes
9452 else
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.$ac_ext >&5
9456 ac_header_preproc=no
9459 rm -f conftest.err conftest.$ac_ext
9460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9461 echo "${ECHO_T}$ac_header_preproc" >&6; }
9463 # So? What about this header?
9464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9465 yes:no: )
9466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9470 ac_header_preproc=yes
9472 no:yes:* )
9473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9485 ( cat <<\_ASBOX
9486 ## ------------------------------------ ##
9487 ## Report this to wine-devel@winehq.org ##
9488 ## ------------------------------------ ##
9489 _ASBOX
9490 ) | sed "s/^/$as_me: WARNING: /" >&2
9492 esac
9493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 eval "$as_ac_Header=\$ac_header_preproc"
9500 ac_res=`eval echo '${'$as_ac_Header'}'`
9501 { echo "$as_me:$LINENO: result: $ac_res" >&5
9502 echo "${ECHO_T}$ac_res" >&6; }
9505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9506 cat >>confdefs.h <<_ACEOF
9507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9508 _ACEOF
9512 done
9514 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9515 then
9516 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9517 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9518 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9519 echo $ECHO_N "(cached) $ECHO_C" >&6
9520 else
9521 ac_check_lib_save_LIBS=$LIBS
9522 LIBS="-lhal $LIBS"
9523 cat >conftest.$ac_ext <<_ACEOF
9524 /* confdefs.h. */
9525 _ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char libhal_ctx_new ();
9538 main ()
9540 return libhal_ctx_new ();
9542 return 0;
9544 _ACEOF
9545 rm -f conftest.$ac_objext conftest$ac_exeext
9546 if { (ac_try="$ac_link"
9547 case "(($ac_try" in
9548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9549 *) ac_try_echo=$ac_try;;
9550 esac
9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9552 (eval "$ac_link") 2>conftest.er1
9553 ac_status=$?
9554 grep -v '^ *+' conftest.er1 >conftest.err
9555 rm -f conftest.er1
9556 cat conftest.err >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } && {
9559 test -z "$ac_c_werror_flag" ||
9560 test ! -s conftest.err
9561 } && test -s conftest$ac_exeext &&
9562 $as_test_x conftest$ac_exeext; then
9563 ac_cv_lib_hal_libhal_ctx_new=yes
9564 else
9565 echo "$as_me: failed program was:" >&5
9566 sed 's/^/| /' conftest.$ac_ext >&5
9568 ac_cv_lib_hal_libhal_ctx_new=no
9571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9576 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9577 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9578 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9579 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9585 cat >conftest.$ac_ext <<_ACEOF
9586 /* confdefs.h. */
9587 _ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char dbus_connection_close ();
9600 main ()
9602 return dbus_connection_close ();
9604 return 0;
9606 _ACEOF
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (ac_try="$ac_link"
9609 case "(($ac_try" in
9610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9611 *) ac_try_echo=$ac_try;;
9612 esac
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_link") 2>conftest.er1
9615 ac_status=$?
9616 grep -v '^ *+' conftest.er1 >conftest.err
9617 rm -f conftest.er1
9618 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest$ac_exeext &&
9624 $as_test_x conftest$ac_exeext; then
9625 ac_cv_lib_dbus_1_dbus_connection_close=yes
9626 else
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.$ac_ext >&5
9630 ac_cv_lib_dbus_1_dbus_connection_close=no
9633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9634 conftest$ac_exeext conftest.$ac_ext
9635 LIBS=$ac_check_lib_save_LIBS
9637 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9638 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9639 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9641 cat >>confdefs.h <<\_ACEOF
9642 #define HAVE_LIBHAL 1
9643 _ACEOF
9645 HALINCL="$ac_hal_cflags"
9651 CPPFLAGS="$ac_save_CPPFLAGS"
9654 CURSESLIBS=""
9655 if test "$ac_cv_header_ncurses_h" = "yes"
9656 then
9657 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9658 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9659 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 else
9662 ac_check_lib_save_LIBS=$LIBS
9663 LIBS="-lncurses $LIBS"
9664 cat >conftest.$ac_ext <<_ACEOF
9665 /* confdefs.h. */
9666 _ACEOF
9667 cat confdefs.h >>conftest.$ac_ext
9668 cat >>conftest.$ac_ext <<_ACEOF
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9674 #ifdef __cplusplus
9675 extern "C"
9676 #endif
9677 char waddch ();
9679 main ()
9681 return waddch ();
9683 return 0;
9685 _ACEOF
9686 rm -f conftest.$ac_objext conftest$ac_exeext
9687 if { (ac_try="$ac_link"
9688 case "(($ac_try" in
9689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9690 *) ac_try_echo=$ac_try;;
9691 esac
9692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9693 (eval "$ac_link") 2>conftest.er1
9694 ac_status=$?
9695 grep -v '^ *+' conftest.er1 >conftest.err
9696 rm -f conftest.er1
9697 cat conftest.err >&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); } && {
9700 test -z "$ac_c_werror_flag" ||
9701 test ! -s conftest.err
9702 } && test -s conftest$ac_exeext &&
9703 $as_test_x conftest$ac_exeext; then
9704 ac_cv_lib_ncurses_waddch=yes
9705 else
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.$ac_ext >&5
9709 ac_cv_lib_ncurses_waddch=no
9712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9713 conftest$ac_exeext conftest.$ac_ext
9714 LIBS=$ac_check_lib_save_LIBS
9716 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9717 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9718 if test $ac_cv_lib_ncurses_waddch = yes; then
9719 CURSESLIBS="-lncurses"
9722 elif test "$ac_cv_header_curses_h" = "yes"
9723 then
9724 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9725 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9726 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 else
9729 ac_check_lib_save_LIBS=$LIBS
9730 LIBS="-lcurses $LIBS"
9731 cat >conftest.$ac_ext <<_ACEOF
9732 /* confdefs.h. */
9733 _ACEOF
9734 cat confdefs.h >>conftest.$ac_ext
9735 cat >>conftest.$ac_ext <<_ACEOF
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9741 #ifdef __cplusplus
9742 extern "C"
9743 #endif
9744 char waddch ();
9746 main ()
9748 return waddch ();
9750 return 0;
9752 _ACEOF
9753 rm -f conftest.$ac_objext conftest$ac_exeext
9754 if { (ac_try="$ac_link"
9755 case "(($ac_try" in
9756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9757 *) ac_try_echo=$ac_try;;
9758 esac
9759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 (eval "$ac_link") 2>conftest.er1
9761 ac_status=$?
9762 grep -v '^ *+' conftest.er1 >conftest.err
9763 rm -f conftest.er1
9764 cat conftest.err >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && {
9767 test -z "$ac_c_werror_flag" ||
9768 test ! -s conftest.err
9769 } && test -s conftest$ac_exeext &&
9770 $as_test_x conftest$ac_exeext; then
9771 ac_cv_lib_curses_waddch=yes
9772 else
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.$ac_ext >&5
9776 ac_cv_lib_curses_waddch=no
9779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9784 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9785 if test $ac_cv_lib_curses_waddch = yes; then
9786 CURSESLIBS="-lcurses"
9790 ac_save_LIBS="$LIBS"
9791 LIBS="$LIBS $CURSESLIBS"
9793 for ac_func in mousemask
9795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9799 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 else
9801 cat >conftest.$ac_ext <<_ACEOF
9802 /* confdefs.h. */
9803 _ACEOF
9804 cat confdefs.h >>conftest.$ac_ext
9805 cat >>conftest.$ac_ext <<_ACEOF
9806 /* end confdefs.h. */
9807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9809 #define $ac_func innocuous_$ac_func
9811 /* System header to define __stub macros and hopefully few prototypes,
9812 which can conflict with char $ac_func (); below.
9813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9814 <limits.h> exists even on freestanding compilers. */
9816 #ifdef __STDC__
9817 # include <limits.h>
9818 #else
9819 # include <assert.h>
9820 #endif
9822 #undef $ac_func
9824 /* Override any GCC internal prototype to avoid an error.
9825 Use char because int might match the return type of a GCC
9826 builtin and then its argument prototype would still apply. */
9827 #ifdef __cplusplus
9828 extern "C"
9829 #endif
9830 char $ac_func ();
9831 /* The GNU C library defines this for functions which it implements
9832 to always fail with ENOSYS. Some functions are actually named
9833 something starting with __ and the normal name is an alias. */
9834 #if defined __stub_$ac_func || defined __stub___$ac_func
9835 choke me
9836 #endif
9839 main ()
9841 return $ac_func ();
9843 return 0;
9845 _ACEOF
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (ac_try="$ac_link"
9848 case "(($ac_try" in
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9851 esac
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9854 ac_status=$?
9855 grep -v '^ *+' conftest.er1 >conftest.err
9856 rm -f conftest.er1
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest$ac_exeext &&
9863 $as_test_x conftest$ac_exeext; then
9864 eval "$as_ac_var=yes"
9865 else
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9869 eval "$as_ac_var=no"
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873 conftest$ac_exeext conftest.$ac_ext
9875 ac_res=`eval echo '${'$as_ac_var'}'`
9876 { echo "$as_me:$LINENO: result: $ac_res" >&5
9877 echo "${ECHO_T}$ac_res" >&6; }
9878 if test `eval echo '${'$as_ac_var'}'` = yes; then
9879 cat >>confdefs.h <<_ACEOF
9880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9881 _ACEOF
9884 done
9886 LIBS="$ac_save_LIBS"
9888 # Extract the first word of "sane-config", so it can be a program name with args.
9889 set dummy sane-config; ac_word=$2
9890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9892 if test "${ac_cv_prog_sane_devel+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9894 else
9895 if test -n "$sane_devel"; then
9896 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9897 else
9898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9899 for as_dir in $PATH
9901 IFS=$as_save_IFS
9902 test -z "$as_dir" && as_dir=.
9903 for ac_exec_ext in '' $ac_executable_extensions; do
9904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9905 ac_cv_prog_sane_devel="sane-config"
9906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9907 break 2
9909 done
9910 done
9911 IFS=$as_save_IFS
9913 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9916 sane_devel=$ac_cv_prog_sane_devel
9917 if test -n "$sane_devel"; then
9918 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9919 echo "${ECHO_T}$sane_devel" >&6; }
9920 else
9921 { echo "$as_me:$LINENO: result: no" >&5
9922 echo "${ECHO_T}no" >&6; }
9926 SANEINCL=""
9928 if test "$sane_devel" != "no"
9929 then
9930 SANEINCL="`$sane_devel --cflags`"
9931 ac_save_CPPFLAGS="$CPPFLAGS"
9932 CPPFLAGS="$CPPFLAGS $SANEINCL"
9933 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9934 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9935 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9936 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9940 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9941 else
9942 # Is the header compilable?
9943 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9944 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9945 cat >conftest.$ac_ext <<_ACEOF
9946 /* confdefs.h. */
9947 _ACEOF
9948 cat confdefs.h >>conftest.$ac_ext
9949 cat >>conftest.$ac_ext <<_ACEOF
9950 /* end confdefs.h. */
9951 $ac_includes_default
9952 #include <sane/sane.h>
9953 _ACEOF
9954 rm -f conftest.$ac_objext
9955 if { (ac_try="$ac_compile"
9956 case "(($ac_try" in
9957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9958 *) ac_try_echo=$ac_try;;
9959 esac
9960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9961 (eval "$ac_compile") 2>conftest.er1
9962 ac_status=$?
9963 grep -v '^ *+' conftest.er1 >conftest.err
9964 rm -f conftest.er1
9965 cat conftest.err >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); } && {
9968 test -z "$ac_c_werror_flag" ||
9969 test ! -s conftest.err
9970 } && test -s conftest.$ac_objext; then
9971 ac_header_compiler=yes
9972 else
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.$ac_ext >&5
9976 ac_header_compiler=no
9979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9980 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9981 echo "${ECHO_T}$ac_header_compiler" >&6; }
9983 # Is the header present?
9984 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9985 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9986 cat >conftest.$ac_ext <<_ACEOF
9987 /* confdefs.h. */
9988 _ACEOF
9989 cat confdefs.h >>conftest.$ac_ext
9990 cat >>conftest.$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9992 #include <sane/sane.h>
9993 _ACEOF
9994 if { (ac_try="$ac_cpp conftest.$ac_ext"
9995 case "(($ac_try" in
9996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9997 *) ac_try_echo=$ac_try;;
9998 esac
9999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10001 ac_status=$?
10002 grep -v '^ *+' conftest.er1 >conftest.err
10003 rm -f conftest.er1
10004 cat conftest.err >&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } >/dev/null && {
10007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10008 test ! -s conftest.err
10009 }; then
10010 ac_header_preproc=yes
10011 else
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.$ac_ext >&5
10015 ac_header_preproc=no
10018 rm -f conftest.err conftest.$ac_ext
10019 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10020 echo "${ECHO_T}$ac_header_preproc" >&6; }
10022 # So? What about this header?
10023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10024 yes:no: )
10025 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10026 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10027 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10028 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10029 ac_header_preproc=yes
10031 no:yes:* )
10032 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10033 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10034 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10035 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10036 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10037 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10038 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10039 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10040 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10041 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10043 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10044 ( cat <<\_ASBOX
10045 ## ------------------------------------ ##
10046 ## Report this to wine-devel@winehq.org ##
10047 ## ------------------------------------ ##
10048 _ASBOX
10049 ) | sed "s/^/$as_me: WARNING: /" >&2
10051 esac
10052 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10053 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10054 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10056 else
10057 ac_cv_header_sane_sane_h=$ac_header_preproc
10059 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10060 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10063 if test $ac_cv_header_sane_sane_h = yes; then
10065 cat >>confdefs.h <<\_ACEOF
10066 #define HAVE_SANE 1
10067 _ACEOF
10069 else
10070 SANEINCL=""
10074 CPPFLAGS="$ac_save_CPPFLAGS"
10077 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10078 set dummy gphoto2-config; ac_word=$2
10079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10081 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 else
10084 if test -n "$gphoto2_devel"; then
10085 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10086 else
10087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10088 for as_dir in $PATH
10090 IFS=$as_save_IFS
10091 test -z "$as_dir" && as_dir=.
10092 for ac_exec_ext in '' $ac_executable_extensions; do
10093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10094 ac_cv_prog_gphoto2_devel="gphoto2-config"
10095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10096 break 2
10098 done
10099 done
10100 IFS=$as_save_IFS
10102 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10105 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10106 if test -n "$gphoto2_devel"; then
10107 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10108 echo "${ECHO_T}$gphoto2_devel" >&6; }
10109 else
10110 { echo "$as_me:$LINENO: result: no" >&5
10111 echo "${ECHO_T}no" >&6; }
10115 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10116 set dummy gphoto2-port-config; ac_word=$2
10117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10119 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 else
10122 if test -n "$gphoto2port_devel"; then
10123 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10124 else
10125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10126 for as_dir in $PATH
10128 IFS=$as_save_IFS
10129 test -z "$as_dir" && as_dir=.
10130 for ac_exec_ext in '' $ac_executable_extensions; do
10131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10132 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10134 break 2
10136 done
10137 done
10138 IFS=$as_save_IFS
10140 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10143 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10144 if test -n "$gphoto2port_devel"; then
10145 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10146 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10147 else
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10153 GPHOTO2LIBS=""
10155 GPHOTO2INCL=""
10157 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10158 then
10159 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10160 GPHOTO2LIBS=""
10161 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10163 case "$i" in
10164 -L/usr/lib|-L/usr/lib64) ;;
10165 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10166 esac
10167 done
10168 ac_save_CPPFLAGS="$CPPFLAGS"
10169 ac_save_LIBS="$LIBS"
10170 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10171 LIBS="$LIBS $GPHOTO2LIBS"
10172 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10173 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10174 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10175 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10176 echo $ECHO_N "(cached) $ECHO_C" >&6
10178 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10179 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10180 else
10181 # Is the header compilable?
10182 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10183 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10184 cat >conftest.$ac_ext <<_ACEOF
10185 /* confdefs.h. */
10186 _ACEOF
10187 cat confdefs.h >>conftest.$ac_ext
10188 cat >>conftest.$ac_ext <<_ACEOF
10189 /* end confdefs.h. */
10190 $ac_includes_default
10191 #include <gphoto2-camera.h>
10192 _ACEOF
10193 rm -f conftest.$ac_objext
10194 if { (ac_try="$ac_compile"
10195 case "(($ac_try" in
10196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10197 *) ac_try_echo=$ac_try;;
10198 esac
10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10200 (eval "$ac_compile") 2>conftest.er1
10201 ac_status=$?
10202 grep -v '^ *+' conftest.er1 >conftest.err
10203 rm -f conftest.er1
10204 cat conftest.err >&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } && {
10207 test -z "$ac_c_werror_flag" ||
10208 test ! -s conftest.err
10209 } && test -s conftest.$ac_objext; then
10210 ac_header_compiler=yes
10211 else
10212 echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10215 ac_header_compiler=no
10218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10219 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10220 echo "${ECHO_T}$ac_header_compiler" >&6; }
10222 # Is the header present?
10223 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10224 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10225 cat >conftest.$ac_ext <<_ACEOF
10226 /* confdefs.h. */
10227 _ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10231 #include <gphoto2-camera.h>
10232 _ACEOF
10233 if { (ac_try="$ac_cpp conftest.$ac_ext"
10234 case "(($ac_try" in
10235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10236 *) ac_try_echo=$ac_try;;
10237 esac
10238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10240 ac_status=$?
10241 grep -v '^ *+' conftest.er1 >conftest.err
10242 rm -f conftest.er1
10243 cat conftest.err >&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); } >/dev/null && {
10246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10247 test ! -s conftest.err
10248 }; then
10249 ac_header_preproc=yes
10250 else
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10254 ac_header_preproc=no
10257 rm -f conftest.err conftest.$ac_ext
10258 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10259 echo "${ECHO_T}$ac_header_preproc" >&6; }
10261 # So? What about this header?
10262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10263 yes:no: )
10264 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10265 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10266 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10267 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10268 ac_header_preproc=yes
10270 no:yes:* )
10271 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10272 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10273 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10274 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10275 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10276 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10277 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10278 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10279 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10280 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10282 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10283 ( cat <<\_ASBOX
10284 ## ------------------------------------ ##
10285 ## Report this to wine-devel@winehq.org ##
10286 ## ------------------------------------ ##
10287 _ASBOX
10288 ) | sed "s/^/$as_me: WARNING: /" >&2
10290 esac
10291 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10292 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10293 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 else
10296 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10298 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10299 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10302 if test $ac_cv_header_gphoto2_camera_h = yes; then
10303 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10304 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10305 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308 ac_check_lib_save_LIBS=$LIBS
10309 LIBS="-lgphoto2 $LIBS"
10310 cat >conftest.$ac_ext <<_ACEOF
10311 /* confdefs.h. */
10312 _ACEOF
10313 cat confdefs.h >>conftest.$ac_ext
10314 cat >>conftest.$ac_ext <<_ACEOF
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char gp_camera_new ();
10325 main ()
10327 return gp_camera_new ();
10329 return 0;
10331 _ACEOF
10332 rm -f conftest.$ac_objext conftest$ac_exeext
10333 if { (ac_try="$ac_link"
10334 case "(($ac_try" in
10335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10336 *) ac_try_echo=$ac_try;;
10337 esac
10338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10339 (eval "$ac_link") 2>conftest.er1
10340 ac_status=$?
10341 grep -v '^ *+' conftest.er1 >conftest.err
10342 rm -f conftest.er1
10343 cat conftest.err >&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } && {
10346 test -z "$ac_c_werror_flag" ||
10347 test ! -s conftest.err
10348 } && test -s conftest$ac_exeext &&
10349 $as_test_x conftest$ac_exeext; then
10350 ac_cv_lib_gphoto2_gp_camera_new=yes
10351 else
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.$ac_ext >&5
10355 ac_cv_lib_gphoto2_gp_camera_new=no
10358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10359 conftest$ac_exeext conftest.$ac_ext
10360 LIBS=$ac_check_lib_save_LIBS
10362 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10363 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10364 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10366 cat >>confdefs.h <<\_ACEOF
10367 #define HAVE_GPHOTO2 1
10368 _ACEOF
10370 else
10371 GPHOTO2LIBS=""
10372 GPHOTO2INCL=""
10375 else
10376 GPHOTO2LIBS=""
10377 GPHOTO2INCL=""
10381 LIBS="$ac_save_LIBS"
10382 CPPFLAGS="$ac_save_CPPFLAGS"
10385 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10386 then
10387 saved_libs="$LIBS"
10388 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10390 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10391 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10392 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10393 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10394 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10395 cat >conftest.$ac_ext <<_ACEOF
10396 /* confdefs.h. */
10397 _ACEOF
10398 cat confdefs.h >>conftest.$ac_ext
10399 cat >>conftest.$ac_ext <<_ACEOF
10400 /* end confdefs.h. */
10401 #include <unicode/ubidi.h>
10403 main ()
10405 ubidi_open()
10407 return 0;
10409 _ACEOF
10410 rm -f conftest.$ac_objext conftest$ac_exeext
10411 if { (ac_try="$ac_link"
10412 case "(($ac_try" in
10413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10414 *) ac_try_echo=$ac_try;;
10415 esac
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_link") 2>conftest.er1
10418 ac_status=$?
10419 grep -v '^ *+' conftest.er1 >conftest.err
10420 rm -f conftest.er1
10421 cat conftest.err >&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } && {
10424 test -z "$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10426 } && test -s conftest$ac_exeext &&
10427 $as_test_x conftest$ac_exeext; then
10429 cat >>confdefs.h <<\_ACEOF
10430 #define HAVE_ICU 1
10431 _ACEOF
10433 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10435 { echo "$as_me:$LINENO: result: yes" >&5
10436 echo "${ECHO_T}yes" >&6; }
10437 else
10438 echo "$as_me: failed program was:" >&5
10439 sed 's/^/| /' conftest.$ac_ext >&5
10441 { echo "$as_me:$LINENO: result: no" >&5
10442 echo "${ECHO_T}no" >&6; }
10445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10446 conftest$ac_exeext conftest.$ac_ext
10447 done
10448 LIBS="$saved_libs"
10451 RESOLVLIBS=""
10453 if test "$ac_cv_header_resolv_h" = "yes"
10454 then
10455 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10456 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 else
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lresolv $LIBS"
10462 cat >conftest.$ac_ext <<_ACEOF
10463 /* confdefs.h. */
10464 _ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10472 #ifdef __cplusplus
10473 extern "C"
10474 #endif
10475 char res_query ();
10477 main ()
10479 return res_query ();
10481 return 0;
10483 _ACEOF
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (ac_try="$ac_link"
10486 case "(($ac_try" in
10487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10488 *) ac_try_echo=$ac_try;;
10489 esac
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_link") 2>conftest.er1
10492 ac_status=$?
10493 grep -v '^ *+' conftest.er1 >conftest.err
10494 rm -f conftest.er1
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } && {
10498 test -z "$ac_c_werror_flag" ||
10499 test ! -s conftest.err
10500 } && test -s conftest$ac_exeext &&
10501 $as_test_x conftest$ac_exeext; then
10502 ac_cv_lib_resolv_res_query=yes
10503 else
10504 echo "$as_me: failed program was:" >&5
10505 sed 's/^/| /' conftest.$ac_ext >&5
10507 ac_cv_lib_resolv_res_query=no
10510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10511 conftest$ac_exeext conftest.$ac_ext
10512 LIBS=$ac_check_lib_save_LIBS
10514 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10515 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10516 if test $ac_cv_lib_resolv_res_query = yes; then
10518 cat >>confdefs.h <<\_ACEOF
10519 #define HAVE_RESOLV 1
10520 _ACEOF
10522 RESOLVLIBS="-lresolv"
10527 LCMSLIBS=""
10529 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10530 then
10531 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10532 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10533 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10534 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 else
10536 ac_check_lib_save_LIBS=$LIBS
10537 LIBS="-llcms $LIBS"
10538 cat >conftest.$ac_ext <<_ACEOF
10539 /* confdefs.h. */
10540 _ACEOF
10541 cat confdefs.h >>conftest.$ac_ext
10542 cat >>conftest.$ac_ext <<_ACEOF
10543 /* end confdefs.h. */
10545 /* Override any GCC internal prototype to avoid an error.
10546 Use char because int might match the return type of a GCC
10547 builtin and then its argument prototype would still apply. */
10548 #ifdef __cplusplus
10549 extern "C"
10550 #endif
10551 char cmsOpenProfileFromFile ();
10553 main ()
10555 return cmsOpenProfileFromFile ();
10557 return 0;
10559 _ACEOF
10560 rm -f conftest.$ac_objext conftest$ac_exeext
10561 if { (ac_try="$ac_link"
10562 case "(($ac_try" in
10563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10564 *) ac_try_echo=$ac_try;;
10565 esac
10566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10567 (eval "$ac_link") 2>conftest.er1
10568 ac_status=$?
10569 grep -v '^ *+' conftest.er1 >conftest.err
10570 rm -f conftest.er1
10571 cat conftest.err >&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } && {
10574 test -z "$ac_c_werror_flag" ||
10575 test ! -s conftest.err
10576 } && test -s conftest$ac_exeext &&
10577 $as_test_x conftest$ac_exeext; then
10578 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10579 else
10580 echo "$as_me: failed program was:" >&5
10581 sed 's/^/| /' conftest.$ac_ext >&5
10583 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS
10590 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10591 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10592 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10594 cat >>confdefs.h <<\_ACEOF
10595 #define HAVE_LCMS 1
10596 _ACEOF
10598 LCMSLIBS="-llcms"
10603 LDAPLIBS=""
10605 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10606 then
10607 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10608 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10609 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 else
10612 ac_check_lib_save_LIBS=$LIBS
10613 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10614 cat >conftest.$ac_ext <<_ACEOF
10615 /* confdefs.h. */
10616 _ACEOF
10617 cat confdefs.h >>conftest.$ac_ext
10618 cat >>conftest.$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10624 #ifdef __cplusplus
10625 extern "C"
10626 #endif
10627 char ldap_initialize ();
10629 main ()
10631 return ldap_initialize ();
10633 return 0;
10635 _ACEOF
10636 rm -f conftest.$ac_objext conftest$ac_exeext
10637 if { (ac_try="$ac_link"
10638 case "(($ac_try" in
10639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10640 *) ac_try_echo=$ac_try;;
10641 esac
10642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10643 (eval "$ac_link") 2>conftest.er1
10644 ac_status=$?
10645 grep -v '^ *+' conftest.er1 >conftest.err
10646 rm -f conftest.er1
10647 cat conftest.err >&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } && {
10650 test -z "$ac_c_werror_flag" ||
10651 test ! -s conftest.err
10652 } && test -s conftest$ac_exeext &&
10653 $as_test_x conftest$ac_exeext; then
10654 ac_cv_lib_ldap_r_ldap_initialize=yes
10655 else
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.$ac_ext >&5
10659 ac_cv_lib_ldap_r_ldap_initialize=no
10662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10663 conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_lib_save_LIBS
10666 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10667 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10668 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10669 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10670 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10671 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10672 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 else
10674 ac_check_lib_save_LIBS=$LIBS
10675 LIBS="-llber $LIBPTHREAD $LIBS"
10676 cat >conftest.$ac_ext <<_ACEOF
10677 /* confdefs.h. */
10678 _ACEOF
10679 cat confdefs.h >>conftest.$ac_ext
10680 cat >>conftest.$ac_ext <<_ACEOF
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char ber_init ();
10691 main ()
10693 return ber_init ();
10695 return 0;
10697 _ACEOF
10698 rm -f conftest.$ac_objext conftest$ac_exeext
10699 if { (ac_try="$ac_link"
10700 case "(($ac_try" in
10701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10702 *) ac_try_echo=$ac_try;;
10703 esac
10704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10705 (eval "$ac_link") 2>conftest.er1
10706 ac_status=$?
10707 grep -v '^ *+' conftest.er1 >conftest.err
10708 rm -f conftest.er1
10709 cat conftest.err >&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } && {
10712 test -z "$ac_c_werror_flag" ||
10713 test ! -s conftest.err
10714 } && test -s conftest$ac_exeext &&
10715 $as_test_x conftest$ac_exeext; then
10716 ac_cv_lib_lber_ber_init=yes
10717 else
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 ac_cv_lib_lber_ber_init=no
10724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_lib_save_LIBS
10728 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10729 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10730 if test $ac_cv_lib_lber_ber_init = yes; then
10732 cat >>confdefs.h <<\_ACEOF
10733 #define HAVE_LDAP 1
10734 _ACEOF
10736 LDAPLIBS="-lldap_r -llber"
10741 ac_wine_check_funcs_save_LIBS="$LIBS"
10742 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10747 for ac_func in \
10748 ldap_count_references \
10749 ldap_first_reference \
10750 ldap_next_reference \
10751 ldap_parse_reference
10753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10757 echo $ECHO_N "(cached) $ECHO_C" >&6
10758 else
10759 cat >conftest.$ac_ext <<_ACEOF
10760 /* confdefs.h. */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10767 #define $ac_func innocuous_$ac_func
10769 /* System header to define __stub macros and hopefully few prototypes,
10770 which can conflict with char $ac_func (); below.
10771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10772 <limits.h> exists even on freestanding compilers. */
10774 #ifdef __STDC__
10775 # include <limits.h>
10776 #else
10777 # include <assert.h>
10778 #endif
10780 #undef $ac_func
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char $ac_func ();
10789 /* The GNU C library defines this for functions which it implements
10790 to always fail with ENOSYS. Some functions are actually named
10791 something starting with __ and the normal name is an alias. */
10792 #if defined __stub_$ac_func || defined __stub___$ac_func
10793 choke me
10794 #endif
10797 main ()
10799 return $ac_func ();
10801 return 0;
10803 _ACEOF
10804 rm -f conftest.$ac_objext conftest$ac_exeext
10805 if { (ac_try="$ac_link"
10806 case "(($ac_try" in
10807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10808 *) ac_try_echo=$ac_try;;
10809 esac
10810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10811 (eval "$ac_link") 2>conftest.er1
10812 ac_status=$?
10813 grep -v '^ *+' conftest.er1 >conftest.err
10814 rm -f conftest.er1
10815 cat conftest.err >&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } && {
10818 test -z "$ac_c_werror_flag" ||
10819 test ! -s conftest.err
10820 } && test -s conftest$ac_exeext &&
10821 $as_test_x conftest$ac_exeext; then
10822 eval "$as_ac_var=yes"
10823 else
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.$ac_ext >&5
10827 eval "$as_ac_var=no"
10830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10831 conftest$ac_exeext conftest.$ac_ext
10833 ac_res=`eval echo '${'$as_ac_var'}'`
10834 { echo "$as_me:$LINENO: result: $ac_res" >&5
10835 echo "${ECHO_T}$ac_res" >&6; }
10836 if test `eval echo '${'$as_ac_var'}'` = yes; then
10837 cat >>confdefs.h <<_ACEOF
10838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10839 _ACEOF
10842 done
10844 LIBS="$ac_wine_check_funcs_save_LIBS"
10847 FREETYPELIBS=""
10849 FREETYPEINCL=""
10851 # Extract the first word of "freetype-config", so it can be a program name with args.
10852 set dummy freetype-config; ac_word=$2
10853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10855 if test "${ac_cv_prog_ft_devel+set}" = set; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10857 else
10858 if test -n "$ft_devel"; then
10859 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10860 else
10861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10862 for as_dir in $PATH
10864 IFS=$as_save_IFS
10865 test -z "$as_dir" && as_dir=.
10866 for ac_exec_ext in '' $ac_executable_extensions; do
10867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10868 ac_cv_prog_ft_devel="freetype-config"
10869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10870 break 2
10872 done
10873 done
10874 IFS=$as_save_IFS
10876 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10879 ft_devel=$ac_cv_prog_ft_devel
10880 if test -n "$ft_devel"; then
10881 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10882 echo "${ECHO_T}$ft_devel" >&6; }
10883 else
10884 { echo "$as_me:$LINENO: result: no" >&5
10885 echo "${ECHO_T}no" >&6; }
10889 if test "$ft_devel" = "no"
10890 then
10891 # Extract the first word of "freetype2-config", so it can be a program name with args.
10892 set dummy freetype2-config; ac_word=$2
10893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10895 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10896 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 else
10898 if test -n "$ft_devel2"; then
10899 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10900 else
10901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10902 for as_dir in $PATH
10904 IFS=$as_save_IFS
10905 test -z "$as_dir" && as_dir=.
10906 for ac_exec_ext in '' $ac_executable_extensions; do
10907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10908 ac_cv_prog_ft_devel2="freetype2-config"
10909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10910 break 2
10912 done
10913 done
10914 IFS=$as_save_IFS
10916 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10919 ft_devel2=$ac_cv_prog_ft_devel2
10920 if test -n "$ft_devel2"; then
10921 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10922 echo "${ECHO_T}$ft_devel2" >&6; }
10923 else
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10929 if test "$ft_devel2" = "freetype2-config"
10930 then
10931 ft_devel=$ft_devel2
10935 if test "$ft_devel" = "no"
10936 then
10937 wine_cv_msg_freetype=yes
10938 else
10939 FREETYPELIBS=`$ft_devel --libs`
10940 FREETYPEINCL=`$ft_devel --cflags`
10941 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10942 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10943 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10944 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 else
10946 ac_check_lib_save_LIBS=$LIBS
10947 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10948 cat >conftest.$ac_ext <<_ACEOF
10949 /* confdefs.h. */
10950 _ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10955 /* Override any GCC internal prototype to avoid an error.
10956 Use char because int might match the return type of a GCC
10957 builtin and then its argument prototype would still apply. */
10958 #ifdef __cplusplus
10959 extern "C"
10960 #endif
10961 char FT_Init_FreeType ();
10963 main ()
10965 return FT_Init_FreeType ();
10967 return 0;
10969 _ACEOF
10970 rm -f conftest.$ac_objext conftest$ac_exeext
10971 if { (ac_try="$ac_link"
10972 case "(($ac_try" in
10973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10974 *) ac_try_echo=$ac_try;;
10975 esac
10976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10977 (eval "$ac_link") 2>conftest.er1
10978 ac_status=$?
10979 grep -v '^ *+' conftest.er1 >conftest.err
10980 rm -f conftest.er1
10981 cat conftest.err >&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } && {
10984 test -z "$ac_c_werror_flag" ||
10985 test ! -s conftest.err
10986 } && test -s conftest$ac_exeext &&
10987 $as_test_x conftest$ac_exeext; then
10988 ac_cv_lib_freetype_FT_Init_FreeType=yes
10989 else
10990 echo "$as_me: failed program was:" >&5
10991 sed 's/^/| /' conftest.$ac_ext >&5
10993 ac_cv_lib_freetype_FT_Init_FreeType=no
10996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11001 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11002 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11003 ft_lib=yes
11004 else
11005 ft_lib=no
11008 if test "$ft_lib" = "no"
11009 then
11010 wine_cv_msg_freetype=yes
11011 FREETYPELIBS=""
11012 FREETYPEINCL=""
11013 else
11014 ac_save_CPPFLAGS="$CPPFLAGS"
11015 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11027 for ac_header in ft2build.h \
11028 freetype/freetype.h \
11029 freetype/ftglyph.h \
11030 freetype/tttables.h \
11031 freetype/ftnames.h \
11032 freetype/ftsnames.h \
11033 freetype/ttnameid.h \
11034 freetype/ftoutln.h \
11035 freetype/ftwinfnt.h \
11036 freetype/ftmodapi.h \
11037 freetype/internal/sfnt.h
11039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11040 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11043 echo $ECHO_N "(cached) $ECHO_C" >&6
11044 else
11045 cat >conftest.$ac_ext <<_ACEOF
11046 /* confdefs.h. */
11047 _ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 #if HAVE_FT2BUILD_H
11052 #include <ft2build.h>
11053 #endif
11055 #include <$ac_header>
11056 _ACEOF
11057 rm -f conftest.$ac_objext
11058 if { (ac_try="$ac_compile"
11059 case "(($ac_try" in
11060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11061 *) ac_try_echo=$ac_try;;
11062 esac
11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11064 (eval "$ac_compile") 2>conftest.er1
11065 ac_status=$?
11066 grep -v '^ *+' conftest.er1 >conftest.err
11067 rm -f conftest.er1
11068 cat conftest.err >&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } && {
11071 test -z "$ac_c_werror_flag" ||
11072 test ! -s conftest.err
11073 } && test -s conftest.$ac_objext; then
11074 eval "$as_ac_Header=yes"
11075 else
11076 echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.$ac_ext >&5
11079 eval "$as_ac_Header=no"
11082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11084 ac_res=`eval echo '${'$as_ac_Header'}'`
11085 { echo "$as_me:$LINENO: result: $ac_res" >&5
11086 echo "${ECHO_T}$ac_res" >&6; }
11087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11088 cat >>confdefs.h <<_ACEOF
11089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11090 _ACEOF
11094 done
11096 cat >conftest.$ac_ext <<_ACEOF
11097 /* confdefs.h. */
11098 _ACEOF
11099 cat confdefs.h >>conftest.$ac_ext
11100 cat >>conftest.$ac_ext <<_ACEOF
11101 /* end confdefs.h. */
11102 #include <ft2build.h>
11103 #include <freetype/fttrigon.h>
11104 _ACEOF
11105 if { (ac_try="$ac_cpp conftest.$ac_ext"
11106 case "(($ac_try" in
11107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11108 *) ac_try_echo=$ac_try;;
11109 esac
11110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11112 ac_status=$?
11113 grep -v '^ *+' conftest.er1 >conftest.err
11114 rm -f conftest.er1
11115 cat conftest.err >&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } >/dev/null && {
11118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11119 test ! -s conftest.err
11120 }; then
11122 cat >>confdefs.h <<\_ACEOF
11123 #define HAVE_FREETYPE_FTTRIGON_H 1
11124 _ACEOF
11126 wine_cv_fttrigon=yes
11127 else
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.$ac_ext >&5
11131 wine_cv_fttrigon=no
11134 rm -f conftest.err conftest.$ac_ext
11135 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11136 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11137 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11139 else
11140 cat >conftest.$ac_ext <<_ACEOF
11141 /* confdefs.h. */
11142 _ACEOF
11143 cat confdefs.h >>conftest.$ac_ext
11144 cat >>conftest.$ac_ext <<_ACEOF
11145 /* end confdefs.h. */
11146 #include <freetype/ftmodapi.h>
11148 typedef FT_TrueTypeEngineType ac__type_new_;
11150 main ()
11152 if ((ac__type_new_ *) 0)
11153 return 0;
11154 if (sizeof (ac__type_new_))
11155 return 0;
11157 return 0;
11159 _ACEOF
11160 rm -f conftest.$ac_objext
11161 if { (ac_try="$ac_compile"
11162 case "(($ac_try" in
11163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11164 *) ac_try_echo=$ac_try;;
11165 esac
11166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11167 (eval "$ac_compile") 2>conftest.er1
11168 ac_status=$?
11169 grep -v '^ *+' conftest.er1 >conftest.err
11170 rm -f conftest.er1
11171 cat conftest.err >&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } && {
11174 test -z "$ac_c_werror_flag" ||
11175 test ! -s conftest.err
11176 } && test -s conftest.$ac_objext; then
11177 ac_cv_type_FT_TrueTypeEngineType=yes
11178 else
11179 echo "$as_me: failed program was:" >&5
11180 sed 's/^/| /' conftest.$ac_ext >&5
11182 ac_cv_type_FT_TrueTypeEngineType=no
11185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11187 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11188 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11189 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11191 cat >>confdefs.h <<_ACEOF
11192 #define HAVE_FT_TRUETYPEENGINETYPE 1
11193 _ACEOF
11198 ac_save_CFLAGS="$CFLAGS"
11199 CFLAGS="$CFLAGS $FREETYPELIBS"
11201 for ac_func in FT_Load_Sfnt_Table
11203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11206 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11208 else
11209 cat >conftest.$ac_ext <<_ACEOF
11210 /* confdefs.h. */
11211 _ACEOF
11212 cat confdefs.h >>conftest.$ac_ext
11213 cat >>conftest.$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11217 #define $ac_func innocuous_$ac_func
11219 /* System header to define __stub macros and hopefully few prototypes,
11220 which can conflict with char $ac_func (); below.
11221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11222 <limits.h> exists even on freestanding compilers. */
11224 #ifdef __STDC__
11225 # include <limits.h>
11226 #else
11227 # include <assert.h>
11228 #endif
11230 #undef $ac_func
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11235 #ifdef __cplusplus
11236 extern "C"
11237 #endif
11238 char $ac_func ();
11239 /* The GNU C library defines this for functions which it implements
11240 to always fail with ENOSYS. Some functions are actually named
11241 something starting with __ and the normal name is an alias. */
11242 #if defined __stub_$ac_func || defined __stub___$ac_func
11243 choke me
11244 #endif
11247 main ()
11249 return $ac_func ();
11251 return 0;
11253 _ACEOF
11254 rm -f conftest.$ac_objext conftest$ac_exeext
11255 if { (ac_try="$ac_link"
11256 case "(($ac_try" in
11257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11258 *) ac_try_echo=$ac_try;;
11259 esac
11260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11261 (eval "$ac_link") 2>conftest.er1
11262 ac_status=$?
11263 grep -v '^ *+' conftest.er1 >conftest.err
11264 rm -f conftest.er1
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } && {
11268 test -z "$ac_c_werror_flag" ||
11269 test ! -s conftest.err
11270 } && test -s conftest$ac_exeext &&
11271 $as_test_x conftest$ac_exeext; then
11272 eval "$as_ac_var=yes"
11273 else
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11277 eval "$as_ac_var=no"
11280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11281 conftest$ac_exeext conftest.$ac_ext
11283 ac_res=`eval echo '${'$as_ac_var'}'`
11284 { echo "$as_me:$LINENO: result: $ac_res" >&5
11285 echo "${ECHO_T}$ac_res" >&6; }
11286 if test `eval echo '${'$as_ac_var'}'` = yes; then
11287 cat >>confdefs.h <<_ACEOF
11288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11289 _ACEOF
11292 done
11294 CFLAGS="$ac_save_CFLAGS"
11295 CPPFLAGS="$ac_save_CPPFLAGS"
11296 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11297 then
11299 cat >>confdefs.h <<\_ACEOF
11300 #define HAVE_FREETYPE 1
11301 _ACEOF
11303 wine_cv_msg_freetype=no
11304 else
11305 FREETYPELIBS=""
11306 FREETYPEINCL=""
11307 wine_cv_msg_freetype=yes
11312 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11313 then
11314 FONTSSUBDIRS="fonts"
11318 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11319 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11320 if test "${ac_cv_c_ppdev+set}" = set; then
11321 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 else
11323 cat >conftest.$ac_ext <<_ACEOF
11324 /* confdefs.h. */
11325 _ACEOF
11326 cat confdefs.h >>conftest.$ac_ext
11327 cat >>conftest.$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11329 #include <linux/ppdev.h>
11331 main ()
11333 ioctl (1,PPCLAIM,0)
11335 return 0;
11337 _ACEOF
11338 rm -f conftest.$ac_objext
11339 if { (ac_try="$ac_compile"
11340 case "(($ac_try" in
11341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11342 *) ac_try_echo=$ac_try;;
11343 esac
11344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11345 (eval "$ac_compile") 2>conftest.er1
11346 ac_status=$?
11347 grep -v '^ *+' conftest.er1 >conftest.err
11348 rm -f conftest.er1
11349 cat conftest.err >&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); } && {
11352 test -z "$ac_c_werror_flag" ||
11353 test ! -s conftest.err
11354 } && test -s conftest.$ac_objext; then
11355 ac_cv_c_ppdev="yes"
11356 else
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_cv_c_ppdev="no"
11363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11366 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11367 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11368 if test "$ac_cv_c_ppdev" = "yes"
11369 then
11371 cat >>confdefs.h <<\_ACEOF
11372 #define HAVE_PPDEV 1
11373 _ACEOF
11377 { echo "$as_me:$LINENO: checking for va_copy" >&5
11378 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11379 if test "${ac_cv_c_va_copy+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 else
11382 cat >conftest.$ac_ext <<_ACEOF
11383 /* confdefs.h. */
11384 _ACEOF
11385 cat confdefs.h >>conftest.$ac_ext
11386 cat >>conftest.$ac_ext <<_ACEOF
11387 /* end confdefs.h. */
11388 #include <stdarg.h>
11390 main ()
11392 va_list ap1, ap2;
11393 va_copy(ap1,ap2);
11396 return 0;
11398 _ACEOF
11399 rm -f conftest.$ac_objext conftest$ac_exeext
11400 if { (ac_try="$ac_link"
11401 case "(($ac_try" in
11402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11403 *) ac_try_echo=$ac_try;;
11404 esac
11405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11406 (eval "$ac_link") 2>conftest.er1
11407 ac_status=$?
11408 grep -v '^ *+' conftest.er1 >conftest.err
11409 rm -f conftest.er1
11410 cat conftest.err >&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } && {
11413 test -z "$ac_c_werror_flag" ||
11414 test ! -s conftest.err
11415 } && test -s conftest$ac_exeext &&
11416 $as_test_x conftest$ac_exeext; then
11417 ac_cv_c_va_copy="yes"
11418 else
11419 echo "$as_me: failed program was:" >&5
11420 sed 's/^/| /' conftest.$ac_ext >&5
11422 ac_cv_c_va_copy="no"
11425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11426 conftest$ac_exeext conftest.$ac_ext
11429 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11430 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11431 if test "$ac_cv_c_va_copy" = "yes"
11432 then
11434 cat >>confdefs.h <<\_ACEOF
11435 #define HAVE_VA_COPY 1
11436 _ACEOF
11439 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11440 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11441 if test "${ac_cv_c___va_copy+set}" = set; then
11442 echo $ECHO_N "(cached) $ECHO_C" >&6
11443 else
11444 cat >conftest.$ac_ext <<_ACEOF
11445 /* confdefs.h. */
11446 _ACEOF
11447 cat confdefs.h >>conftest.$ac_ext
11448 cat >>conftest.$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11450 #include <stdarg.h>
11452 main ()
11454 va_list ap1, ap2;
11455 __va_copy(ap1,ap2);
11458 return 0;
11460 _ACEOF
11461 rm -f conftest.$ac_objext conftest$ac_exeext
11462 if { (ac_try="$ac_link"
11463 case "(($ac_try" in
11464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11465 *) ac_try_echo=$ac_try;;
11466 esac
11467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11468 (eval "$ac_link") 2>conftest.er1
11469 ac_status=$?
11470 grep -v '^ *+' conftest.er1 >conftest.err
11471 rm -f conftest.er1
11472 cat conftest.err >&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } && {
11475 test -z "$ac_c_werror_flag" ||
11476 test ! -s conftest.err
11477 } && test -s conftest$ac_exeext &&
11478 $as_test_x conftest$ac_exeext; then
11479 ac_cv_c___va_copy="yes"
11480 else
11481 echo "$as_me: failed program was:" >&5
11482 sed 's/^/| /' conftest.$ac_ext >&5
11484 ac_cv_c___va_copy="no"
11487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11488 conftest$ac_exeext conftest.$ac_ext
11491 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11492 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11493 if test "$ac_cv_c___va_copy" = "yes"
11494 then
11496 cat >>confdefs.h <<\_ACEOF
11497 #define HAVE___VA_COPY 1
11498 _ACEOF
11502 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11503 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11504 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 else
11507 cat >conftest.$ac_ext <<_ACEOF
11508 /* confdefs.h. */
11509 _ACEOF
11510 cat confdefs.h >>conftest.$ac_ext
11511 cat >>conftest.$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11513 #include <setjmp.h>
11515 main ()
11517 sigjmp_buf buf;
11518 sigsetjmp( buf, 1 );
11519 siglongjmp( buf, 1 );
11521 return 0;
11523 _ACEOF
11524 rm -f conftest.$ac_objext conftest$ac_exeext
11525 if { (ac_try="$ac_link"
11526 case "(($ac_try" in
11527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11528 *) ac_try_echo=$ac_try;;
11529 esac
11530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11531 (eval "$ac_link") 2>conftest.er1
11532 ac_status=$?
11533 grep -v '^ *+' conftest.er1 >conftest.err
11534 rm -f conftest.er1
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } && {
11538 test -z "$ac_c_werror_flag" ||
11539 test ! -s conftest.err
11540 } && test -s conftest$ac_exeext &&
11541 $as_test_x conftest$ac_exeext; then
11542 ac_cv_c_sigsetjmp="yes"
11543 else
11544 echo "$as_me: failed program was:" >&5
11545 sed 's/^/| /' conftest.$ac_ext >&5
11547 ac_cv_c_sigsetjmp="no"
11550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11551 conftest$ac_exeext conftest.$ac_ext
11554 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11555 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11556 if test "$ac_cv_c_sigsetjmp" = "yes"
11557 then
11559 cat >>confdefs.h <<\_ACEOF
11560 #define HAVE_SIGSETJMP 1
11561 _ACEOF
11565 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11566 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11567 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11568 echo $ECHO_N "(cached) $ECHO_C" >&6
11569 else
11570 cat >conftest.$ac_ext <<_ACEOF
11571 /* confdefs.h. */
11572 _ACEOF
11573 cat confdefs.h >>conftest.$ac_ext
11574 cat >>conftest.$ac_ext <<_ACEOF
11575 /* end confdefs.h. */
11576 #define _GNU_SOURCE
11577 #include <pthread.h>
11579 typedef pthread_rwlock_t ac__type_new_;
11581 main ()
11583 if ((ac__type_new_ *) 0)
11584 return 0;
11585 if (sizeof (ac__type_new_))
11586 return 0;
11588 return 0;
11590 _ACEOF
11591 rm -f conftest.$ac_objext
11592 if { (ac_try="$ac_compile"
11593 case "(($ac_try" in
11594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11596 esac
11597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11598 (eval "$ac_compile") 2>conftest.er1
11599 ac_status=$?
11600 grep -v '^ *+' conftest.er1 >conftest.err
11601 rm -f conftest.er1
11602 cat conftest.err >&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } && {
11605 test -z "$ac_c_werror_flag" ||
11606 test ! -s conftest.err
11607 } && test -s conftest.$ac_objext; then
11608 ac_cv_type_pthread_rwlock_t=yes
11609 else
11610 echo "$as_me: failed program was:" >&5
11611 sed 's/^/| /' conftest.$ac_ext >&5
11613 ac_cv_type_pthread_rwlock_t=no
11616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11618 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11619 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11620 if test $ac_cv_type_pthread_rwlock_t = yes; then
11622 cat >>confdefs.h <<_ACEOF
11623 #define HAVE_PTHREAD_RWLOCK_T 1
11624 _ACEOF
11628 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11629 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11630 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 else
11633 cat >conftest.$ac_ext <<_ACEOF
11634 /* confdefs.h. */
11635 _ACEOF
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11639 #define _GNU_SOURCE
11640 #include <pthread.h>
11642 typedef pthread_rwlockattr_t ac__type_new_;
11644 main ()
11646 if ((ac__type_new_ *) 0)
11647 return 0;
11648 if (sizeof (ac__type_new_))
11649 return 0;
11651 return 0;
11653 _ACEOF
11654 rm -f conftest.$ac_objext
11655 if { (ac_try="$ac_compile"
11656 case "(($ac_try" in
11657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11658 *) ac_try_echo=$ac_try;;
11659 esac
11660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11661 (eval "$ac_compile") 2>conftest.er1
11662 ac_status=$?
11663 grep -v '^ *+' conftest.er1 >conftest.err
11664 rm -f conftest.er1
11665 cat conftest.err >&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } && {
11668 test -z "$ac_c_werror_flag" ||
11669 test ! -s conftest.err
11670 } && test -s conftest.$ac_objext; then
11671 ac_cv_type_pthread_rwlockattr_t=yes
11672 else
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.$ac_ext >&5
11676 ac_cv_type_pthread_rwlockattr_t=no
11679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11681 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11682 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11683 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11685 cat >>confdefs.h <<_ACEOF
11686 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11687 _ACEOF
11693 ac_wine_check_funcs_save_LIBS="$LIBS"
11694 LIBS="$LIBS $LIBPTHREAD"
11699 for ac_func in \
11700 pthread_attr_get_np \
11701 pthread_getattr_np \
11702 pthread_get_stackaddr_np \
11703 pthread_get_stacksize_np
11705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 else
11711 cat >conftest.$ac_ext <<_ACEOF
11712 /* confdefs.h. */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11719 #define $ac_func innocuous_$ac_func
11721 /* System header to define __stub macros and hopefully few prototypes,
11722 which can conflict with char $ac_func (); below.
11723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11724 <limits.h> exists even on freestanding compilers. */
11726 #ifdef __STDC__
11727 # include <limits.h>
11728 #else
11729 # include <assert.h>
11730 #endif
11732 #undef $ac_func
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char $ac_func ();
11741 /* The GNU C library defines this for functions which it implements
11742 to always fail with ENOSYS. Some functions are actually named
11743 something starting with __ and the normal name is an alias. */
11744 #if defined __stub_$ac_func || defined __stub___$ac_func
11745 choke me
11746 #endif
11749 main ()
11751 return $ac_func ();
11753 return 0;
11755 _ACEOF
11756 rm -f conftest.$ac_objext conftest$ac_exeext
11757 if { (ac_try="$ac_link"
11758 case "(($ac_try" in
11759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11760 *) ac_try_echo=$ac_try;;
11761 esac
11762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11763 (eval "$ac_link") 2>conftest.er1
11764 ac_status=$?
11765 grep -v '^ *+' conftest.er1 >conftest.err
11766 rm -f conftest.er1
11767 cat conftest.err >&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } && {
11770 test -z "$ac_c_werror_flag" ||
11771 test ! -s conftest.err
11772 } && test -s conftest$ac_exeext &&
11773 $as_test_x conftest$ac_exeext; then
11774 eval "$as_ac_var=yes"
11775 else
11776 echo "$as_me: failed program was:" >&5
11777 sed 's/^/| /' conftest.$ac_ext >&5
11779 eval "$as_ac_var=no"
11782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11783 conftest$ac_exeext conftest.$ac_ext
11785 ac_res=`eval echo '${'$as_ac_var'}'`
11786 { echo "$as_me:$LINENO: result: $ac_res" >&5
11787 echo "${ECHO_T}$ac_res" >&6; }
11788 if test `eval echo '${'$as_ac_var'}'` = yes; then
11789 cat >>confdefs.h <<_ACEOF
11790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11791 _ACEOF
11794 done
11796 LIBS="$ac_wine_check_funcs_save_LIBS"
11798 # Extract the first word of "esd-config", so it can be a program name with args.
11799 set dummy esd-config; ac_word=$2
11800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11802 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 else
11805 case $ESDCONFIG in
11806 [\\/]* | ?:[\\/]*)
11807 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11811 for as_dir in $PATH
11813 IFS=$as_save_IFS
11814 test -z "$as_dir" && as_dir=.
11815 for ac_exec_ext in '' $ac_executable_extensions; do
11816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11817 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11819 break 2
11821 done
11822 done
11823 IFS=$as_save_IFS
11826 esac
11828 ESDCONFIG=$ac_cv_path_ESDCONFIG
11829 if test -n "$ESDCONFIG"; then
11830 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11831 echo "${ECHO_T}$ESDCONFIG" >&6; }
11832 else
11833 { echo "$as_me:$LINENO: result: no" >&5
11834 echo "${ECHO_T}no" >&6; }
11838 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11839 then
11840 ESD_CFLAGS=""
11841 for i in `$ESDCONFIG --cflags`
11843 case "$i" in
11844 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11845 esac
11846 done
11847 ESD_LIBS=`$ESDCONFIG --libs`
11848 save_CFLAGS="$CFLAGS"
11849 CFLAGS="$CFLAGS $ESD_CFLAGS"
11850 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11851 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11852 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11854 else
11855 ac_check_lib_save_LIBS=$LIBS
11856 LIBS="-lesd $LIBS"
11857 cat >conftest.$ac_ext <<_ACEOF
11858 /* confdefs.h. */
11859 _ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11867 #ifdef __cplusplus
11868 extern "C"
11869 #endif
11870 char esd_open_sound ();
11872 main ()
11874 return esd_open_sound ();
11876 return 0;
11878 _ACEOF
11879 rm -f conftest.$ac_objext conftest$ac_exeext
11880 if { (ac_try="$ac_link"
11881 case "(($ac_try" in
11882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11883 *) ac_try_echo=$ac_try;;
11884 esac
11885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11886 (eval "$ac_link") 2>conftest.er1
11887 ac_status=$?
11888 grep -v '^ *+' conftest.er1 >conftest.err
11889 rm -f conftest.er1
11890 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } && {
11893 test -z "$ac_c_werror_flag" ||
11894 test ! -s conftest.err
11895 } && test -s conftest$ac_exeext &&
11896 $as_test_x conftest$ac_exeext; then
11897 ac_cv_lib_esd_esd_open_sound=yes
11898 else
11899 echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.$ac_ext >&5
11902 ac_cv_lib_esd_esd_open_sound=no
11905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_lib_save_LIBS
11909 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11910 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11911 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11912 ESDLIBS=$ESD_LIBS
11914 ESDINCL=$ESD_CFLAGS
11917 cat >>confdefs.h <<\_ACEOF
11918 #define HAVE_ESD 1
11919 _ACEOF
11923 CFLAGS="$save_CFLAGS"
11926 ALSALIBS=""
11928 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11929 then
11930 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11931 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11932 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 else
11935 ac_check_lib_save_LIBS=$LIBS
11936 LIBS="-lasound $LIBS"
11937 cat >conftest.$ac_ext <<_ACEOF
11938 /* confdefs.h. */
11939 _ACEOF
11940 cat confdefs.h >>conftest.$ac_ext
11941 cat >>conftest.$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char snd_pcm_hw_params_get_access ();
11952 main ()
11954 return snd_pcm_hw_params_get_access ();
11956 return 0;
11958 _ACEOF
11959 rm -f conftest.$ac_objext conftest$ac_exeext
11960 if { (ac_try="$ac_link"
11961 case "(($ac_try" in
11962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11963 *) ac_try_echo=$ac_try;;
11964 esac
11965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11966 (eval "$ac_link") 2>conftest.er1
11967 ac_status=$?
11968 grep -v '^ *+' conftest.er1 >conftest.err
11969 rm -f conftest.er1
11970 cat conftest.err >&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } && {
11973 test -z "$ac_c_werror_flag" ||
11974 test ! -s conftest.err
11975 } && test -s conftest$ac_exeext &&
11976 $as_test_x conftest$ac_exeext; then
11977 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11982 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11990 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11991 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11992 cat >conftest.$ac_ext <<_ACEOF
11993 /* confdefs.h. */
11994 _ACEOF
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 #ifdef HAVE_ALSA_ASOUNDLIB_H
11999 #include <alsa/asoundlib.h>
12000 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12001 #include <sys/asoundlib.h>
12002 #endif
12004 main ()
12006 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12008 return 0;
12010 _ACEOF
12011 rm -f conftest.$ac_objext
12012 if { (ac_try="$ac_compile"
12013 case "(($ac_try" in
12014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015 *) ac_try_echo=$ac_try;;
12016 esac
12017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018 (eval "$ac_compile") 2>conftest.er1
12019 ac_status=$?
12020 grep -v '^ *+' conftest.er1 >conftest.err
12021 rm -f conftest.er1
12022 cat conftest.err >&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } && {
12025 test -z "$ac_c_werror_flag" ||
12026 test ! -s conftest.err
12027 } && test -s conftest.$ac_objext; then
12029 cat >>confdefs.h <<\_ACEOF
12030 #define HAVE_ALSA 1
12031 _ACEOF
12033 ALSALIBS="-lasound"
12034 else
12035 echo "$as_me: failed program was:" >&5
12036 sed 's/^/| /' conftest.$ac_ext >&5
12041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 AUDIOIOLIBS=""
12049 if test "$ac_cv_header_libaudioio_h" = "yes"
12050 then
12051 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12052 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12053 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 else
12056 ac_check_lib_save_LIBS=$LIBS
12057 LIBS="-laudioio $LIBS"
12058 cat >conftest.$ac_ext <<_ACEOF
12059 /* confdefs.h. */
12060 _ACEOF
12061 cat confdefs.h >>conftest.$ac_ext
12062 cat >>conftest.$ac_ext <<_ACEOF
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 char AudioIOGetVersion ();
12073 main ()
12075 return AudioIOGetVersion ();
12077 return 0;
12079 _ACEOF
12080 rm -f conftest.$ac_objext conftest$ac_exeext
12081 if { (ac_try="$ac_link"
12082 case "(($ac_try" in
12083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12084 *) ac_try_echo=$ac_try;;
12085 esac
12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_link") 2>conftest.er1
12088 ac_status=$?
12089 grep -v '^ *+' conftest.er1 >conftest.err
12090 rm -f conftest.er1
12091 cat conftest.err >&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); } && {
12094 test -z "$ac_c_werror_flag" ||
12095 test ! -s conftest.err
12096 } && test -s conftest$ac_exeext &&
12097 $as_test_x conftest$ac_exeext; then
12098 ac_cv_lib_audioio_AudioIOGetVersion=yes
12099 else
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.$ac_ext >&5
12103 ac_cv_lib_audioio_AudioIOGetVersion=no
12106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_lib_save_LIBS
12110 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12111 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12112 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12113 AUDIOIOLIBS="-laudioio"
12115 cat >>confdefs.h <<\_ACEOF
12116 #define HAVE_LIBAUDIOIO 1
12117 _ACEOF
12124 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12125 then
12126 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12127 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12128 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 else
12131 ac_check_lib_save_LIBS=$LIBS
12132 LIBS="-lcapi20 $LIBS"
12133 cat >conftest.$ac_ext <<_ACEOF
12134 /* confdefs.h. */
12135 _ACEOF
12136 cat confdefs.h >>conftest.$ac_ext
12137 cat >>conftest.$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12140 /* Override any GCC internal prototype to avoid an error.
12141 Use char because int might match the return type of a GCC
12142 builtin and then its argument prototype would still apply. */
12143 #ifdef __cplusplus
12144 extern "C"
12145 #endif
12146 char capi20_register ();
12148 main ()
12150 return capi20_register ();
12152 return 0;
12154 _ACEOF
12155 rm -f conftest.$ac_objext conftest$ac_exeext
12156 if { (ac_try="$ac_link"
12157 case "(($ac_try" in
12158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12159 *) ac_try_echo=$ac_try;;
12160 esac
12161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12162 (eval "$ac_link") 2>conftest.er1
12163 ac_status=$?
12164 grep -v '^ *+' conftest.er1 >conftest.err
12165 rm -f conftest.er1
12166 cat conftest.err >&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } && {
12169 test -z "$ac_c_werror_flag" ||
12170 test ! -s conftest.err
12171 } && test -s conftest$ac_exeext &&
12172 $as_test_x conftest$ac_exeext; then
12173 ac_cv_lib_capi20_capi20_register=yes
12174 else
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12178 ac_cv_lib_capi20_capi20_register=no
12181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12182 conftest$ac_exeext conftest.$ac_ext
12183 LIBS=$ac_check_lib_save_LIBS
12185 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12186 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12187 if test $ac_cv_lib_capi20_capi20_register = yes; then
12189 cat >>confdefs.h <<\_ACEOF
12190 #define HAVE_CAPI4LINUX 1
12191 _ACEOF
12198 EXTRACFLAGS=""
12200 if test "x${GCC}" = "xyes"
12201 then
12202 EXTRACFLAGS="-Wall -pipe"
12204 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12205 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12206 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 else
12209 if test "$cross_compiling" = yes; then
12210 ac_cv_c_gcc_strength_bug="yes"
12211 else
12212 cat >conftest.$ac_ext <<_ACEOF
12213 /* confdefs.h. */
12214 _ACEOF
12215 cat confdefs.h >>conftest.$ac_ext
12216 cat >>conftest.$ac_ext <<_ACEOF
12217 /* end confdefs.h. */
12219 int L[4] = {0,1,2,3};
12220 int main(void) {
12221 static int Array[3];
12222 unsigned int B = 3;
12223 int i;
12224 for(i=0; i<B; i++) Array[i] = i - 3;
12225 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12226 L[i] = 4;
12228 exit( Array[1] != -2 || L[2] != 3);
12230 _ACEOF
12231 rm -f conftest$ac_exeext
12232 if { (ac_try="$ac_link"
12233 case "(($ac_try" in
12234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12235 *) ac_try_echo=$ac_try;;
12236 esac
12237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12238 (eval "$ac_link") 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12242 { (case "(($ac_try" in
12243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12244 *) ac_try_echo=$ac_try;;
12245 esac
12246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12247 (eval "$ac_try") 2>&5
12248 ac_status=$?
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); }; }; then
12251 ac_cv_c_gcc_strength_bug="no"
12252 else
12253 echo "$as_me: program exited with status $ac_status" >&5
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ( exit $ac_status )
12258 ac_cv_c_gcc_strength_bug="yes"
12260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12265 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12266 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12267 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12268 then
12269 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12273 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12274 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12275 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12277 else
12278 ac_wine_try_cflags_saved=$CFLAGS
12279 CFLAGS="$CFLAGS -fshort-wchar"
12280 cat >conftest.$ac_ext <<_ACEOF
12281 /* confdefs.h. */
12282 _ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12288 main ()
12292 return 0;
12294 _ACEOF
12295 rm -f conftest.$ac_objext conftest$ac_exeext
12296 if { (ac_try="$ac_link"
12297 case "(($ac_try" in
12298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12299 *) ac_try_echo=$ac_try;;
12300 esac
12301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12302 (eval "$ac_link") 2>conftest.er1
12303 ac_status=$?
12304 grep -v '^ *+' conftest.er1 >conftest.err
12305 rm -f conftest.er1
12306 cat conftest.err >&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); } && {
12309 test -z "$ac_c_werror_flag" ||
12310 test ! -s conftest.err
12311 } && test -s conftest$ac_exeext &&
12312 $as_test_x conftest$ac_exeext; then
12313 ac_cv_cflags__fshort_wchar=yes
12314 else
12315 echo "$as_me: failed program was:" >&5
12316 sed 's/^/| /' conftest.$ac_ext >&5
12318 ac_cv_cflags__fshort_wchar=no
12321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12322 conftest$ac_exeext conftest.$ac_ext
12323 CFLAGS=$ac_wine_try_cflags_saved
12325 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12326 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12327 if test $ac_cv_cflags__fshort_wchar = yes; then
12329 cat >>confdefs.h <<\_ACEOF
12330 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12331 _ACEOF
12335 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12336 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12337 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12339 else
12340 ac_wine_try_cflags_saved=$CFLAGS
12341 CFLAGS="$CFLAGS -fno-strict-aliasing"
12342 cat >conftest.$ac_ext <<_ACEOF
12343 /* confdefs.h. */
12344 _ACEOF
12345 cat confdefs.h >>conftest.$ac_ext
12346 cat >>conftest.$ac_ext <<_ACEOF
12347 /* end confdefs.h. */
12350 main ()
12354 return 0;
12356 _ACEOF
12357 rm -f conftest.$ac_objext conftest$ac_exeext
12358 if { (ac_try="$ac_link"
12359 case "(($ac_try" in
12360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12361 *) ac_try_echo=$ac_try;;
12362 esac
12363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12364 (eval "$ac_link") 2>conftest.er1
12365 ac_status=$?
12366 grep -v '^ *+' conftest.er1 >conftest.err
12367 rm -f conftest.er1
12368 cat conftest.err >&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } && {
12371 test -z "$ac_c_werror_flag" ||
12372 test ! -s conftest.err
12373 } && test -s conftest$ac_exeext &&
12374 $as_test_x conftest$ac_exeext; then
12375 ac_cv_cflags__fno_strict_aliasing=yes
12376 else
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.$ac_ext >&5
12380 ac_cv_cflags__fno_strict_aliasing=no
12383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12384 conftest$ac_exeext conftest.$ac_ext
12385 CFLAGS=$ac_wine_try_cflags_saved
12387 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12388 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12389 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12390 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12393 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12394 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12395 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 else
12398 ac_wine_try_cflags_saved=$CFLAGS
12399 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12400 cat >conftest.$ac_ext <<_ACEOF
12401 /* confdefs.h. */
12402 _ACEOF
12403 cat confdefs.h >>conftest.$ac_ext
12404 cat >>conftest.$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12408 main ()
12412 return 0;
12414 _ACEOF
12415 rm -f conftest.$ac_objext conftest$ac_exeext
12416 if { (ac_try="$ac_link"
12417 case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12420 esac
12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_link") 2>conftest.er1
12423 ac_status=$?
12424 grep -v '^ *+' conftest.er1 >conftest.err
12425 rm -f conftest.er1
12426 cat conftest.err >&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } && {
12429 test -z "$ac_c_werror_flag" ||
12430 test ! -s conftest.err
12431 } && test -s conftest$ac_exeext &&
12432 $as_test_x conftest$ac_exeext; then
12433 ac_cv_cflags__Wdeclaration_after_statement=yes
12434 else
12435 echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.$ac_ext >&5
12438 ac_cv_cflags__Wdeclaration_after_statement=no
12441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12442 conftest$ac_exeext conftest.$ac_ext
12443 CFLAGS=$ac_wine_try_cflags_saved
12445 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12446 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12447 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12448 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12451 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12452 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12453 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12454 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 else
12456 ac_wine_try_cflags_saved=$CFLAGS
12457 CFLAGS="$CFLAGS -Wwrite-strings"
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12466 main ()
12470 return 0;
12472 _ACEOF
12473 rm -f conftest.$ac_objext conftest$ac_exeext
12474 if { (ac_try="$ac_link"
12475 case "(($ac_try" in
12476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12477 *) ac_try_echo=$ac_try;;
12478 esac
12479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12480 (eval "$ac_link") 2>conftest.er1
12481 ac_status=$?
12482 grep -v '^ *+' conftest.er1 >conftest.err
12483 rm -f conftest.er1
12484 cat conftest.err >&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); } && {
12487 test -z "$ac_c_werror_flag" ||
12488 test ! -s conftest.err
12489 } && test -s conftest$ac_exeext &&
12490 $as_test_x conftest$ac_exeext; then
12491 ac_cv_cflags__Wwrite_strings=yes
12492 else
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_cv_cflags__Wwrite_strings=no
12499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12500 conftest$ac_exeext conftest.$ac_ext
12501 CFLAGS=$ac_wine_try_cflags_saved
12503 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12504 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12505 if test $ac_cv_cflags__Wwrite_strings = yes; then
12506 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12510 saved_CFLAGS="$CFLAGS"
12511 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12512 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12513 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12514 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 else
12517 cat >conftest.$ac_ext <<_ACEOF
12518 /* confdefs.h. */
12519 _ACEOF
12520 cat confdefs.h >>conftest.$ac_ext
12521 cat >>conftest.$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 #include <string.h>
12525 main ()
12529 return 0;
12531 _ACEOF
12532 rm -f conftest.$ac_objext
12533 if { (ac_try="$ac_compile"
12534 case "(($ac_try" in
12535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12536 *) ac_try_echo=$ac_try;;
12537 esac
12538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12539 (eval "$ac_compile") 2>conftest.er1
12540 ac_status=$?
12541 grep -v '^ *+' conftest.er1 >conftest.err
12542 rm -f conftest.er1
12543 cat conftest.err >&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } && {
12546 test -z "$ac_c_werror_flag" ||
12547 test ! -s conftest.err
12548 } && test -s conftest.$ac_objext; then
12549 ac_cv_c_string_h_warnings=no
12550 else
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.$ac_ext >&5
12554 ac_cv_c_string_h_warnings=yes
12557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12559 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12560 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12561 CFLAGS="$saved_CFLAGS"
12562 if test "$ac_cv_c_string_h_warnings" = "no"
12563 then
12564 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12567 BUILTINFLAG=""
12569 saved_CFLAGS="$CFLAGS"
12570 CFLAGS="$CFLAGS -Werror"
12571 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12572 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12573 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12575 else
12576 cat >conftest.$ac_ext <<_ACEOF
12577 /* confdefs.h. */
12578 _ACEOF
12579 cat confdefs.h >>conftest.$ac_ext
12580 cat >>conftest.$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12584 main ()
12586 int iswlower(unsigned short);
12588 return 0;
12590 _ACEOF
12591 rm -f conftest.$ac_objext
12592 if { (ac_try="$ac_compile"
12593 case "(($ac_try" in
12594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12596 esac
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_compile") 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } && {
12605 test -z "$ac_c_werror_flag" ||
12606 test ! -s conftest.err
12607 } && test -s conftest.$ac_objext; then
12608 ac_cv_c_builtin_wchar_ctype=no
12609 else
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.$ac_ext >&5
12613 ac_cv_c_builtin_wchar_ctype=yes
12616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12618 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12619 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12620 CFLAGS="$saved_CFLAGS"
12621 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12622 then
12623 BUILTINFLAG="-fno-builtin"
12628 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12629 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12630 if test "${ac_cv_asm_func_def+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 cat >conftest.$ac_ext <<_ACEOF
12634 /* confdefs.h. */
12635 _ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12639 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12642 main ()
12646 return 0;
12648 _ACEOF
12649 rm -f conftest.$ac_objext conftest$ac_exeext
12650 if { (ac_try="$ac_link"
12651 case "(($ac_try" in
12652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12653 *) ac_try_echo=$ac_try;;
12654 esac
12655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12656 (eval "$ac_link") 2>conftest.er1
12657 ac_status=$?
12658 grep -v '^ *+' conftest.er1 >conftest.err
12659 rm -f conftest.er1
12660 cat conftest.err >&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } && {
12663 test -z "$ac_c_werror_flag" ||
12664 test ! -s conftest.err
12665 } && test -s conftest$ac_exeext &&
12666 $as_test_x conftest$ac_exeext; then
12667 ac_cv_asm_func_def=".def"
12668 else
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12672 cat >conftest.$ac_ext <<_ACEOF
12673 /* confdefs.h. */
12674 _ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12678 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12681 main ()
12685 return 0;
12687 _ACEOF
12688 rm -f conftest.$ac_objext conftest$ac_exeext
12689 if { (ac_try="$ac_link"
12690 case "(($ac_try" in
12691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12692 *) ac_try_echo=$ac_try;;
12693 esac
12694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12695 (eval "$ac_link") 2>conftest.er1
12696 ac_status=$?
12697 grep -v '^ *+' conftest.er1 >conftest.err
12698 rm -f conftest.er1
12699 cat conftest.err >&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } && {
12702 test -z "$ac_c_werror_flag" ||
12703 test ! -s conftest.err
12704 } && test -s conftest$ac_exeext &&
12705 $as_test_x conftest$ac_exeext; then
12706 ac_cv_asm_func_def=".type @function"
12707 else
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.$ac_ext >&5
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12720 main ()
12724 return 0;
12726 _ACEOF
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (ac_try="$ac_link"
12729 case "(($ac_try" in
12730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12731 *) ac_try_echo=$ac_try;;
12732 esac
12733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12734 (eval "$ac_link") 2>conftest.er1
12735 ac_status=$?
12736 grep -v '^ *+' conftest.er1 >conftest.err
12737 rm -f conftest.er1
12738 cat conftest.err >&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } && {
12741 test -z "$ac_c_werror_flag" ||
12742 test ! -s conftest.err
12743 } && test -s conftest$ac_exeext &&
12744 $as_test_x conftest$ac_exeext; then
12745 ac_cv_asm_func_def=".type 2"
12746 else
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12750 ac_cv_asm_func_def="unknown"
12753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12754 conftest$ac_exeext conftest.$ac_ext
12757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12758 conftest$ac_exeext conftest.$ac_ext
12761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12762 conftest$ac_exeext conftest.$ac_ext
12764 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12765 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12769 case "$ac_cv_asm_func_def" in
12770 ".def")
12771 cat >>confdefs.h <<\_ACEOF
12772 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12773 _ACEOF
12775 ".type @function")
12776 cat >>confdefs.h <<\_ACEOF
12777 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12778 _ACEOF
12780 ".type 2")
12781 cat >>confdefs.h <<\_ACEOF
12782 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12783 _ACEOF
12786 cat >>confdefs.h <<\_ACEOF
12787 #define __ASM_FUNC(name) ""
12788 _ACEOF
12790 esac
12793 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12794 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12795 if test "${ac_cv_c_extern_prefix+set}" = set; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 else
12798 cat >conftest.$ac_ext <<_ACEOF
12799 /* confdefs.h. */
12800 _ACEOF
12801 cat confdefs.h >>conftest.$ac_ext
12802 cat >>conftest.$ac_ext <<_ACEOF
12803 /* end confdefs.h. */
12804 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12805 extern int ac_test;
12807 main ()
12809 if (ac_test) return 1
12811 return 0;
12813 _ACEOF
12814 rm -f conftest.$ac_objext conftest$ac_exeext
12815 if { (ac_try="$ac_link"
12816 case "(($ac_try" in
12817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12818 *) ac_try_echo=$ac_try;;
12819 esac
12820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12821 (eval "$ac_link") 2>conftest.er1
12822 ac_status=$?
12823 grep -v '^ *+' conftest.er1 >conftest.err
12824 rm -f conftest.er1
12825 cat conftest.err >&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } && {
12828 test -z "$ac_c_werror_flag" ||
12829 test ! -s conftest.err
12830 } && test -s conftest$ac_exeext &&
12831 $as_test_x conftest$ac_exeext; then
12832 ac_cv_c_extern_prefix="yes"
12833 else
12834 echo "$as_me: failed program was:" >&5
12835 sed 's/^/| /' conftest.$ac_ext >&5
12837 ac_cv_c_extern_prefix="no"
12840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12841 conftest$ac_exeext conftest.$ac_ext
12843 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12844 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12848 if test "$ac_cv_c_extern_prefix" = "yes"
12849 then
12850 cat >>confdefs.h <<\_ACEOF
12851 #define __ASM_NAME(name) "_" name
12852 _ACEOF
12854 else
12855 cat >>confdefs.h <<\_ACEOF
12856 #define __ASM_NAME(name) name
12857 _ACEOF
12862 DLLEXT=""
12864 DLLFLAGS="-D_REENTRANT"
12866 LDSHARED=""
12868 LDDLLFLAGS=""
12870 LIBEXT="so"
12872 IMPLIBEXT="def"
12874 LIBWINE_LDFLAGS=""
12877 case $host_os in
12878 cygwin*|mingw32*)
12879 if test -n "$ac_tool_prefix"; then
12880 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12881 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12884 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 else
12887 if test -n "$DLLTOOL"; then
12888 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12889 else
12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12891 for as_dir in $PATH
12893 IFS=$as_save_IFS
12894 test -z "$as_dir" && as_dir=.
12895 for ac_exec_ext in '' $ac_executable_extensions; do
12896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12897 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12899 break 2
12901 done
12902 done
12903 IFS=$as_save_IFS
12907 DLLTOOL=$ac_cv_prog_DLLTOOL
12908 if test -n "$DLLTOOL"; then
12909 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12910 echo "${ECHO_T}$DLLTOOL" >&6; }
12911 else
12912 { echo "$as_me:$LINENO: result: no" >&5
12913 echo "${ECHO_T}no" >&6; }
12918 if test -z "$ac_cv_prog_DLLTOOL"; then
12919 ac_ct_DLLTOOL=$DLLTOOL
12920 # Extract the first word of "dlltool", so it can be a program name with args.
12921 set dummy dlltool; ac_word=$2
12922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12924 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 else
12927 if test -n "$ac_ct_DLLTOOL"; then
12928 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12929 else
12930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12931 for as_dir in $PATH
12933 IFS=$as_save_IFS
12934 test -z "$as_dir" && as_dir=.
12935 for ac_exec_ext in '' $ac_executable_extensions; do
12936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12937 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12939 break 2
12941 done
12942 done
12943 IFS=$as_save_IFS
12947 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12948 if test -n "$ac_ct_DLLTOOL"; then
12949 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12950 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12951 else
12952 { echo "$as_me:$LINENO: result: no" >&5
12953 echo "${ECHO_T}no" >&6; }
12956 if test "x$ac_ct_DLLTOOL" = x; then
12957 DLLTOOL="false"
12958 else
12959 case $cross_compiling:$ac_tool_warned in
12960 yes:)
12961 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12962 whose name does not start with the host triplet. If you think this
12963 configuration is useful to you, please write to autoconf@gnu.org." >&5
12964 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12965 whose name does not start with the host triplet. If you think this
12966 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12967 ac_tool_warned=yes ;;
12968 esac
12969 DLLTOOL=$ac_ct_DLLTOOL
12971 else
12972 DLLTOOL="$ac_cv_prog_DLLTOOL"
12975 if test -n "$ac_tool_prefix"; then
12976 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12977 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12980 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12981 echo $ECHO_N "(cached) $ECHO_C" >&6
12982 else
12983 if test -n "$DLLWRAP"; then
12984 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12985 else
12986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12987 for as_dir in $PATH
12989 IFS=$as_save_IFS
12990 test -z "$as_dir" && as_dir=.
12991 for ac_exec_ext in '' $ac_executable_extensions; do
12992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12993 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12995 break 2
12997 done
12998 done
12999 IFS=$as_save_IFS
13003 DLLWRAP=$ac_cv_prog_DLLWRAP
13004 if test -n "$DLLWRAP"; then
13005 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13006 echo "${ECHO_T}$DLLWRAP" >&6; }
13007 else
13008 { echo "$as_me:$LINENO: result: no" >&5
13009 echo "${ECHO_T}no" >&6; }
13014 if test -z "$ac_cv_prog_DLLWRAP"; then
13015 ac_ct_DLLWRAP=$DLLWRAP
13016 # Extract the first word of "dllwrap", so it can be a program name with args.
13017 set dummy dllwrap; ac_word=$2
13018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13020 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13021 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 else
13023 if test -n "$ac_ct_DLLWRAP"; then
13024 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13025 else
13026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13027 for as_dir in $PATH
13029 IFS=$as_save_IFS
13030 test -z "$as_dir" && as_dir=.
13031 for ac_exec_ext in '' $ac_executable_extensions; do
13032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13033 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13035 break 2
13037 done
13038 done
13039 IFS=$as_save_IFS
13043 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13044 if test -n "$ac_ct_DLLWRAP"; then
13045 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13046 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13047 else
13048 { echo "$as_me:$LINENO: result: no" >&5
13049 echo "${ECHO_T}no" >&6; }
13052 if test "x$ac_ct_DLLWRAP" = x; then
13053 DLLWRAP="false"
13054 else
13055 case $cross_compiling:$ac_tool_warned in
13056 yes:)
13057 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13058 whose name does not start with the host triplet. If you think this
13059 configuration is useful to you, please write to autoconf@gnu.org." >&5
13060 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13061 whose name does not start with the host triplet. If you think this
13062 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13063 ac_tool_warned=yes ;;
13064 esac
13065 DLLWRAP=$ac_ct_DLLWRAP
13067 else
13068 DLLWRAP="$ac_cv_prog_DLLWRAP"
13071 if test -n "$ac_tool_prefix"; then
13072 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13073 set dummy ${ac_tool_prefix}ar; ac_word=$2
13074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13076 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 else
13079 if test -n "$MINGWAR"; then
13080 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13081 else
13082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13083 for as_dir in $PATH
13085 IFS=$as_save_IFS
13086 test -z "$as_dir" && as_dir=.
13087 for ac_exec_ext in '' $ac_executable_extensions; do
13088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13089 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13091 break 2
13093 done
13094 done
13095 IFS=$as_save_IFS
13099 MINGWAR=$ac_cv_prog_MINGWAR
13100 if test -n "$MINGWAR"; then
13101 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13102 echo "${ECHO_T}$MINGWAR" >&6; }
13103 else
13104 { echo "$as_me:$LINENO: result: no" >&5
13105 echo "${ECHO_T}no" >&6; }
13110 if test -z "$ac_cv_prog_MINGWAR"; then
13111 ac_ct_MINGWAR=$MINGWAR
13112 # Extract the first word of "ar", so it can be a program name with args.
13113 set dummy ar; ac_word=$2
13114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13116 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 if test -n "$ac_ct_MINGWAR"; then
13120 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13121 else
13122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13123 for as_dir in $PATH
13125 IFS=$as_save_IFS
13126 test -z "$as_dir" && as_dir=.
13127 for ac_exec_ext in '' $ac_executable_extensions; do
13128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13129 ac_cv_prog_ac_ct_MINGWAR="ar"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13131 break 2
13133 done
13134 done
13135 IFS=$as_save_IFS
13139 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13140 if test -n "$ac_ct_MINGWAR"; then
13141 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13142 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13143 else
13144 { echo "$as_me:$LINENO: result: no" >&5
13145 echo "${ECHO_T}no" >&6; }
13148 if test "x$ac_ct_MINGWAR" = x; then
13149 MINGWAR="false"
13150 else
13151 case $cross_compiling:$ac_tool_warned in
13152 yes:)
13153 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13154 whose name does not start with the host triplet. If you think this
13155 configuration is useful to you, please write to autoconf@gnu.org." >&5
13156 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13157 whose name does not start with the host triplet. If you think this
13158 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13159 ac_tool_warned=yes ;;
13160 esac
13161 MINGWAR=$ac_ct_MINGWAR
13163 else
13164 MINGWAR="$ac_cv_prog_MINGWAR"
13167 if test "$DLLWRAP" = "false"; then
13168 LIBEXT="a"
13169 else
13170 LIBEXT="dll"
13172 IMPLIBEXT="a"
13173 WIN16_FILES=""
13174 WIN16_INSTALL=""
13176 darwin*|macosx*)
13177 DLLEXT=".so"
13178 LIBEXT="dylib"
13179 DLLFLAGS="$DLLFLAGS -fPIC"
13180 LDDLLFLAGS="-bundle -multiply_defined suppress"
13181 LIBWINE_LDFLAGS="-multiply_defined suppress"
13182 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13183 STRIP="$STRIP -u -r"
13184 COREFOUNDATIONLIB="-framework CoreFoundation"
13186 IOKITLIB="-framework IOKit -framework CoreFoundation"
13188 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13190 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13191 then
13192 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13195 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13196 then
13197 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13200 case $host_cpu in
13201 *powerpc*)
13202 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13203 esac
13204 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13205 then
13206 CARBONLIB="-framework Carbon"
13208 QUARTZFILES='$(QUARTZFILES)'
13212 DLLFLAGS="$DLLFLAGS -fPIC"
13213 DLLEXT=".so"
13214 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13215 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13216 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13218 else
13219 ac_wine_try_cflags_saved=$CFLAGS
13220 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13221 cat >conftest.$ac_ext <<_ACEOF
13222 void myfunc() {}
13223 _ACEOF
13224 rm -f conftest.$ac_objext conftest$ac_exeext
13225 if { (ac_try="$ac_link"
13226 case "(($ac_try" in
13227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228 *) ac_try_echo=$ac_try;;
13229 esac
13230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231 (eval "$ac_link") 2>conftest.er1
13232 ac_status=$?
13233 grep -v '^ *+' conftest.er1 >conftest.err
13234 rm -f conftest.er1
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } && {
13238 test -z "$ac_c_werror_flag" ||
13239 test ! -s conftest.err
13240 } && test -s conftest$ac_exeext &&
13241 $as_test_x conftest$ac_exeext; then
13242 ac_cv_c_dll_gnuelf="yes"
13243 else
13244 echo "$as_me: failed program was:" >&5
13245 sed 's/^/| /' conftest.$ac_ext >&5
13247 ac_cv_c_dll_gnuelf="no"
13250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13251 conftest$ac_exeext conftest.$ac_ext
13252 CFLAGS=$ac_wine_try_cflags_saved
13254 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13255 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13256 if test "$ac_cv_c_dll_gnuelf" = "yes"
13257 then
13258 LDSHARED="\$(CC) -shared"
13259 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13260 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13261 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13262 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 else
13265 ac_wine_try_cflags_saved=$CFLAGS
13266 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13275 main ()
13279 return 0;
13281 _ACEOF
13282 rm -f conftest.$ac_objext conftest$ac_exeext
13283 if { (ac_try="$ac_link"
13284 case "(($ac_try" in
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286 *) ac_try_echo=$ac_try;;
13287 esac
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_link") 2>conftest.er1
13290 ac_status=$?
13291 grep -v '^ *+' conftest.er1 >conftest.err
13292 rm -f conftest.er1
13293 cat conftest.err >&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } && {
13296 test -z "$ac_c_werror_flag" ||
13297 test ! -s conftest.err
13298 } && test -s conftest$ac_exeext &&
13299 $as_test_x conftest$ac_exeext; then
13300 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13301 else
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13305 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13309 conftest$ac_exeext conftest.$ac_ext
13310 CFLAGS=$ac_wine_try_cflags_saved
13312 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13313 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13314 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13315 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13316 else
13317 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13318 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13319 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 else
13322 ac_wine_try_cflags_saved=$CFLAGS
13323 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13324 cat >conftest.$ac_ext <<_ACEOF
13325 /* confdefs.h. */
13326 _ACEOF
13327 cat confdefs.h >>conftest.$ac_ext
13328 cat >>conftest.$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13332 main ()
13336 return 0;
13338 _ACEOF
13339 rm -f conftest.$ac_objext conftest$ac_exeext
13340 if { (ac_try="$ac_link"
13341 case "(($ac_try" in
13342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13343 *) ac_try_echo=$ac_try;;
13344 esac
13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13346 (eval "$ac_link") 2>conftest.er1
13347 ac_status=$?
13348 grep -v '^ *+' conftest.er1 >conftest.err
13349 rm -f conftest.er1
13350 cat conftest.err >&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } && {
13353 test -z "$ac_c_werror_flag" ||
13354 test ! -s conftest.err
13355 } && test -s conftest$ac_exeext &&
13356 $as_test_x conftest$ac_exeext; then
13357 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13358 else
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.$ac_ext >&5
13362 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13366 conftest$ac_exeext conftest.$ac_ext
13367 CFLAGS=$ac_wine_try_cflags_saved
13369 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13370 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13371 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13372 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13378 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13379 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13380 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13381 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 else
13383 ac_wine_try_cflags_saved=$CFLAGS
13384 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13385 cat >conftest.$ac_ext <<_ACEOF
13386 /* confdefs.h. */
13387 _ACEOF
13388 cat confdefs.h >>conftest.$ac_ext
13389 cat >>conftest.$ac_ext <<_ACEOF
13390 /* end confdefs.h. */
13393 main ()
13397 return 0;
13399 _ACEOF
13400 rm -f conftest.$ac_objext conftest$ac_exeext
13401 if { (ac_try="$ac_link"
13402 case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13405 esac
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_link") 2>conftest.er1
13408 ac_status=$?
13409 grep -v '^ *+' conftest.er1 >conftest.err
13410 rm -f conftest.er1
13411 cat conftest.err >&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } && {
13414 test -z "$ac_c_werror_flag" ||
13415 test ! -s conftest.err
13416 } && test -s conftest$ac_exeext &&
13417 $as_test_x conftest$ac_exeext; then
13418 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13423 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13427 conftest$ac_exeext conftest.$ac_ext
13428 CFLAGS=$ac_wine_try_cflags_saved
13430 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13431 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13432 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13433 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13437 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13438 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13439 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 else
13442 ac_wine_try_cflags_saved=$CFLAGS
13443 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13444 cat >conftest.$ac_ext <<_ACEOF
13445 /* confdefs.h. */
13446 _ACEOF
13447 cat confdefs.h >>conftest.$ac_ext
13448 cat >>conftest.$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13452 main ()
13456 return 0;
13458 _ACEOF
13459 rm -f conftest.$ac_objext conftest$ac_exeext
13460 if { (ac_try="$ac_link"
13461 case "(($ac_try" in
13462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13463 *) ac_try_echo=$ac_try;;
13464 esac
13465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13466 (eval "$ac_link") 2>conftest.er1
13467 ac_status=$?
13468 grep -v '^ *+' conftest.er1 >conftest.err
13469 rm -f conftest.er1
13470 cat conftest.err >&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } && {
13473 test -z "$ac_c_werror_flag" ||
13474 test ! -s conftest.err
13475 } && test -s conftest$ac_exeext &&
13476 $as_test_x conftest$ac_exeext; then
13477 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13486 conftest$ac_exeext conftest.$ac_ext
13487 CFLAGS=$ac_wine_try_cflags_saved
13489 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13490 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13491 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13492 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13496 echo '{ global: *; };' >conftest.map
13497 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13498 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13499 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 ac_wine_try_cflags_saved=$CFLAGS
13503 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13504 cat >conftest.$ac_ext <<_ACEOF
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13512 main ()
13516 return 0;
13518 _ACEOF
13519 rm -f conftest.$ac_objext conftest$ac_exeext
13520 if { (ac_try="$ac_link"
13521 case "(($ac_try" in
13522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13523 *) ac_try_echo=$ac_try;;
13524 esac
13525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13526 (eval "$ac_link") 2>conftest.er1
13527 ac_status=$?
13528 grep -v '^ *+' conftest.er1 >conftest.err
13529 rm -f conftest.er1
13530 cat conftest.err >&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } && {
13533 test -z "$ac_c_werror_flag" ||
13534 test ! -s conftest.err
13535 } && test -s conftest$ac_exeext &&
13536 $as_test_x conftest$ac_exeext; then
13537 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13538 else
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13542 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13546 conftest$ac_exeext conftest.$ac_ext
13547 CFLAGS=$ac_wine_try_cflags_saved
13549 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13550 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13551 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13552 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13555 rm -f conftest.map
13557 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13558 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13559 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 else
13562 ac_wine_try_cflags_saved=$CFLAGS
13563 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13564 cat >conftest.$ac_ext <<_ACEOF
13565 /* confdefs.h. */
13566 _ACEOF
13567 cat confdefs.h >>conftest.$ac_ext
13568 cat >>conftest.$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13572 main ()
13576 return 0;
13578 _ACEOF
13579 rm -f conftest.$ac_objext conftest$ac_exeext
13580 if { (ac_try="$ac_link"
13581 case "(($ac_try" in
13582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13583 *) ac_try_echo=$ac_try;;
13584 esac
13585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13586 (eval "$ac_link") 2>conftest.er1
13587 ac_status=$?
13588 grep -v '^ *+' conftest.er1 >conftest.err
13589 rm -f conftest.er1
13590 cat conftest.err >&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } && {
13593 test -z "$ac_c_werror_flag" ||
13594 test ! -s conftest.err
13595 } && test -s conftest$ac_exeext &&
13596 $as_test_x conftest$ac_exeext; then
13597 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13598 else
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13602 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13606 conftest$ac_exeext conftest.$ac_ext
13607 CFLAGS=$ac_wine_try_cflags_saved
13609 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13610 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13611 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13612 LDEXECFLAGS="-Wl,--export-dynamic"
13617 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13618 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13619 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13621 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 else
13623 ac_wine_try_cflags_saved=$CFLAGS
13624 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13625 cat >conftest.$ac_ext <<_ACEOF
13626 /* confdefs.h. */
13627 _ACEOF
13628 cat confdefs.h >>conftest.$ac_ext
13629 cat >>conftest.$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13633 main ()
13637 return 0;
13639 _ACEOF
13640 rm -f conftest.$ac_objext conftest$ac_exeext
13641 if { (ac_try="$ac_link"
13642 case "(($ac_try" in
13643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13644 *) ac_try_echo=$ac_try;;
13645 esac
13646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13647 (eval "$ac_link") 2>conftest.er1
13648 ac_status=$?
13649 grep -v '^ *+' conftest.er1 >conftest.err
13650 rm -f conftest.er1
13651 cat conftest.err >&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); } && {
13654 test -z "$ac_c_werror_flag" ||
13655 test ! -s conftest.err
13656 } && test -s conftest$ac_exeext &&
13657 $as_test_x conftest$ac_exeext; then
13658 eval "$as_ac_var=yes"
13659 else
13660 echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13663 eval "$as_ac_var=no"
13666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13667 conftest$ac_exeext conftest.$ac_ext
13668 CFLAGS=$ac_wine_try_cflags_saved
13670 ac_res=`eval echo '${'$as_ac_var'}'`
13671 { echo "$as_me:$LINENO: result: $ac_res" >&5
13672 echo "${ECHO_T}$ac_res" >&6; }
13673 if test `eval echo '${'$as_ac_var'}'` = yes; then
13674 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13678 case $host_cpu in
13679 *i[3456789]86* | x86_64)
13680 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13681 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13682 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 else
13685 ac_wine_try_cflags_saved=$CFLAGS
13686 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13687 cat >conftest.$ac_ext <<_ACEOF
13688 /* confdefs.h. */
13689 _ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13695 main ()
13699 return 0;
13701 _ACEOF
13702 rm -f conftest.$ac_objext conftest$ac_exeext
13703 if { (ac_try="$ac_link"
13704 case "(($ac_try" in
13705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13706 *) ac_try_echo=$ac_try;;
13707 esac
13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_link") 2>conftest.er1
13710 ac_status=$?
13711 grep -v '^ *+' conftest.er1 >conftest.err
13712 rm -f conftest.er1
13713 cat conftest.err >&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } && {
13716 test -z "$ac_c_werror_flag" ||
13717 test ! -s conftest.err
13718 } && test -s conftest$ac_exeext &&
13719 $as_test_x conftest$ac_exeext; then
13720 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13721 else
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13725 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13729 conftest$ac_exeext conftest.$ac_ext
13730 CFLAGS=$ac_wine_try_cflags_saved
13732 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13733 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13734 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13735 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13739 esac
13741 else
13742 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13743 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13744 if test "${ac_cv_c_dll_unixware+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 else
13747 ac_wine_try_cflags_saved=$CFLAGS
13748 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13749 cat >conftest.$ac_ext <<_ACEOF
13750 void myfunc() {}
13751 _ACEOF
13752 rm -f conftest.$ac_objext conftest$ac_exeext
13753 if { (ac_try="$ac_link"
13754 case "(($ac_try" in
13755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13756 *) ac_try_echo=$ac_try;;
13757 esac
13758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13759 (eval "$ac_link") 2>conftest.er1
13760 ac_status=$?
13761 grep -v '^ *+' conftest.er1 >conftest.err
13762 rm -f conftest.er1
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); } && {
13766 test -z "$ac_c_werror_flag" ||
13767 test ! -s conftest.err
13768 } && test -s conftest$ac_exeext &&
13769 $as_test_x conftest$ac_exeext; then
13770 ac_cv_c_dll_unixware="yes"
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13775 ac_cv_c_dll_unixware="no"
13778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13779 conftest$ac_exeext conftest.$ac_ext
13780 CFLAGS=$ac_wine_try_cflags_saved
13782 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13783 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13784 if test "$ac_cv_c_dll_unixware" = "yes"
13785 then
13786 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13787 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13789 else
13790 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13791 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13792 if test "${ac_cv_c_dll_hpux+set}" = set; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 else
13795 ac_wine_try_cflags_saved=$CFLAGS
13796 CFLAGS="$CFLAGS -shared"
13797 cat >conftest.$ac_ext <<_ACEOF
13798 void myfunc() {}
13799 _ACEOF
13800 rm -f conftest.$ac_objext conftest$ac_exeext
13801 if { (ac_try="$ac_link"
13802 case "(($ac_try" in
13803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13804 *) ac_try_echo=$ac_try;;
13805 esac
13806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13807 (eval "$ac_link") 2>conftest.er1
13808 ac_status=$?
13809 grep -v '^ *+' conftest.er1 >conftest.err
13810 rm -f conftest.er1
13811 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } && {
13814 test -z "$ac_c_werror_flag" ||
13815 test ! -s conftest.err
13816 } && test -s conftest$ac_exeext &&
13817 $as_test_x conftest$ac_exeext; then
13818 ac_cv_c_dll_hpux="yes"
13819 else
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13823 ac_cv_c_dll_hpux="no"
13826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13827 conftest$ac_exeext conftest.$ac_ext
13828 CFLAGS=$ac_wine_try_cflags_saved
13830 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13831 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13832 if test "$ac_cv_c_dll_hpux" = "yes"
13833 then
13834 LIBEXT="sl"
13835 DLLEXT=".sl"
13836 LDDLLFLAGS="-shared -fPIC"
13837 LDSHARED="\$(CC) -shared"
13842 CROSSTEST=""
13844 if test "$cross_compiling" = "no"
13845 then
13846 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13848 # Extract the first word of "$ac_prog", so it can be a program name with args.
13849 set dummy $ac_prog; ac_word=$2
13850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13852 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 else
13855 if test -n "$CROSSCC"; then
13856 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13857 else
13858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13859 for as_dir in $PATH
13861 IFS=$as_save_IFS
13862 test -z "$as_dir" && as_dir=.
13863 for ac_exec_ext in '' $ac_executable_extensions; do
13864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13865 ac_cv_prog_CROSSCC="$ac_prog"
13866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13867 break 2
13869 done
13870 done
13871 IFS=$as_save_IFS
13875 CROSSCC=$ac_cv_prog_CROSSCC
13876 if test -n "$CROSSCC"; then
13877 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13878 echo "${ECHO_T}$CROSSCC" >&6; }
13879 else
13880 { echo "$as_me:$LINENO: result: no" >&5
13881 echo "${ECHO_T}no" >&6; }
13885 test -n "$CROSSCC" && break
13886 done
13887 test -n "$CROSSCC" || CROSSCC="false"
13889 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13891 # Extract the first word of "$ac_prog", so it can be a program name with args.
13892 set dummy $ac_prog; ac_word=$2
13893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13895 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 else
13898 if test -n "$DLLTOOL"; then
13899 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13900 else
13901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13902 for as_dir in $PATH
13904 IFS=$as_save_IFS
13905 test -z "$as_dir" && as_dir=.
13906 for ac_exec_ext in '' $ac_executable_extensions; do
13907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13908 ac_cv_prog_DLLTOOL="$ac_prog"
13909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13910 break 2
13912 done
13913 done
13914 IFS=$as_save_IFS
13918 DLLTOOL=$ac_cv_prog_DLLTOOL
13919 if test -n "$DLLTOOL"; then
13920 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13921 echo "${ECHO_T}$DLLTOOL" >&6; }
13922 else
13923 { echo "$as_me:$LINENO: result: no" >&5
13924 echo "${ECHO_T}no" >&6; }
13928 test -n "$DLLTOOL" && break
13929 done
13930 test -n "$DLLTOOL" || DLLTOOL="false"
13932 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13934 # Extract the first word of "$ac_prog", so it can be a program name with args.
13935 set dummy $ac_prog; ac_word=$2
13936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13938 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
13940 else
13941 if test -n "$CROSSWINDRES"; then
13942 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
13943 else
13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13947 IFS=$as_save_IFS
13948 test -z "$as_dir" && as_dir=.
13949 for ac_exec_ext in '' $ac_executable_extensions; do
13950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13951 ac_cv_prog_CROSSWINDRES="$ac_prog"
13952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13953 break 2
13955 done
13956 done
13957 IFS=$as_save_IFS
13961 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
13962 if test -n "$CROSSWINDRES"; then
13963 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
13964 echo "${ECHO_T}$CROSSWINDRES" >&6; }
13965 else
13966 { echo "$as_me:$LINENO: result: no" >&5
13967 echo "${ECHO_T}no" >&6; }
13971 test -n "$CROSSWINDRES" && break
13972 done
13973 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
13975 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
13977 # Extract the first word of "$ac_prog", so it can be a program name with args.
13978 set dummy $ac_prog; ac_word=$2
13979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13981 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 else
13984 if test -n "$MINGWAR"; then
13985 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13986 else
13987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13988 for as_dir in $PATH
13990 IFS=$as_save_IFS
13991 test -z "$as_dir" && as_dir=.
13992 for ac_exec_ext in '' $ac_executable_extensions; do
13993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13994 ac_cv_prog_MINGWAR="$ac_prog"
13995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13996 break 2
13998 done
13999 done
14000 IFS=$as_save_IFS
14004 MINGWAR=$ac_cv_prog_MINGWAR
14005 if test -n "$MINGWAR"; then
14006 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14007 echo "${ECHO_T}$MINGWAR" >&6; }
14008 else
14009 { echo "$as_me:$LINENO: result: no" >&5
14010 echo "${ECHO_T}no" >&6; }
14014 test -n "$MINGWAR" && break
14015 done
14016 test -n "$MINGWAR" || MINGWAR="false"
14018 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14021 esac
14023 if test "$LIBEXT" = "a"; then
14024 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14025 It is currently not possible to build Wine without shared library
14026 (.so) support to allow transparent switch between .so and .dll files.
14027 If you are using Linux, you will need a newer binutils.
14028 " >&5
14029 echo "$as_me: error: could not find a way to build shared libraries.
14030 It is currently not possible to build Wine without shared library
14031 (.so) support to allow transparent switch between .so and .dll files.
14032 If you are using Linux, you will need a newer binutils.
14033 " >&2;}
14034 { (exit 1); exit 1; }; }
14037 case $build_os in
14038 cygwin*|mingw32*)
14039 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14041 darwin*|macosx*)
14042 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14045 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14047 esac
14049 case $host_os in
14050 mingw32*)
14051 CRTLIBS="-lmsvcrt"
14053 SOCKETLIBS="-lws2_32"
14056 esac
14058 MAIN_BINARY="wine-pthread"
14059 case $host_cpu in
14060 *i[3456789]86*)
14061 case $host_os in
14062 linux* | k*bsd*-gnu)
14063 MAIN_BINARY="wine-glibc"
14065 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14067 esac
14069 esac
14072 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14073 then
14074 # Extract the first word of "ldd", so it can be a program name with args.
14075 set dummy ldd; ac_word=$2
14076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14078 if test "${ac_cv_path_LDD+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 else
14081 case $LDD in
14082 [\\/]* | ?:[\\/]*)
14083 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14087 as_dummy="/sbin:/usr/sbin:$PATH"
14088 for as_dir in $as_dummy
14090 IFS=$as_save_IFS
14091 test -z "$as_dir" && as_dir=.
14092 for ac_exec_ext in '' $ac_executable_extensions; do
14093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14094 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 break 2
14098 done
14099 done
14100 IFS=$as_save_IFS
14102 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14104 esac
14106 LDD=$ac_cv_path_LDD
14107 if test -n "$LDD"; then
14108 { echo "$as_me:$LINENO: result: $LDD" >&5
14109 echo "${ECHO_T}$LDD" >&6; }
14110 else
14111 { echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6; }
14116 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14117 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14118 if test "${ac_cv_lib_soname_X11+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 ac_get_soname_save_LIBS=$LIBS
14122 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h. */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14133 #ifdef __cplusplus
14134 extern "C"
14135 #endif
14136 char XCreateWindow ();
14138 main ()
14140 return XCreateWindow ();
14142 return 0;
14144 _ACEOF
14145 rm -f conftest.$ac_objext conftest$ac_exeext
14146 if { (ac_try="$ac_link"
14147 case "(($ac_try" in
14148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14149 *) ac_try_echo=$ac_try;;
14150 esac
14151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14152 (eval "$ac_link") 2>conftest.er1
14153 ac_status=$?
14154 grep -v '^ *+' conftest.er1 >conftest.err
14155 rm -f conftest.er1
14156 cat conftest.err >&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } && {
14159 test -z "$ac_c_werror_flag" ||
14160 test ! -s conftest.err
14161 } && test -s conftest$ac_exeext &&
14162 $as_test_x conftest$ac_exeext; then
14163 case "$LIBEXT" in
14164 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'` ;;
14165 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14166 esac
14167 if test "x$ac_cv_lib_soname_X11" = "x"
14168 then
14169 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14171 else
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.$ac_ext >&5
14175 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14179 conftest$ac_exeext conftest.$ac_ext
14180 LIBS=$ac_get_soname_save_LIBS
14182 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14183 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14184 if test "${ac_cv_lib_soname_X11+set}" = set; then
14186 cat >>confdefs.h <<_ACEOF
14187 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14188 _ACEOF
14192 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14193 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14194 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 else
14197 ac_get_soname_save_LIBS=$LIBS
14198 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14199 cat >conftest.$ac_ext <<_ACEOF
14200 /* confdefs.h. */
14201 _ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 #ifdef __cplusplus
14210 extern "C"
14211 #endif
14212 char XextCreateExtension ();
14214 main ()
14216 return XextCreateExtension ();
14218 return 0;
14220 _ACEOF
14221 rm -f conftest.$ac_objext conftest$ac_exeext
14222 if { (ac_try="$ac_link"
14223 case "(($ac_try" in
14224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14225 *) ac_try_echo=$ac_try;;
14226 esac
14227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14228 (eval "$ac_link") 2>conftest.er1
14229 ac_status=$?
14230 grep -v '^ *+' conftest.er1 >conftest.err
14231 rm -f conftest.er1
14232 cat conftest.err >&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } && {
14235 test -z "$ac_c_werror_flag" ||
14236 test ! -s conftest.err
14237 } && test -s conftest$ac_exeext &&
14238 $as_test_x conftest$ac_exeext; then
14239 case "$LIBEXT" in
14240 dylib) ac_cv_lib_soname_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'` ;;
14241 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14242 esac
14243 if test "x$ac_cv_lib_soname_Xext" = "x"
14244 then
14245 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14247 else
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14251 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_get_soname_save_LIBS
14258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14259 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14260 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14262 cat >>confdefs.h <<_ACEOF
14263 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14264 _ACEOF
14268 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14269 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14270 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 ac_get_soname_save_LIBS=$LIBS
14274 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14285 #ifdef __cplusplus
14286 extern "C"
14287 #endif
14288 char XOpenDevice ();
14290 main ()
14292 return XOpenDevice ();
14294 return 0;
14296 _ACEOF
14297 rm -f conftest.$ac_objext conftest$ac_exeext
14298 if { (ac_try="$ac_link"
14299 case "(($ac_try" in
14300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14302 esac
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_link") 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && {
14311 test -z "$ac_c_werror_flag" ||
14312 test ! -s conftest.err
14313 } && test -s conftest$ac_exeext &&
14314 $as_test_x conftest$ac_exeext; then
14315 case "$LIBEXT" in
14316 dylib) ac_cv_lib_soname_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'` ;;
14317 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14318 esac
14319 if test "x$ac_cv_lib_soname_Xi" = "x"
14320 then
14321 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_get_soname_save_LIBS
14334 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14335 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14336 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14338 cat >>confdefs.h <<_ACEOF
14339 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14340 _ACEOF
14344 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14345 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14346 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 else
14349 ac_get_soname_save_LIBS=$LIBS
14350 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14351 cat >conftest.$ac_ext <<_ACEOF
14352 /* confdefs.h. */
14353 _ACEOF
14354 cat confdefs.h >>conftest.$ac_ext
14355 cat >>conftest.$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14361 #ifdef __cplusplus
14362 extern "C"
14363 #endif
14364 char XineramaQueryScreens ();
14366 main ()
14368 return XineramaQueryScreens ();
14370 return 0;
14372 _ACEOF
14373 rm -f conftest.$ac_objext conftest$ac_exeext
14374 if { (ac_try="$ac_link"
14375 case "(($ac_try" in
14376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14378 esac
14379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14380 (eval "$ac_link") 2>conftest.er1
14381 ac_status=$?
14382 grep -v '^ *+' conftest.er1 >conftest.err
14383 rm -f conftest.er1
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && {
14387 test -z "$ac_c_werror_flag" ||
14388 test ! -s conftest.err
14389 } && test -s conftest$ac_exeext &&
14390 $as_test_x conftest$ac_exeext; then
14391 case "$LIBEXT" in
14392 dylib) ac_cv_lib_soname_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'` ;;
14393 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14394 esac
14395 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14396 then
14397 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14399 else
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14403 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_get_soname_save_LIBS
14410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14411 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14412 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14414 cat >>confdefs.h <<_ACEOF
14415 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14416 _ACEOF
14420 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14421 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14422 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 else
14425 ac_get_soname_save_LIBS=$LIBS
14426 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14427 cat >conftest.$ac_ext <<_ACEOF
14428 /* confdefs.h. */
14429 _ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14437 #ifdef __cplusplus
14438 extern "C"
14439 #endif
14440 char XRenderQueryExtension ();
14442 main ()
14444 return XRenderQueryExtension ();
14446 return 0;
14448 _ACEOF
14449 rm -f conftest.$ac_objext conftest$ac_exeext
14450 if { (ac_try="$ac_link"
14451 case "(($ac_try" in
14452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14453 *) ac_try_echo=$ac_try;;
14454 esac
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14456 (eval "$ac_link") 2>conftest.er1
14457 ac_status=$?
14458 grep -v '^ *+' conftest.er1 >conftest.err
14459 rm -f conftest.er1
14460 cat conftest.err >&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } && {
14463 test -z "$ac_c_werror_flag" ||
14464 test ! -s conftest.err
14465 } && test -s conftest$ac_exeext &&
14466 $as_test_x conftest$ac_exeext; then
14467 case "$LIBEXT" in
14468 dylib) ac_cv_lib_soname_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'` ;;
14469 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14470 esac
14471 if test "x$ac_cv_lib_soname_Xrender" = "x"
14472 then
14473 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14475 else
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.$ac_ext >&5
14479 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14483 conftest$ac_exeext conftest.$ac_ext
14484 LIBS=$ac_get_soname_save_LIBS
14486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14487 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14488 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14490 cat >>confdefs.h <<_ACEOF
14491 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14492 _ACEOF
14496 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14497 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14498 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 else
14501 ac_get_soname_save_LIBS=$LIBS
14502 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14503 cat >conftest.$ac_ext <<_ACEOF
14504 /* confdefs.h. */
14505 _ACEOF
14506 cat confdefs.h >>conftest.$ac_ext
14507 cat >>conftest.$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14510 /* Override any GCC internal prototype to avoid an error.
14511 Use char because int might match the return type of a GCC
14512 builtin and then its argument prototype would still apply. */
14513 #ifdef __cplusplus
14514 extern "C"
14515 #endif
14516 char XRRQueryExtension ();
14518 main ()
14520 return XRRQueryExtension ();
14522 return 0;
14524 _ACEOF
14525 rm -f conftest.$ac_objext conftest$ac_exeext
14526 if { (ac_try="$ac_link"
14527 case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14530 esac
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_link") 2>conftest.er1
14533 ac_status=$?
14534 grep -v '^ *+' conftest.er1 >conftest.err
14535 rm -f conftest.er1
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } && {
14539 test -z "$ac_c_werror_flag" ||
14540 test ! -s conftest.err
14541 } && test -s conftest$ac_exeext &&
14542 $as_test_x conftest$ac_exeext; then
14543 case "$LIBEXT" in
14544 dylib) ac_cv_lib_soname_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'` ;;
14545 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14546 esac
14547 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14548 then
14549 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14551 else
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.$ac_ext >&5
14555 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_get_soname_save_LIBS
14562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14563 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14564 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14566 cat >>confdefs.h <<_ACEOF
14567 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14568 _ACEOF
14572 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14573 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14574 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14577 ac_get_soname_save_LIBS=$LIBS
14578 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14579 cat >conftest.$ac_ext <<_ACEOF
14580 /* confdefs.h. */
14581 _ACEOF
14582 cat confdefs.h >>conftest.$ac_ext
14583 cat >>conftest.$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14586 /* Override any GCC internal prototype to avoid an error.
14587 Use char because int might match the return type of a GCC
14588 builtin and then its argument prototype would still apply. */
14589 #ifdef __cplusplus
14590 extern "C"
14591 #endif
14592 char XcursorImageLoadCursor ();
14594 main ()
14596 return XcursorImageLoadCursor ();
14598 return 0;
14600 _ACEOF
14601 rm -f conftest.$ac_objext conftest$ac_exeext
14602 if { (ac_try="$ac_link"
14603 case "(($ac_try" in
14604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14605 *) ac_try_echo=$ac_try;;
14606 esac
14607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14608 (eval "$ac_link") 2>conftest.er1
14609 ac_status=$?
14610 grep -v '^ *+' conftest.er1 >conftest.err
14611 rm -f conftest.er1
14612 cat conftest.err >&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } && {
14615 test -z "$ac_c_werror_flag" ||
14616 test ! -s conftest.err
14617 } && test -s conftest$ac_exeext &&
14618 $as_test_x conftest$ac_exeext; then
14619 case "$LIBEXT" in
14620 dylib) ac_cv_lib_soname_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'` ;;
14621 so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14622 esac
14623 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14624 then
14625 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14627 else
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14631 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14635 conftest$ac_exeext conftest.$ac_ext
14636 LIBS=$ac_get_soname_save_LIBS
14638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14639 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14640 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14642 cat >>confdefs.h <<_ACEOF
14643 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14644 _ACEOF
14648 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14649 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14650 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 else
14653 ac_get_soname_save_LIBS=$LIBS
14654 LIBS="-lfreetype $X_LIBS $LIBS"
14655 cat >conftest.$ac_ext <<_ACEOF
14656 /* confdefs.h. */
14657 _ACEOF
14658 cat confdefs.h >>conftest.$ac_ext
14659 cat >>conftest.$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14662 /* Override any GCC internal prototype to avoid an error.
14663 Use char because int might match the return type of a GCC
14664 builtin and then its argument prototype would still apply. */
14665 #ifdef __cplusplus
14666 extern "C"
14667 #endif
14668 char FT_Init_FreeType ();
14670 main ()
14672 return FT_Init_FreeType ();
14674 return 0;
14676 _ACEOF
14677 rm -f conftest.$ac_objext conftest$ac_exeext
14678 if { (ac_try="$ac_link"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_link") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest$ac_exeext &&
14694 $as_test_x conftest$ac_exeext; then
14695 case "$LIBEXT" in
14696 dylib) ac_cv_lib_soname_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'` ;;
14697 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14698 esac
14699 if test "x$ac_cv_lib_soname_freetype" = "x"
14700 then
14701 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14707 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LIBS=$ac_get_soname_save_LIBS
14714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14715 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14716 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14718 cat >>confdefs.h <<_ACEOF
14719 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14720 _ACEOF
14724 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14725 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14726 if test "${ac_cv_lib_soname_GL+set}" = set; then
14727 echo $ECHO_N "(cached) $ECHO_C" >&6
14728 else
14729 ac_get_soname_save_LIBS=$LIBS
14730 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14731 cat >conftest.$ac_ext <<_ACEOF
14732 /* confdefs.h. */
14733 _ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 #ifdef __cplusplus
14742 extern "C"
14743 #endif
14744 char glXQueryExtension ();
14746 main ()
14748 return glXQueryExtension ();
14750 return 0;
14752 _ACEOF
14753 rm -f conftest.$ac_objext conftest$ac_exeext
14754 if { (ac_try="$ac_link"
14755 case "(($ac_try" in
14756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14757 *) ac_try_echo=$ac_try;;
14758 esac
14759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14760 (eval "$ac_link") 2>conftest.er1
14761 ac_status=$?
14762 grep -v '^ *+' conftest.er1 >conftest.err
14763 rm -f conftest.er1
14764 cat conftest.err >&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } && {
14767 test -z "$ac_c_werror_flag" ||
14768 test ! -s conftest.err
14769 } && test -s conftest$ac_exeext &&
14770 $as_test_x conftest$ac_exeext; then
14771 case "$LIBEXT" in
14772 dylib) ac_cv_lib_soname_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'` ;;
14773 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14774 esac
14775 if test "x$ac_cv_lib_soname_GL" = "x"
14776 then
14777 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14779 else
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5
14783 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_get_soname_save_LIBS
14790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14792 if test "${ac_cv_lib_soname_GL+set}" = set; then
14794 cat >>confdefs.h <<_ACEOF
14795 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14796 _ACEOF
14800 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14801 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14802 if test "${ac_cv_lib_soname_hal+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 else
14805 ac_get_soname_save_LIBS=$LIBS
14806 LIBS="-lhal $LIBS"
14807 cat >conftest.$ac_ext <<_ACEOF
14808 /* confdefs.h. */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char libhal_ctx_new ();
14822 main ()
14824 return libhal_ctx_new ();
14826 return 0;
14828 _ACEOF
14829 rm -f conftest.$ac_objext conftest$ac_exeext
14830 if { (ac_try="$ac_link"
14831 case "(($ac_try" in
14832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14834 esac
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_link") 2>conftest.er1
14837 ac_status=$?
14838 grep -v '^ *+' conftest.er1 >conftest.err
14839 rm -f conftest.er1
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } && {
14843 test -z "$ac_c_werror_flag" ||
14844 test ! -s conftest.err
14845 } && test -s conftest$ac_exeext &&
14846 $as_test_x conftest$ac_exeext; then
14847 case "$LIBEXT" in
14848 dylib) ac_cv_lib_soname_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'` ;;
14849 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14850 esac
14851 if test "x$ac_cv_lib_soname_hal" = "x"
14852 then
14853 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14855 else
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_get_soname_save_LIBS
14866 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14867 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14868 if test "${ac_cv_lib_soname_hal+set}" = set; then
14870 cat >>confdefs.h <<_ACEOF
14871 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14872 _ACEOF
14876 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14877 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14878 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 else
14881 ac_get_soname_save_LIBS=$LIBS
14882 LIBS="-ltxc_dxtn $LIBS"
14883 cat >conftest.$ac_ext <<_ACEOF
14884 /* confdefs.h. */
14885 _ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14893 #ifdef __cplusplus
14894 extern "C"
14895 #endif
14896 char fetch_2d_texel_rgba_dxt1 ();
14898 main ()
14900 return fetch_2d_texel_rgba_dxt1 ();
14902 return 0;
14904 _ACEOF
14905 rm -f conftest.$ac_objext conftest$ac_exeext
14906 if { (ac_try="$ac_link"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14910 esac
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_link") 2>conftest.er1
14913 ac_status=$?
14914 grep -v '^ *+' conftest.er1 >conftest.err
14915 rm -f conftest.er1
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest$ac_exeext &&
14922 $as_test_x conftest$ac_exeext; then
14923 case "$LIBEXT" in
14924 dylib) ac_cv_lib_soname_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'` ;;
14925 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'` ;;
14926 esac
14927 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14928 then
14929 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14931 else
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14935 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14939 conftest$ac_exeext conftest.$ac_ext
14940 LIBS=$ac_get_soname_save_LIBS
14942 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14943 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14944 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14946 cat >>confdefs.h <<_ACEOF
14947 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14948 _ACEOF
14952 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14953 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
14954 if test "${ac_cv_lib_soname_cups+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14956 else
14957 ac_get_soname_save_LIBS=$LIBS
14958 LIBS="-lcups $LIBS"
14959 cat >conftest.$ac_ext <<_ACEOF
14960 /* confdefs.h. */
14961 _ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 char cupsGetDefault ();
14974 main ()
14976 return cupsGetDefault ();
14978 return 0;
14980 _ACEOF
14981 rm -f conftest.$ac_objext conftest$ac_exeext
14982 if { (ac_try="$ac_link"
14983 case "(($ac_try" in
14984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14985 *) ac_try_echo=$ac_try;;
14986 esac
14987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14988 (eval "$ac_link") 2>conftest.er1
14989 ac_status=$?
14990 grep -v '^ *+' conftest.er1 >conftest.err
14991 rm -f conftest.er1
14992 cat conftest.err >&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } && {
14995 test -z "$ac_c_werror_flag" ||
14996 test ! -s conftest.err
14997 } && test -s conftest$ac_exeext &&
14998 $as_test_x conftest$ac_exeext; then
14999 case "$LIBEXT" in
15000 dylib) ac_cv_lib_soname_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'` ;;
15001 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15002 esac
15003 if test "x$ac_cv_lib_soname_cups" = "x"
15004 then
15005 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_get_soname_save_LIBS
15018 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15019 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15020 if test "${ac_cv_lib_soname_cups+set}" = set; then
15022 cat >>confdefs.h <<_ACEOF
15023 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15024 _ACEOF
15028 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15029 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15030 if test "${ac_cv_lib_soname_jack+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 else
15033 ac_get_soname_save_LIBS=$LIBS
15034 LIBS="-ljack $LIBS"
15035 cat >conftest.$ac_ext <<_ACEOF
15036 /* confdefs.h. */
15037 _ACEOF
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15042 /* Override any GCC internal prototype to avoid an error.
15043 Use char because int might match the return type of a GCC
15044 builtin and then its argument prototype would still apply. */
15045 #ifdef __cplusplus
15046 extern "C"
15047 #endif
15048 char jack_client_new ();
15050 main ()
15052 return jack_client_new ();
15054 return 0;
15056 _ACEOF
15057 rm -f conftest.$ac_objext conftest$ac_exeext
15058 if { (ac_try="$ac_link"
15059 case "(($ac_try" in
15060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15062 esac
15063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_link") 2>conftest.er1
15065 ac_status=$?
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest$ac_exeext &&
15074 $as_test_x conftest$ac_exeext; then
15075 case "$LIBEXT" in
15076 dylib) ac_cv_lib_soname_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'` ;;
15077 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15078 esac
15079 if test "x$ac_cv_lib_soname_jack" = "x"
15080 then
15081 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15087 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15091 conftest$ac_exeext conftest.$ac_ext
15092 LIBS=$ac_get_soname_save_LIBS
15094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15095 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15096 if test "${ac_cv_lib_soname_jack+set}" = set; then
15098 cat >>confdefs.h <<_ACEOF
15099 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15100 _ACEOF
15104 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15105 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15106 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 else
15109 ac_get_soname_save_LIBS=$LIBS
15110 LIBS="-lfontconfig $LIBS"
15111 cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h. */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 #ifdef __cplusplus
15122 extern "C"
15123 #endif
15124 char FcInit ();
15126 main ()
15128 return FcInit ();
15130 return 0;
15132 _ACEOF
15133 rm -f conftest.$ac_objext conftest$ac_exeext
15134 if { (ac_try="$ac_link"
15135 case "(($ac_try" in
15136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15137 *) ac_try_echo=$ac_try;;
15138 esac
15139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15140 (eval "$ac_link") 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } && {
15147 test -z "$ac_c_werror_flag" ||
15148 test ! -s conftest.err
15149 } && test -s conftest$ac_exeext &&
15150 $as_test_x conftest$ac_exeext; then
15151 case "$LIBEXT" in
15152 dylib) ac_cv_lib_soname_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'` ;;
15153 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15154 esac
15155 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15156 then
15157 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15159 else
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15163 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_get_soname_save_LIBS
15170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15171 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15172 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15176 _ACEOF
15180 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15181 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15182 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185 ac_get_soname_save_LIBS=$LIBS
15186 LIBS="-lssl $LIBS"
15187 cat >conftest.$ac_ext <<_ACEOF
15188 /* confdefs.h. */
15189 _ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 #ifdef __cplusplus
15198 extern "C"
15199 #endif
15200 char SSL_library_init ();
15202 main ()
15204 return SSL_library_init ();
15206 return 0;
15208 _ACEOF
15209 rm -f conftest.$ac_objext conftest$ac_exeext
15210 if { (ac_try="$ac_link"
15211 case "(($ac_try" in
15212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15213 *) ac_try_echo=$ac_try;;
15214 esac
15215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15216 (eval "$ac_link") 2>conftest.er1
15217 ac_status=$?
15218 grep -v '^ *+' conftest.er1 >conftest.err
15219 rm -f conftest.er1
15220 cat conftest.err >&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } && {
15223 test -z "$ac_c_werror_flag" ||
15224 test ! -s conftest.err
15225 } && test -s conftest$ac_exeext &&
15226 $as_test_x conftest$ac_exeext; then
15227 case "$LIBEXT" in
15228 dylib) ac_cv_lib_soname_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'` ;;
15229 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15230 esac
15231 if test "x$ac_cv_lib_soname_ssl" = "x"
15232 then
15233 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15235 else
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15239 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_get_soname_save_LIBS
15246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15247 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15248 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15250 cat >>confdefs.h <<_ACEOF
15251 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15252 _ACEOF
15256 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15257 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15258 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15261 ac_get_soname_save_LIBS=$LIBS
15262 LIBS="-lcrypto $LIBS"
15263 cat >conftest.$ac_ext <<_ACEOF
15264 /* confdefs.h. */
15265 _ACEOF
15266 cat confdefs.h >>conftest.$ac_ext
15267 cat >>conftest.$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15273 #ifdef __cplusplus
15274 extern "C"
15275 #endif
15276 char BIO_new_socket ();
15278 main ()
15280 return BIO_new_socket ();
15282 return 0;
15284 _ACEOF
15285 rm -f conftest.$ac_objext conftest$ac_exeext
15286 if { (ac_try="$ac_link"
15287 case "(($ac_try" in
15288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15289 *) ac_try_echo=$ac_try;;
15290 esac
15291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15292 (eval "$ac_link") 2>conftest.er1
15293 ac_status=$?
15294 grep -v '^ *+' conftest.er1 >conftest.err
15295 rm -f conftest.er1
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } && {
15299 test -z "$ac_c_werror_flag" ||
15300 test ! -s conftest.err
15301 } && test -s conftest$ac_exeext &&
15302 $as_test_x conftest$ac_exeext; then
15303 case "$LIBEXT" in
15304 dylib) ac_cv_lib_soname_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'` ;;
15305 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15306 esac
15307 if test "x$ac_cv_lib_soname_crypto" = "x"
15308 then
15309 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15319 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_get_soname_save_LIBS
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15324 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15326 cat >>confdefs.h <<_ACEOF
15327 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15328 _ACEOF
15332 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15333 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15334 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 else
15337 ac_get_soname_save_LIBS=$LIBS
15338 LIBS="-lncurses $LIBS"
15339 cat >conftest.$ac_ext <<_ACEOF
15340 /* confdefs.h. */
15341 _ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15346 /* Override any GCC internal prototype to avoid an error.
15347 Use char because int might match the return type of a GCC
15348 builtin and then its argument prototype would still apply. */
15349 #ifdef __cplusplus
15350 extern "C"
15351 #endif
15352 char waddch ();
15354 main ()
15356 return waddch ();
15358 return 0;
15360 _ACEOF
15361 rm -f conftest.$ac_objext conftest$ac_exeext
15362 if { (ac_try="$ac_link"
15363 case "(($ac_try" in
15364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15365 *) ac_try_echo=$ac_try;;
15366 esac
15367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15368 (eval "$ac_link") 2>conftest.er1
15369 ac_status=$?
15370 grep -v '^ *+' conftest.er1 >conftest.err
15371 rm -f conftest.er1
15372 cat conftest.err >&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } && {
15375 test -z "$ac_c_werror_flag" ||
15376 test ! -s conftest.err
15377 } && test -s conftest$ac_exeext &&
15378 $as_test_x conftest$ac_exeext; then
15379 case "$LIBEXT" in
15380 dylib) ac_cv_lib_soname_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'` ;;
15381 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15382 esac
15383 if test "x$ac_cv_lib_soname_ncurses" = "x"
15384 then
15385 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15387 else
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15395 conftest$ac_exeext conftest.$ac_ext
15396 LIBS=$ac_get_soname_save_LIBS
15398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15399 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15400 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15402 cat >>confdefs.h <<_ACEOF
15403 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15404 _ACEOF
15408 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15409 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15410 if test "${ac_cv_lib_soname_curses+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 else
15413 ac_get_soname_save_LIBS=$LIBS
15414 LIBS="-lcurses $LIBS"
15415 cat >conftest.$ac_ext <<_ACEOF
15416 /* confdefs.h. */
15417 _ACEOF
15418 cat confdefs.h >>conftest.$ac_ext
15419 cat >>conftest.$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15425 #ifdef __cplusplus
15426 extern "C"
15427 #endif
15428 char waddch ();
15430 main ()
15432 return waddch ();
15434 return 0;
15436 _ACEOF
15437 rm -f conftest.$ac_objext conftest$ac_exeext
15438 if { (ac_try="$ac_link"
15439 case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15442 esac
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_link") 2>conftest.er1
15445 ac_status=$?
15446 grep -v '^ *+' conftest.er1 >conftest.err
15447 rm -f conftest.er1
15448 cat conftest.err >&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } && {
15451 test -z "$ac_c_werror_flag" ||
15452 test ! -s conftest.err
15453 } && test -s conftest$ac_exeext &&
15454 $as_test_x conftest$ac_exeext; then
15455 case "$LIBEXT" in
15456 dylib) ac_cv_lib_soname_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'` ;;
15457 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15458 esac
15459 if test "x$ac_cv_lib_soname_curses" = "x"
15460 then
15461 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15463 else
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15467 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15471 conftest$ac_exeext conftest.$ac_ext
15472 LIBS=$ac_get_soname_save_LIBS
15474 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15475 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15476 if test "${ac_cv_lib_soname_curses+set}" = set; then
15478 cat >>confdefs.h <<_ACEOF
15479 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15480 _ACEOF
15484 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15485 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15486 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 ac_get_soname_save_LIBS=$LIBS
15490 LIBS="-ljpeg $LIBS"
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h. */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15498 /* Override any GCC internal prototype to avoid an error.
15499 Use char because int might match the return type of a GCC
15500 builtin and then its argument prototype would still apply. */
15501 #ifdef __cplusplus
15502 extern "C"
15503 #endif
15504 char jpeg_start_decompress ();
15506 main ()
15508 return jpeg_start_decompress ();
15510 return 0;
15512 _ACEOF
15513 rm -f conftest.$ac_objext conftest$ac_exeext
15514 if { (ac_try="$ac_link"
15515 case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518 esac
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_link") 2>conftest.er1
15521 ac_status=$?
15522 grep -v '^ *+' conftest.er1 >conftest.err
15523 rm -f conftest.er1
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest$ac_exeext &&
15530 $as_test_x conftest$ac_exeext; then
15531 case "$LIBEXT" in
15532 dylib) ac_cv_lib_soname_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'` ;;
15533 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15534 esac
15535 if test "x$ac_cv_lib_soname_jpeg" = "x"
15536 then
15537 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15547 conftest$ac_exeext conftest.$ac_ext
15548 LIBS=$ac_get_soname_save_LIBS
15550 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15551 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15552 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15554 cat >>confdefs.h <<_ACEOF
15555 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15556 _ACEOF
15560 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15561 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15562 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15564 else
15565 ac_get_soname_save_LIBS=$LIBS
15566 LIBS="-lcapi20 $LIBS"
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15574 /* Override any GCC internal prototype to avoid an error.
15575 Use char because int might match the return type of a GCC
15576 builtin and then its argument prototype would still apply. */
15577 #ifdef __cplusplus
15578 extern "C"
15579 #endif
15580 char capi20_isinstalled ();
15582 main ()
15584 return capi20_isinstalled ();
15586 return 0;
15588 _ACEOF
15589 rm -f conftest.$ac_objext conftest$ac_exeext
15590 if { (ac_try="$ac_link"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15594 esac
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_link") 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest$ac_exeext &&
15606 $as_test_x conftest$ac_exeext; then
15607 case "$LIBEXT" in
15608 dylib) ac_cv_lib_soname_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'` ;;
15609 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15610 esac
15611 if test "x$ac_cv_lib_soname_capi20" = "x"
15612 then
15613 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15615 else
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15619 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_get_soname_save_LIBS
15626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15628 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15630 cat >>confdefs.h <<_ACEOF
15631 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15632 _ACEOF
15636 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15637 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15638 if test "${ac_cv_lib_soname_sane+set}" = set; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 else
15641 ac_get_soname_save_LIBS=$LIBS
15642 LIBS="-lsane $LIBS"
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15653 #ifdef __cplusplus
15654 extern "C"
15655 #endif
15656 char sane_init ();
15658 main ()
15660 return sane_init ();
15662 return 0;
15664 _ACEOF
15665 rm -f conftest.$ac_objext conftest$ac_exeext
15666 if { (ac_try="$ac_link"
15667 case "(($ac_try" in
15668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15669 *) ac_try_echo=$ac_try;;
15670 esac
15671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15672 (eval "$ac_link") 2>conftest.er1
15673 ac_status=$?
15674 grep -v '^ *+' conftest.er1 >conftest.err
15675 rm -f conftest.er1
15676 cat conftest.err >&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } && {
15679 test -z "$ac_c_werror_flag" ||
15680 test ! -s conftest.err
15681 } && test -s conftest$ac_exeext &&
15682 $as_test_x conftest$ac_exeext; then
15683 case "$LIBEXT" in
15684 dylib) ac_cv_lib_soname_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'` ;;
15685 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15686 esac
15687 if test "x$ac_cv_lib_soname_sane" = "x"
15688 then
15689 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15691 else
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15695 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15699 conftest$ac_exeext conftest.$ac_ext
15700 LIBS=$ac_get_soname_save_LIBS
15702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15703 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15704 if test "${ac_cv_lib_soname_sane+set}" = set; then
15706 cat >>confdefs.h <<_ACEOF
15707 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15708 _ACEOF
15776 for ac_func in \
15777 _pclose \
15778 _popen \
15779 _snprintf \
15780 _spawnvp \
15781 _stricmp \
15782 _strnicmp \
15783 _vsnprintf \
15784 asctime_r \
15785 chsize \
15786 clone \
15787 dlopen \
15788 epoll_create \
15789 ffs \
15790 finite \
15791 fork \
15792 fpclass \
15793 fstatfs \
15794 fstatvfs \
15795 ftruncate \
15796 futimes \
15797 futimesat \
15798 getdirentries \
15799 getopt_long \
15800 getpagesize \
15801 getpwuid \
15802 gettid \
15803 gettimeofday \
15804 getuid \
15805 kqueue \
15806 lstat \
15807 memmove \
15808 mmap \
15809 pclose \
15810 poll \
15811 popen \
15812 prctl \
15813 pread \
15814 pwrite \
15815 readlink \
15816 rfork \
15817 sched_yield \
15818 select \
15819 setrlimit \
15820 settimeofday \
15821 sigaltstack \
15822 sigprocmask \
15823 snprintf \
15824 spawnvp \
15825 statfs \
15826 statvfs \
15827 strcasecmp \
15828 strerror \
15829 strncasecmp \
15830 strtold \
15831 tcgetattr \
15832 timegm \
15833 usleep \
15834 vsnprintf \
15835 wait4 \
15836 waitpid \
15839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15843 echo $ECHO_N "(cached) $ECHO_C" >&6
15844 else
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15853 #define $ac_func innocuous_$ac_func
15855 /* System header to define __stub macros and hopefully few prototypes,
15856 which can conflict with char $ac_func (); below.
15857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15858 <limits.h> exists even on freestanding compilers. */
15860 #ifdef __STDC__
15861 # include <limits.h>
15862 #else
15863 # include <assert.h>
15864 #endif
15866 #undef $ac_func
15868 /* Override any GCC internal prototype to avoid an error.
15869 Use char because int might match the return type of a GCC
15870 builtin and then its argument prototype would still apply. */
15871 #ifdef __cplusplus
15872 extern "C"
15873 #endif
15874 char $ac_func ();
15875 /* The GNU C library defines this for functions which it implements
15876 to always fail with ENOSYS. Some functions are actually named
15877 something starting with __ and the normal name is an alias. */
15878 #if defined __stub_$ac_func || defined __stub___$ac_func
15879 choke me
15880 #endif
15883 main ()
15885 return $ac_func ();
15887 return 0;
15889 _ACEOF
15890 rm -f conftest.$ac_objext conftest$ac_exeext
15891 if { (ac_try="$ac_link"
15892 case "(($ac_try" in
15893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15894 *) ac_try_echo=$ac_try;;
15895 esac
15896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15897 (eval "$ac_link") 2>conftest.er1
15898 ac_status=$?
15899 grep -v '^ *+' conftest.er1 >conftest.err
15900 rm -f conftest.er1
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && {
15904 test -z "$ac_c_werror_flag" ||
15905 test ! -s conftest.err
15906 } && test -s conftest$ac_exeext &&
15907 $as_test_x conftest$ac_exeext; then
15908 eval "$as_ac_var=yes"
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 eval "$as_ac_var=no"
15916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15917 conftest$ac_exeext conftest.$ac_ext
15919 ac_res=`eval echo '${'$as_ac_var'}'`
15920 { echo "$as_me:$LINENO: result: $ac_res" >&5
15921 echo "${ECHO_T}$ac_res" >&6; }
15922 if test `eval echo '${'$as_ac_var'}'` = yes; then
15923 cat >>confdefs.h <<_ACEOF
15924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15925 _ACEOF
15928 done
15931 if test "$ac_cv_func_dlopen" = no
15932 then
15933 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15934 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15935 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 ac_check_lib_save_LIBS=$LIBS
15939 LIBS="-ldl $LIBS"
15940 cat >conftest.$ac_ext <<_ACEOF
15941 /* confdefs.h. */
15942 _ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15947 /* Override any GCC internal prototype to avoid an error.
15948 Use char because int might match the return type of a GCC
15949 builtin and then its argument prototype would still apply. */
15950 #ifdef __cplusplus
15951 extern "C"
15952 #endif
15953 char dlopen ();
15955 main ()
15957 return dlopen ();
15959 return 0;
15961 _ACEOF
15962 rm -f conftest.$ac_objext conftest$ac_exeext
15963 if { (ac_try="$ac_link"
15964 case "(($ac_try" in
15965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15966 *) ac_try_echo=$ac_try;;
15967 esac
15968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15969 (eval "$ac_link") 2>conftest.er1
15970 ac_status=$?
15971 grep -v '^ *+' conftest.er1 >conftest.err
15972 rm -f conftest.er1
15973 cat conftest.err >&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); } && {
15976 test -z "$ac_c_werror_flag" ||
15977 test ! -s conftest.err
15978 } && test -s conftest$ac_exeext &&
15979 $as_test_x conftest$ac_exeext; then
15980 ac_cv_lib_dl_dlopen=yes
15981 else
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15985 ac_cv_lib_dl_dlopen=no
15988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15989 conftest$ac_exeext conftest.$ac_ext
15990 LIBS=$ac_check_lib_save_LIBS
15992 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15993 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15994 if test $ac_cv_lib_dl_dlopen = yes; then
15995 cat >>confdefs.h <<\_ACEOF
15996 #define HAVE_DLOPEN 1
15997 _ACEOF
15998 LIBDL="-ldl"
16003 ac_wine_check_funcs_save_LIBS="$LIBS"
16004 LIBS="$LIBS $LIBDL"
16006 for ac_func in dladdr
16008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16009 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16011 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 else
16014 cat >conftest.$ac_ext <<_ACEOF
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16022 #define $ac_func innocuous_$ac_func
16024 /* System header to define __stub macros and hopefully few prototypes,
16025 which can conflict with char $ac_func (); below.
16026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16027 <limits.h> exists even on freestanding compilers. */
16029 #ifdef __STDC__
16030 # include <limits.h>
16031 #else
16032 # include <assert.h>
16033 #endif
16035 #undef $ac_func
16037 /* Override any GCC internal prototype to avoid an error.
16038 Use char because int might match the return type of a GCC
16039 builtin and then its argument prototype would still apply. */
16040 #ifdef __cplusplus
16041 extern "C"
16042 #endif
16043 char $ac_func ();
16044 /* The GNU C library defines this for functions which it implements
16045 to always fail with ENOSYS. Some functions are actually named
16046 something starting with __ and the normal name is an alias. */
16047 #if defined __stub_$ac_func || defined __stub___$ac_func
16048 choke me
16049 #endif
16052 main ()
16054 return $ac_func ();
16056 return 0;
16058 _ACEOF
16059 rm -f conftest.$ac_objext conftest$ac_exeext
16060 if { (ac_try="$ac_link"
16061 case "(($ac_try" in
16062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16063 *) ac_try_echo=$ac_try;;
16064 esac
16065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16066 (eval "$ac_link") 2>conftest.er1
16067 ac_status=$?
16068 grep -v '^ *+' conftest.er1 >conftest.err
16069 rm -f conftest.er1
16070 cat conftest.err >&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } && {
16073 test -z "$ac_c_werror_flag" ||
16074 test ! -s conftest.err
16075 } && test -s conftest$ac_exeext &&
16076 $as_test_x conftest$ac_exeext; then
16077 eval "$as_ac_var=yes"
16078 else
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16082 eval "$as_ac_var=no"
16085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16086 conftest$ac_exeext conftest.$ac_ext
16088 ac_res=`eval echo '${'$as_ac_var'}'`
16089 { echo "$as_me:$LINENO: result: $ac_res" >&5
16090 echo "${ECHO_T}$ac_res" >&6; }
16091 if test `eval echo '${'$as_ac_var'}'` = yes; then
16092 cat >>confdefs.h <<_ACEOF
16093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16094 _ACEOF
16097 done
16099 LIBS="$ac_wine_check_funcs_save_LIBS"
16101 if test "$ac_cv_func_poll" = no
16102 then
16103 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16104 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16105 if test "${ac_cv_lib_poll_poll+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108 ac_check_lib_save_LIBS=$LIBS
16109 LIBS="-lpoll $LIBS"
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16117 /* Override any GCC internal prototype to avoid an error.
16118 Use char because int might match the return type of a GCC
16119 builtin and then its argument prototype would still apply. */
16120 #ifdef __cplusplus
16121 extern "C"
16122 #endif
16123 char poll ();
16125 main ()
16127 return poll ();
16129 return 0;
16131 _ACEOF
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (ac_try="$ac_link"
16134 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16137 esac
16138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 (eval "$ac_link") 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } && {
16146 test -z "$ac_c_werror_flag" ||
16147 test ! -s conftest.err
16148 } && test -s conftest$ac_exeext &&
16149 $as_test_x conftest$ac_exeext; then
16150 ac_cv_lib_poll_poll=yes
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16155 ac_cv_lib_poll_poll=no
16158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16159 conftest$ac_exeext conftest.$ac_ext
16160 LIBS=$ac_check_lib_save_LIBS
16162 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16163 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16164 if test $ac_cv_lib_poll_poll = yes; then
16165 cat >>confdefs.h <<\_ACEOF
16166 #define HAVE_POLL 1
16167 _ACEOF
16168 LIBPOLL="-lpoll"
16174 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16175 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16176 if test "${ac_cv_search_gethostbyname+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16178 else
16179 ac_func_search_save_LIBS=$LIBS
16180 cat >conftest.$ac_ext <<_ACEOF
16181 /* confdefs.h. */
16182 _ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16187 /* Override any GCC internal prototype to avoid an error.
16188 Use char because int might match the return type of a GCC
16189 builtin and then its argument prototype would still apply. */
16190 #ifdef __cplusplus
16191 extern "C"
16192 #endif
16193 char gethostbyname ();
16195 main ()
16197 return gethostbyname ();
16199 return 0;
16201 _ACEOF
16202 for ac_lib in '' nsl; do
16203 if test -z "$ac_lib"; then
16204 ac_res="none required"
16205 else
16206 ac_res=-l$ac_lib
16207 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16209 rm -f conftest.$ac_objext conftest$ac_exeext
16210 if { (ac_try="$ac_link"
16211 case "(($ac_try" in
16212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16213 *) ac_try_echo=$ac_try;;
16214 esac
16215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16216 (eval "$ac_link") 2>conftest.er1
16217 ac_status=$?
16218 grep -v '^ *+' conftest.er1 >conftest.err
16219 rm -f conftest.er1
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } && {
16223 test -z "$ac_c_werror_flag" ||
16224 test ! -s conftest.err
16225 } && test -s conftest$ac_exeext &&
16226 $as_test_x conftest$ac_exeext; then
16227 ac_cv_search_gethostbyname=$ac_res
16228 else
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.$ac_ext >&5
16235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16236 conftest$ac_exeext
16237 if test "${ac_cv_search_gethostbyname+set}" = set; then
16238 break
16240 done
16241 if test "${ac_cv_search_gethostbyname+set}" = set; then
16243 else
16244 ac_cv_search_gethostbyname=no
16246 rm conftest.$ac_ext
16247 LIBS=$ac_func_search_save_LIBS
16249 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16250 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16251 ac_res=$ac_cv_search_gethostbyname
16252 if test "$ac_res" != no; then
16253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16258 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16259 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16260 if test "${ac_cv_search_connect+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263 ac_func_search_save_LIBS=$LIBS
16264 cat >conftest.$ac_ext <<_ACEOF
16265 /* confdefs.h. */
16266 _ACEOF
16267 cat confdefs.h >>conftest.$ac_ext
16268 cat >>conftest.$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16274 #ifdef __cplusplus
16275 extern "C"
16276 #endif
16277 char connect ();
16279 main ()
16281 return connect ();
16283 return 0;
16285 _ACEOF
16286 for ac_lib in '' socket; do
16287 if test -z "$ac_lib"; then
16288 ac_res="none required"
16289 else
16290 ac_res=-l$ac_lib
16291 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16293 rm -f conftest.$ac_objext conftest$ac_exeext
16294 if { (ac_try="$ac_link"
16295 case "(($ac_try" in
16296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16297 *) ac_try_echo=$ac_try;;
16298 esac
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16300 (eval "$ac_link") 2>conftest.er1
16301 ac_status=$?
16302 grep -v '^ *+' conftest.er1 >conftest.err
16303 rm -f conftest.er1
16304 cat conftest.err >&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } && {
16307 test -z "$ac_c_werror_flag" ||
16308 test ! -s conftest.err
16309 } && test -s conftest$ac_exeext &&
16310 $as_test_x conftest$ac_exeext; then
16311 ac_cv_search_connect=$ac_res
16312 else
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16320 conftest$ac_exeext
16321 if test "${ac_cv_search_connect+set}" = set; then
16322 break
16324 done
16325 if test "${ac_cv_search_connect+set}" = set; then
16327 else
16328 ac_cv_search_connect=no
16330 rm conftest.$ac_ext
16331 LIBS=$ac_func_search_save_LIBS
16333 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16334 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16335 ac_res=$ac_cv_search_connect
16336 if test "$ac_res" != no; then
16337 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16342 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16343 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16344 if test "${ac_cv_search_inet_aton+set}" = set; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 else
16347 ac_func_search_save_LIBS=$LIBS
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16358 #ifdef __cplusplus
16359 extern "C"
16360 #endif
16361 char inet_aton ();
16363 main ()
16365 return inet_aton ();
16367 return 0;
16369 _ACEOF
16370 for ac_lib in '' resolv; do
16371 if test -z "$ac_lib"; then
16372 ac_res="none required"
16373 else
16374 ac_res=-l$ac_lib
16375 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16377 rm -f conftest.$ac_objext conftest$ac_exeext
16378 if { (ac_try="$ac_link"
16379 case "(($ac_try" in
16380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16381 *) ac_try_echo=$ac_try;;
16382 esac
16383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 (eval "$ac_link") 2>conftest.er1
16385 ac_status=$?
16386 grep -v '^ *+' conftest.er1 >conftest.err
16387 rm -f conftest.er1
16388 cat conftest.err >&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); } && {
16391 test -z "$ac_c_werror_flag" ||
16392 test ! -s conftest.err
16393 } && test -s conftest$ac_exeext &&
16394 $as_test_x conftest$ac_exeext; then
16395 ac_cv_search_inet_aton=$ac_res
16396 else
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.$ac_ext >&5
16403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16404 conftest$ac_exeext
16405 if test "${ac_cv_search_inet_aton+set}" = set; then
16406 break
16408 done
16409 if test "${ac_cv_search_inet_aton+set}" = set; then
16411 else
16412 ac_cv_search_inet_aton=no
16414 rm conftest.$ac_ext
16415 LIBS=$ac_func_search_save_LIBS
16417 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16418 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16419 ac_res=$ac_cv_search_inet_aton
16420 if test "$ac_res" != no; then
16421 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16434 for ac_func in \
16435 getaddrinfo \
16436 getnameinfo \
16437 getnetbyname \
16438 getprotobyname \
16439 getprotobynumber \
16440 getservbyport \
16441 inet_network \
16442 sendmsg \
16445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16446 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 else
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16459 #define $ac_func innocuous_$ac_func
16461 /* System header to define __stub macros and hopefully few prototypes,
16462 which can conflict with char $ac_func (); below.
16463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16464 <limits.h> exists even on freestanding compilers. */
16466 #ifdef __STDC__
16467 # include <limits.h>
16468 #else
16469 # include <assert.h>
16470 #endif
16472 #undef $ac_func
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16477 #ifdef __cplusplus
16478 extern "C"
16479 #endif
16480 char $ac_func ();
16481 /* The GNU C library defines this for functions which it implements
16482 to always fail with ENOSYS. Some functions are actually named
16483 something starting with __ and the normal name is an alias. */
16484 #if defined __stub_$ac_func || defined __stub___$ac_func
16485 choke me
16486 #endif
16489 main ()
16491 return $ac_func ();
16493 return 0;
16495 _ACEOF
16496 rm -f conftest.$ac_objext conftest$ac_exeext
16497 if { (ac_try="$ac_link"
16498 case "(($ac_try" in
16499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16500 *) ac_try_echo=$ac_try;;
16501 esac
16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16503 (eval "$ac_link") 2>conftest.er1
16504 ac_status=$?
16505 grep -v '^ *+' conftest.er1 >conftest.err
16506 rm -f conftest.er1
16507 cat conftest.err >&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } && {
16510 test -z "$ac_c_werror_flag" ||
16511 test ! -s conftest.err
16512 } && test -s conftest$ac_exeext &&
16513 $as_test_x conftest$ac_exeext; then
16514 eval "$as_ac_var=yes"
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16519 eval "$as_ac_var=no"
16522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16523 conftest$ac_exeext conftest.$ac_ext
16525 ac_res=`eval echo '${'$as_ac_var'}'`
16526 { echo "$as_me:$LINENO: result: $ac_res" >&5
16527 echo "${ECHO_T}$ac_res" >&6; }
16528 if test `eval echo '${'$as_ac_var'}'` = yes; then
16529 cat >>confdefs.h <<_ACEOF
16530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16531 _ACEOF
16534 done
16538 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16539 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16540 if test "${ac_cv_c_const+set}" = set; then
16541 echo $ECHO_N "(cached) $ECHO_C" >&6
16542 else
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16551 main ()
16553 /* FIXME: Include the comments suggested by Paul. */
16554 #ifndef __cplusplus
16555 /* Ultrix mips cc rejects this. */
16556 typedef int charset[2];
16557 const charset cs;
16558 /* SunOS 4.1.1 cc rejects this. */
16559 char const *const *pcpcc;
16560 char **ppc;
16561 /* NEC SVR4.0.2 mips cc rejects this. */
16562 struct point {int x, y;};
16563 static struct point const zero = {0,0};
16564 /* AIX XL C 1.02.0.0 rejects this.
16565 It does not let you subtract one const X* pointer from another in
16566 an arm of an if-expression whose if-part is not a constant
16567 expression */
16568 const char *g = "string";
16569 pcpcc = &g + (g ? g-g : 0);
16570 /* HPUX 7.0 cc rejects these. */
16571 ++pcpcc;
16572 ppc = (char**) pcpcc;
16573 pcpcc = (char const *const *) ppc;
16574 { /* SCO 3.2v4 cc rejects this. */
16575 char *t;
16576 char const *s = 0 ? (char *) 0 : (char const *) 0;
16578 *t++ = 0;
16579 if (s) return 0;
16581 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16582 int x[] = {25, 17};
16583 const int *foo = &x[0];
16584 ++foo;
16586 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16587 typedef const int *iptr;
16588 iptr p = 0;
16589 ++p;
16591 { /* AIX XL C 1.02.0.0 rejects this saying
16592 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16593 struct s { int j; const int *ap[3]; };
16594 struct s *b; b->j = 5;
16596 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16597 const int foo = 10;
16598 if (!foo) return 0;
16600 return !cs[0] && !zero.x;
16601 #endif
16604 return 0;
16606 _ACEOF
16607 rm -f conftest.$ac_objext
16608 if { (ac_try="$ac_compile"
16609 case "(($ac_try" in
16610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16611 *) ac_try_echo=$ac_try;;
16612 esac
16613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16614 (eval "$ac_compile") 2>conftest.er1
16615 ac_status=$?
16616 grep -v '^ *+' conftest.er1 >conftest.err
16617 rm -f conftest.er1
16618 cat conftest.err >&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); } && {
16621 test -z "$ac_c_werror_flag" ||
16622 test ! -s conftest.err
16623 } && test -s conftest.$ac_objext; then
16624 ac_cv_c_const=yes
16625 else
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.$ac_ext >&5
16629 ac_cv_c_const=no
16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16634 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16635 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16636 if test $ac_cv_c_const = no; then
16638 cat >>confdefs.h <<\_ACEOF
16639 #define const
16640 _ACEOF
16644 { echo "$as_me:$LINENO: checking for inline" >&5
16645 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16646 if test "${ac_cv_c_inline+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 else
16649 ac_cv_c_inline=no
16650 for ac_kw in inline __inline__ __inline; do
16651 cat >conftest.$ac_ext <<_ACEOF
16652 /* confdefs.h. */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #ifndef __cplusplus
16658 typedef int foo_t;
16659 static $ac_kw foo_t static_foo () {return 0; }
16660 $ac_kw foo_t foo () {return 0; }
16661 #endif
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_c_inline=$ac_kw
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 test "$ac_cv_c_inline" != no && break
16691 done
16694 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16695 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16698 case $ac_cv_c_inline in
16699 inline | yes) ;;
16701 case $ac_cv_c_inline in
16702 no) ac_val=;;
16703 *) ac_val=$ac_cv_c_inline;;
16704 esac
16705 cat >>confdefs.h <<_ACEOF
16706 #ifndef __cplusplus
16707 #define inline $ac_val
16708 #endif
16709 _ACEOF
16711 esac
16713 { echo "$as_me:$LINENO: checking for mode_t" >&5
16714 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16715 if test "${ac_cv_type_mode_t+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16717 else
16718 cat >conftest.$ac_ext <<_ACEOF
16719 /* confdefs.h. */
16720 _ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16724 $ac_includes_default
16725 typedef mode_t ac__type_new_;
16727 main ()
16729 if ((ac__type_new_ *) 0)
16730 return 0;
16731 if (sizeof (ac__type_new_))
16732 return 0;
16734 return 0;
16736 _ACEOF
16737 rm -f conftest.$ac_objext
16738 if { (ac_try="$ac_compile"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16742 esac
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compile") 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && {
16751 test -z "$ac_c_werror_flag" ||
16752 test ! -s conftest.err
16753 } && test -s conftest.$ac_objext; then
16754 ac_cv_type_mode_t=yes
16755 else
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16759 ac_cv_type_mode_t=no
16762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16764 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16765 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16766 if test $ac_cv_type_mode_t = yes; then
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_MODE_T 1
16770 _ACEOF
16774 { echo "$as_me:$LINENO: checking for off_t" >&5
16775 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16776 if test "${ac_cv_type_off_t+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 $ac_includes_default
16786 typedef off_t ac__type_new_;
16788 main ()
16790 if ((ac__type_new_ *) 0)
16791 return 0;
16792 if (sizeof (ac__type_new_))
16793 return 0;
16795 return 0;
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16803 esac
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_type_off_t=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16820 ac_cv_type_off_t=no
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16826 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16827 if test $ac_cv_type_off_t = yes; then
16829 cat >>confdefs.h <<_ACEOF
16830 #define HAVE_OFF_T 1
16831 _ACEOF
16835 { echo "$as_me:$LINENO: checking for pid_t" >&5
16836 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16837 if test "${ac_cv_type_pid_t+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 else
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16847 typedef pid_t ac__type_new_;
16849 main ()
16851 if ((ac__type_new_ *) 0)
16852 return 0;
16853 if (sizeof (ac__type_new_))
16854 return 0;
16856 return 0;
16858 _ACEOF
16859 rm -f conftest.$ac_objext
16860 if { (ac_try="$ac_compile"
16861 case "(($ac_try" in
16862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863 *) ac_try_echo=$ac_try;;
16864 esac
16865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16866 (eval "$ac_compile") 2>conftest.er1
16867 ac_status=$?
16868 grep -v '^ *+' conftest.er1 >conftest.err
16869 rm -f conftest.er1
16870 cat conftest.err >&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } && {
16873 test -z "$ac_c_werror_flag" ||
16874 test ! -s conftest.err
16875 } && test -s conftest.$ac_objext; then
16876 ac_cv_type_pid_t=yes
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16881 ac_cv_type_pid_t=no
16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16887 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16888 if test $ac_cv_type_pid_t = yes; then
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_PID_T 1
16892 _ACEOF
16896 { echo "$as_me:$LINENO: checking for size_t" >&5
16897 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16898 if test "${ac_cv_type_size_t+set}" = set; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16900 else
16901 cat >conftest.$ac_ext <<_ACEOF
16902 /* confdefs.h. */
16903 _ACEOF
16904 cat confdefs.h >>conftest.$ac_ext
16905 cat >>conftest.$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 $ac_includes_default
16908 typedef size_t ac__type_new_;
16910 main ()
16912 if ((ac__type_new_ *) 0)
16913 return 0;
16914 if (sizeof (ac__type_new_))
16915 return 0;
16917 return 0;
16919 _ACEOF
16920 rm -f conftest.$ac_objext
16921 if { (ac_try="$ac_compile"
16922 case "(($ac_try" in
16923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16924 *) ac_try_echo=$ac_try;;
16925 esac
16926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_compile") 2>conftest.er1
16928 ac_status=$?
16929 grep -v '^ *+' conftest.er1 >conftest.err
16930 rm -f conftest.er1
16931 cat conftest.err >&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } && {
16934 test -z "$ac_c_werror_flag" ||
16935 test ! -s conftest.err
16936 } && test -s conftest.$ac_objext; then
16937 ac_cv_type_size_t=yes
16938 else
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16942 ac_cv_type_size_t=no
16945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16947 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16948 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16949 if test $ac_cv_type_size_t = yes; then
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_SIZE_T 1
16953 _ACEOF
16957 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16958 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16959 if test "${ac_cv_type_ssize_t+set}" = set; then
16960 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 else
16962 cat >conftest.$ac_ext <<_ACEOF
16963 /* confdefs.h. */
16964 _ACEOF
16965 cat confdefs.h >>conftest.$ac_ext
16966 cat >>conftest.$ac_ext <<_ACEOF
16967 /* end confdefs.h. */
16968 $ac_includes_default
16969 typedef ssize_t ac__type_new_;
16971 main ()
16973 if ((ac__type_new_ *) 0)
16974 return 0;
16975 if (sizeof (ac__type_new_))
16976 return 0;
16978 return 0;
16980 _ACEOF
16981 rm -f conftest.$ac_objext
16982 if { (ac_try="$ac_compile"
16983 case "(($ac_try" in
16984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16985 *) ac_try_echo=$ac_try;;
16986 esac
16987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16988 (eval "$ac_compile") 2>conftest.er1
16989 ac_status=$?
16990 grep -v '^ *+' conftest.er1 >conftest.err
16991 rm -f conftest.er1
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } && {
16995 test -z "$ac_c_werror_flag" ||
16996 test ! -s conftest.err
16997 } && test -s conftest.$ac_objext; then
16998 ac_cv_type_ssize_t=yes
16999 else
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17003 ac_cv_type_ssize_t=no
17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17008 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17009 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17010 if test $ac_cv_type_ssize_t = yes; then
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_SSIZE_T 1
17014 _ACEOF
17018 { echo "$as_me:$LINENO: checking for long long" >&5
17019 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17020 if test "${ac_cv_type_long_long+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 else
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029 $ac_includes_default
17030 typedef long long ac__type_new_;
17032 main ()
17034 if ((ac__type_new_ *) 0)
17035 return 0;
17036 if (sizeof (ac__type_new_))
17037 return 0;
17039 return 0;
17041 _ACEOF
17042 rm -f conftest.$ac_objext
17043 if { (ac_try="$ac_compile"
17044 case "(($ac_try" in
17045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17046 *) ac_try_echo=$ac_try;;
17047 esac
17048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17049 (eval "$ac_compile") 2>conftest.er1
17050 ac_status=$?
17051 grep -v '^ *+' conftest.er1 >conftest.err
17052 rm -f conftest.er1
17053 cat conftest.err >&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } && {
17056 test -z "$ac_c_werror_flag" ||
17057 test ! -s conftest.err
17058 } && test -s conftest.$ac_objext; then
17059 ac_cv_type_long_long=yes
17060 else
17061 echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.$ac_ext >&5
17064 ac_cv_type_long_long=no
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17069 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17070 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17071 if test $ac_cv_type_long_long = yes; then
17073 cat >>confdefs.h <<_ACEOF
17074 #define HAVE_LONG_LONG 1
17075 _ACEOF
17079 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17080 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17081 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 else
17084 cat >conftest.$ac_ext <<_ACEOF
17085 /* confdefs.h. */
17086 _ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090 $ac_includes_default
17091 typedef fsblkcnt_t ac__type_new_;
17093 main ()
17095 if ((ac__type_new_ *) 0)
17096 return 0;
17097 if (sizeof (ac__type_new_))
17098 return 0;
17100 return 0;
17102 _ACEOF
17103 rm -f conftest.$ac_objext
17104 if { (ac_try="$ac_compile"
17105 case "(($ac_try" in
17106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17107 *) ac_try_echo=$ac_try;;
17108 esac
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17111 ac_status=$?
17112 grep -v '^ *+' conftest.er1 >conftest.err
17113 rm -f conftest.er1
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_c_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 ac_cv_type_fsblkcnt_t=yes
17121 else
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17125 ac_cv_type_fsblkcnt_t=no
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17131 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17132 if test $ac_cv_type_fsblkcnt_t = yes; then
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_FSBLKCNT_T 1
17136 _ACEOF
17140 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17141 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17142 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 else
17145 cat >conftest.$ac_ext <<_ACEOF
17146 /* confdefs.h. */
17147 _ACEOF
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151 $ac_includes_default
17152 typedef fsfilcnt_t ac__type_new_;
17154 main ()
17156 if ((ac__type_new_ *) 0)
17157 return 0;
17158 if (sizeof (ac__type_new_))
17159 return 0;
17161 return 0;
17163 _ACEOF
17164 rm -f conftest.$ac_objext
17165 if { (ac_try="$ac_compile"
17166 case "(($ac_try" in
17167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17168 *) ac_try_echo=$ac_try;;
17169 esac
17170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17171 (eval "$ac_compile") 2>conftest.er1
17172 ac_status=$?
17173 grep -v '^ *+' conftest.er1 >conftest.err
17174 rm -f conftest.er1
17175 cat conftest.err >&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } && {
17178 test -z "$ac_c_werror_flag" ||
17179 test ! -s conftest.err
17180 } && test -s conftest.$ac_objext; then
17181 ac_cv_type_fsfilcnt_t=yes
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17186 ac_cv_type_fsfilcnt_t=no
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17192 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17193 if test $ac_cv_type_fsfilcnt_t = yes; then
17195 cat >>confdefs.h <<_ACEOF
17196 #define HAVE_FSFILCNT_T 1
17197 _ACEOF
17202 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17203 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17204 if test "${ac_cv_type_sigset_t+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213 #include <signal.h>
17215 typedef sigset_t ac__type_new_;
17217 main ()
17219 if ((ac__type_new_ *) 0)
17220 return 0;
17221 if (sizeof (ac__type_new_))
17222 return 0;
17224 return 0;
17226 _ACEOF
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17231 *) ac_try_echo=$ac_try;;
17232 esac
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17235 ac_status=$?
17236 grep -v '^ *+' conftest.er1 >conftest.err
17237 rm -f conftest.er1
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.$ac_objext; then
17244 ac_cv_type_sigset_t=yes
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17249 ac_cv_type_sigset_t=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17254 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17255 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17256 if test $ac_cv_type_sigset_t = yes; then
17258 cat >>confdefs.h <<_ACEOF
17259 #define HAVE_SIGSET_T 1
17260 _ACEOF
17265 { echo "$as_me:$LINENO: checking for request_sense" >&5
17266 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17267 if test "${ac_cv_type_request_sense+set}" = set; then
17268 echo $ECHO_N "(cached) $ECHO_C" >&6
17269 else
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <linux/cdrom.h>
17278 typedef request_sense ac__type_new_;
17280 main ()
17282 if ((ac__type_new_ *) 0)
17283 return 0;
17284 if (sizeof (ac__type_new_))
17285 return 0;
17287 return 0;
17289 _ACEOF
17290 rm -f conftest.$ac_objext
17291 if { (ac_try="$ac_compile"
17292 case "(($ac_try" in
17293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17295 esac
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_compile") 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } && {
17304 test -z "$ac_c_werror_flag" ||
17305 test ! -s conftest.err
17306 } && test -s conftest.$ac_objext; then
17307 ac_cv_type_request_sense=yes
17308 else
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17312 ac_cv_type_request_sense=no
17315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17317 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17318 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17319 if test $ac_cv_type_request_sense = yes; then
17321 cat >>confdefs.h <<_ACEOF
17322 #define HAVE_REQUEST_SENSE 1
17323 _ACEOF
17329 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17330 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17331 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17333 else
17334 cat >conftest.$ac_ext <<_ACEOF
17335 /* confdefs.h. */
17336 _ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 #ifdef HAVE_LINUX_INPUT_H
17341 #include <linux/input.h>
17342 #endif
17345 main ()
17347 static struct ff_effect ac_aggr;
17348 if (ac_aggr.direction)
17349 return 0;
17351 return 0;
17353 _ACEOF
17354 rm -f conftest.$ac_objext
17355 if { (ac_try="$ac_compile"
17356 case "(($ac_try" in
17357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17358 *) ac_try_echo=$ac_try;;
17359 esac
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_compile") 2>conftest.er1
17362 ac_status=$?
17363 grep -v '^ *+' conftest.er1 >conftest.err
17364 rm -f conftest.er1
17365 cat conftest.err >&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_c_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest.$ac_objext; then
17371 ac_cv_member_struct_ff_effect_direction=yes
17372 else
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17376 cat >conftest.$ac_ext <<_ACEOF
17377 /* confdefs.h. */
17378 _ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382 #ifdef HAVE_LINUX_INPUT_H
17383 #include <linux/input.h>
17384 #endif
17387 main ()
17389 static struct ff_effect ac_aggr;
17390 if (sizeof ac_aggr.direction)
17391 return 0;
17393 return 0;
17395 _ACEOF
17396 rm -f conftest.$ac_objext
17397 if { (ac_try="$ac_compile"
17398 case "(($ac_try" in
17399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17400 *) ac_try_echo=$ac_try;;
17401 esac
17402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17403 (eval "$ac_compile") 2>conftest.er1
17404 ac_status=$?
17405 grep -v '^ *+' conftest.er1 >conftest.err
17406 rm -f conftest.er1
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } && {
17410 test -z "$ac_c_werror_flag" ||
17411 test ! -s conftest.err
17412 } && test -s conftest.$ac_objext; then
17413 ac_cv_member_struct_ff_effect_direction=yes
17414 else
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.$ac_ext >&5
17418 ac_cv_member_struct_ff_effect_direction=no
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17427 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17428 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17430 cat >>confdefs.h <<_ACEOF
17431 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17432 _ACEOF
17438 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17439 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17440 if test "${wine_cv_have_sigaddset+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 else
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 #include <signal.h>
17451 main ()
17453 sigset_t set; sigaddset(&set,SIGTERM);
17455 return 0;
17457 _ACEOF
17458 rm -f conftest.$ac_objext conftest$ac_exeext
17459 if { (ac_try="$ac_link"
17460 case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17463 esac
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_link") 2>conftest.er1
17466 ac_status=$?
17467 grep -v '^ *+' conftest.er1 >conftest.err
17468 rm -f conftest.er1
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } && {
17472 test -z "$ac_c_werror_flag" ||
17473 test ! -s conftest.err
17474 } && test -s conftest$ac_exeext &&
17475 $as_test_x conftest$ac_exeext; then
17476 wine_cv_have_sigaddset=yes
17477 else
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.$ac_ext >&5
17481 wine_cv_have_sigaddset=no
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17487 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17488 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17489 if test "$wine_cv_have_sigaddset" = "yes"
17490 then
17492 cat >>confdefs.h <<\_ACEOF
17493 #define HAVE_SIGADDSET 1
17494 _ACEOF
17499 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17500 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17501 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 else
17504 cat >conftest.$ac_ext <<_ACEOF
17505 /* confdefs.h. */
17506 _ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17511 #include <netdb.h>
17514 main ()
17517 char *name=NULL;
17518 struct hostent he;
17519 struct hostent *result;
17520 char *buf=NULL;
17521 int bufsize=0;
17522 int res,errnr;
17523 char *addr=NULL;
17524 int addrlen=0;
17525 int addrtype=0;
17526 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17527 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17530 return 0;
17532 _ACEOF
17533 rm -f conftest.$ac_objext conftest$ac_exeext
17534 if { (ac_try="$ac_link"
17535 case "(($ac_try" in
17536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17537 *) ac_try_echo=$ac_try;;
17538 esac
17539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17540 (eval "$ac_link") 2>conftest.er1
17541 ac_status=$?
17542 grep -v '^ *+' conftest.er1 >conftest.err
17543 rm -f conftest.er1
17544 cat conftest.err >&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } && {
17547 test -z "$ac_c_werror_flag" ||
17548 test ! -s conftest.err
17549 } && test -s conftest$ac_exeext &&
17550 $as_test_x conftest$ac_exeext; then
17551 wine_cv_linux_gethostbyname_r_6=yes
17552 else
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17556 wine_cv_linux_gethostbyname_r_6=no
17560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17561 conftest$ac_exeext conftest.$ac_ext
17564 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17565 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17566 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17567 then
17569 cat >>confdefs.h <<\_ACEOF
17570 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17571 _ACEOF
17575 if test "$ac_cv_header_linux_joystick_h" = "yes"
17576 then
17577 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17578 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17579 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 else
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17589 #include <sys/ioctl.h>
17590 #include <sys/types.h>
17591 #include <linux/joystick.h>
17593 struct js_event blub;
17594 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17595 #error "no 2.2 header"
17596 #endif
17599 main ()
17601 /*empty*/
17603 return 0;
17605 _ACEOF
17606 rm -f conftest.$ac_objext
17607 if { (ac_try="$ac_compile"
17608 case "(($ac_try" in
17609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17610 *) ac_try_echo=$ac_try;;
17611 esac
17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17613 (eval "$ac_compile") 2>conftest.er1
17614 ac_status=$?
17615 grep -v '^ *+' conftest.er1 >conftest.err
17616 rm -f conftest.er1
17617 cat conftest.err >&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && {
17620 test -z "$ac_c_werror_flag" ||
17621 test ! -s conftest.err
17622 } && test -s conftest.$ac_objext; then
17623 wine_cv_linux_joystick_22_api=yes
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 wine_cv_linux_joystick_22_api=no
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17635 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17636 if test "$wine_cv_linux_joystick_22_api" = "yes"
17637 then
17639 cat >>confdefs.h <<\_ACEOF
17640 #define HAVE_LINUX_22_JOYSTICK_API 1
17641 _ACEOF
17647 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17648 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17649 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 else
17652 cat >conftest.$ac_ext <<_ACEOF
17653 /* confdefs.h. */
17654 _ACEOF
17655 cat confdefs.h >>conftest.$ac_ext
17656 cat >>conftest.$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 #include <sys/types.h>
17659 #ifdef HAVE_SYS_PARAM_H
17660 # include <sys/param.h>
17661 #endif
17662 #ifdef HAVE_SYS_MOUNT_H
17663 # include <sys/mount.h>
17664 #endif
17665 #ifdef HAVE_SYS_VFS_H
17666 # include <sys/vfs.h>
17667 #endif
17668 #ifdef HAVE_SYS_STATFS_H
17669 # include <sys/statfs.h>
17670 #endif
17673 main ()
17675 static struct statfs ac_aggr;
17676 if (ac_aggr.f_bfree)
17677 return 0;
17679 return 0;
17681 _ACEOF
17682 rm -f conftest.$ac_objext
17683 if { (ac_try="$ac_compile"
17684 case "(($ac_try" in
17685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17686 *) ac_try_echo=$ac_try;;
17687 esac
17688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17689 (eval "$ac_compile") 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } && {
17696 test -z "$ac_c_werror_flag" ||
17697 test ! -s conftest.err
17698 } && test -s conftest.$ac_objext; then
17699 ac_cv_member_struct_statfs_f_bfree=yes
17700 else
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17704 cat >conftest.$ac_ext <<_ACEOF
17705 /* confdefs.h. */
17706 _ACEOF
17707 cat confdefs.h >>conftest.$ac_ext
17708 cat >>conftest.$ac_ext <<_ACEOF
17709 /* end confdefs.h. */
17710 #include <sys/types.h>
17711 #ifdef HAVE_SYS_PARAM_H
17712 # include <sys/param.h>
17713 #endif
17714 #ifdef HAVE_SYS_MOUNT_H
17715 # include <sys/mount.h>
17716 #endif
17717 #ifdef HAVE_SYS_VFS_H
17718 # include <sys/vfs.h>
17719 #endif
17720 #ifdef HAVE_SYS_STATFS_H
17721 # include <sys/statfs.h>
17722 #endif
17725 main ()
17727 static struct statfs ac_aggr;
17728 if (sizeof ac_aggr.f_bfree)
17729 return 0;
17731 return 0;
17733 _ACEOF
17734 rm -f conftest.$ac_objext
17735 if { (ac_try="$ac_compile"
17736 case "(($ac_try" in
17737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17738 *) ac_try_echo=$ac_try;;
17739 esac
17740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17741 (eval "$ac_compile") 2>conftest.er1
17742 ac_status=$?
17743 grep -v '^ *+' conftest.er1 >conftest.err
17744 rm -f conftest.er1
17745 cat conftest.err >&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } && {
17748 test -z "$ac_c_werror_flag" ||
17749 test ! -s conftest.err
17750 } && test -s conftest.$ac_objext; then
17751 ac_cv_member_struct_statfs_f_bfree=yes
17752 else
17753 echo "$as_me: failed program was:" >&5
17754 sed 's/^/| /' conftest.$ac_ext >&5
17756 ac_cv_member_struct_statfs_f_bfree=no
17759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17765 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17766 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17768 cat >>confdefs.h <<_ACEOF
17769 #define HAVE_STRUCT_STATFS_F_BFREE 1
17770 _ACEOF
17774 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17775 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17776 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17777 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 else
17779 cat >conftest.$ac_ext <<_ACEOF
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 #include <sys/types.h>
17786 #ifdef HAVE_SYS_PARAM_H
17787 # include <sys/param.h>
17788 #endif
17789 #ifdef HAVE_SYS_MOUNT_H
17790 # include <sys/mount.h>
17791 #endif
17792 #ifdef HAVE_SYS_VFS_H
17793 # include <sys/vfs.h>
17794 #endif
17795 #ifdef HAVE_SYS_STATFS_H
17796 # include <sys/statfs.h>
17797 #endif
17800 main ()
17802 static struct statfs ac_aggr;
17803 if (ac_aggr.f_bavail)
17804 return 0;
17806 return 0;
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (ac_try="$ac_compile"
17811 case "(($ac_try" in
17812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17813 *) ac_try_echo=$ac_try;;
17814 esac
17815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17816 (eval "$ac_compile") 2>conftest.er1
17817 ac_status=$?
17818 grep -v '^ *+' conftest.er1 >conftest.err
17819 rm -f conftest.er1
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } && {
17823 test -z "$ac_c_werror_flag" ||
17824 test ! -s conftest.err
17825 } && test -s conftest.$ac_objext; then
17826 ac_cv_member_struct_statfs_f_bavail=yes
17827 else
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17831 cat >conftest.$ac_ext <<_ACEOF
17832 /* confdefs.h. */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837 #include <sys/types.h>
17838 #ifdef HAVE_SYS_PARAM_H
17839 # include <sys/param.h>
17840 #endif
17841 #ifdef HAVE_SYS_MOUNT_H
17842 # include <sys/mount.h>
17843 #endif
17844 #ifdef HAVE_SYS_VFS_H
17845 # include <sys/vfs.h>
17846 #endif
17847 #ifdef HAVE_SYS_STATFS_H
17848 # include <sys/statfs.h>
17849 #endif
17852 main ()
17854 static struct statfs ac_aggr;
17855 if (sizeof ac_aggr.f_bavail)
17856 return 0;
17858 return 0;
17860 _ACEOF
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_c_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_member_struct_statfs_f_bavail=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17883 ac_cv_member_struct_statfs_f_bavail=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17892 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17893 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17895 cat >>confdefs.h <<_ACEOF
17896 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17897 _ACEOF
17901 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17902 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17903 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17904 echo $ECHO_N "(cached) $ECHO_C" >&6
17905 else
17906 cat >conftest.$ac_ext <<_ACEOF
17907 /* confdefs.h. */
17908 _ACEOF
17909 cat confdefs.h >>conftest.$ac_ext
17910 cat >>conftest.$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 #include <sys/types.h>
17913 #ifdef HAVE_SYS_PARAM_H
17914 # include <sys/param.h>
17915 #endif
17916 #ifdef HAVE_SYS_MOUNT_H
17917 # include <sys/mount.h>
17918 #endif
17919 #ifdef HAVE_SYS_VFS_H
17920 # include <sys/vfs.h>
17921 #endif
17922 #ifdef HAVE_SYS_STATFS_H
17923 # include <sys/statfs.h>
17924 #endif
17927 main ()
17929 static struct statfs ac_aggr;
17930 if (ac_aggr.f_frsize)
17931 return 0;
17933 return 0;
17935 _ACEOF
17936 rm -f conftest.$ac_objext
17937 if { (ac_try="$ac_compile"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17941 esac
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_compile") 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest.$ac_objext; then
17953 ac_cv_member_struct_statfs_f_frsize=yes
17954 else
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17958 cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 #include <sys/types.h>
17965 #ifdef HAVE_SYS_PARAM_H
17966 # include <sys/param.h>
17967 #endif
17968 #ifdef HAVE_SYS_MOUNT_H
17969 # include <sys/mount.h>
17970 #endif
17971 #ifdef HAVE_SYS_VFS_H
17972 # include <sys/vfs.h>
17973 #endif
17974 #ifdef HAVE_SYS_STATFS_H
17975 # include <sys/statfs.h>
17976 #endif
17979 main ()
17981 static struct statfs ac_aggr;
17982 if (sizeof ac_aggr.f_frsize)
17983 return 0;
17985 return 0;
17987 _ACEOF
17988 rm -f conftest.$ac_objext
17989 if { (ac_try="$ac_compile"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17993 esac
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_compile") 2>conftest.er1
17996 ac_status=$?
17997 grep -v '^ *+' conftest.er1 >conftest.err
17998 rm -f conftest.er1
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } && {
18002 test -z "$ac_c_werror_flag" ||
18003 test ! -s conftest.err
18004 } && test -s conftest.$ac_objext; then
18005 ac_cv_member_struct_statfs_f_frsize=yes
18006 else
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.$ac_ext >&5
18010 ac_cv_member_struct_statfs_f_frsize=no
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18019 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18020 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18022 cat >>confdefs.h <<_ACEOF
18023 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18024 _ACEOF
18028 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18029 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18030 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18032 else
18033 cat >conftest.$ac_ext <<_ACEOF
18034 /* confdefs.h. */
18035 _ACEOF
18036 cat confdefs.h >>conftest.$ac_ext
18037 cat >>conftest.$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 #include <sys/types.h>
18040 #ifdef HAVE_SYS_PARAM_H
18041 # include <sys/param.h>
18042 #endif
18043 #ifdef HAVE_SYS_MOUNT_H
18044 # include <sys/mount.h>
18045 #endif
18046 #ifdef HAVE_SYS_VFS_H
18047 # include <sys/vfs.h>
18048 #endif
18049 #ifdef HAVE_SYS_STATFS_H
18050 # include <sys/statfs.h>
18051 #endif
18054 main ()
18056 static struct statfs ac_aggr;
18057 if (ac_aggr.f_ffree)
18058 return 0;
18060 return 0;
18062 _ACEOF
18063 rm -f conftest.$ac_objext
18064 if { (ac_try="$ac_compile"
18065 case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18068 esac
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_compile") 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && {
18077 test -z "$ac_c_werror_flag" ||
18078 test ! -s conftest.err
18079 } && test -s conftest.$ac_objext; then
18080 ac_cv_member_struct_statfs_f_ffree=yes
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 #include <sys/types.h>
18092 #ifdef HAVE_SYS_PARAM_H
18093 # include <sys/param.h>
18094 #endif
18095 #ifdef HAVE_SYS_MOUNT_H
18096 # include <sys/mount.h>
18097 #endif
18098 #ifdef HAVE_SYS_VFS_H
18099 # include <sys/vfs.h>
18100 #endif
18101 #ifdef HAVE_SYS_STATFS_H
18102 # include <sys/statfs.h>
18103 #endif
18106 main ()
18108 static struct statfs ac_aggr;
18109 if (sizeof ac_aggr.f_ffree)
18110 return 0;
18112 return 0;
18114 _ACEOF
18115 rm -f conftest.$ac_objext
18116 if { (ac_try="$ac_compile"
18117 case "(($ac_try" in
18118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18119 *) ac_try_echo=$ac_try;;
18120 esac
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_compile") 2>conftest.er1
18123 ac_status=$?
18124 grep -v '^ *+' conftest.er1 >conftest.err
18125 rm -f conftest.er1
18126 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } && {
18129 test -z "$ac_c_werror_flag" ||
18130 test ! -s conftest.err
18131 } && test -s conftest.$ac_objext; then
18132 ac_cv_member_struct_statfs_f_ffree=yes
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18137 ac_cv_member_struct_statfs_f_ffree=no
18140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18145 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18146 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18147 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18149 cat >>confdefs.h <<_ACEOF
18150 #define HAVE_STRUCT_STATFS_F_FFREE 1
18151 _ACEOF
18155 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18156 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18157 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 else
18160 cat >conftest.$ac_ext <<_ACEOF
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 #include <sys/types.h>
18167 #ifdef HAVE_SYS_PARAM_H
18168 # include <sys/param.h>
18169 #endif
18170 #ifdef HAVE_SYS_MOUNT_H
18171 # include <sys/mount.h>
18172 #endif
18173 #ifdef HAVE_SYS_VFS_H
18174 # include <sys/vfs.h>
18175 #endif
18176 #ifdef HAVE_SYS_STATFS_H
18177 # include <sys/statfs.h>
18178 #endif
18181 main ()
18183 static struct statfs ac_aggr;
18184 if (ac_aggr.f_favail)
18185 return 0;
18187 return 0;
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (ac_try="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18195 esac
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 ac_cv_member_struct_statfs_f_favail=yes
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18212 cat >conftest.$ac_ext <<_ACEOF
18213 /* confdefs.h. */
18214 _ACEOF
18215 cat confdefs.h >>conftest.$ac_ext
18216 cat >>conftest.$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 #include <sys/types.h>
18219 #ifdef HAVE_SYS_PARAM_H
18220 # include <sys/param.h>
18221 #endif
18222 #ifdef HAVE_SYS_MOUNT_H
18223 # include <sys/mount.h>
18224 #endif
18225 #ifdef HAVE_SYS_VFS_H
18226 # include <sys/vfs.h>
18227 #endif
18228 #ifdef HAVE_SYS_STATFS_H
18229 # include <sys/statfs.h>
18230 #endif
18233 main ()
18235 static struct statfs ac_aggr;
18236 if (sizeof ac_aggr.f_favail)
18237 return 0;
18239 return 0;
18241 _ACEOF
18242 rm -f conftest.$ac_objext
18243 if { (ac_try="$ac_compile"
18244 case "(($ac_try" in
18245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18246 *) ac_try_echo=$ac_try;;
18247 esac
18248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18249 (eval "$ac_compile") 2>conftest.er1
18250 ac_status=$?
18251 grep -v '^ *+' conftest.er1 >conftest.err
18252 rm -f conftest.er1
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } && {
18256 test -z "$ac_c_werror_flag" ||
18257 test ! -s conftest.err
18258 } && test -s conftest.$ac_objext; then
18259 ac_cv_member_struct_statfs_f_favail=yes
18260 else
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.$ac_ext >&5
18264 ac_cv_member_struct_statfs_f_favail=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18273 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18274 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18278 _ACEOF
18282 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18283 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18284 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 #include <sys/types.h>
18294 #ifdef HAVE_SYS_PARAM_H
18295 # include <sys/param.h>
18296 #endif
18297 #ifdef HAVE_SYS_MOUNT_H
18298 # include <sys/mount.h>
18299 #endif
18300 #ifdef HAVE_SYS_VFS_H
18301 # include <sys/vfs.h>
18302 #endif
18303 #ifdef HAVE_SYS_STATFS_H
18304 # include <sys/statfs.h>
18305 #endif
18308 main ()
18310 static struct statfs ac_aggr;
18311 if (ac_aggr.f_namelen)
18312 return 0;
18314 return 0;
18316 _ACEOF
18317 rm -f conftest.$ac_objext
18318 if { (ac_try="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 ac_cv_member_struct_statfs_f_namelen=yes
18335 else
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18339 cat >conftest.$ac_ext <<_ACEOF
18340 /* confdefs.h. */
18341 _ACEOF
18342 cat confdefs.h >>conftest.$ac_ext
18343 cat >>conftest.$ac_ext <<_ACEOF
18344 /* end confdefs.h. */
18345 #include <sys/types.h>
18346 #ifdef HAVE_SYS_PARAM_H
18347 # include <sys/param.h>
18348 #endif
18349 #ifdef HAVE_SYS_MOUNT_H
18350 # include <sys/mount.h>
18351 #endif
18352 #ifdef HAVE_SYS_VFS_H
18353 # include <sys/vfs.h>
18354 #endif
18355 #ifdef HAVE_SYS_STATFS_H
18356 # include <sys/statfs.h>
18357 #endif
18360 main ()
18362 static struct statfs ac_aggr;
18363 if (sizeof ac_aggr.f_namelen)
18364 return 0;
18366 return 0;
18368 _ACEOF
18369 rm -f conftest.$ac_objext
18370 if { (ac_try="$ac_compile"
18371 case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18374 esac
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_compile") 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } && {
18383 test -z "$ac_c_werror_flag" ||
18384 test ! -s conftest.err
18385 } && test -s conftest.$ac_objext; then
18386 ac_cv_member_struct_statfs_f_namelen=yes
18387 else
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18391 ac_cv_member_struct_statfs_f_namelen=no
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18400 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18401 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18403 cat >>confdefs.h <<_ACEOF
18404 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18405 _ACEOF
18411 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18412 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18413 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18414 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 else
18416 cat >conftest.$ac_ext <<_ACEOF
18417 /* confdefs.h. */
18418 _ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18422 #ifdef HAVE_SYS_STATVFS_H
18423 #include <sys/statvfs.h>
18424 #endif
18427 main ()
18429 static struct statvfs ac_aggr;
18430 if (ac_aggr.f_blocks)
18431 return 0;
18433 return 0;
18435 _ACEOF
18436 rm -f conftest.$ac_objext
18437 if { (ac_try="$ac_compile"
18438 case "(($ac_try" in
18439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18440 *) ac_try_echo=$ac_try;;
18441 esac
18442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18443 (eval "$ac_compile") 2>conftest.er1
18444 ac_status=$?
18445 grep -v '^ *+' conftest.er1 >conftest.err
18446 rm -f conftest.er1
18447 cat conftest.err >&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } && {
18450 test -z "$ac_c_werror_flag" ||
18451 test ! -s conftest.err
18452 } && test -s conftest.$ac_objext; then
18453 ac_cv_member_struct_statvfs_f_blocks=yes
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18458 cat >conftest.$ac_ext <<_ACEOF
18459 /* confdefs.h. */
18460 _ACEOF
18461 cat confdefs.h >>conftest.$ac_ext
18462 cat >>conftest.$ac_ext <<_ACEOF
18463 /* end confdefs.h. */
18464 #ifdef HAVE_SYS_STATVFS_H
18465 #include <sys/statvfs.h>
18466 #endif
18469 main ()
18471 static struct statvfs ac_aggr;
18472 if (sizeof ac_aggr.f_blocks)
18473 return 0;
18475 return 0;
18477 _ACEOF
18478 rm -f conftest.$ac_objext
18479 if { (ac_try="$ac_compile"
18480 case "(($ac_try" in
18481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18482 *) ac_try_echo=$ac_try;;
18483 esac
18484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_compile") 2>conftest.er1
18486 ac_status=$?
18487 grep -v '^ *+' conftest.er1 >conftest.err
18488 rm -f conftest.er1
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } && {
18492 test -z "$ac_c_werror_flag" ||
18493 test ! -s conftest.err
18494 } && test -s conftest.$ac_objext; then
18495 ac_cv_member_struct_statvfs_f_blocks=yes
18496 else
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.$ac_ext >&5
18500 ac_cv_member_struct_statvfs_f_blocks=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18509 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18510 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18512 cat >>confdefs.h <<_ACEOF
18513 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18514 _ACEOF
18520 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18521 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18522 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18524 else
18525 cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h. */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <sys/types.h>
18532 #ifdef HAVE_SYS_SOCKET_H
18533 # include <sys/socket.h>
18534 #endif
18535 #ifdef HAVE_SYS_UN_H
18536 # include <sys/un.h>
18537 #endif
18540 main ()
18542 static struct msghdr ac_aggr;
18543 if (ac_aggr.msg_accrights)
18544 return 0;
18546 return 0;
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (ac_try="$ac_compile"
18551 case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554 esac
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_compile") 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } && {
18563 test -z "$ac_c_werror_flag" ||
18564 test ! -s conftest.err
18565 } && test -s conftest.$ac_objext; then
18566 ac_cv_member_struct_msghdr_msg_accrights=yes
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <sys/types.h>
18578 #ifdef HAVE_SYS_SOCKET_H
18579 # include <sys/socket.h>
18580 #endif
18581 #ifdef HAVE_SYS_UN_H
18582 # include <sys/un.h>
18583 #endif
18586 main ()
18588 static struct msghdr ac_aggr;
18589 if (sizeof ac_aggr.msg_accrights)
18590 return 0;
18592 return 0;
18594 _ACEOF
18595 rm -f conftest.$ac_objext
18596 if { (ac_try="$ac_compile"
18597 case "(($ac_try" in
18598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18599 *) ac_try_echo=$ac_try;;
18600 esac
18601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18602 (eval "$ac_compile") 2>conftest.er1
18603 ac_status=$?
18604 grep -v '^ *+' conftest.er1 >conftest.err
18605 rm -f conftest.er1
18606 cat conftest.err >&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } && {
18609 test -z "$ac_c_werror_flag" ||
18610 test ! -s conftest.err
18611 } && test -s conftest.$ac_objext; then
18612 ac_cv_member_struct_msghdr_msg_accrights=yes
18613 else
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.$ac_ext >&5
18617 ac_cv_member_struct_msghdr_msg_accrights=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18626 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18627 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18629 cat >>confdefs.h <<_ACEOF
18630 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18631 _ACEOF
18635 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18636 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18637 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 else
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 #include <sys/types.h>
18647 #ifdef HAVE_SYS_SOCKET_H
18648 # include <sys/socket.h>
18649 #endif
18650 #ifdef HAVE_SYS_UN_H
18651 # include <sys/un.h>
18652 #endif
18655 main ()
18657 static struct sockaddr ac_aggr;
18658 if (ac_aggr.sa_len)
18659 return 0;
18661 return 0;
18663 _ACEOF
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18669 esac
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 ac_cv_member_struct_sockaddr_sa_len=yes
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 cat >conftest.$ac_ext <<_ACEOF
18687 /* confdefs.h. */
18688 _ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 #include <sys/types.h>
18693 #ifdef HAVE_SYS_SOCKET_H
18694 # include <sys/socket.h>
18695 #endif
18696 #ifdef HAVE_SYS_UN_H
18697 # include <sys/un.h>
18698 #endif
18701 main ()
18703 static struct sockaddr ac_aggr;
18704 if (sizeof ac_aggr.sa_len)
18705 return 0;
18707 return 0;
18709 _ACEOF
18710 rm -f conftest.$ac_objext
18711 if { (ac_try="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18715 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18727 ac_cv_member_struct_sockaddr_sa_len=yes
18728 else
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18732 ac_cv_member_struct_sockaddr_sa_len=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18740 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18741 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18742 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18746 _ACEOF
18750 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18751 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18752 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 #include <sys/types.h>
18762 #ifdef HAVE_SYS_SOCKET_H
18763 # include <sys/socket.h>
18764 #endif
18765 #ifdef HAVE_SYS_UN_H
18766 # include <sys/un.h>
18767 #endif
18770 main ()
18772 static struct sockaddr_un ac_aggr;
18773 if (ac_aggr.sun_len)
18774 return 0;
18776 return 0;
18778 _ACEOF
18779 rm -f conftest.$ac_objext
18780 if { (ac_try="$ac_compile"
18781 case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18784 esac
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_compile") 2>conftest.er1
18787 ac_status=$?
18788 grep -v '^ *+' conftest.er1 >conftest.err
18789 rm -f conftest.er1
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && {
18793 test -z "$ac_c_werror_flag" ||
18794 test ! -s conftest.err
18795 } && test -s conftest.$ac_objext; then
18796 ac_cv_member_struct_sockaddr_un_sun_len=yes
18797 else
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18801 cat >conftest.$ac_ext <<_ACEOF
18802 /* confdefs.h. */
18803 _ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #include <sys/types.h>
18808 #ifdef HAVE_SYS_SOCKET_H
18809 # include <sys/socket.h>
18810 #endif
18811 #ifdef HAVE_SYS_UN_H
18812 # include <sys/un.h>
18813 #endif
18816 main ()
18818 static struct sockaddr_un ac_aggr;
18819 if (sizeof ac_aggr.sun_len)
18820 return 0;
18822 return 0;
18824 _ACEOF
18825 rm -f conftest.$ac_objext
18826 if { (ac_try="$ac_compile"
18827 case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18830 esac
18831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_compile") 2>conftest.er1
18833 ac_status=$?
18834 grep -v '^ *+' conftest.er1 >conftest.err
18835 rm -f conftest.er1
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } && {
18839 test -z "$ac_c_werror_flag" ||
18840 test ! -s conftest.err
18841 } && test -s conftest.$ac_objext; then
18842 ac_cv_member_struct_sockaddr_un_sun_len=yes
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18847 ac_cv_member_struct_sockaddr_un_sun_len=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18856 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18857 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18859 cat >>confdefs.h <<_ACEOF
18860 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18861 _ACEOF
18867 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18868 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18869 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18871 else
18872 cat >conftest.$ac_ext <<_ACEOF
18873 /* confdefs.h. */
18874 _ACEOF
18875 cat confdefs.h >>conftest.$ac_ext
18876 cat >>conftest.$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 #include <sys/types.h>
18879 #ifdef HAVE_SCSI_SG_H
18880 #include <scsi/sg.h>
18881 #endif
18884 main ()
18886 static scsireq_t ac_aggr;
18887 if (ac_aggr.cmd)
18888 return 0;
18890 return 0;
18892 _ACEOF
18893 rm -f conftest.$ac_objext
18894 if { (ac_try="$ac_compile"
18895 case "(($ac_try" in
18896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18897 *) ac_try_echo=$ac_try;;
18898 esac
18899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18900 (eval "$ac_compile") 2>conftest.er1
18901 ac_status=$?
18902 grep -v '^ *+' conftest.er1 >conftest.err
18903 rm -f conftest.er1
18904 cat conftest.err >&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && {
18907 test -z "$ac_c_werror_flag" ||
18908 test ! -s conftest.err
18909 } && test -s conftest.$ac_objext; then
18910 ac_cv_member_scsireq_t_cmd=yes
18911 else
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18915 cat >conftest.$ac_ext <<_ACEOF
18916 /* confdefs.h. */
18917 _ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 #include <sys/types.h>
18922 #ifdef HAVE_SCSI_SG_H
18923 #include <scsi/sg.h>
18924 #endif
18927 main ()
18929 static scsireq_t ac_aggr;
18930 if (sizeof ac_aggr.cmd)
18931 return 0;
18933 return 0;
18935 _ACEOF
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18941 esac
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_member_scsireq_t_cmd=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 ac_cv_member_scsireq_t_cmd=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18966 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18967 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18968 if test $ac_cv_member_scsireq_t_cmd = yes; then
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_SCSIREQ_T_CMD 1
18972 _ACEOF
18976 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18977 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18978 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18979 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 else
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <sys/types.h>
18988 #ifdef HAVE_SCSI_SG_H
18989 #include <scsi/sg.h>
18990 #endif
18993 main ()
18995 static sg_io_hdr_t ac_aggr;
18996 if (ac_aggr.interface_id)
18997 return 0;
18999 return 0;
19001 _ACEOF
19002 rm -f conftest.$ac_objext
19003 if { (ac_try="$ac_compile"
19004 case "(($ac_try" in
19005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19006 *) ac_try_echo=$ac_try;;
19007 esac
19008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19009 (eval "$ac_compile") 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } && {
19016 test -z "$ac_c_werror_flag" ||
19017 test ! -s conftest.err
19018 } && test -s conftest.$ac_objext; then
19019 ac_cv_member_sg_io_hdr_t_interface_id=yes
19020 else
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.$ac_ext >&5
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 #include <sys/types.h>
19031 #ifdef HAVE_SCSI_SG_H
19032 #include <scsi/sg.h>
19033 #endif
19036 main ()
19038 static sg_io_hdr_t ac_aggr;
19039 if (sizeof ac_aggr.interface_id)
19040 return 0;
19042 return 0;
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_member_sg_io_hdr_t_interface_id=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 ac_cv_member_sg_io_hdr_t_interface_id=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19076 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19077 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19081 _ACEOF
19087 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19088 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19089 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 else
19092 cat >conftest.$ac_ext <<_ACEOF
19093 /* confdefs.h. */
19094 _ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 #include <signal.h>
19101 main ()
19103 static siginfo_t ac_aggr;
19104 if (ac_aggr.si_fd)
19105 return 0;
19107 return 0;
19109 _ACEOF
19110 rm -f conftest.$ac_objext
19111 if { (ac_try="$ac_compile"
19112 case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19115 esac
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_compile") 2>conftest.er1
19118 ac_status=$?
19119 grep -v '^ *+' conftest.er1 >conftest.err
19120 rm -f conftest.er1
19121 cat conftest.err >&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } && {
19124 test -z "$ac_c_werror_flag" ||
19125 test ! -s conftest.err
19126 } && test -s conftest.$ac_objext; then
19127 ac_cv_member_siginfo_t_si_fd=yes
19128 else
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19132 cat >conftest.$ac_ext <<_ACEOF
19133 /* confdefs.h. */
19134 _ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #include <signal.h>
19141 main ()
19143 static siginfo_t ac_aggr;
19144 if (sizeof ac_aggr.si_fd)
19145 return 0;
19147 return 0;
19149 _ACEOF
19150 rm -f conftest.$ac_objext
19151 if { (ac_try="$ac_compile"
19152 case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19155 esac
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_compile") 2>conftest.er1
19158 ac_status=$?
19159 grep -v '^ *+' conftest.er1 >conftest.err
19160 rm -f conftest.er1
19161 cat conftest.err >&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } && {
19164 test -z "$ac_c_werror_flag" ||
19165 test ! -s conftest.err
19166 } && test -s conftest.$ac_objext; then
19167 ac_cv_member_siginfo_t_si_fd=yes
19168 else
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19172 ac_cv_member_siginfo_t_si_fd=no
19175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19180 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19181 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19182 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_SIGINFO_T_SI_FD 1
19186 _ACEOF
19192 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19193 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19194 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 else
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h. */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 #include <sys/types.h>
19204 #ifdef HAVE_SYS_MTIO_H
19205 #include <sys/mtio.h>
19206 #endif
19209 main ()
19211 static struct mtget ac_aggr;
19212 if (ac_aggr.mt_blksiz)
19213 return 0;
19215 return 0;
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_cv_member_struct_mtget_mt_blksiz=yes
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 #include <sys/types.h>
19247 #ifdef HAVE_SYS_MTIO_H
19248 #include <sys/mtio.h>
19249 #endif
19252 main ()
19254 static struct mtget ac_aggr;
19255 if (sizeof ac_aggr.mt_blksiz)
19256 return 0;
19258 return 0;
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266 esac
19267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 ac_cv_member_struct_mtget_mt_blksiz=yes
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 ac_cv_member_struct_mtget_mt_blksiz=no
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19292 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19293 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19295 cat >>confdefs.h <<_ACEOF
19296 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19297 _ACEOF
19301 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19302 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19303 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 else
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 #include <sys/types.h>
19313 #ifdef HAVE_SYS_MTIO_H
19314 #include <sys/mtio.h>
19315 #endif
19318 main ()
19320 static struct mtget ac_aggr;
19321 if (ac_aggr.mt_gstat)
19322 return 0;
19324 return 0;
19326 _ACEOF
19327 rm -f conftest.$ac_objext
19328 if { (ac_try="$ac_compile"
19329 case "(($ac_try" in
19330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19331 *) ac_try_echo=$ac_try;;
19332 esac
19333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19334 (eval "$ac_compile") 2>conftest.er1
19335 ac_status=$?
19336 grep -v '^ *+' conftest.er1 >conftest.err
19337 rm -f conftest.er1
19338 cat conftest.err >&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } && {
19341 test -z "$ac_c_werror_flag" ||
19342 test ! -s conftest.err
19343 } && test -s conftest.$ac_objext; then
19344 ac_cv_member_struct_mtget_mt_gstat=yes
19345 else
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19349 cat >conftest.$ac_ext <<_ACEOF
19350 /* confdefs.h. */
19351 _ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 #include <sys/types.h>
19356 #ifdef HAVE_SYS_MTIO_H
19357 #include <sys/mtio.h>
19358 #endif
19361 main ()
19363 static struct mtget ac_aggr;
19364 if (sizeof ac_aggr.mt_gstat)
19365 return 0;
19367 return 0;
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_member_struct_mtget_mt_gstat=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 ac_cv_member_struct_mtget_mt_gstat=no
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19400 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19401 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19402 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19406 _ACEOF
19410 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19411 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19412 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19413 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 else
19415 cat >conftest.$ac_ext <<_ACEOF
19416 /* confdefs.h. */
19417 _ACEOF
19418 cat confdefs.h >>conftest.$ac_ext
19419 cat >>conftest.$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 #include <sys/types.h>
19422 #ifdef HAVE_SYS_MTIO_H
19423 #include <sys/mtio.h>
19424 #endif
19427 main ()
19429 static struct mtget ac_aggr;
19430 if (ac_aggr.mt_blkno)
19431 return 0;
19433 return 0;
19435 _ACEOF
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19441 esac
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19444 ac_status=$?
19445 grep -v '^ *+' conftest.er1 >conftest.err
19446 rm -f conftest.er1
19447 cat conftest.err >&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.$ac_objext; then
19453 ac_cv_member_struct_mtget_mt_blkno=yes
19454 else
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.$ac_ext >&5
19458 cat >conftest.$ac_ext <<_ACEOF
19459 /* confdefs.h. */
19460 _ACEOF
19461 cat confdefs.h >>conftest.$ac_ext
19462 cat >>conftest.$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 #include <sys/types.h>
19465 #ifdef HAVE_SYS_MTIO_H
19466 #include <sys/mtio.h>
19467 #endif
19470 main ()
19472 static struct mtget ac_aggr;
19473 if (sizeof ac_aggr.mt_blkno)
19474 return 0;
19476 return 0;
19478 _ACEOF
19479 rm -f conftest.$ac_objext
19480 if { (ac_try="$ac_compile"
19481 case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_compile") 2>conftest.er1
19487 ac_status=$?
19488 grep -v '^ *+' conftest.er1 >conftest.err
19489 rm -f conftest.er1
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } && {
19493 test -z "$ac_c_werror_flag" ||
19494 test ! -s conftest.err
19495 } && test -s conftest.$ac_objext; then
19496 ac_cv_member_struct_mtget_mt_blkno=yes
19497 else
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19501 ac_cv_member_struct_mtget_mt_blkno=no
19504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19510 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19511 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19513 cat >>confdefs.h <<_ACEOF
19514 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19515 _ACEOF
19521 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19522 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19523 if test "${ac_cv_member_struct_option_name+set}" = set; then
19524 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 else
19526 cat >conftest.$ac_ext <<_ACEOF
19527 /* confdefs.h. */
19528 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 #ifdef HAVE_GETOPT_H
19533 #include <getopt.h>
19534 #endif
19537 main ()
19539 static struct option ac_aggr;
19540 if (ac_aggr.name)
19541 return 0;
19543 return 0;
19545 _ACEOF
19546 rm -f conftest.$ac_objext
19547 if { (ac_try="$ac_compile"
19548 case "(($ac_try" in
19549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19550 *) ac_try_echo=$ac_try;;
19551 esac
19552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19553 (eval "$ac_compile") 2>conftest.er1
19554 ac_status=$?
19555 grep -v '^ *+' conftest.er1 >conftest.err
19556 rm -f conftest.er1
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && {
19560 test -z "$ac_c_werror_flag" ||
19561 test ! -s conftest.err
19562 } && test -s conftest.$ac_objext; then
19563 ac_cv_member_struct_option_name=yes
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 cat >conftest.$ac_ext <<_ACEOF
19569 /* confdefs.h. */
19570 _ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 #ifdef HAVE_GETOPT_H
19575 #include <getopt.h>
19576 #endif
19579 main ()
19581 static struct option ac_aggr;
19582 if (sizeof ac_aggr.name)
19583 return 0;
19585 return 0;
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.$ac_objext; then
19605 ac_cv_member_struct_option_name=yes
19606 else
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19610 ac_cv_member_struct_option_name=no
19613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19619 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19620 if test $ac_cv_member_struct_option_name = yes; then
19622 cat >>confdefs.h <<_ACEOF
19623 #define HAVE_STRUCT_OPTION_NAME 1
19624 _ACEOF
19630 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19631 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19632 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19633 echo $ECHO_N "(cached) $ECHO_C" >&6
19634 else
19635 cat >conftest.$ac_ext <<_ACEOF
19636 /* confdefs.h. */
19637 _ACEOF
19638 cat confdefs.h >>conftest.$ac_ext
19639 cat >>conftest.$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19643 main ()
19645 static struct stat ac_aggr;
19646 if (ac_aggr.st_blocks)
19647 return 0;
19649 return 0;
19651 _ACEOF
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19660 ac_status=$?
19661 grep -v '^ *+' conftest.er1 >conftest.err
19662 rm -f conftest.er1
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 ac_cv_member_struct_stat_st_blocks=yes
19670 else
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 cat >conftest.$ac_ext <<_ACEOF
19675 /* confdefs.h. */
19676 _ACEOF
19677 cat confdefs.h >>conftest.$ac_ext
19678 cat >>conftest.$ac_ext <<_ACEOF
19679 /* end confdefs.h. */
19680 $ac_includes_default
19682 main ()
19684 static struct stat ac_aggr;
19685 if (sizeof ac_aggr.st_blocks)
19686 return 0;
19688 return 0;
19690 _ACEOF
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19696 esac
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19699 ac_status=$?
19700 grep -v '^ *+' conftest.er1 >conftest.err
19701 rm -f conftest.er1
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19708 ac_cv_member_struct_stat_st_blocks=yes
19709 else
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19713 ac_cv_member_struct_stat_st_blocks=no
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19722 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19723 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19725 cat >>confdefs.h <<_ACEOF
19726 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19727 _ACEOF
19733 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19734 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19735 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 else
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #ifdef HAVE_SYS_TYPES_H
19745 #include <sys/types.h>
19746 #endif
19747 #ifdef HAVE_NETINET_IN_H
19748 #include <netinet/in.h>
19749 #endif
19752 main ()
19754 static struct sockaddr_in6 ac_aggr;
19755 if (ac_aggr.sin6_scope_id)
19756 return 0;
19758 return 0;
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (ac_try="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19766 esac
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.$ac_objext; then
19778 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19779 else
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 cat >conftest.$ac_ext <<_ACEOF
19784 /* confdefs.h. */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 #ifdef HAVE_SYS_TYPES_H
19790 #include <sys/types.h>
19791 #endif
19792 #ifdef HAVE_NETINET_IN_H
19793 #include <netinet/in.h>
19794 #endif
19797 main ()
19799 static struct sockaddr_in6 ac_aggr;
19800 if (sizeof ac_aggr.sin6_scope_id)
19801 return 0;
19803 return 0;
19805 _ACEOF
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19811 esac
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19814 ac_status=$?
19815 grep -v '^ *+' conftest.er1 >conftest.err
19816 rm -f conftest.er1
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19824 else
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19828 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19836 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19837 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19838 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19842 _ACEOF
19848 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19849 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19850 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 else
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 #ifdef HAVE_SYS_TYPES_H
19860 #include <sys/types.h>
19861 #endif
19862 #ifdef HAVE_NETINET_IN_H
19863 # include <netinet/in.h>
19864 #endif
19865 #ifdef HAVE_ARPA_NAMESER_H
19866 # include <arpa/nameser.h>
19867 #endif
19870 main ()
19872 static ns_msg ac_aggr;
19873 if (ac_aggr._msg_ptr)
19874 return 0;
19876 return 0;
19878 _ACEOF
19879 rm -f conftest.$ac_objext
19880 if { (ac_try="$ac_compile"
19881 case "(($ac_try" in
19882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19883 *) ac_try_echo=$ac_try;;
19884 esac
19885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19886 (eval "$ac_compile") 2>conftest.er1
19887 ac_status=$?
19888 grep -v '^ *+' conftest.er1 >conftest.err
19889 rm -f conftest.er1
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } && {
19893 test -z "$ac_c_werror_flag" ||
19894 test ! -s conftest.err
19895 } && test -s conftest.$ac_objext; then
19896 ac_cv_member_ns_msg__msg_ptr=yes
19897 else
19898 echo "$as_me: failed program was:" >&5
19899 sed 's/^/| /' conftest.$ac_ext >&5
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 #ifdef HAVE_SYS_TYPES_H
19908 #include <sys/types.h>
19909 #endif
19910 #ifdef HAVE_NETINET_IN_H
19911 # include <netinet/in.h>
19912 #endif
19913 #ifdef HAVE_ARPA_NAMESER_H
19914 # include <arpa/nameser.h>
19915 #endif
19918 main ()
19920 static ns_msg ac_aggr;
19921 if (sizeof ac_aggr._msg_ptr)
19922 return 0;
19924 return 0;
19926 _ACEOF
19927 rm -f conftest.$ac_objext
19928 if { (ac_try="$ac_compile"
19929 case "(($ac_try" in
19930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19931 *) ac_try_echo=$ac_try;;
19932 esac
19933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_compile") 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } && {
19941 test -z "$ac_c_werror_flag" ||
19942 test ! -s conftest.err
19943 } && test -s conftest.$ac_objext; then
19944 ac_cv_member_ns_msg__msg_ptr=yes
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19949 ac_cv_member_ns_msg__msg_ptr=no
19952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19957 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19958 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19959 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19961 cat >>confdefs.h <<_ACEOF
19962 #define HAVE_NS_MSG__MSG_PTR 1
19963 _ACEOF
19969 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19970 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19971 if test "${ac_cv_have_timezone+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 else
19974 cat >conftest.$ac_ext <<_ACEOF
19975 /* confdefs.h. */
19976 _ACEOF
19977 cat confdefs.h >>conftest.$ac_ext
19978 cat >>conftest.$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19980 #include <time.h>
19982 main ()
19984 timezone = 1
19986 return 0;
19988 _ACEOF
19989 rm -f conftest.$ac_objext conftest$ac_exeext
19990 if { (ac_try="$ac_link"
19991 case "(($ac_try" in
19992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19994 esac
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_link") 2>conftest.er1
19997 ac_status=$?
19998 grep -v '^ *+' conftest.er1 >conftest.err
19999 rm -f conftest.er1
20000 cat conftest.err >&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } && {
20003 test -z "$ac_c_werror_flag" ||
20004 test ! -s conftest.err
20005 } && test -s conftest$ac_exeext &&
20006 $as_test_x conftest$ac_exeext; then
20007 ac_cv_have_timezone="yes"
20008 else
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20012 ac_cv_have_timezone="no"
20015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20016 conftest$ac_exeext conftest.$ac_ext
20018 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20019 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20020 if test "$ac_cv_have_timezone" = "yes"
20021 then
20023 cat >>confdefs.h <<\_ACEOF
20024 #define HAVE_TIMEZONE 1
20025 _ACEOF
20028 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20029 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20030 if test "${ac_cv_have_daylight+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <time.h>
20041 main ()
20043 daylight = 1
20045 return 0;
20047 _ACEOF
20048 rm -f conftest.$ac_objext conftest$ac_exeext
20049 if { (ac_try="$ac_link"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_link") 2>conftest.er1
20056 ac_status=$?
20057 grep -v '^ *+' conftest.er1 >conftest.err
20058 rm -f conftest.er1
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest$ac_exeext &&
20065 $as_test_x conftest$ac_exeext; then
20066 ac_cv_have_daylight="yes"
20067 else
20068 echo "$as_me: failed program was:" >&5
20069 sed 's/^/| /' conftest.$ac_ext >&5
20071 ac_cv_have_daylight="no"
20074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20075 conftest$ac_exeext conftest.$ac_ext
20077 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20078 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20079 if test "$ac_cv_have_daylight" = "yes"
20080 then
20082 cat >>confdefs.h <<\_ACEOF
20083 #define HAVE_DAYLIGHT 1
20084 _ACEOF
20089 case $host_cpu in
20090 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20091 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20092 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20093 echo $ECHO_N "(cached) $ECHO_C" >&6
20094 else
20095 cat >conftest.$ac_ext <<_ACEOF
20096 /* confdefs.h. */
20097 _ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 #ifndef __i386__
20103 #endif
20104 _ACEOF
20105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20106 $EGREP "yes" >/dev/null 2>&1; then
20107 ac_cv_cpp_def___i386__=yes
20108 else
20109 ac_cv_cpp_def___i386__=no
20111 rm -f conftest*
20114 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20115 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20116 if test $ac_cv_cpp_def___i386__ = yes; then
20117 CFLAGS="$CFLAGS -D__i386__"
20118 LINTFLAGS="$LINTFLAGS -D__i386__"
20121 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20122 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20123 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 cat >conftest.$ac_ext <<_ACEOF
20127 /* confdefs.h. */
20128 _ACEOF
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132 #ifndef __x86_64__
20134 #endif
20135 _ACEOF
20136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20137 $EGREP "yes" >/dev/null 2>&1; then
20138 ac_cv_cpp_def___x86_64__=yes
20139 else
20140 ac_cv_cpp_def___x86_64__=no
20142 rm -f conftest*
20145 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20146 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20147 if test $ac_cv_cpp_def___x86_64__ = yes; then
20148 CFLAGS="$CFLAGS -D__x86_64__"
20149 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20152 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20153 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20154 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20157 cat >conftest.$ac_ext <<_ACEOF
20158 /* confdefs.h. */
20159 _ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 #ifndef __ALPHA__
20165 #endif
20166 _ACEOF
20167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20168 $EGREP "yes" >/dev/null 2>&1; then
20169 ac_cv_cpp_def___ALPHA__=yes
20170 else
20171 ac_cv_cpp_def___ALPHA__=no
20173 rm -f conftest*
20176 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20177 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20178 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20179 CFLAGS="$CFLAGS -D__ALPHA__"
20180 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20183 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20184 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20185 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 else
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #ifndef __sparc__
20196 #endif
20197 _ACEOF
20198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20199 $EGREP "yes" >/dev/null 2>&1; then
20200 ac_cv_cpp_def___sparc__=yes
20201 else
20202 ac_cv_cpp_def___sparc__=no
20204 rm -f conftest*
20207 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20208 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20209 if test $ac_cv_cpp_def___sparc__ = yes; then
20210 CFLAGS="$CFLAGS -D__sparc__"
20211 LINTFLAGS="$LINTFLAGS -D__sparc__"
20214 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20215 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20216 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20218 else
20219 cat >conftest.$ac_ext <<_ACEOF
20220 /* confdefs.h. */
20221 _ACEOF
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 #ifndef __powerpc__
20227 #endif
20228 _ACEOF
20229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20230 $EGREP "yes" >/dev/null 2>&1; then
20231 ac_cv_cpp_def___powerpc__=yes
20232 else
20233 ac_cv_cpp_def___powerpc__=no
20235 rm -f conftest*
20238 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20239 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20240 if test $ac_cv_cpp_def___powerpc__ = yes; then
20241 CFLAGS="$CFLAGS -D__powerpc__"
20242 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20245 esac
20247 case $host_vendor in
20248 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20249 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20250 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 #ifndef __sun__
20261 #endif
20262 _ACEOF
20263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20264 $EGREP "yes" >/dev/null 2>&1; then
20265 ac_cv_cpp_def___sun__=yes
20266 else
20267 ac_cv_cpp_def___sun__=no
20269 rm -f conftest*
20272 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20273 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20274 if test $ac_cv_cpp_def___sun__ = yes; then
20275 CFLAGS="$CFLAGS -D__sun__"
20276 LINTFLAGS="$LINTFLAGS -D__sun__"
20279 esac
20282 DEPENDENCIES="### Dependencies:
20284 .INIT: Makefile
20285 .BEGIN: Makefile
20286 Makefile: dummy
20287 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20289 \$(OBJS): \$(IDL_GEN_HEADERS)
20290 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20291 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20292 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20298 ac_config_commands="$ac_config_commands include/stamp-h"
20301 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20303 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20305 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20307 ac_config_commands="$ac_config_commands dlls/user32/resources"
20309 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20311 ac_config_commands="$ac_config_commands include/wine"
20314 MAKE_RULES=Make.rules
20317 MAKE_DLL_RULES=dlls/Makedll.rules
20320 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20323 MAKE_TEST_RULES=dlls/Maketest.rules
20326 MAKE_PROG_RULES=programs/Makeprog.rules
20329 ac_config_files="$ac_config_files Make.rules"
20331 ac_config_files="$ac_config_files dlls/Makedll.rules"
20333 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20335 ac_config_files="$ac_config_files dlls/Maketest.rules"
20337 ac_config_files="$ac_config_files programs/Makeprog.rules"
20339 ac_config_files="$ac_config_files Makefile"
20341 ac_config_files="$ac_config_files dlls/Makefile"
20343 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20345 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20347 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20349 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20351 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20353 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20355 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20357 ac_config_files="$ac_config_files dlls/atl/Makefile"
20359 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20361 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20363 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20365 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20369 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20373 ac_config_files="$ac_config_files dlls/cards/Makefile"
20375 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20377 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20379 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20381 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20383 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20385 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20387 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20389 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20391 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20393 ac_config_files="$ac_config_files dlls/credui/Makefile"
20395 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20397 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20399 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20401 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20403 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20405 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20407 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20409 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20411 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20413 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20417 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20419 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20421 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20423 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20425 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20427 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20429 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20431 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20433 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20435 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20437 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20439 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20441 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20443 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20445 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20447 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20449 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20451 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20453 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20455 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20457 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20459 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20461 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20463 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20467 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20469 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20471 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20473 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20475 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20477 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20479 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20483 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20485 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20487 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20489 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20491 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20493 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20497 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20499 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20501 ac_config_files="$ac_config_files dlls/hid/Makefile"
20503 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20505 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20509 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20511 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20513 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20515 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20517 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20519 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20521 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20523 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20525 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20527 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20529 ac_config_files="$ac_config_files dlls/itss/Makefile"
20531 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20533 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20535 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20537 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20539 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/localui/Makefile"
20543 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20547 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20549 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20551 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20553 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20555 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20557 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20559 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20561 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20563 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20565 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20569 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20571 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20573 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20575 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20577 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20579 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20581 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20583 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20585 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20589 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20591 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20593 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20595 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20597 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/msi/Makefile"
20601 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20605 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20607 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20609 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20611 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20613 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20617 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20619 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20621 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20623 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20625 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20627 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20629 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20631 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20635 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20637 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20641 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20643 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20645 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20647 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20649 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20651 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20653 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20657 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20661 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20663 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20667 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20669 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20671 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20673 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20675 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20677 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20679 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20683 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20685 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20687 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/query/Makefile"
20691 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20693 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20695 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20697 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20701 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20703 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20707 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20709 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20711 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20713 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20715 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20717 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20721 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20723 ac_config_files="$ac_config_files dlls/security/Makefile"
20725 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20727 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20729 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20731 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20733 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20735 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20737 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20739 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20741 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20743 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20747 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20751 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20753 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20757 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20761 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20763 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20765 ac_config_files="$ac_config_files dlls/sti/Makefile"
20767 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20769 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20771 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20773 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20775 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20777 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20779 ac_config_files="$ac_config_files dlls/url/Makefile"
20781 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20783 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20785 ac_config_files="$ac_config_files dlls/user32/Makefile"
20787 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20789 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20791 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20793 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20795 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20797 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20799 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20801 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20803 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20805 ac_config_files="$ac_config_files dlls/version/Makefile"
20807 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20809 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20811 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20813 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20815 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20817 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20819 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20821 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20823 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20825 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20827 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20829 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20831 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20833 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20835 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20837 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20839 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20841 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20843 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20845 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20847 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20849 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20851 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20853 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20855 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20857 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20859 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20861 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20863 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20865 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20867 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20869 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20871 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20873 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20875 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20877 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20879 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20881 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20883 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20885 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20887 ac_config_files="$ac_config_files documentation/Makefile"
20889 ac_config_files="$ac_config_files fonts/Makefile"
20891 ac_config_files="$ac_config_files include/Makefile"
20893 ac_config_files="$ac_config_files libs/Makefile"
20895 ac_config_files="$ac_config_files libs/port/Makefile"
20897 ac_config_files="$ac_config_files libs/wine/Makefile"
20899 ac_config_files="$ac_config_files libs/wpp/Makefile"
20901 ac_config_files="$ac_config_files loader/Makefile"
20903 ac_config_files="$ac_config_files programs/Makefile"
20905 ac_config_files="$ac_config_files programs/clock/Makefile"
20907 ac_config_files="$ac_config_files programs/cmd/Makefile"
20909 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20911 ac_config_files="$ac_config_files programs/control/Makefile"
20913 ac_config_files="$ac_config_files programs/eject/Makefile"
20915 ac_config_files="$ac_config_files programs/expand/Makefile"
20917 ac_config_files="$ac_config_files programs/explorer/Makefile"
20919 ac_config_files="$ac_config_files programs/hh/Makefile"
20921 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20923 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20925 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20927 ac_config_files="$ac_config_files programs/notepad/Makefile"
20929 ac_config_files="$ac_config_files programs/oleview/Makefile"
20931 ac_config_files="$ac_config_files programs/progman/Makefile"
20933 ac_config_files="$ac_config_files programs/regedit/Makefile"
20935 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20937 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20939 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20941 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20943 ac_config_files="$ac_config_files programs/start/Makefile"
20945 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20947 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20949 ac_config_files="$ac_config_files programs/view/Makefile"
20951 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20953 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20955 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20957 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20959 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20961 ac_config_files="$ac_config_files programs/winefile/Makefile"
20963 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20965 ac_config_files="$ac_config_files programs/winemine/Makefile"
20967 ac_config_files="$ac_config_files programs/winepath/Makefile"
20969 ac_config_files="$ac_config_files programs/winetest/Makefile"
20971 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20973 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20975 ac_config_files="$ac_config_files programs/winver/Makefile"
20977 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20979 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20981 ac_config_files="$ac_config_files server/Makefile"
20983 ac_config_files="$ac_config_files tools/Makefile"
20985 ac_config_files="$ac_config_files tools/widl/Makefile"
20987 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20989 ac_config_files="$ac_config_files tools/winedump/Makefile"
20991 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20993 ac_config_files="$ac_config_files tools/wmc/Makefile"
20995 ac_config_files="$ac_config_files tools/wrc/Makefile"
20998 cat >confcache <<\_ACEOF
20999 # This file is a shell script that caches the results of configure
21000 # tests run on this system so they can be shared between configure
21001 # scripts and configure runs, see configure's option --config-cache.
21002 # It is not useful on other systems. If it contains results you don't
21003 # want to keep, you may remove or edit it.
21005 # config.status only pays attention to the cache file if you give it
21006 # the --recheck option to rerun configure.
21008 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21009 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21010 # following values.
21012 _ACEOF
21014 # The following way of writing the cache mishandles newlines in values,
21015 # but we know of no workaround that is simple, portable, and efficient.
21016 # So, we kill variables containing newlines.
21017 # Ultrix sh set writes to stderr and can't be redirected directly,
21018 # and sets the high bit in the cache file unless we assign to the vars.
21020 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21021 eval ac_val=\$$ac_var
21022 case $ac_val in #(
21023 *${as_nl}*)
21024 case $ac_var in #(
21025 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21026 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21027 esac
21028 case $ac_var in #(
21029 _ | IFS | as_nl) ;; #(
21030 *) $as_unset $ac_var ;;
21031 esac ;;
21032 esac
21033 done
21035 (set) 2>&1 |
21036 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21037 *${as_nl}ac_space=\ *)
21038 # `set' does not quote correctly, so add quotes (double-quote
21039 # substitution turns \\\\ into \\, and sed turns \\ into \).
21040 sed -n \
21041 "s/'/'\\\\''/g;
21042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21043 ;; #(
21045 # `set' quotes correctly as required by POSIX, so do not add quotes.
21046 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21048 esac |
21049 sort
21051 sed '
21052 /^ac_cv_env_/b end
21053 t clear
21054 :clear
21055 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21056 t end
21057 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21058 :end' >>confcache
21059 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21060 if test -w "$cache_file"; then
21061 test "x$cache_file" != "x/dev/null" &&
21062 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21063 echo "$as_me: updating cache $cache_file" >&6;}
21064 cat confcache >$cache_file
21065 else
21066 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21067 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21070 rm -f confcache
21072 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21073 # Let make expand exec_prefix.
21074 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21076 DEFS=-DHAVE_CONFIG_H
21078 ac_libobjs=
21079 ac_ltlibobjs=
21080 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21081 # 1. Remove the extension, and $U if already installed.
21082 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21083 ac_i=`echo "$ac_i" | sed "$ac_script"`
21084 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21085 # will be set to the directory where LIBOBJS objects are built.
21086 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21087 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21088 done
21089 LIBOBJS=$ac_libobjs
21091 LTLIBOBJS=$ac_ltlibobjs
21095 : ${CONFIG_STATUS=./config.status}
21096 ac_clean_files_save=$ac_clean_files
21097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21098 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21099 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21100 cat >$CONFIG_STATUS <<_ACEOF
21101 #! $SHELL
21102 # Generated by $as_me.
21103 # Run this file to recreate the current configuration.
21104 # Compiler output produced by configure, useful for debugging
21105 # configure, is in config.log if it exists.
21107 debug=false
21108 ac_cs_recheck=false
21109 ac_cs_silent=false
21110 SHELL=\${CONFIG_SHELL-$SHELL}
21111 _ACEOF
21113 cat >>$CONFIG_STATUS <<\_ACEOF
21114 ## --------------------- ##
21115 ## M4sh Initialization. ##
21116 ## --------------------- ##
21118 # Be more Bourne compatible
21119 DUALCASE=1; export DUALCASE # for MKS sh
21120 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21121 emulate sh
21122 NULLCMD=:
21123 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21124 # is contrary to our usage. Disable this feature.
21125 alias -g '${1+"$@"}'='"$@"'
21126 setopt NO_GLOB_SUBST
21127 else
21128 case `(set -o) 2>/dev/null` in
21129 *posix*) set -o posix ;;
21130 esac
21137 # PATH needs CR
21138 # Avoid depending upon Character Ranges.
21139 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21140 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21141 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21142 as_cr_digits='0123456789'
21143 as_cr_alnum=$as_cr_Letters$as_cr_digits
21145 # The user is always right.
21146 if test "${PATH_SEPARATOR+set}" != set; then
21147 echo "#! /bin/sh" >conf$$.sh
21148 echo "exit 0" >>conf$$.sh
21149 chmod +x conf$$.sh
21150 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21151 PATH_SEPARATOR=';'
21152 else
21153 PATH_SEPARATOR=:
21155 rm -f conf$$.sh
21158 # Support unset when possible.
21159 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21160 as_unset=unset
21161 else
21162 as_unset=false
21166 # IFS
21167 # We need space, tab and new line, in precisely that order. Quoting is
21168 # there to prevent editors from complaining about space-tab.
21169 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21170 # splitting by setting IFS to empty value.)
21171 as_nl='
21173 IFS=" "" $as_nl"
21175 # Find who we are. Look in the path if we contain no directory separator.
21176 case $0 in
21177 *[\\/]* ) as_myself=$0 ;;
21178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21179 for as_dir in $PATH
21181 IFS=$as_save_IFS
21182 test -z "$as_dir" && as_dir=.
21183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21184 done
21185 IFS=$as_save_IFS
21188 esac
21189 # We did not find ourselves, most probably we were run as `sh COMMAND'
21190 # in which case we are not to be found in the path.
21191 if test "x$as_myself" = x; then
21192 as_myself=$0
21194 if test ! -f "$as_myself"; then
21195 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21196 { (exit 1); exit 1; }
21199 # Work around bugs in pre-3.0 UWIN ksh.
21200 for as_var in ENV MAIL MAILPATH
21201 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21202 done
21203 PS1='$ '
21204 PS2='> '
21205 PS4='+ '
21207 # NLS nuisances.
21208 for as_var in \
21209 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21210 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21211 LC_TELEPHONE LC_TIME
21213 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21214 eval $as_var=C; export $as_var
21215 else
21216 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21218 done
21220 # Required to use basename.
21221 if expr a : '\(a\)' >/dev/null 2>&1 &&
21222 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21223 as_expr=expr
21224 else
21225 as_expr=false
21228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21229 as_basename=basename
21230 else
21231 as_basename=false
21235 # Name of the executable.
21236 as_me=`$as_basename -- "$0" ||
21237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21238 X"$0" : 'X\(//\)$' \| \
21239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21240 echo X/"$0" |
21241 sed '/^.*\/\([^/][^/]*\)\/*$/{
21242 s//\1/
21245 /^X\/\(\/\/\)$/{
21246 s//\1/
21249 /^X\/\(\/\).*/{
21250 s//\1/
21253 s/.*/./; q'`
21255 # CDPATH.
21256 $as_unset CDPATH
21260 as_lineno_1=$LINENO
21261 as_lineno_2=$LINENO
21262 test "x$as_lineno_1" != "x$as_lineno_2" &&
21263 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21265 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21266 # uniformly replaced by the line number. The first 'sed' inserts a
21267 # line-number line after each line using $LINENO; the second 'sed'
21268 # does the real work. The second script uses 'N' to pair each
21269 # line-number line with the line containing $LINENO, and appends
21270 # trailing '-' during substitution so that $LINENO is not a special
21271 # case at line end.
21272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21273 # scripts with optimization help from Paolo Bonzini. Blame Lee
21274 # E. McMahon (1931-1989) for sed's syntax. :-)
21275 sed -n '
21277 /[$]LINENO/=
21278 ' <$as_myself |
21279 sed '
21280 s/[$]LINENO.*/&-/
21281 t lineno
21283 :lineno
21285 :loop
21286 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21287 t loop
21288 s/-\n.*//
21289 ' >$as_me.lineno &&
21290 chmod +x "$as_me.lineno" ||
21291 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21292 { (exit 1); exit 1; }; }
21294 # Don't try to exec as it changes $[0], causing all sort of problems
21295 # (the dirname of $[0] is not the place where we might find the
21296 # original and so on. Autoconf is especially sensitive to this).
21297 . "./$as_me.lineno"
21298 # Exit status is that of the last command.
21299 exit
21303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21304 as_dirname=dirname
21305 else
21306 as_dirname=false
21309 ECHO_C= ECHO_N= ECHO_T=
21310 case `echo -n x` in
21311 -n*)
21312 case `echo 'x\c'` in
21313 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21314 *) ECHO_C='\c';;
21315 esac;;
21317 ECHO_N='-n';;
21318 esac
21320 if expr a : '\(a\)' >/dev/null 2>&1 &&
21321 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21322 as_expr=expr
21323 else
21324 as_expr=false
21327 rm -f conf$$ conf$$.exe conf$$.file
21328 if test -d conf$$.dir; then
21329 rm -f conf$$.dir/conf$$.file
21330 else
21331 rm -f conf$$.dir
21332 mkdir conf$$.dir
21334 echo >conf$$.file
21335 if ln -s conf$$.file conf$$ 2>/dev/null; then
21336 as_ln_s='ln -s'
21337 # ... but there are two gotchas:
21338 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21339 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21340 # In both cases, we have to default to `cp -p'.
21341 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21342 as_ln_s='cp -p'
21343 elif ln conf$$.file conf$$ 2>/dev/null; then
21344 as_ln_s=ln
21345 else
21346 as_ln_s='cp -p'
21348 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21349 rmdir conf$$.dir 2>/dev/null
21351 if mkdir -p . 2>/dev/null; then
21352 as_mkdir_p=:
21353 else
21354 test -d ./-p && rmdir ./-p
21355 as_mkdir_p=false
21358 if test -x / >/dev/null 2>&1; then
21359 as_test_x='test -x'
21360 else
21361 if ls -dL / >/dev/null 2>&1; then
21362 as_ls_L_option=L
21363 else
21364 as_ls_L_option=
21366 as_test_x='
21367 eval sh -c '\''
21368 if test -d "$1"; then
21369 test -d "$1/.";
21370 else
21371 case $1 in
21372 -*)set "./$1";;
21373 esac;
21374 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21375 ???[sx]*):;;*)false;;esac;fi
21376 '\'' sh
21379 as_executable_p=$as_test_x
21381 # Sed expression to map a string onto a valid CPP name.
21382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21384 # Sed expression to map a string onto a valid variable name.
21385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21388 exec 6>&1
21390 # Save the log message, to keep $[0] and so on meaningful, and to
21391 # report actual input values of CONFIG_FILES etc. instead of their
21392 # values after options handling.
21393 ac_log="
21394 This file was extended by Wine $as_me 0.9.36, which was
21395 generated by GNU Autoconf 2.61. Invocation command line was
21397 CONFIG_FILES = $CONFIG_FILES
21398 CONFIG_HEADERS = $CONFIG_HEADERS
21399 CONFIG_LINKS = $CONFIG_LINKS
21400 CONFIG_COMMANDS = $CONFIG_COMMANDS
21401 $ $0 $@
21403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21406 _ACEOF
21408 cat >>$CONFIG_STATUS <<_ACEOF
21409 # Files that config.status was made for.
21410 config_files="$ac_config_files"
21411 config_headers="$ac_config_headers"
21412 config_commands="$ac_config_commands"
21414 _ACEOF
21416 cat >>$CONFIG_STATUS <<\_ACEOF
21417 ac_cs_usage="\
21418 \`$as_me' instantiates files from templates according to the
21419 current configuration.
21421 Usage: $0 [OPTIONS] [FILE]...
21423 -h, --help print this help, then exit
21424 -V, --version print version number and configuration settings, then exit
21425 -q, --quiet do not print progress messages
21426 -d, --debug don't remove temporary files
21427 --recheck update $as_me by reconfiguring in the same conditions
21428 --file=FILE[:TEMPLATE]
21429 instantiate the configuration file FILE
21430 --header=FILE[:TEMPLATE]
21431 instantiate the configuration header FILE
21433 Configuration files:
21434 $config_files
21436 Configuration headers:
21437 $config_headers
21439 Configuration commands:
21440 $config_commands
21442 Report bugs to <bug-autoconf@gnu.org>."
21444 _ACEOF
21445 cat >>$CONFIG_STATUS <<_ACEOF
21446 ac_cs_version="\\
21447 Wine config.status 0.9.36
21448 configured by $0, generated by GNU Autoconf 2.61,
21449 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21451 Copyright (C) 2006 Free Software Foundation, Inc.
21452 This config.status script is free software; the Free Software Foundation
21453 gives unlimited permission to copy, distribute and modify it."
21455 ac_pwd='$ac_pwd'
21456 srcdir='$srcdir'
21457 INSTALL='$INSTALL'
21458 _ACEOF
21460 cat >>$CONFIG_STATUS <<\_ACEOF
21461 # If no file are specified by the user, then we need to provide default
21462 # value. By we need to know if files were specified by the user.
21463 ac_need_defaults=:
21464 while test $# != 0
21466 case $1 in
21467 --*=*)
21468 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21469 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21470 ac_shift=:
21473 ac_option=$1
21474 ac_optarg=$2
21475 ac_shift=shift
21477 esac
21479 case $ac_option in
21480 # Handling of the options.
21481 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21482 ac_cs_recheck=: ;;
21483 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21484 echo "$ac_cs_version"; exit ;;
21485 --debug | --debu | --deb | --de | --d | -d )
21486 debug=: ;;
21487 --file | --fil | --fi | --f )
21488 $ac_shift
21489 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21490 ac_need_defaults=false;;
21491 --header | --heade | --head | --hea )
21492 $ac_shift
21493 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21494 ac_need_defaults=false;;
21495 --he | --h)
21496 # Conflict between --help and --header
21497 { echo "$as_me: error: ambiguous option: $1
21498 Try \`$0 --help' for more information." >&2
21499 { (exit 1); exit 1; }; };;
21500 --help | --hel | -h )
21501 echo "$ac_cs_usage"; exit ;;
21502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21503 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21504 ac_cs_silent=: ;;
21506 # This is an error.
21507 -*) { echo "$as_me: error: unrecognized option: $1
21508 Try \`$0 --help' for more information." >&2
21509 { (exit 1); exit 1; }; } ;;
21511 *) ac_config_targets="$ac_config_targets $1"
21512 ac_need_defaults=false ;;
21514 esac
21515 shift
21516 done
21518 ac_configure_extra_args=
21520 if $ac_cs_silent; then
21521 exec 6>/dev/null
21522 ac_configure_extra_args="$ac_configure_extra_args --silent"
21525 _ACEOF
21526 cat >>$CONFIG_STATUS <<_ACEOF
21527 if \$ac_cs_recheck; then
21528 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21529 CONFIG_SHELL=$SHELL
21530 export CONFIG_SHELL
21531 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21534 _ACEOF
21535 cat >>$CONFIG_STATUS <<\_ACEOF
21536 exec 5>>config.log
21538 echo
21539 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21540 ## Running $as_me. ##
21541 _ASBOX
21542 echo "$ac_log"
21543 } >&5
21545 _ACEOF
21546 cat >>$CONFIG_STATUS <<_ACEOF
21547 _ACEOF
21549 cat >>$CONFIG_STATUS <<\_ACEOF
21551 # Handling of arguments.
21552 for ac_config_target in $ac_config_targets
21554 case $ac_config_target in
21555 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21556 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21557 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21558 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21559 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21560 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21561 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21562 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21563 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21564 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21565 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21566 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21567 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21568 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21569 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21570 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21571 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21572 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21573 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21574 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21575 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21576 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21577 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21578 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21579 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21580 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21581 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21582 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21583 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21584 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21585 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21586 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21587 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21588 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21589 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21590 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21591 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21592 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21593 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21594 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21595 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21596 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21597 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21598 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21599 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21600 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21601 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21602 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21603 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21604 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21605 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21606 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21607 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21608 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21609 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21610 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21611 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21612 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21613 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21614 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21615 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21616 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21617 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21618 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21619 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21620 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21621 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21622 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21623 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21624 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21625 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21626 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21627 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21628 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21629 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21630 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21631 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21632 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21633 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21634 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21635 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21636 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21637 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21638 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21639 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21640 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21641 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21642 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21643 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21644 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21645 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21646 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21647 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21648 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21649 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21650 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21651 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21652 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21653 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21654 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21655 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21656 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21657 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21658 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21659 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21660 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21661 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21662 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21663 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21664 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21665 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21666 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21667 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21668 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21669 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21670 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21671 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21672 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21673 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21674 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21675 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21676 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21677 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21678 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21679 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21680 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21681 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21682 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21683 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21684 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21685 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21686 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21687 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21688 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21689 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21690 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21691 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21692 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21693 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21694 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21695 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21696 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21697 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21698 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21699 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21700 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21701 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21702 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21703 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21704 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21705 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21706 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21707 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21708 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21709 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21710 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21711 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21712 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21713 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21714 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21715 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21716 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21717 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21718 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21719 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21720 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21721 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21722 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21723 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21724 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21725 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21726 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21727 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21728 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21729 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21730 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21731 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21732 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21733 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21734 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21735 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21736 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21737 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21738 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21739 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21740 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21741 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21742 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21743 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21744 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21745 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21746 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21747 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21748 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21749 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21750 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21751 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21752 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21753 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21754 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21755 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21756 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21757 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21758 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21759 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21760 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21761 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21762 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21763 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21764 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21765 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21766 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21767 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21768 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21769 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21770 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21771 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21772 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21773 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21774 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21775 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21776 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21777 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21778 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21779 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21780 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21781 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21782 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21783 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21784 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21785 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21786 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21787 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21788 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21789 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21790 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21791 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21792 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21793 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21794 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21795 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21796 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21797 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21798 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21799 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21800 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21801 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21802 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21803 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21804 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21805 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21806 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21807 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21808 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21809 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21810 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21811 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21812 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21813 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21814 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21815 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21816 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21817 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21818 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21819 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21820 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21821 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21822 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21823 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21824 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21825 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21826 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21827 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21828 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21829 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21830 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21831 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21832 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21833 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21834 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21835 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21836 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21837 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21838 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21839 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21840 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21841 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21842 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21843 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21844 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21845 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21846 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21847 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21848 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21849 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21850 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21851 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21852 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21853 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21854 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21855 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21856 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21857 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21858 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21859 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21860 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21861 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21862 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21863 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21864 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21865 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21866 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21867 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21868 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21869 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21870 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21871 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21872 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21873 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21874 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21875 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21876 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21877 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21878 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21879 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21880 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21881 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21882 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21883 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21884 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21885 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21886 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21887 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21888 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21889 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21890 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21891 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21892 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21893 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21894 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21895 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21896 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21898 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21899 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21900 { (exit 1); exit 1; }; };;
21901 esac
21902 done
21905 # If the user did not use the arguments to specify the items to instantiate,
21906 # then the envvar interface is used. Set only those that are not.
21907 # We use the long form for the default assignment because of an extremely
21908 # bizarre bug on SunOS 4.1.3.
21909 if $ac_need_defaults; then
21910 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21911 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21912 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21915 # Have a temporary directory for convenience. Make it in the build tree
21916 # simply because there is no reason against having it here, and in addition,
21917 # creating and moving files from /tmp can sometimes cause problems.
21918 # Hook for its removal unless debugging.
21919 # Note that there is a small window in which the directory will not be cleaned:
21920 # after its creation but before its name has been assigned to `$tmp'.
21921 $debug ||
21923 tmp=
21924 trap 'exit_status=$?
21925 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21927 trap '{ (exit 1); exit 1; }' 1 2 13 15
21929 # Create a (secure) tmp directory for tmp files.
21932 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21933 test -n "$tmp" && test -d "$tmp"
21934 } ||
21936 tmp=./conf$$-$RANDOM
21937 (umask 077 && mkdir "$tmp")
21938 } ||
21940 echo "$me: cannot create a temporary directory in ." >&2
21941 { (exit 1); exit 1; }
21945 # Set up the sed scripts for CONFIG_FILES section.
21948 # No need to generate the scripts if there are no CONFIG_FILES.
21949 # This happens for instance when ./config.status config.h
21950 if test -n "$CONFIG_FILES"; then
21952 _ACEOF
21954 # Create sed commands to just substitute file output variables.
21956 # Remaining file output variables are in a fragment that also has non-file
21957 # output varibles.
21961 ac_delim='%!_!# '
21962 for ac_last_try in false false false false false :; do
21963 cat >conf$$subs.sed <<_ACEOF
21964 SHELL!$SHELL$ac_delim
21965 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21966 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21967 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21968 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21969 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21970 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21971 exec_prefix!$exec_prefix$ac_delim
21972 prefix!$prefix$ac_delim
21973 program_transform_name!$program_transform_name$ac_delim
21974 bindir!$bindir$ac_delim
21975 sbindir!$sbindir$ac_delim
21976 libexecdir!$libexecdir$ac_delim
21977 datarootdir!$datarootdir$ac_delim
21978 datadir!$datadir$ac_delim
21979 sysconfdir!$sysconfdir$ac_delim
21980 sharedstatedir!$sharedstatedir$ac_delim
21981 localstatedir!$localstatedir$ac_delim
21982 includedir!$includedir$ac_delim
21983 oldincludedir!$oldincludedir$ac_delim
21984 docdir!$docdir$ac_delim
21985 infodir!$infodir$ac_delim
21986 htmldir!$htmldir$ac_delim
21987 dvidir!$dvidir$ac_delim
21988 pdfdir!$pdfdir$ac_delim
21989 psdir!$psdir$ac_delim
21990 libdir!$libdir$ac_delim
21991 localedir!$localedir$ac_delim
21992 mandir!$mandir$ac_delim
21993 DEFS!$DEFS$ac_delim
21994 ECHO_C!$ECHO_C$ac_delim
21995 ECHO_N!$ECHO_N$ac_delim
21996 ECHO_T!$ECHO_T$ac_delim
21997 LIBS!$LIBS$ac_delim
21998 build_alias!$build_alias$ac_delim
21999 host_alias!$host_alias$ac_delim
22000 target_alias!$target_alias$ac_delim
22001 build!$build$ac_delim
22002 build_cpu!$build_cpu$ac_delim
22003 build_vendor!$build_vendor$ac_delim
22004 build_os!$build_os$ac_delim
22005 host!$host$ac_delim
22006 host_cpu!$host_cpu$ac_delim
22007 host_vendor!$host_vendor$ac_delim
22008 host_os!$host_os$ac_delim
22009 WIN16_FILES!$WIN16_FILES$ac_delim
22010 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22011 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22012 WINETEST!$WINETEST$ac_delim
22013 SET_MAKE!$SET_MAKE$ac_delim
22014 CC!$CC$ac_delim
22015 CFLAGS!$CFLAGS$ac_delim
22016 LDFLAGS!$LDFLAGS$ac_delim
22017 CPPFLAGS!$CPPFLAGS$ac_delim
22018 ac_ct_CC!$ac_ct_CC$ac_delim
22019 EXEEXT!$EXEEXT$ac_delim
22020 OBJEXT!$OBJEXT$ac_delim
22021 CXX!$CXX$ac_delim
22022 CXXFLAGS!$CXXFLAGS$ac_delim
22023 ac_ct_CXX!$ac_ct_CXX$ac_delim
22024 CPPBIN!$CPPBIN$ac_delim
22025 TOOLSDIR!$TOOLSDIR$ac_delim
22026 XMKMF!$XMKMF$ac_delim
22027 CPP!$CPP$ac_delim
22028 X_CFLAGS!$X_CFLAGS$ac_delim
22029 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22030 X_LIBS!$X_LIBS$ac_delim
22031 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22032 FLEX!$FLEX$ac_delim
22033 BISON!$BISON$ac_delim
22034 AS!$AS$ac_delim
22035 ac_ct_AS!$ac_ct_AS$ac_delim
22036 LD!$LD$ac_delim
22037 AR!$AR$ac_delim
22038 RANLIB!$RANLIB$ac_delim
22039 STRIP!$STRIP$ac_delim
22040 WINDRES!$WINDRES$ac_delim
22041 LN_S!$LN_S$ac_delim
22042 LN!$LN$ac_delim
22043 GREP!$GREP$ac_delim
22044 EGREP!$EGREP$ac_delim
22045 LDCONFIG!$LDCONFIG$ac_delim
22046 _ACEOF
22048 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22049 break
22050 elif $ac_last_try; then
22051 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22052 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22053 { (exit 1); exit 1; }; }
22054 else
22055 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22057 done
22059 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22060 if test -n "$ac_eof"; then
22061 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22062 ac_eof=`expr $ac_eof + 1`
22065 cat >>$CONFIG_STATUS <<_ACEOF
22066 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22068 /^[ ]*@MAKE_RULES@[ ]*$/{
22069 r $MAKE_RULES
22072 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22073 r $MAKE_DLL_RULES
22076 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22077 r $MAKE_IMPLIB_RULES
22080 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22081 r $MAKE_TEST_RULES
22084 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22085 r $MAKE_PROG_RULES
22088 _ACEOF
22089 sed '
22090 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22091 s/^/s,@/; s/!/@,|#_!!_#|/
22094 s/'"$ac_delim"'$/,g/; t
22095 s/$/\\/; p
22096 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22097 ' >>$CONFIG_STATUS <conf$$subs.sed
22098 rm -f conf$$subs.sed
22099 cat >>$CONFIG_STATUS <<_ACEOF
22100 CEOF$ac_eof
22101 _ACEOF
22104 ac_delim='%!_!# '
22105 for ac_last_try in false false false false false :; do
22106 cat >conf$$subs.sed <<_ACEOF
22107 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22108 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22109 INSTALL_DATA!$INSTALL_DATA$ac_delim
22110 LINT!$LINT$ac_delim
22111 LINTFLAGS!$LINTFLAGS$ac_delim
22112 FONTFORGE!$FONTFORGE$ac_delim
22113 PKG_CONFIG!$PKG_CONFIG$ac_delim
22114 PRELINK!$PRELINK$ac_delim
22115 LIBPTHREAD!$LIBPTHREAD$ac_delim
22116 XLIB!$XLIB$ac_delim
22117 XFILES!$XFILES$ac_delim
22118 OPENGLFILES!$OPENGLFILES$ac_delim
22119 GLU32FILES!$GLU32FILES$ac_delim
22120 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22121 QUARTZFILES!$QUARTZFILES$ac_delim
22122 NASLIBS!$NASLIBS$ac_delim
22123 XML2LIBS!$XML2LIBS$ac_delim
22124 XML2INCL!$XML2INCL$ac_delim
22125 XSLTLIBS!$XSLTLIBS$ac_delim
22126 XSLTINCL!$XSLTINCL$ac_delim
22127 HALINCL!$HALINCL$ac_delim
22128 sane_devel!$sane_devel$ac_delim
22129 SANEINCL!$SANEINCL$ac_delim
22130 gphoto2_devel!$gphoto2_devel$ac_delim
22131 gphoto2port_devel!$gphoto2port_devel$ac_delim
22132 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22133 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22134 ICULIBS!$ICULIBS$ac_delim
22135 RESOLVLIBS!$RESOLVLIBS$ac_delim
22136 LCMSLIBS!$LCMSLIBS$ac_delim
22137 LDAPLIBS!$LDAPLIBS$ac_delim
22138 FREETYPELIBS!$FREETYPELIBS$ac_delim
22139 FREETYPEINCL!$FREETYPEINCL$ac_delim
22140 ft_devel!$ft_devel$ac_delim
22141 ft_devel2!$ft_devel2$ac_delim
22142 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22143 ESDCONFIG!$ESDCONFIG$ac_delim
22144 ESDLIBS!$ESDLIBS$ac_delim
22145 ESDINCL!$ESDINCL$ac_delim
22146 ALSALIBS!$ALSALIBS$ac_delim
22147 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22148 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22149 BUILTINFLAG!$BUILTINFLAG$ac_delim
22150 DLLEXT!$DLLEXT$ac_delim
22151 DLLFLAGS!$DLLFLAGS$ac_delim
22152 LDSHARED!$LDSHARED$ac_delim
22153 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22154 LIBEXT!$LIBEXT$ac_delim
22155 IMPLIBEXT!$IMPLIBEXT$ac_delim
22156 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22157 DLLTOOL!$DLLTOOL$ac_delim
22158 DLLWRAP!$DLLWRAP$ac_delim
22159 MINGWAR!$MINGWAR$ac_delim
22160 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22161 IOKITLIB!$IOKITLIB$ac_delim
22162 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22163 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22164 COREAUDIO!$COREAUDIO$ac_delim
22165 CARBONLIB!$CARBONLIB$ac_delim
22166 CROSSTEST!$CROSSTEST$ac_delim
22167 CROSSCC!$CROSSCC$ac_delim
22168 CROSSWINDRES!$CROSSWINDRES$ac_delim
22169 LDPATH!$LDPATH$ac_delim
22170 CRTLIBS!$CRTLIBS$ac_delim
22171 SOCKETLIBS!$SOCKETLIBS$ac_delim
22172 MAIN_BINARY!$MAIN_BINARY$ac_delim
22173 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22174 LDD!$LDD$ac_delim
22175 LIBDL!$LIBDL$ac_delim
22176 LIBPOLL!$LIBPOLL$ac_delim
22177 DEPENDENCIES!$DEPENDENCIES$ac_delim
22178 LIBOBJS!$LIBOBJS$ac_delim
22179 LTLIBOBJS!$LTLIBOBJS$ac_delim
22180 _ACEOF
22182 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22183 break
22184 elif $ac_last_try; then
22185 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22186 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22187 { (exit 1); exit 1; }; }
22188 else
22189 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22191 done
22193 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22194 if test -n "$ac_eof"; then
22195 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22196 ac_eof=`expr $ac_eof + 1`
22199 cat >>$CONFIG_STATUS <<_ACEOF
22200 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22202 _ACEOF
22203 sed '
22204 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22205 s/^/s,@/; s/!/@,|#_!!_#|/
22208 s/'"$ac_delim"'$/,g/; t
22209 s/$/\\/; p
22210 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22211 ' >>$CONFIG_STATUS <conf$$subs.sed
22212 rm -f conf$$subs.sed
22213 cat >>$CONFIG_STATUS <<_ACEOF
22214 :end
22215 s/|#_!!_#|//g
22216 CEOF$ac_eof
22217 _ACEOF
22220 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22221 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22222 # trailing colons and then remove the whole line if VPATH becomes empty
22223 # (actually we leave an empty line to preserve line numbers).
22224 if test "x$srcdir" = x.; then
22225 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22226 s/:*\$(srcdir):*/:/
22227 s/:*\${srcdir}:*/:/
22228 s/:*@srcdir@:*/:/
22229 s/^\([^=]*=[ ]*\):*/\1/
22230 s/:*$//
22231 s/^[^=]*=[ ]*$//
22235 cat >>$CONFIG_STATUS <<\_ACEOF
22236 fi # test -n "$CONFIG_FILES"
22239 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22241 case $ac_tag in
22242 :[FHLC]) ac_mode=$ac_tag; continue;;
22243 esac
22244 case $ac_mode$ac_tag in
22245 :[FHL]*:*);;
22246 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22247 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22248 { (exit 1); exit 1; }; };;
22249 :[FH]-) ac_tag=-:-;;
22250 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22251 esac
22252 ac_save_IFS=$IFS
22253 IFS=:
22254 set x $ac_tag
22255 IFS=$ac_save_IFS
22256 shift
22257 ac_file=$1
22258 shift
22260 case $ac_mode in
22261 :L) ac_source=$1;;
22262 :[FH])
22263 ac_file_inputs=
22264 for ac_f
22266 case $ac_f in
22267 -) ac_f="$tmp/stdin";;
22268 *) # Look for the file first in the build tree, then in the source tree
22269 # (if the path is not absolute). The absolute path cannot be DOS-style,
22270 # because $ac_f cannot contain `:'.
22271 test -f "$ac_f" ||
22272 case $ac_f in
22273 [\\/$]*) false;;
22274 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22275 esac ||
22276 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22277 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22278 { (exit 1); exit 1; }; };;
22279 esac
22280 ac_file_inputs="$ac_file_inputs $ac_f"
22281 done
22283 # Let's still pretend it is `configure' which instantiates (i.e., don't
22284 # use $as_me), people would be surprised to read:
22285 # /* config.h. Generated by config.status. */
22286 configure_input="Generated from "`IFS=:
22287 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22288 if test x"$ac_file" != x-; then
22289 configure_input="$ac_file. $configure_input"
22290 { echo "$as_me:$LINENO: creating $ac_file" >&5
22291 echo "$as_me: creating $ac_file" >&6;}
22294 case $ac_tag in
22295 *:-:* | *:-) cat >"$tmp/stdin";;
22296 esac
22298 esac
22300 ac_dir=`$as_dirname -- "$ac_file" ||
22301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22302 X"$ac_file" : 'X\(//\)[^/]' \| \
22303 X"$ac_file" : 'X\(//\)$' \| \
22304 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22305 echo X"$ac_file" |
22306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22307 s//\1/
22310 /^X\(\/\/\)[^/].*/{
22311 s//\1/
22314 /^X\(\/\/\)$/{
22315 s//\1/
22318 /^X\(\/\).*/{
22319 s//\1/
22322 s/.*/./; q'`
22323 { as_dir="$ac_dir"
22324 case $as_dir in #(
22325 -*) as_dir=./$as_dir;;
22326 esac
22327 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22328 as_dirs=
22329 while :; do
22330 case $as_dir in #(
22331 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22332 *) as_qdir=$as_dir;;
22333 esac
22334 as_dirs="'$as_qdir' $as_dirs"
22335 as_dir=`$as_dirname -- "$as_dir" ||
22336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22337 X"$as_dir" : 'X\(//\)[^/]' \| \
22338 X"$as_dir" : 'X\(//\)$' \| \
22339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22340 echo X"$as_dir" |
22341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22342 s//\1/
22345 /^X\(\/\/\)[^/].*/{
22346 s//\1/
22349 /^X\(\/\/\)$/{
22350 s//\1/
22353 /^X\(\/\).*/{
22354 s//\1/
22357 s/.*/./; q'`
22358 test -d "$as_dir" && break
22359 done
22360 test -z "$as_dirs" || eval "mkdir $as_dirs"
22361 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22362 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22363 { (exit 1); exit 1; }; }; }
22364 ac_builddir=.
22366 case "$ac_dir" in
22367 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22369 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22370 # A ".." for each directory in $ac_dir_suffix.
22371 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22372 case $ac_top_builddir_sub in
22373 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22374 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22375 esac ;;
22376 esac
22377 ac_abs_top_builddir=$ac_pwd
22378 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22379 # for backward compatibility:
22380 ac_top_builddir=$ac_top_build_prefix
22382 case $srcdir in
22383 .) # We are building in place.
22384 ac_srcdir=.
22385 ac_top_srcdir=$ac_top_builddir_sub
22386 ac_abs_top_srcdir=$ac_pwd ;;
22387 [\\/]* | ?:[\\/]* ) # Absolute name.
22388 ac_srcdir=$srcdir$ac_dir_suffix;
22389 ac_top_srcdir=$srcdir
22390 ac_abs_top_srcdir=$srcdir ;;
22391 *) # Relative name.
22392 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22393 ac_top_srcdir=$ac_top_build_prefix$srcdir
22394 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22395 esac
22396 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22399 case $ac_mode in
22402 # CONFIG_FILE
22405 case $INSTALL in
22406 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22407 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22408 esac
22409 _ACEOF
22411 cat >>$CONFIG_STATUS <<\_ACEOF
22412 # If the template does not know about datarootdir, expand it.
22413 # FIXME: This hack should be removed a few years after 2.60.
22414 ac_datarootdir_hack=; ac_datarootdir_seen=
22416 case `sed -n '/datarootdir/ {
22420 /@datadir@/p
22421 /@docdir@/p
22422 /@infodir@/p
22423 /@localedir@/p
22424 /@mandir@/p
22425 ' $ac_file_inputs` in
22426 *datarootdir*) ac_datarootdir_seen=yes;;
22427 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22428 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22429 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22430 _ACEOF
22431 cat >>$CONFIG_STATUS <<_ACEOF
22432 ac_datarootdir_hack='
22433 s&@datadir@&$datadir&g
22434 s&@docdir@&$docdir&g
22435 s&@infodir@&$infodir&g
22436 s&@localedir@&$localedir&g
22437 s&@mandir@&$mandir&g
22438 s&\\\${datarootdir}&$datarootdir&g' ;;
22439 esac
22440 _ACEOF
22442 # Neutralize VPATH when `$srcdir' = `.'.
22443 # Shell code in configure.ac might set extrasub.
22444 # FIXME: do we really want to maintain this feature?
22445 cat >>$CONFIG_STATUS <<_ACEOF
22446 sed "$ac_vpsub
22447 $extrasub
22448 _ACEOF
22449 cat >>$CONFIG_STATUS <<\_ACEOF
22451 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22452 s&@configure_input@&$configure_input&;t t
22453 s&@top_builddir@&$ac_top_builddir_sub&;t t
22454 s&@srcdir@&$ac_srcdir&;t t
22455 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22456 s&@top_srcdir@&$ac_top_srcdir&;t t
22457 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22458 s&@builddir@&$ac_builddir&;t t
22459 s&@abs_builddir@&$ac_abs_builddir&;t t
22460 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22461 s&@INSTALL@&$ac_INSTALL&;t t
22462 $ac_datarootdir_hack
22463 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22465 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22466 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22467 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22468 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22469 which seems to be undefined. Please make sure it is defined." >&5
22470 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22471 which seems to be undefined. Please make sure it is defined." >&2;}
22473 rm -f "$tmp/stdin"
22474 case $ac_file in
22475 -) cat "$tmp/out"; rm -f "$tmp/out";;
22476 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22477 esac
22481 # CONFIG_HEADER
22483 _ACEOF
22485 # Transform confdefs.h into a sed script `conftest.defines', that
22486 # substitutes the proper values into config.h.in to produce config.h.
22487 rm -f conftest.defines conftest.tail
22488 # First, append a space to every undef/define line, to ease matching.
22489 echo 's/$/ /' >conftest.defines
22490 # Then, protect against being on the right side of a sed subst, or in
22491 # an unquoted here document, in config.status. If some macros were
22492 # called several times there might be several #defines for the same
22493 # symbol, which is useless. But do not sort them, since the last
22494 # AC_DEFINE must be honored.
22495 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22496 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22497 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22498 # PARAMS is the parameter list in the macro definition--in most cases, it's
22499 # just an empty string.
22500 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22501 ac_dB='\\)[ (].*,\\1define\\2'
22502 ac_dC=' '
22503 ac_dD=' ,'
22505 uniq confdefs.h |
22506 sed -n '
22507 t rset
22508 :rset
22509 s/^[ ]*#[ ]*define[ ][ ]*//
22510 t ok
22513 s/[\\&,]/\\&/g
22514 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22515 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22516 ' >>conftest.defines
22518 # Remove the space that was appended to ease matching.
22519 # Then replace #undef with comments. This is necessary, for
22520 # example, in the case of _POSIX_SOURCE, which is predefined and required
22521 # on some systems where configure will not decide to define it.
22522 # (The regexp can be short, since the line contains either #define or #undef.)
22523 echo 's/ $//
22524 s,^[ #]*u.*,/* & */,' >>conftest.defines
22526 # Break up conftest.defines:
22527 ac_max_sed_lines=50
22529 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22530 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22531 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22532 # et cetera.
22533 ac_in='$ac_file_inputs'
22534 ac_out='"$tmp/out1"'
22535 ac_nxt='"$tmp/out2"'
22537 while :
22539 # Write a here document:
22540 cat >>$CONFIG_STATUS <<_ACEOF
22541 # First, check the format of the line:
22542 cat >"\$tmp/defines.sed" <<\\CEOF
22543 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22544 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22546 :def
22547 _ACEOF
22548 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22549 echo 'CEOF
22550 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22551 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22552 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22553 grep . conftest.tail >/dev/null || break
22554 rm -f conftest.defines
22555 mv conftest.tail conftest.defines
22556 done
22557 rm -f conftest.defines conftest.tail
22559 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22560 cat >>$CONFIG_STATUS <<\_ACEOF
22561 if test x"$ac_file" != x-; then
22562 echo "/* $configure_input */" >"$tmp/config.h"
22563 cat "$ac_result" >>"$tmp/config.h"
22564 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22565 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22566 echo "$as_me: $ac_file is unchanged" >&6;}
22567 else
22568 rm -f $ac_file
22569 mv "$tmp/config.h" $ac_file
22571 else
22572 echo "/* $configure_input */"
22573 cat "$ac_result"
22575 rm -f "$tmp/out12"
22578 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22579 echo "$as_me: executing $ac_file commands" >&6;}
22581 esac
22584 case $ac_file$ac_mode in
22585 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22586 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22587 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22588 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22589 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22590 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22591 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22592 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22593 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22594 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22595 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22596 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22597 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22599 esac
22600 done # for ac_tag
22603 { (exit 0); exit 0; }
22604 _ACEOF
22605 chmod +x $CONFIG_STATUS
22606 ac_clean_files=$ac_clean_files_save
22609 # configure is writing to config.log, and then calls config.status.
22610 # config.status does its own redirection, appending to config.log.
22611 # Unfortunately, on DOS this fails, as config.log is still kept open
22612 # by configure, so config.status won't be able to write to it; its
22613 # output is simply discarded. So we exec the FD to /dev/null,
22614 # effectively closing config.log, so it can be properly (re)opened and
22615 # appended to by config.status. When coming back to configure, we
22616 # need to make the FD available again.
22617 if test "$no_create" != yes; then
22618 ac_cs_success=:
22619 ac_config_status_args=
22620 test "$silent" = yes &&
22621 ac_config_status_args="$ac_config_status_args --quiet"
22622 exec 5>/dev/null
22623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22624 exec 5>>config.log
22625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22626 # would make configure fail if this is the last instruction.
22627 $ac_cs_success || { (exit 1); exit 1; }
22632 if test "$no_create" = "yes"
22633 then
22634 exit 0
22637 if test "$verbose" = "yes"
22638 then
22639 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22640 then
22641 echo >&2
22642 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22643 echo "$as_me: libcapi20 development files not found." >&6;}
22644 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22645 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22648 if test "$ac_cv_header_cups_cups_h" != "yes"
22649 then
22650 echo >&2
22651 { echo "$as_me:$LINENO: libcups development files not found." >&5
22652 echo "$as_me: libcups development files not found." >&6;}
22653 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22654 echo "$as_me: Wine will be built without CUPS support." >&6;}
22658 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22659 then
22660 echo >&2
22661 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22662 echo "$as_me: libgphoto2 development files not found." >&6;}
22663 if test "$ac_cv_header_sane_sane_h" = "yes"
22664 then
22665 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22666 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22667 else
22668 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22669 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22673 if test "$ac_cv_header_hal_libhal_h" != "yes"
22674 then
22675 echo >&2
22676 { echo "$as_me:$LINENO: libhal development files not found." >&5
22677 echo "$as_me: libhal development files not found." >&6;}
22678 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22679 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22682 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22683 then
22684 echo >&2
22685 { echo "$as_me:$LINENO: libicu development files not found." >&5
22686 echo "$as_me: libicu development files not found." >&6;}
22687 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22688 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22691 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22692 then
22693 echo >&2
22694 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22695 echo "$as_me: liblcms development files not found." >&6;}
22696 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22697 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22700 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22701 then
22702 echo >&2
22703 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22704 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22705 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22706 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22709 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22710 then
22711 echo >&2
22712 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22713 echo "$as_me: lib(n)curses development files not found." >&6;}
22714 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22715 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22718 if test "$ac_cv_header_sane_sane_h" != "yes"
22719 then
22720 echo >&2
22721 { echo "$as_me:$LINENO: libsane development files not found." >&5
22722 echo "$as_me: libsane development files not found." >&6;}
22723 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22724 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22727 if test "$have_x" = "yes"
22728 then
22729 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22730 then
22731 echo >&2
22732 { echo "$as_me:$LINENO: libxext development files not found." >&5
22733 echo "$as_me: libxext development files not found." >&6;}
22734 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22735 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22738 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22739 then
22740 echo >&2
22741 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22742 echo "$as_me: libXrandr development files not found." >&6;}
22743 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22744 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22747 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22748 then
22749 echo >&2
22750 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22751 echo "$as_me: libXrender development files not found." >&6;}
22752 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22753 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22756 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22757 then
22758 echo >&2
22759 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22760 echo "$as_me: libXxf86vm development files not found." >&6;}
22761 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22762 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22766 if test "$ac_cv_header_libxml_parser_h" != "yes"
22767 then
22768 echo >&2
22769 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22770 echo "$as_me: libxml2 development files not found." >&6;}
22771 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22772 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22775 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22776 then
22777 echo >&2
22778 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22779 echo "$as_me: libxslt development files not found." >&6;}
22780 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22781 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22786 if test "$have_x" = "no"
22787 then
22788 echo >&2
22789 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22790 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22791 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22792 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22793 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22794 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22795 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22796 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22799 if test -z "$OPENGLFILES"
22800 then
22801 echo >&2
22802 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22803 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22804 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22805 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22806 if test "$wine_cv_opengl_headers_found" = "no"
22807 then
22808 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22809 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22811 if test "$wine_cv_opengl_header_version_OK" = "no"
22812 then
22813 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22814 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22815 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22816 then
22817 if test -f /usr/X11R6/lib/libGL.a
22818 then
22819 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22820 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22821 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22822 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22823 else
22824 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22825 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22830 if test "$wine_cv_msg_freetype" = "yes"
22831 then
22832 echo >&2
22833 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22834 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22835 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22836 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22837 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22838 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22839 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22840 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22843 if test -z "$FONTSSUBDIRS"
22844 then
22845 echo >&2
22846 if test "$FONTFORGE" = "false"
22847 then
22848 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22849 echo "$as_me: WARNING: FontForge is missing." >&2;}
22850 else
22851 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22852 echo "$as_me: WARNING: FreeType is missing." >&2;}
22854 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22855 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22858 if test -z "$ALSALIBS" -a \
22859 -z "$AUDIOIOLIBS" -a \
22860 -z "$NASLIBS" -a \
22861 -z "$ESD_LIBS" -a \
22862 -z "$ac_cv_lib_soname_jack" -a \
22863 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22864 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22865 "$ac_cv_header_soundcard_h" != "yes"
22866 then
22867 echo >&2
22868 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22869 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22870 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22871 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22872 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22873 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22876 echo
22877 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22878 echo