2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0.
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
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
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
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
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
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
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; }
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
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 () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
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
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
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. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
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
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`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='1.0'
578 PACKAGE_STRING
='Wine 1.0'
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
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
776 ac_subst_files
='MAKE_RULES
781 ac_precious_vars
='build_alias
796 # Initialize some variables set by options.
798 ac_init_version
=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_
$ac_feature=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_
$ac_feature=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_
$ac_package=\
$ac_optarg ;;
1121 -without-* |
--without-*)
1122 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_
$ac_package=no
;;
1131 # Obsolete; use --with-x.
1134 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1135 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1136 ac_prev
=x_includes
;;
1137 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1138 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1139 x_includes
=$ac_optarg ;;
1141 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1142 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1143 ac_prev
=x_libraries
;;
1144 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1145 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1146 x_libraries
=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\
$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val
=\$
$ac_var
1187 [\\/$
]* | ?
:[\\/]* ) continue;;
1188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target
=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x
; then
1203 if test "x$build_alias" = x
; then
1204 cross_compiling
=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1215 test "$silent" = yes && exec 6>/dev
/null
1218 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di
=`ls -di .` &&
1220 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted
=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir
=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted
=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var
in $ac_precious_vars; do
1283 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1285 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures Wine 1.0 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --x-includes=DIR X include files are
in DIR
1355 --x-libraries=DIR X library files are
in DIR
1358 --build=BUILD configure
for building on BUILD
[guessed
]
1359 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive
) echo "Configuration of Wine 1.0:";;
1370 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1371 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-freetype do not use the FreeType library
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-glu do not use the GLU library
1393 --without-hal do not use HAL (dynamic device support)
1394 --without-jack do not use the Jack sound support
1395 --without-jpeg do not use JPEG
1396 --without-ldap do not use LDAP
1397 --without-nas do not use the NAS sound support
1398 --without-opengl do not use OpenGL
1399 --without-openssl do not use OpenSSL
1400 --without-oss do not use the OSS sound support
1401 --without-png do not use PNG
1402 --without-sane do not use SANE (scanner support)
1403 --without-xcomposite do not use the Xcomposite extension
1404 --without-xcursor do not use the Xcursor extension
1405 --without-xinerama do not use Xinerama (multi-monitor support)
1406 --without-xinput do not use the Xinput extension
1407 --without-xml do not use XML
1408 --without-xrandr do not use Xrandr (resolution changes)
1409 --without-xrender do not use the Xrender extension
1410 --without-xshape do not use the Xshape extension
1411 --without-xshm do not use XShm (shared memory extension)
1412 --without-xslt do not use XSLT
1413 --without-xvidmode do not use XFree video mode extension
1414 --with-wine-tools=DIR use Wine tools from directory DIR
1415 --with-x use the X Window System
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1425 CXX C++ compiler command
1426 CXXFLAGS C++ compiler flags
1427 XMKMF Path to xmkmf, Makefile generator for X Window System
1430 Use these variables to override the choices made by `configure' or to
help
1431 it to
find libraries and programs with nonstandard names
/locations.
1433 Report bugs to
<wine-devel@winehq.org
>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1441 test -d "$ac_dir" ||
continue
1445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir
=$ac_pwd
1456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir
=$ac_top_build_prefix
1461 .
) # We are building in place.
1463 ac_top_srcdir
=$ac_top_builddir_sub
1464 ac_abs_top_srcdir
=$ac_pwd ;;
1465 [\\/]* | ?
:[\\/]* ) # Absolute name.
1466 ac_srcdir
=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir
=$srcdir
1468 ac_abs_top_srcdir
=$srcdir ;;
1470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1495 generated by GNU Autoconf
2.61
1497 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1498 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1499 This configure
script is free software
; the Free Software Foundation
1500 gives unlimited permission to copy
, distribute and modify it.
1504 cat >config.log
<<_ACEOF
1505 This file contains any messages produced by compilers while
1506 running configure, to aid debugging if configure makes a mistake.
1508 It was created by Wine $as_me 1.0, which was
1509 generated by GNU Autoconf 2.61. Invocation command line was
1521 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1522 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1523 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1524 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1525 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1527 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1528 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1530 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1531 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1532 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1533 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1534 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1535 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1536 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1544 test -z "$as_dir" && as_dir
=.
1545 echo "PATH: $as_dir"
1561 # Keep a trace of the command line.
1562 # Strip out --no-create and --no-recursion so they do not pile up.
1563 # Strip out --silent because we don't want to record it for future runs.
1564 # Also quote any args containing shell meta-characters.
1565 # Make two passes to allow for proper duplicate-argument suppression.
1569 ac_must_keep_next
=false
1575 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1576 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1577 |
-silent |
--silent |
--silen |
--sile |
--sil)
1580 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1583 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1585 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1586 if test $ac_must_keep_next = true
; then
1587 ac_must_keep_next
=false
# Got value, back to normal.
1590 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1591 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1592 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1593 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1594 case "$ac_configure_args0 " in
1595 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1598 -* ) ac_must_keep_next
=true
;;
1601 ac_configure_args
="$ac_configure_args '$ac_arg'"
1606 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1607 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1609 # When interrupted or exit'd, cleanup temporary files, and complete
1610 # config.log. We remove comments because anyway the quotes in there
1611 # would cause problems or look ugly.
1612 # WARNING: Use '\'' to represent an apostrophe within the trap.
1613 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1614 trap 'exit_status=$?
1615 # Save into config.log some information that might help in debugging.
1620 ## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1632 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1636 _ | IFS | as_nl) ;; #(
1637 *) $as_unset $ac_var ;;
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1666 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 echo "$ac_var='\''$ac_val'\''"
1672 if test -n "$ac_subst_files"; then
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1679 for ac_var
in $ac_subst_files
1681 eval ac_val
=\$
$ac_var
1683 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 echo "$ac_var='\''$ac_val'\''"
1690 if test -s confdefs.h; then
1700 test "$ac_signal" != 0 &&
1701 echo "$as_me: caught signal $ac_signal"
1702 echo "$as_me: exit $exit_status"
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 for ac_signal
in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest
* confdefs.h
1716 # Predefined preprocessor variables.
1718 cat >>confdefs.h
<<_ACEOF
1719 #define PACKAGE_NAME "$PACKAGE_NAME"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1733 cat >>confdefs.h
<<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1738 cat >>confdefs.h
<<_ACEOF
1739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1743 # Let the site file select an alternate cache file if it wants to.
1744 # Prefer explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 set x
"$CONFIG_SITE"
1747 elif test "x$prefix" != xNONE
; then
1748 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1750 set x
"$ac_default_prefix/share/config.site" \
1751 "$ac_default_prefix/etc/config.site"
1756 if test -r "$ac_site_file"; then
1757 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 echo "$as_me: loading cache $cache_file" >&6;}
1771 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1772 *) .
"./$cache_file";;
1776 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 echo "$as_me: creating cache $cache_file" >&6;}
1781 # Check that the precious variables saved in the cache have kept the same
1783 ac_cache_corrupted
=false
1784 for ac_var
in $ac_precious_vars; do
1785 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1786 eval ac_new_set
=\
$ac_env_${ac_var}_set
1787 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1788 eval ac_new_val
=\
$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted
=: ;;
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted
=: ;;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1804 echo "$as_me: former value: $ac_old_val" >&2;}
1805 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1806 echo "$as_me: current value: $ac_new_val" >&2;}
1807 ac_cache_corrupted
=:
1810 # Pass precious variables to config.status.
1811 if test "$ac_new_set" = set; then
1813 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 *) ac_arg
=$ac_var=$ac_new_val ;;
1816 case " $ac_configure_args " in
1817 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1818 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1822 if $ac_cache_corrupted; then
1823 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827 { (exit 1); exit 1; }; }
1855 ac_cpp
='$CPP $CPPFLAGS'
1856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1862 ac_config_headers
="$ac_config_headers include/config.h"
1865 for ac_dir
in tools
"$srcdir"/tools
; do
1866 if test -f "$ac_dir/install-sh"; then
1868 ac_install_sh
="$ac_aux_dir/install-sh -c"
1870 elif test -f "$ac_dir/install.sh"; then
1872 ac_install_sh
="$ac_aux_dir/install.sh -c"
1874 elif test -f "$ac_dir/shtool"; then
1876 ac_install_sh
="$ac_aux_dir/shtool install -c"
1880 if test -z "$ac_aux_dir"; then
1881 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1882 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1883 { (exit 1); exit 1; }; }
1886 # These three variables are undocumented and unsupported,
1887 # and are intended to be withdrawn in a future Autoconf release.
1888 # They can cause serious problems if a builder's source tree is in a directory
1889 # whose full name contains unusual characters.
1890 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1891 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1892 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1897 # Check whether --enable-win16 was given.
1898 if test "${enable_win16+set}" = set; then
1899 enableval
=$enable_win16;
1902 # Check whether --enable-win64 was given.
1903 if test "${enable_win64+set}" = set; then
1904 enableval
=$enable_win64;
1907 # Check whether --enable-maintainer-mode was given.
1908 if test "${enable_maintainer_mode+set}" = set; then
1909 enableval
=$enable_maintainer_mode;
1917 # Check whether --with-alsa was given.
1918 if test "${with_alsa+set}" = set; then
1919 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1923 # Check whether --with-audioio was given.
1924 if test "${with_audioio+set}" = set; then
1925 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1929 # Check whether --with-capi was given.
1930 if test "${with_capi+set}" = set; then
1931 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1935 # Check whether --with-cms was given.
1936 if test "${with_cms+set}" = set; then
1937 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1941 # Check whether --with-coreaudio was given.
1942 if test "${with_coreaudio+set}" = set; then
1943 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1947 # Check whether --with-cups was given.
1948 if test "${with_cups+set}" = set; then
1949 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1953 # Check whether --with-curses was given.
1954 if test "${with_curses+set}" = set; then
1955 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1959 # Check whether --with-esd was given.
1960 if test "${with_esd+set}" = set; then
1965 # Check whether --with-fontconfig was given.
1966 if test "${with_fontconfig+set}" = set; then
1967 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1971 # Check whether --with-freetype was given.
1972 if test "${with_freetype+set}" = set; then
1973 withval
=$with_freetype;
1977 # Check whether --with-gphoto was given.
1978 if test "${with_gphoto+set}" = set; then
1979 withval
=$with_gphoto;
1983 # Check whether --with-glu was given.
1984 if test "${with_glu+set}" = set; then
1985 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
1989 # Check whether --with-hal was given.
1990 if test "${with_hal+set}" = set; then
1995 # Check whether --with-jack was given.
1996 if test "${with_jack+set}" = set; then
1997 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2001 # Check whether --with-jpeg was given.
2002 if test "${with_jpeg+set}" = set; then
2003 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2007 # Check whether --with-ldap was given.
2008 if test "${with_ldap+set}" = set; then
2009 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2013 # Check whether --with-nas was given.
2014 if test "${with_nas+set}" = set; then
2015 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2019 # Check whether --with-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021 withval
=$with_opengl;
2025 # Check whether --with-openssl was given.
2026 if test "${with_openssl+set}" = set; then
2027 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2031 # Check whether --with-oss was given.
2032 if test "${with_oss+set}" = set; then
2033 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2037 # Check whether --with-png was given.
2038 if test "${with_png+set}" = set; then
2039 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2043 # Check whether --with-sane was given.
2044 if test "${with_sane+set}" = set; then
2049 # Check whether --with-xcomposite was given.
2050 if test "${with_xcomposite+set}" = set; then
2051 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2055 # Check whether --with-xcursor was given.
2056 if test "${with_xcursor+set}" = set; then
2057 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2061 # Check whether --with-xinerama was given.
2062 if test "${with_xinerama+set}" = set; then
2063 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2067 # Check whether --with-xinput was given.
2068 if test "${with_xinput+set}" = set; then
2069 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2073 # Check whether --with-xml was given.
2074 if test "${with_xml+set}" = set; then
2079 # Check whether --with-xrandr was given.
2080 if test "${with_xrandr+set}" = set; then
2081 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2085 # Check whether --with-xrender was given.
2086 if test "${with_xrender+set}" = set; then
2087 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2091 # Check whether --with-xshape was given.
2092 if test "${with_xshape+set}" = set; then
2093 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2097 # Check whether --with-xshm was given.
2098 if test "${with_xshm+set}" = set; then
2099 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2103 # Check whether --with-xslt was given.
2104 if test "${with_xslt+set}" = set; then
2109 # Check whether --with-xvidmode was given.
2110 if test "${with_xvidmode+set}" = set; then
2111 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2116 # Check whether --with-wine-tools was given.
2117 if test "${with_wine_tools+set}" = set; then
2118 withval
=$with_wine_tools;
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2124 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 ac_build_alias
=$build_alias
2134 test "x$ac_build_alias" = x
&&
2135 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x
&&
2137 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 echo "$as_me: error: invalid value of canonical build" >&2;}
2152 { (exit 1); exit 1; }; };;
2155 ac_save_IFS
=$IFS; IFS
='-'
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2165 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168 { echo "$as_me:$LINENO: checking host system type" >&5
2169 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test "x$host_alias" = x
; then
2174 ac_cv_host
=$ac_cv_build
2176 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6; }
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 echo "$as_me: error: invalid value of canonical host" >&2;}
2189 { (exit 1); exit 1; }; };;
2192 ac_save_IFS
=$IFS; IFS
='-'
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2202 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2207 if test "x$enable_win64" != "xyes"
2209 test -n "$CC" || CC
="gcc -m32"
2210 test -n "$CXX"|| CXX
="g++ -m32"
2211 test -n "$LD" || LD
="ld -m elf_i386"
2212 test -n "$AS" || AS
="as --32"
2220 if test "x$enable_win16" != "xno"
2227 WIN16_FILES
="\$(WIN16_FILES)"
2229 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2231 if test "x$enable_win16" != "xyes"
2239 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2240 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2241 You need to run 'make distclean' in the source tree first." >&5
2242 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2243 You need to run 'make distclean' in the source tree first." >&2;}
2244 { (exit 1); exit 1; }; }
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 cat >conftest.
make <<\_ACEOF
2258 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2263 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2265 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2269 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2270 { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276 SET_MAKE
="MAKE=${MAKE-make}"
2280 ac_cpp
='$CPP $CPPFLAGS'
2281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC
="$CC" # Let the user override the test.
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test -n "$CC"; then
2314 { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2323 if test -z "$ac_cv_prog_CC"; then
2325 # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc
; ac_word
=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir
=.
2340 for ac_exec_ext
in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_ac_ct_CC
="gcc"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355 echo "${ECHO_T}$ac_ct_CC" >&6; }
2357 { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2361 if test "x$ac_ct_CC" = x
; then
2364 case $cross_compiling:$ac_tool_warned in
2366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&5
2369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet. If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2372 ac_tool_warned
=yes ;;
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC
="$CC" # Let the user override the test.
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 for ac_exec_ext
in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test -n "$CC"; then
2411 { echo "$as_me:$LINENO: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6; }
2414 { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc
; ac_word
=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected
=yes
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy
$ac_cv_prog_CC
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2461 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2467 if test -n "$CC"; then
2468 { echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6; }
2471 { echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog
in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC
="$CC" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 if test -n "$CC"; then
2510 { echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6; }
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2518 test -n "$CC" && break
2521 if test -z "$CC"; then
2523 for ac_prog
in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy
$ac_prog; ac_word
=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir
=.
2540 for ac_exec_ext
in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC
="$ac_prog"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6; }
2557 { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2562 test -n "$ac_ct_CC" && break
2565 if test "x$ac_ct_CC" = x
; then
2568 case $cross_compiling:$ac_tool_warned in
2570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet. If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&5
2573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2574 whose name does not start with the host triplet. If you think this
2575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2576 ac_tool_warned
=yes ;;
2585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: no acceptable C compiler found in \$PATH
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2591 # Provide some information about the compiler.
2592 echo "$as_me:$LINENO: checking for C compiler version" >&5
2593 ac_compiler
=`set X $ac_compile; echo $2`
2594 { (ac_try
="$ac_compiler --version >&5"
2596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler --version >&5") 2>&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604 { (ac_try="$ac_compiler -v >&5"
2606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2607 *) ac_try_echo
=$ac_try;;
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -v >&5") 2>&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614 { (ac_try
="$ac_compiler -V >&5"
2616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compiler -V >&5") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }
2625 cat >conftest.$ac_ext <<_ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2645 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2647 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2649 # List of possible output files, starting from the most likely.
2650 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2651 # only as a last resort. b.out is created by i960 compilers.
2652 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2654 # The IRIX 6 linker writes into existing files which may not be
2655 # executable, retaining their permissions. Remove them first so a
2656 # subsequent execution test works.
2658 for ac_file in $ac_files
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2667 if { (ac_try="$ac_link_default"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_link_default") 2>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then
2677 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2679 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2680 # so that the user can short-circuit this test for compilers unknown to
2682 for ac_file
in $ac_files ''
2684 test -f "$ac_file" ||
continue
2686 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2689 # We found the default executable, but exeext='' is most
2693 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2695 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 # We set ac_cv_exeext here because the later test for it is not
2698 # safe: cross compilers may not add the suffix if given an `-o'
2699 # argument, so we may need to know it at that point already.
2700 # Even if this section looks crufty: it has the advantage of
2707 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2713 { echo "$as_me:$LINENO: result: $ac_file" >&5
2714 echo "${ECHO_T}$ac_file" >&6; }
2715 if test -z "$ac_file"; then
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.
$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext
=$ac_cv_exeext
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735 if { ac_try
='./$ac_file'
2736 { (case "(($ac_try" in
2737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 if test "$cross_compiling" = maybe; then
2750 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2751 If you meant to cross compile, use \`--host'.
2752 See \`config.log' for more details.
" >&5
2753 echo "$as_me: error
: cannot run C compiled programs.
2754 If you meant to cross compile
, use \
`--host'.
2755 See \`config.log
' for more details." >&2;}
2756 { (exit 1); exit 1; }; }
2760 { echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6; }
2763 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2768 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2769 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2770 echo "${ECHO_T}$cross_compiling" >&6; }
2772 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2773 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2774 if { (ac_try="$ac_link"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2785 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2786 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2788 for ac_file
in conftest.exe conftest conftest.
*; do
2789 test -f "$ac_file" ||
continue
2791 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2792 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2798 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&5
2800 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2801 See \`config.log' for more details." >&2;}
2802 { (exit 1); exit 1; }; }
2805 rm -f conftest
$ac_cv_exeext
2806 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2807 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2809 rm -f conftest.
$ac_ext
2810 EXEEXT
=$ac_cv_exeext
2812 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2813 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2814 if test "${ac_cv_objext+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 cat >conftest.
$ac_ext <<_ACEOF
2820 cat confdefs.h
>>conftest.
$ac_ext
2821 cat >>conftest.
$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2832 rm -f conftest.o conftest.obj
2833 if { (ac_try
="$ac_compile"
2835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 for ac_file in conftest.o conftest.obj conftest.*; do
2844 test -f "$ac_file" || continue;
2846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2847 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log
' for more details." >&5
2857 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2858 See \`config.log' for more details.
" >&2;}
2859 { (exit 1); exit 1; }; }
2862 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2864 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2865 echo "${ECHO_T}$ac_cv_objext" >&6; }
2866 OBJEXT=$ac_cv_objext
2868 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871 echo $ECHO_N "(cached
) $ECHO_C" >&6
2873 cat >conftest.$ac_ext <<_ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2891 rm -f conftest.$ac_objext
2892 if { (ac_try="$ac_compile"
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>conftest.er1
2900 grep -v '^ *+' conftest.er1 >conftest.err
2902 cat conftest.err >&5
2903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2904 (exit $ac_status); } && {
2905 test -z "$ac_c_werror_flag" ||
2906 test ! -s conftest.err
2907 } && test -s conftest.$ac_objext; then
2910 echo "$as_me: failed program was
:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2920 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2922 GCC=`test $ac_compiler_gnu = yes && echo yes`
2923 ac_test_CFLAGS=${CFLAGS+set}
2924 ac_save_CFLAGS=$CFLAGS
2925 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2926 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_g+set}" = set; then
2928 echo $ECHO_N "(cached
) $ECHO_C" >&6
2930 ac_save_c_werror_flag=$ac_c_werror_flag
2931 ac_c_werror_flag=yes
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1 >conftest.err
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.$ac_objext; then
2968 echo "$as_me: failed program was
:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2972 cat >conftest.$ac_ext <<_ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2996 grep -v '^ *+' conftest.er1 >conftest.err
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.$ac_objext; then
3006 echo "$as_me: failed program was
:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_c_werror_flag=$ac_save_c_werror_flag
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_compile") 2>conftest.er1
3035 grep -v '^ *+' conftest.er1 >conftest.err
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3039 (exit $ac_status); } && {
3040 test -z "$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3042 } && test -s conftest.$ac_objext; then
3045 echo "$as_me: failed program was
:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_c_werror_flag=$ac_save_c_werror_flag
3060 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3062 if test "$ac_test_CFLAGS" = set; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3071 if test "$GCC" = yes; then
3077 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3078 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_c89+set}" = set; then
3080 echo $ECHO_N "(cached
) $ECHO_C" >&6
3082 ac_cv_prog_cc_c89=no
3084 cat >conftest.$ac_ext <<_ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3092 #include <sys/types.h>
3093 #include <sys/stat.h>
3094 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3095 struct buf { int x; };
3096 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 static char *e (p, i)
3103 static char *f (char * (*g) (char **, int), char **p, ...)
3108 s = g (p, va_arg (v,int));
3113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3114 function prototypes and stuff, but not '\xHH' hex character constants.
3115 These don't provoke an error unfortunately, instead are silently treated
3116 as 'x'. The following induces an error, until -std is added to get
3117 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3118 array size at least. It's necessary to write '\x00'==0 to get something
3119 that's true only with -std. */
3120 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3123 inside strings and character constants. */
3125 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3136 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3142 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3144 CC="$ac_save_CC $ac_arg"
3145 rm -f conftest.$ac_objext
3146 if { (ac_try="$ac_compile"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3154 grep -v '^ *+' conftest.er1 >conftest.err
3156 cat conftest.err >&5
3157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3162 ac_cv_prog_cc_c89=$ac_arg
3164 echo "$as_me: failed program was
:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext
3171 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3173 rm -f conftest.$ac_ext
3178 case "x
$ac_cv_prog_cc_c89" in
3180 { echo "$as_me:$LINENO: result
: none needed
" >&5
3181 echo "${ECHO_T}none needed
" >&6; } ;;
3183 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3184 echo "${ECHO_T}unsupported
" >&6; } ;;
3186 CC="$CC $ac_cv_prog_cc_c89"
3187 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3188 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 ac_cpp='$CXXCPP $CPPFLAGS'
3200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 if test -z "$CXX"; then
3204 if test -n "$CCC"; then
3207 if test -n "$ac_tool_prefix"; then
3208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3214 if test "${ac_cv_prog_CXX+set}" = set; then
3215 echo $ECHO_N "(cached
) $ECHO_C" >&6
3217 if test -n "$CXX"; then
3218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3228 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3238 if test -n "$CXX"; then
3239 { echo "$as_me:$LINENO: result
: $CXX" >&5
3240 echo "${ECHO_T}$CXX" >&6; }
3242 { echo "$as_me:$LINENO: result
: no
" >&5
3243 echo "${ECHO_T}no
" >&6; }
3247 test -n "$CXX" && break
3250 if test -z "$CXX"; then
3252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3257 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3259 echo $ECHO_N "(cached
) $ECHO_C" >&6
3261 if test -n "$ac_ct_CXX"; then
3262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_ac_ct_CXX="$ac_prog"
3272 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3282 if test -n "$ac_ct_CXX"; then
3283 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3284 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3286 { echo "$as_me:$LINENO: result
: no
" >&5
3287 echo "${ECHO_T}no
" >&6; }
3291 test -n "$ac_ct_CXX" && break
3294 if test "x
$ac_ct_CXX" = x; then
3297 case $cross_compiling:$ac_tool_warned in
3299 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3300 whose name does not start with the
host triplet. If you think this
3301 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3302 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3303 whose name does not start with the
host triplet. If you think this
3304 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3305 ac_tool_warned=yes ;;
3313 # Provide some information about the compiler.
3314 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3315 ac_compiler=`set X $ac_compile; echo $2`
3316 { (ac_try="$ac_compiler --version >&5"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_compiler --version >&5") 2>&5
3324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3325 (exit $ac_status); }
3326 { (ac_try="$ac_compiler -v >&5"
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compiler -v >&5") 2>&5
3334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3335 (exit $ac_status); }
3336 { (ac_try="$ac_compiler -V >&5"
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compiler -V >&5") 2>&5
3344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3345 (exit $ac_status); }
3347 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3348 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3349 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3350 echo $ECHO_N "(cached
) $ECHO_C" >&6
3352 cat >conftest.$ac_ext <<_ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3370 rm -f conftest.$ac_objext
3371 if { (ac_try="$ac_compile"
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3377 (eval "$ac_compile") 2>conftest.er1
3379 grep -v '^ *+' conftest.er1 >conftest.err
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3383 (exit $ac_status); } && {
3384 test -z "$ac_cxx_werror_flag" ||
3385 test ! -s conftest.err
3386 } && test -s conftest.$ac_objext; then
3389 echo "$as_me: failed program was
:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3399 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3400 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3401 GXX=`test $ac_compiler_gnu = yes && echo yes`
3402 ac_test_CXXFLAGS=${CXXFLAGS+set}
3403 ac_save_CXXFLAGS=$CXXFLAGS
3404 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3405 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3406 if test "${ac_cv_prog_cxx_g+set}" = set; then
3407 echo $ECHO_N "(cached
) $ECHO_C" >&6
3409 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3410 ac_cxx_werror_flag=yes
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3428 rm -f conftest.$ac_objext
3429 if { (ac_try="$ac_compile"
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_compile") 2>conftest.er1
3437 grep -v '^ *+' conftest.er1 >conftest.err
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3441 (exit $ac_status); } && {
3442 test -z "$ac_cxx_werror_flag" ||
3443 test ! -s conftest.err
3444 } && test -s conftest.$ac_objext; then
3445 ac_cv_prog_cxx_g=yes
3447 echo "$as_me: failed program was
:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3451 cat >conftest.$ac_ext <<_ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_cxx_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3485 echo "$as_me: failed program was
:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3490 cat >conftest.$ac_ext <<_ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compile") 2>conftest.er1
3514 grep -v '^ *+' conftest.er1 >conftest.err
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3518 (exit $ac_status); } && {
3519 test -z "$ac_cxx_werror_flag" ||
3520 test ! -s conftest.err
3521 } && test -s conftest.$ac_objext; then
3522 ac_cv_prog_cxx_g=yes
3524 echo "$as_me: failed program was
:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3539 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3541 if test "$ac_test_CXXFLAGS" = set; then
3542 CXXFLAGS=$ac_save_CXXFLAGS
3543 elif test $ac_cv_prog_cxx_g = yes; then
3544 if test "$GXX" = yes; then
3550 if test "$GXX" = yes; then
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3565 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3566 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3568 echo $ECHO_N "(cached
) $ECHO_C" >&6
3570 if test -n "$CPPBIN"; then
3571 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3581 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3590 CPPBIN=$ac_cv_prog_CPPBIN
3591 if test -n "$CPPBIN"; then
3592 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3593 echo "${ECHO_T}$CPPBIN" >&6; }
3595 { echo "$as_me:$LINENO: result
: no
" >&5
3596 echo "${ECHO_T}no
" >&6; }
3601 if test -z "$ac_cv_prog_CPPBIN"; then
3602 ac_ct_CPPBIN=$CPPBIN
3603 # Extract the first word of "cpp
", so it can be a program name with args.
3604 set dummy cpp; ac_word=$2
3605 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3606 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3607 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3608 echo $ECHO_N "(cached
) $ECHO_C" >&6
3610 if test -n "$ac_ct_CPPBIN"; then
3611 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3621 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3630 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3631 if test -n "$ac_ct_CPPBIN"; then
3632 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3633 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3635 { echo "$as_me:$LINENO: result
: no
" >&5
3636 echo "${ECHO_T}no
" >&6; }
3639 if test "x
$ac_ct_CPPBIN" = x; then
3642 case $cross_compiling:$ac_tool_warned in
3644 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3645 whose name does not start with the
host triplet. If you think this
3646 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3647 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3648 whose name does not start with the
host triplet. If you think this
3649 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3650 ac_tool_warned=yes ;;
3652 CPPBIN=$ac_ct_CPPBIN
3655 CPPBIN="$ac_cv_prog_CPPBIN"
3659 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3660 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3661 if test "${wine_cv_toolsdir+set}" = set; then
3662 echo $ECHO_N "(cached
) $ECHO_C" >&6
3664 if test -z "$with_wine_tools"; then
3665 if test "$cross_compiling" = "yes"; then
3666 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3667 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3668 { (exit 1); exit 1; }; }
3670 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3672 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3673 case $with_wine_tools in
3674 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3675 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3678 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3679 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3680 { (exit 1); exit 1; }; }
3683 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3684 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3685 TOOLSDIR=$wine_cv_toolsdir
3690 ac_cpp='$CPP $CPPFLAGS'
3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3695 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3696 # On Suns, sometimes $CPP names a directory.
3697 if test -n "$CPP" && test -d "$CPP"; then
3700 if test -z "$CPP"; then
3701 if test "${ac_cv_prog_CPP+set}" = set; then
3702 echo $ECHO_N "(cached
) $ECHO_C" >&6
3704 # Double quotes because CPP needs to be expanded
3705 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3708 for ac_c_preproc_warn_flag in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error
" is here to catch this case.
3716 cat >conftest.$ac_ext <<_ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3723 # include <limits.h>
3725 # include <assert.h>
3729 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3737 grep -v '^ *+' conftest.er1 >conftest.err
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3741 (exit $ac_status); } >/dev/null && {
3742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3747 echo "$as_me: failed program was
:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 # Broken: fails on valid input.
3754 rm -f conftest.err conftest.$ac_ext
3756 # OK, works on sane cases. Now check whether nonexistent headers
3757 # can be detected and how.
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <ac_nonexistent.h>
3766 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3774 grep -v '^ *+' conftest.er1 >conftest.err
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3778 (exit $ac_status); } >/dev/null && {
3779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3782 # Broken: success on invalid input.
3785 echo "$as_me: failed program was
:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 # Passes both tests.
3793 rm -f conftest.err conftest.$ac_ext
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext
3798 if $ac_preproc_ok; then
3810 { echo "$as_me:$LINENO: result
: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6; }
3813 for ac_c_preproc_warn_flag in '' yes
3815 # Use a header file that comes with gcc, so configuring glibc
3816 # with a fresh cross-compiler works.
3817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818 # <limits.h> exists even on freestanding compilers.
3819 # On the NeXT, cc -E runs the code through the compiler's parser,
3820 # not just through cpp. "Syntax error
" is here to catch this case.
3821 cat >conftest.$ac_ext <<_ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3828 # include <limits.h>
3830 # include <assert.h>
3834 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1 >conftest.err
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3846 (exit $ac_status); } >/dev/null && {
3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3852 echo "$as_me: failed program was
:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 # Broken: fails on valid input.
3859 rm -f conftest.err conftest.$ac_ext
3861 # OK, works on sane cases. Now check whether nonexistent headers
3862 # can be detected and how.
3863 cat >conftest.$ac_ext <<_ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3871 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3877 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3879 grep -v '^ *+' conftest.er1 >conftest.err
3881 cat conftest.err >&5
3882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3883 (exit $ac_status); } >/dev/null && {
3884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885 test ! -s conftest.err
3887 # Broken: success on invalid input.
3890 echo "$as_me: failed program was
:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 # Passes both tests.
3898 rm -f conftest.err conftest.$ac_ext
3901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3902 rm -f conftest.err conftest.$ac_ext
3903 if $ac_preproc_ok; then
3906 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3907 See \
`config.log' for more details." >&5
3908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log
' for more details." >&2;}
3910 { (exit 1); exit 1; }; }
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3916 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { echo "$as_me:$LINENO: checking for X" >&5
3921 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3924 # Check whether --with-x was given.
3925 if test "${with_x+set}" = set; then
3929 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3930 if test "x$with_x" = xno; then
3931 # The user explicitly disabled X.
3934 case $x_includes,$x_libraries in #(
3935 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3936 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3937 { (exit 1); exit 1; }; };; #(
3938 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 # One or both of the vars are not set, and there is no cached value.
3942 ac_x_includes=no ac_x_libraries=no
3943 rm -f -r conftest.dir
3944 if mkdir conftest.dir; then
3946 cat >Imakefile <<'_ACEOF'
3948 @echo incroot='${INCROOT}'
3950 @echo usrlibdir='${USRLIBDIR}'
3952 @echo libdir='${LIBDIR}'
3954 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956 for ac_var in incroot usrlibdir libdir; do
3957 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3959 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3960 for ac_extension in a so sl; do
3961 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3962 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3963 ac_im_usrlibdir=$ac_im_libdir; break
3966 # Screen out bogus values from the imake configuration. They are
3967 # bogus both because they are the default anyway, and because
3968 # using them would break gcc on systems where it needs fixed includes.
3969 case $ac_im_incroot in
3970 /usr/include) ac_x_includes= ;;
3971 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3973 case $ac_im_usrlibdir in
3975 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3979 rm -f -r conftest.dir
3982 # Standard set of common directories for X headers.
3983 # Check X11 before X11Rn because it is often a symlink to the current release.
3995 /usr
/local
/X11
/include
3996 /usr
/local
/X11R
6/include
3997 /usr
/local
/X11R
5/include
3998 /usr
/local
/X11R
4/include
4000 /usr
/local
/include
/X11
4001 /usr
/local
/include
/X11R6
4002 /usr
/local
/include
/X11R5
4003 /usr
/local
/include
/X11R4
4007 /usr
/XFree86
/include
/X11
4011 /usr
/unsupported
/include
4013 /usr
/local
/x11r
5/include
4014 /usr
/lpp
/Xamples
/include
4016 /usr
/openwin
/include
4017 /usr
/openwin
/share
/include
'
4019 if test "$ac_x_includes" = no; then
4020 # Guess where to find include files, by looking for Xlib.h.
4021 # First, try using that file with no special directory specified.
4022 cat >conftest.$ac_ext <<_ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 #include <X11/Xlib.h>
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4038 grep -v '^
*+' conftest.er1 >conftest.err
4040 cat conftest.err >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } >/dev/null && {
4043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4044 test ! -s conftest.err
4046 # We can compile using X headers with no special include directory.
4049 echo "$as_me: failed program was:" >&5
4050 sed 's
/^
/|
/' conftest.$ac_ext >&5
4052 for ac_dir in $ac_x_header_dirs; do
4053 if test -r "$ac_dir/X11/Xlib.h"; then
4054 ac_x_includes=$ac_dir
4060 rm -f conftest.err conftest.$ac_ext
4061 fi # $ac_x_includes = no
4063 if test "$ac_x_libraries" = no; then
4064 # Check for the libraries.
4065 # See if we find them without any special options.
4066 # Don't add to
$LIBS permanently.
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 #include <X11/Xlib.h>
4084 rm -f conftest.
$ac_objext conftest
$ac_exeext
4085 if { (ac_try
="$ac_link"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_link") 2>conftest.er1
4093 grep -v '^ *+' conftest.er1 >conftest.err
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest$ac_exeext &&
4101 $as_test_x conftest$ac_exeext; then
4103 # We can link X programs with no special library path.
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4110 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4112 # Don't even attempt the hair of trying to link an X program!
4113 for ac_extension in a so sl; do
4114 if test -r "$ac_dir/libX11.$ac_extension"; then
4115 ac_x_libraries=$ac_dir
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123 conftest$ac_exeext conftest.$ac_ext
4124 fi # $ac_x_libraries = no
4126 case $ac_x_includes,$ac_x_libraries in #(
4128 # Didn't find X, or a directory has "'" in its name.
4129 ac_cv_have_x="have_x=no";; #(
4131 # Record where we found X for the cache.
4132 ac_cv_have_x="have_x=yes\
4133 ac_x_includes='$ac_x_includes'\
4134 ac_x_libraries='$ac_x_libraries'"
4140 eval "$ac_cv_have_x"
4143 if test "$have_x" != yes; then
4144 { echo "$as_me:$LINENO: result: $have_x" >&5
4145 echo "${ECHO_T}$have_x" >&6; }
4148 # If each of the values was on the command line, it overrides each guess.
4149 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4150 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4151 # Update the cache value to reflect the command line values.
4152 ac_cv_have_x="have_x=yes\
4153 ac_x_includes='$x_includes'\
4154 ac_x_libraries='$x_libraries'"
4155 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4156 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4159 if test "$no_x" = yes; then
4160 # Not all programs may use this symbol, but it does not hurt to define it.
4162 cat >>confdefs.h <<\_ACEOF
4163 #define X_DISPLAY_MISSING 1
4166 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4168 if test -n "$x_includes"; then
4169 X_CFLAGS="$X_CFLAGS -I$x_includes"
4172 # It would also be nice to do this for all -L options, not just this one.
4173 if test -n "$x_libraries"; then
4174 X_LIBS="$X_LIBS -L$x_libraries"
4175 # For Solaris; some versions of Sun CC require a space after -R and
4176 # others require no space. Words are not sufficient . . . .
4177 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4178 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4179 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4180 ac_xsave_c_werror_flag=$ac_c_werror_flag
4181 ac_c_werror_flag=yes
4182 cat >conftest.$ac_ext <<_ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4201 *) ac_try_echo
=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4206 grep -v '^ *+' conftest.er1
>conftest.err
4208 cat conftest.err
>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } && {
4211 test -z "$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 } && test -s conftest
$ac_exeext &&
4214 $as_test_x conftest
$ac_exeext; then
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217 X_LIBS
="$X_LIBS -R$x_libraries"
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.
$ac_ext >&5
4222 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4223 cat >conftest.
$ac_ext <<_ACEOF
4226 cat confdefs.h
>>conftest.
$ac_ext
4227 cat >>conftest.
$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4238 rm -f conftest.
$ac_objext conftest
$ac_exeext
4239 if { (ac_try
="$ac_link"
4241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_link") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest$ac_exeext &&
4255 $as_test_x conftest$ac_exeext; then
4256 { echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6; }
4258 X_LIBS="$X_LIBS -R $x_libraries"
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 { echo "$as_me:$LINENO: result: neither works" >&5
4264 echo "${ECHO_T}neither works" >&6; }
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268 conftest$ac_exeext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_xsave_c_werror_flag
4277 # Check for system-dependent libraries X programs must link with.
4278 # Do this before checking for the system-independent R6 libraries
4279 # (-lICE), since we may need -lsocket or whatever for X linking.
4281 if test "$ISC" = yes; then
4282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4284 # Martyn Johnson says this is needed for Ultrix, if the X
4285 # libraries were built with DECnet support. And Karl Berry says
4286 # the Alpha needs dnet_stub (dnet does not exist).
4287 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4288 cat >conftest.$ac_ext <<_ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4295 /* Override any GCC internal prototype to avoid an error.
4296 Use char because int might match the return type of a GCC
4297 builtin and then its argument prototype would still apply. */
4301 char XOpenDisplay ();
4305 return XOpenDisplay ();
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4314 *) ac_try_echo
=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4319 grep -v '^ *+' conftest.er1
>conftest.err
4321 cat conftest.err
>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest
$ac_exeext &&
4327 $as_test_x conftest
$ac_exeext; then
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.
$ac_ext >&5
4333 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4334 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4335 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 ac_check_lib_save_LIBS
=$LIBS
4340 cat >conftest.
$ac_ext <<_ACEOF
4343 cat confdefs.h
>>conftest.
$ac_ext
4344 cat >>conftest.
$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4347 /* Override any GCC internal prototype to avoid an error.
4348 Use char because int might match the return type of a GCC
4349 builtin and then its argument prototype would still apply. */
4357 return dnet_ntoa ();
4362 rm -f conftest.
$ac_objext conftest
$ac_exeext
4363 if { (ac_try
="$ac_link"
4365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4371 grep -v '^ *+' conftest.er1 >conftest.err
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_lib_dnet_dnet_ntoa=yes
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 ac_cv_lib_dnet_dnet_ntoa=no
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389 conftest$ac_exeext conftest.$ac_ext
4390 LIBS=$ac_check_lib_save_LIBS
4392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4393 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4394 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4395 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4398 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4399 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4400 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4401 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 ac_check_lib_save_LIBS=$LIBS
4405 LIBS="-ldnet_stub $LIBS"
4406 cat >conftest.$ac_ext <<_ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4413 /* Override any GCC internal prototype to avoid an error.
4414 Use char because int might match the return type of a GCC
4415 builtin and then its argument prototype would still apply. */
4423 return dnet_ntoa ();
4428 rm -f conftest.$ac_objext conftest$ac_exeext
4429 if { (ac_try="$ac_link"
4431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4432 *) ac_try_echo
=$ac_try;;
4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435 (eval "$ac_link") 2>conftest.er1
4437 grep -v '^ *+' conftest.er1
>conftest.err
4439 cat conftest.err
>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && {
4442 test -z "$ac_c_werror_flag" ||
4443 test ! -s conftest.err
4444 } && test -s conftest
$ac_exeext &&
4445 $as_test_x conftest
$ac_exeext; then
4446 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.
$ac_ext >&5
4451 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4454 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4455 conftest
$ac_exeext conftest.
$ac_ext
4456 LIBS
=$ac_check_lib_save_LIBS
4458 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4459 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4460 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4461 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4468 conftest
$ac_exeext conftest.
$ac_ext
4469 LIBS
="$ac_xsave_LIBS"
4471 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4472 # to get the SysV transport functions.
4473 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4475 # The nsl library prevents programs from opening the X display
4476 # on Irix 5.2, according to T.E. Dickey.
4477 # The functions gethostbyname, getservbyname, and inet_addr are
4478 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4479 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4481 if test "${ac_cv_func_gethostbyname+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 cat >conftest.
$ac_ext <<_ACEOF
4487 cat confdefs.h
>>conftest.
$ac_ext
4488 cat >>conftest.
$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4492 #define gethostbyname innocuous_gethostbyname
4494 /* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char gethostbyname (); below.
4496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 <limits.h> exists even on freestanding compilers. */
4500 # include <limits.h>
4502 # include <assert.h>
4505 #undef gethostbyname
4507 /* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */
4513 char gethostbyname ();
4514 /* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */
4517 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4524 return gethostbyname ();
4529 rm -f conftest.
$ac_objext conftest
$ac_exeext
4530 if { (ac_try
="$ac_link"
4532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_link") 2>conftest.er1
4538 grep -v '^ *+' conftest.er1 >conftest.err
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest$ac_exeext &&
4546 $as_test_x conftest$ac_exeext; then
4547 ac_cv_func_gethostbyname=yes
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 ac_cv_func_gethostbyname=no
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556 conftest$ac_exeext conftest.$ac_ext
4558 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4559 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4561 if test $ac_cv_func_gethostbyname = no; then
4562 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4563 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 ac_check_lib_save_LIBS=$LIBS
4569 cat >conftest.$ac_ext <<_ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4576 /* Override any GCC internal prototype to avoid an error.
4577 Use char because int might match the return type of a GCC
4578 builtin and then its argument prototype would still apply. */
4582 char gethostbyname ();
4586 return gethostbyname ();
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (ac_try="$ac_link"
4594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4595 *) ac_try_echo
=$ac_try;;
4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4598 (eval "$ac_link") 2>conftest.er1
4600 grep -v '^ *+' conftest.er1
>conftest.err
4602 cat conftest.err
>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } && {
4605 test -z "$ac_c_werror_flag" ||
4606 test ! -s conftest.err
4607 } && test -s conftest
$ac_exeext &&
4608 $as_test_x conftest
$ac_exeext; then
4609 ac_cv_lib_nsl_gethostbyname
=yes
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 ac_cv_lib_nsl_gethostbyname
=no
4617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4618 conftest
$ac_exeext conftest.
$ac_ext
4619 LIBS
=$ac_check_lib_save_LIBS
4621 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4622 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4623 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4624 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4627 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4628 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4629 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4630 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 ac_check_lib_save_LIBS
=$LIBS
4635 cat >conftest.
$ac_ext <<_ACEOF
4638 cat confdefs.h
>>conftest.
$ac_ext
4639 cat >>conftest.
$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4648 char gethostbyname ();
4652 return gethostbyname ();
4657 rm -f conftest.
$ac_objext conftest
$ac_exeext
4658 if { (ac_try
="$ac_link"
4660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_lib_bsd_gethostbyname=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_lib_bsd_gethostbyname=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4685 LIBS=$ac_check_lib_save_LIBS
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4689 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4696 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4697 # socket/setsockopt and other routines are undefined under SCO ODT
4698 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4699 # on later versions), says Simon Leinen: it contains gethostby*
4700 # variants that don't use the name server (or something). -lsocket
4701 # must be given before -lnsl if both are needed. We assume that
4702 # if connect needs -lnsl, so does gethostbyname.
4703 { echo "$as_me:$LINENO: checking for connect" >&5
4704 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4705 if test "${ac_cv_func_connect+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 cat >conftest.$ac_ext <<_ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4716 #define connect innocuous_connect
4718 /* System header to define __stub macros and hopefully few prototypes,
4719 which can conflict with char connect (); below.
4720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4721 <limits.h> exists even on freestanding compilers. */
4724 # include <limits.h>
4726 # include <assert.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. */
4738 /* The GNU C library defines this for functions which it implements
4739 to always fail with ENOSYS. Some functions are actually named
4740 something starting with __ and the normal name is an alias. */
4741 #if defined __stub_connect || defined __stub___connect
4753 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (ac_try="$ac_link"
4756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4757 *) ac_try_echo
=$ac_try;;
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760 (eval "$ac_link") 2>conftest.er1
4762 grep -v '^ *+' conftest.er1
>conftest.err
4764 cat conftest.err
>&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest
$ac_exeext &&
4770 $as_test_x conftest
$ac_exeext; then
4771 ac_cv_func_connect
=yes
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.
$ac_ext >&5
4776 ac_cv_func_connect
=no
4779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4780 conftest
$ac_exeext conftest.
$ac_ext
4782 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4783 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4785 if test $ac_cv_func_connect = no
; then
4786 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4787 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4788 if test "${ac_cv_lib_socket_connect+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 ac_check_lib_save_LIBS
=$LIBS
4792 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4793 cat >conftest.
$ac_ext <<_ACEOF
4796 cat confdefs.h
>>conftest.
$ac_ext
4797 cat >>conftest.
$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any GCC internal prototype to avoid an error.
4801 Use char because int might match the return type of a GCC
4802 builtin and then its argument prototype would still apply. */
4815 rm -f conftest.
$ac_objext conftest
$ac_exeext
4816 if { (ac_try
="$ac_link"
4818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4824 grep -v '^ *+' conftest.er1 >conftest.err
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_lib_socket_connect=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_lib_socket_connect=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4846 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4847 if test $ac_cv_lib_socket_connect = yes; then
4848 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4853 # Guillermo Gomez says -lposix is necessary on A/UX.
4854 { echo "$as_me:$LINENO: checking for remove" >&5
4855 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4856 if test "${ac_cv_func_remove+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 cat >conftest.$ac_ext <<_ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4867 #define remove innocuous_remove
4869 /* System header to define __stub macros and hopefully few prototypes,
4870 which can conflict with char remove (); below.
4871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 <limits.h> exists even on freestanding compilers. */
4875 # include <limits.h>
4877 # include <assert.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. */
4889 /* The GNU C library defines this for functions which it implements
4890 to always fail with ENOSYS. Some functions are actually named
4891 something starting with __ and the normal name is an alias. */
4892 #if defined __stub_remove || defined __stub___remove
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (ac_try="$ac_link"
4907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4908 *) ac_try_echo
=$ac_try;;
4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911 (eval "$ac_link") 2>conftest.er1
4913 grep -v '^ *+' conftest.er1
>conftest.err
4915 cat conftest.err
>&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } && {
4918 test -z "$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4920 } && test -s conftest
$ac_exeext &&
4921 $as_test_x conftest
$ac_exeext; then
4922 ac_cv_func_remove
=yes
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4927 ac_cv_func_remove
=no
4930 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4931 conftest
$ac_exeext conftest.
$ac_ext
4933 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4934 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4936 if test $ac_cv_func_remove = no
; then
4937 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4938 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4939 if test "${ac_cv_lib_posix_remove+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 ac_check_lib_save_LIBS
=$LIBS
4943 LIBS
="-lposix $LIBS"
4944 cat >conftest.
$ac_ext <<_ACEOF
4947 cat confdefs.h
>>conftest.
$ac_ext
4948 cat >>conftest.
$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4951 /* Override any GCC internal prototype to avoid an error.
4952 Use char because int might match the return type of a GCC
4953 builtin and then its argument prototype would still apply. */
4966 rm -f conftest.
$ac_objext conftest
$ac_exeext
4967 if { (ac_try
="$ac_link"
4969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_link") 2>conftest.er1
4975 grep -v '^ *+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest$ac_exeext &&
4983 $as_test_x conftest$ac_exeext; then
4984 ac_cv_lib_posix_remove=yes
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_lib_posix_remove=no
4992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4993 conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4996 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4998 if test $ac_cv_lib_posix_remove = yes; then
4999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5005 { echo "$as_me:$LINENO: checking for shmat" >&5
5006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5007 if test "${ac_cv_func_shmat+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 cat >conftest.$ac_ext <<_ACEOF
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5018 #define shmat innocuous_shmat
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char shmat (); below.
5022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 <limits.h> exists even on freestanding compilers. */
5026 # include <limits.h>
5028 # include <assert.h>
5033 /* Override any GCC internal prototype to avoid an error.
5034 Use char because int might match the return type of a GCC
5035 builtin and then its argument prototype would still apply. */
5040 /* The GNU C library defines this for functions which it implements
5041 to always fail with ENOSYS. Some functions are actually named
5042 something starting with __ and the normal name is an alias. */
5043 #if defined __stub_shmat || defined __stub___shmat
5055 rm -f conftest.$ac_objext conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5059 *) ac_try_echo
=$ac_try;;
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062 (eval "$ac_link") 2>conftest.er1
5064 grep -v '^ *+' conftest.er1
>conftest.err
5066 cat conftest.err
>&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } && {
5069 test -z "$ac_c_werror_flag" ||
5070 test ! -s conftest.err
5071 } && test -s conftest
$ac_exeext &&
5072 $as_test_x conftest
$ac_exeext; then
5073 ac_cv_func_shmat
=yes
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.
$ac_ext >&5
5081 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5082 conftest
$ac_exeext conftest.
$ac_ext
5084 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5085 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5087 if test $ac_cv_func_shmat = no
; then
5088 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 ac_check_lib_save_LIBS
=$LIBS
5095 cat >conftest.
$ac_ext <<_ACEOF
5098 cat confdefs.h
>>conftest.
$ac_ext
5099 cat >>conftest.
$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5102 /* Override any GCC internal prototype to avoid an error.
5103 Use char because int might match the return type of a GCC
5104 builtin and then its argument prototype would still apply. */
5117 rm -f conftest.
$ac_objext conftest
$ac_exeext
5118 if { (ac_try
="$ac_link"
5120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_link") 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest$ac_exeext &&
5134 $as_test_x conftest$ac_exeext; then
5135 ac_cv_lib_ipc_shmat=yes
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 ac_cv_lib_ipc_shmat=no
5143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5144 conftest$ac_exeext conftest.$ac_ext
5145 LIBS=$ac_check_lib_save_LIBS
5147 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5148 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5149 if test $ac_cv_lib_ipc_shmat = yes; then
5150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5156 # Check for libraries that X11R6 Xt/Xaw programs need.
5157 ac_save_LDFLAGS=$LDFLAGS
5158 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5159 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5160 # check for ICE first), but we must link in the order -lSM -lICE or
5161 # we get undefined symbols. So assume we have SM if we have ICE.
5162 # These have to be linked with before -lX11, unlike the other
5163 # libraries we check for below, so use a different variable.
5164 # John Interrante, Karl Berry
5165 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5166 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5167 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 ac_check_lib_save_LIBS=$LIBS
5171 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5172 cat >conftest.$ac_ext <<_ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5179 /* Override any GCC internal prototype to avoid an error.
5180 Use char because int might match the return type of a GCC
5181 builtin and then its argument prototype would still apply. */
5185 char IceConnectionNumber ();
5189 return IceConnectionNumber ();
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5198 *) ac_try_echo
=$ac_try;;
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5203 grep -v '^ *+' conftest.er1
>conftest.err
5205 cat conftest.err
>&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } && {
5208 test -z "$ac_c_werror_flag" ||
5209 test ! -s conftest.err
5210 } && test -s conftest
$ac_exeext &&
5211 $as_test_x conftest
$ac_exeext; then
5212 ac_cv_lib_ICE_IceConnectionNumber
=yes
5214 echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.
$ac_ext >&5
5217 ac_cv_lib_ICE_IceConnectionNumber
=no
5220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5221 conftest
$ac_exeext conftest.
$ac_ext
5222 LIBS
=$ac_check_lib_save_LIBS
5224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5225 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5226 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5227 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5230 LDFLAGS
=$ac_save_LDFLAGS
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy
$ac_prog; ac_word
=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_FLEX+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_FLEX
="$ac_prog"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 FLEX
=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { echo "$as_me:$LINENO: result: $FLEX" >&5
5267 echo "${ECHO_T}$FLEX" >&6; }
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5274 test -n "$FLEX" && break
5276 test -n "$FLEX" || FLEX
="none"
5278 if test "$FLEX" = "none"
5280 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5281 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5282 { (exit 1); exit 1; }; }
5285 for ac_prog
in bison
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy
$ac_prog; ac_word
=$2
5289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291 if test "${ac_cv_prog_BISON+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 if test -n "$BISON"; then
5295 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_BISON
="$ac_prog"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 BISON
=$ac_cv_prog_BISON
5315 if test -n "$BISON"; then
5316 { echo "$as_me:$LINENO: result: $BISON" >&5
5317 echo "${ECHO_T}$BISON" >&6; }
5319 { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5324 test -n "$BISON" && break
5326 test -n "$BISON" || BISON
="none"
5328 if test "$BISON" = "none"
5330 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5331 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5332 { (exit 1); exit 1; }; }
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog
in gas as
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_AS+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$AS"; then
5346 ac_cv_prog_AS
="$AS" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 if test -n "$AS"; then
5367 { echo "$as_me:$LINENO: result: $AS" >&5
5368 echo "${ECHO_T}$AS" >&6; }
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5375 test -n "$AS" && break
5378 if test -z "$AS"; then
5380 for ac_prog
in gas as
5382 # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy
$ac_prog; ac_word
=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 if test -n "$ac_ct_AS"; then
5390 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir
=.
5397 for ac_exec_ext
in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_ac_ct_AS
="$ac_prog"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5410 if test -n "$ac_ct_AS"; then
5411 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5412 echo "${ECHO_T}$ac_ct_AS" >&6; }
5414 { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5419 test -n "$ac_ct_AS" && break
5422 if test "x$ac_ct_AS" = x
; then
5425 case $cross_compiling:$ac_tool_warned in
5427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet. If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&5
5430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5431 whose name does not start with the host triplet. If you think this
5432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5433 ac_tool_warned
=yes ;;
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5441 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_LD+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 if test -n "$LD"; then
5448 ac_cv_prog_LD
="$LD" # Let the user override the test.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 if test -n "$LD"; then
5469 { echo "$as_me:$LINENO: result: $LD" >&5
5470 echo "${ECHO_T}$LD" >&6; }
5472 { echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6; }
5478 if test -z "$ac_cv_prog_LD"; then
5480 # Extract the first word of "ld", so it can be a program name with args.
5481 set dummy ld
; ac_word
=$2
5482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5484 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 if test -n "$ac_ct_LD"; then
5488 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 for ac_exec_ext
in '' $ac_executable_extensions; do
5496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 ac_cv_prog_ac_ct_LD
="ld"
5498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5508 if test -n "$ac_ct_LD"; then
5509 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5510 echo "${ECHO_T}$ac_ct_LD" >&6; }
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5516 if test "x$ac_ct_LD" = x
; then
5519 case $cross_compiling:$ac_tool_warned in
5521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5522 whose name does not start with the host triplet. If you think this
5523 configuration is useful to you, please write to autoconf@gnu.org." >&5
5524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5525 whose name does not start with the host triplet. If you think this
5526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5527 ac_tool_warned
=yes ;;
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5537 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_prog_AR+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 if test -n "$AR"; then
5544 ac_cv_prog_AR
="$AR" # Let the user override the test.
5546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir
=.
5551 for ac_exec_ext
in '' $ac_executable_extensions; do
5552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 if test -n "$AR"; then
5565 { echo "$as_me:$LINENO: result: $AR" >&5
5566 echo "${ECHO_T}$AR" >&6; }
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5574 if test -z "$ac_cv_prog_AR"; then
5576 # Extract the first word of "ar", so it can be a program name with args.
5577 set dummy
ar; ac_word
=$2
5578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 if test -n "$ac_ct_AR"; then
5584 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir
=.
5591 for ac_exec_ext
in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_ac_ct_AR
="ar"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5606 echo "${ECHO_T}$ac_ct_AR" >&6; }
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5612 if test "x$ac_ct_AR" = x
; then
5615 case $cross_compiling:$ac_tool_warned in
5617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5618 whose name does not start with the host triplet. If you think this
5619 configuration is useful to you, please write to autoconf@gnu.org." >&5
5620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet. If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5623 ac_tool_warned
=yes ;;
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 if test -n "$RANLIB"; then
5642 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 RANLIB
=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673 ac_ct_RANLIB
=$RANLIB
5674 # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib
; ac_word
=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 if test -n "$ac_ct_RANLIB"; then
5682 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5710 if test "x$ac_ct_RANLIB" = x
; then
5713 case $cross_compiling:$ac_tool_warned in
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned
=yes ;;
5723 RANLIB
=$ac_ct_RANLIB
5726 RANLIB
="$ac_cv_prog_RANLIB"
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5731 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_STRIP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 if test -n "$STRIP"; then
5738 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 STRIP
=$ac_cv_prog_STRIP
5758 if test -n "$STRIP"; then
5759 { echo "$as_me:$LINENO: result: $STRIP" >&5
5760 echo "${ECHO_T}$STRIP" >&6; }
5762 { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5768 if test -z "$ac_cv_prog_STRIP"; then
5770 # Extract the first word of "strip", so it can be a program name with args.
5771 set dummy strip
; ac_word
=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 if test -n "$ac_ct_STRIP"; then
5778 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir
=.
5785 for ac_exec_ext
in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_ac_ct_STRIP
="strip"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5798 if test -n "$ac_ct_STRIP"; then
5799 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5800 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5802 { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5806 if test "x$ac_ct_STRIP" = x
; then
5809 case $cross_compiling:$ac_tool_warned in
5811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5812 whose name does not start with the host triplet. If you think this
5813 configuration is useful to you, please write to autoconf@gnu.org." >&5
5814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5815 whose name does not start with the host triplet. If you think this
5816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5817 ac_tool_warned
=yes ;;
5822 STRIP
="$ac_cv_prog_STRIP"
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5827 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_WINDRES+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 if test -n "$WINDRES"; then
5834 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 WINDRES
=$ac_cv_prog_WINDRES
5854 if test -n "$WINDRES"; then
5855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5856 echo "${ECHO_T}$WINDRES" >&6; }
5858 { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5864 if test -z "$ac_cv_prog_WINDRES"; then
5865 ac_ct_WINDRES
=$WINDRES
5866 # Extract the first word of "windres", so it can be a program name with args.
5867 set dummy windres
; ac_word
=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 if test -n "$ac_ct_WINDRES"; then
5874 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_WINDRES
="windres"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5894 if test -n "$ac_ct_WINDRES"; then
5895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5902 if test "x$ac_ct_WINDRES" = x
; then
5905 case $cross_compiling:$ac_tool_warned in
5907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5908 whose name does not start with the host triplet. If you think this
5909 configuration is useful to you, please write to autoconf@gnu.org." >&5
5910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5911 whose name does not start with the host triplet. If you think this
5912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5913 ac_tool_warned
=yes ;;
5915 WINDRES
=$ac_ct_WINDRES
5918 WINDRES
="$ac_cv_prog_WINDRES"
5921 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5922 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5924 if test "$LN_S" = "ln -s"; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5928 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5929 echo "${ECHO_T}no, using $LN_S" >&6; }
5932 { echo "$as_me:$LINENO: checking whether ln works" >&5
5933 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5934 rm -f conf$$ conf$$.
file
5936 if ln conf$$.
file conf$$
2>/dev
/null
; then
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5944 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5945 echo "${ECHO_T}no, using $LN" >&6; }
5947 rm -f conf$$ conf$$.
file
5948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 # Extract the first word of "grep ggrep" to use in msg output
5954 if test -z "$GREP"; then
5955 set dummy
grep ggrep
; ac_prog_name
=$2
5956 if test "${ac_cv_path_GREP+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 ac_path_GREP_found
=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5962 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5965 test -z "$as_dir" && as_dir
=.
5966 for ac_prog
in grep ggrep
; do
5967 for ac_exec_ext
in '' $ac_executable_extensions; do
5968 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5970 # Check for GNU ac_path_GREP and select it if it is found.
5971 # Check for GNU $ac_path_GREP
5972 case `"$ac_path_GREP" --version 2>&1` in
5974 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5980 cat "conftest.in" "conftest.in" >"conftest.tmp"
5981 mv "conftest.tmp" "conftest.in"
5982 cp "conftest.in" "conftest.nl"
5983 echo 'GREP' >> "conftest.nl"
5984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5985 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5986 ac_count
=`expr $ac_count + 1`
5987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5988 # Best one so far, save it but keep looking for a better one
5989 ac_cv_path_GREP
="$ac_path_GREP"
5990 ac_path_GREP_max
=$ac_count
5992 # 10*(2^10) chars as input seems more than enough
5993 test $ac_count -gt 10 && break
5995 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5999 $ac_path_GREP_found && break 3
6009 GREP
="$ac_cv_path_GREP"
6010 if test -z "$GREP"; then
6011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6013 { (exit 1); exit 1; }; }
6017 ac_cv_path_GREP
=$GREP
6022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6024 GREP
="$ac_cv_path_GREP"
6027 { echo "$as_me:$LINENO: checking for egrep" >&5
6028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6033 then ac_cv_path_EGREP
="$GREP -E"
6035 # Extract the first word of "egrep" to use in msg output
6036 if test -z "$EGREP"; then
6037 set dummy
egrep; ac_prog_name
=$2
6038 if test "${ac_cv_path_EGREP+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 ac_path_EGREP_found
=false
6042 # Loop through the user's path and test for each of PROGNAME-LIST
6043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6044 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6047 test -z "$as_dir" && as_dir
=.
6048 for ac_prog
in egrep; do
6049 for ac_exec_ext
in '' $ac_executable_extensions; do
6050 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6052 # Check for GNU ac_path_EGREP and select it if it is found.
6053 # Check for GNU $ac_path_EGREP
6054 case `"$ac_path_EGREP" --version 2>&1` in
6056 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6062 cat "conftest.in" "conftest.in" >"conftest.tmp"
6063 mv "conftest.tmp" "conftest.in"
6064 cp "conftest.in" "conftest.nl"
6065 echo 'EGREP' >> "conftest.nl"
6066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6067 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6068 ac_count
=`expr $ac_count + 1`
6069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6070 # Best one so far, save it but keep looking for a better one
6071 ac_cv_path_EGREP
="$ac_path_EGREP"
6072 ac_path_EGREP_max
=$ac_count
6074 # 10*(2^10) chars as input seems more than enough
6075 test $ac_count -gt 10 && break
6077 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6081 $ac_path_EGREP_found && break 3
6091 EGREP
="$ac_cv_path_EGREP"
6092 if test -z "$EGREP"; then
6093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6095 { (exit 1); exit 1; }; }
6099 ac_cv_path_EGREP
=$EGREP
6105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6107 EGREP
="$ac_cv_path_EGREP"
6110 # Extract the first word of "ldconfig", so it can be a program name with args.
6111 set dummy ldconfig
; ac_word
=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6123 for as_dir
in /sbin
/usr
/sbin
$PATH
6126 test -z "$as_dir" && as_dir
=.
6127 for ac_exec_ext
in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6141 LDCONFIG
=$ac_cv_path_LDCONFIG
6142 if test -n "$LDCONFIG"; then
6143 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6144 echo "${ECHO_T}$LDCONFIG" >&6; }
6146 { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6151 # Find a good install program. We prefer a C program (faster),
6152 # so one script is as good as another. But avoid the broken or
6153 # incompatible versions:
6154 # SysV /etc/install, /usr/sbin/install
6155 # SunOS /usr/etc/install
6156 # IRIX /sbin/install
6158 # AmigaOS /C/install, which installs bootblocks on floppy discs
6159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6162 # OS/2's system install, which has a completely different semantic
6163 # ./install, which can be erroneously created by make from ./install.sh.
6164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6166 if test -z "$INSTALL"; then
6167 if test "${ac_cv_path_install+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir
=.
6175 # Account for people who put trailing slashes in PATH elements.
6177 .
/ | .
// |
/cC
/* | \
6178 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6179 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6182 # OSF1 and SCO ODT 3.0 have their own names for install.
6183 # Don't use installbsd from OSF since it installs stuff as root
6185 for ac_prog
in ginstall scoinst
install; do
6186 for ac_exec_ext
in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6188 if test $ac_prog = install &&
6189 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6190 # AIX install. It has an incompatible calling convention.
6192 elif test $ac_prog = install &&
6193 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6194 # program-specific install script used by HP pwplus--don't use.
6197 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6210 if test "${ac_cv_path_install+set}" = set; then
6211 INSTALL
=$ac_cv_path_install
6213 # As a last resort, use the slow shell script. Don't cache a
6214 # value for INSTALL within a source directory, because that will
6215 # break other packages using the cache if that directory is
6216 # removed, or if the value is a relative name.
6217 INSTALL
=$ac_install_sh
6220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6221 echo "${ECHO_T}$INSTALL" >&6; }
6223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6224 # It thinks the first close brace ends the variable substitution.
6225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6229 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6232 [\\/$
]* | ?
:[\\/]* ) ;;
6233 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6236 for ac_prog
in lclint lint
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy
$ac_prog; ac_word
=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_LINT+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 if test -n "$LINT"; then
6246 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir
=.
6253 for ac_exec_ext
in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_LINT
="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 LINT
=$ac_cv_prog_LINT
6266 if test -n "$LINT"; then
6267 { echo "$as_me:$LINENO: result: $LINT" >&5
6268 echo "${ECHO_T}$LINT" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 test -n "$LINT" && break
6278 if test "$LINT" = "lint"
6280 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6285 for ac_prog
in fontforge
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy
$ac_prog; ac_word
=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 if test -n "$FONTFORGE"; then
6295 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir
=.
6302 for ac_exec_ext
in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_FONTFORGE
="$ac_prog"
6305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 FONTFORGE
=$ac_cv_prog_FONTFORGE
6315 if test -n "$FONTFORGE"; then
6316 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6317 echo "${ECHO_T}$FONTFORGE" >&6; }
6319 { echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6; }
6324 test -n "$FONTFORGE" && break
6326 test -n "$FONTFORGE" || FONTFORGE
="false"
6328 for ac_prog
in pkg-config
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy
$ac_prog; ac_word
=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 if test -n "$PKG_CONFIG"; then
6338 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir
=.
6345 for ac_exec_ext
in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6360 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6362 { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6367 test -n "$PKG_CONFIG" && break
6369 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6373 # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy
$ac_prog; ac_word
=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_RSVG+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 if test -n "$RSVG"; then
6381 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir
=.
6388 for ac_exec_ext
in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_RSVG
="$ac_prog"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 RSVG
=$ac_cv_prog_RSVG
6401 if test -n "$RSVG"; then
6402 { echo "$as_me:$LINENO: result: $RSVG" >&5
6403 echo "${ECHO_T}$RSVG" >&6; }
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6410 test -n "$RSVG" && break
6412 test -n "$RSVG" || RSVG
="false"
6414 for ac_prog
in icotool
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy
$ac_prog; ac_word
=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 if test -n "$ICOTOOL"; then
6424 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir
=.
6431 for ac_exec_ext
in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ICOTOOL
="$ac_prog"
6434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 ICOTOOL
=$ac_cv_prog_ICOTOOL
6444 if test -n "$ICOTOOL"; then
6445 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6446 echo "${ECHO_T}$ICOTOOL" >&6; }
6448 { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6453 test -n "$ICOTOOL" && break
6455 test -n "$ICOTOOL" || ICOTOOL
="false"
6458 if test "${enable_maintainer_mode+set}" = set
6460 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6461 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6462 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6467 # Extract the first word of "prelink", so it can be a program name with args.
6468 set dummy prelink
; ac_word
=$2
6469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6471 if test "${ac_cv_path_PRELINK+set}" = set; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 for as_dir
in /sbin
/usr
/sbin
$PATH
6483 test -z "$as_dir" && as_dir
=.
6484 for ac_exec_ext
in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6498 PRELINK
=$ac_cv_path_PRELINK
6499 if test -n "$PRELINK"; then
6500 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6501 echo "${ECHO_T}$PRELINK" >&6; }
6503 { echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6; }
6513 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6514 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6515 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 ac_check_lib_save_LIBS
=$LIBS
6520 cat >conftest.
$ac_ext <<_ACEOF
6523 cat confdefs.h
>>conftest.
$ac_ext
6524 cat >>conftest.
$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6527 /* Override any GCC internal prototype to avoid an error.
6528 Use char because int might match the return type of a GCC
6529 builtin and then its argument prototype would still apply. */
6533 char i386_set_ldt ();
6537 return i386_set_ldt ();
6542 rm -f conftest.
$ac_objext conftest
$ac_exeext
6543 if { (ac_try
="$ac_link"
6545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_link") 2>conftest.er1
6551 grep -v '^ *+' conftest.er1 >conftest.err
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && {
6556 test -z "$ac_c_werror_flag" ||
6557 test ! -s conftest.err
6558 } && test -s conftest$ac_exeext &&
6559 $as_test_x conftest$ac_exeext; then
6560 ac_cv_lib_i386_i386_set_ldt=yes
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6565 ac_cv_lib_i386_i386_set_ldt=no
6568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6569 conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6573 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6574 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6575 cat >>confdefs.h <<_ACEOF
6576 #define HAVE_LIBI386 1
6584 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6585 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6586 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lossaudio $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any GCC internal prototype to avoid an error.
6599 Use char because int might match the return type of a GCC
6600 builtin and then its argument prototype would still apply. */
6608 return _oss_ioctl ();
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (ac_try="$ac_link"
6616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6617 *) ac_try_echo
=$ac_try;;
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620 (eval "$ac_link") 2>conftest.er1
6622 grep -v '^ *+' conftest.er1
>conftest.err
6624 cat conftest.err
>&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && {
6627 test -z "$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6629 } && test -s conftest
$ac_exeext &&
6630 $as_test_x conftest
$ac_exeext; then
6631 ac_cv_lib_ossaudio__oss_ioctl
=yes
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.
$ac_ext >&5
6636 ac_cv_lib_ossaudio__oss_ioctl
=no
6639 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6640 conftest
$ac_exeext conftest.
$ac_ext
6641 LIBS
=$ac_check_lib_save_LIBS
6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6645 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6646 cat >>confdefs.h
<<_ACEOF
6647 #define HAVE_LIBOSSAUDIO 1
6650 LIBS
="-lossaudio $LIBS"
6654 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6655 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6656 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 ac_check_lib_save_LIBS
=$LIBS
6660 LIBS
="-lpthread $LIBS"
6661 cat >conftest.
$ac_ext <<_ACEOF
6664 cat confdefs.h
>>conftest.
$ac_ext
6665 cat >>conftest.
$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6668 /* Override any GCC internal prototype to avoid an error.
6669 Use char because int might match the return type of a GCC
6670 builtin and then its argument prototype would still apply. */
6674 char pthread_create ();
6678 return pthread_create ();
6683 rm -f conftest.
$ac_objext conftest
$ac_exeext
6684 if { (ac_try
="$ac_link"
6686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_link") 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest$ac_exeext &&
6700 $as_test_x conftest$ac_exeext; then
6701 ac_cv_lib_pthread_pthread_create=yes
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 ac_cv_lib_pthread_pthread_create=no
6709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710 conftest$ac_exeext conftest.$ac_ext
6711 LIBS=$ac_check_lib_save_LIBS
6713 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6714 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6715 if test $ac_cv_lib_pthread_pthread_create = yes; then
6716 LIBPTHREAD="-lpthread"
6735 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6737 if test "${ac_cv_header_stdc+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6763 *) ac_try_echo
=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.
$ac_objext; then
6776 ac_cv_header_stdc
=yes
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6781 ac_cv_header_stdc
=no
6784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6786 if test $ac_cv_header_stdc = yes; then
6787 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6788 cat >conftest.
$ac_ext <<_ACEOF
6791 cat confdefs.h
>>conftest.
$ac_ext
6792 cat >>conftest.
$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6798 $EGREP "memchr" >/dev
/null
2>&1; then
6801 ac_cv_header_stdc
=no
6807 if test $ac_cv_header_stdc = yes; then
6808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809 cat >conftest.
$ac_ext <<_ACEOF
6812 cat confdefs.h
>>conftest.
$ac_ext
6813 cat >>conftest.
$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819 $EGREP "free" >/dev
/null
2>&1; then
6822 ac_cv_header_stdc
=no
6828 if test $ac_cv_header_stdc = yes; then
6829 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6830 if test "$cross_compiling" = yes; then
6833 cat >conftest.
$ac_ext <<_ACEOF
6836 cat confdefs.h
>>conftest.
$ac_ext
6837 cat >>conftest.
$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6841 #if ((' ' & 0x0FF) == 0x020)
6842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6845 # define ISLOWER(c) \
6846 (('a' <= (c) && (c) <= 'i') \
6847 || ('j' <= (c) && (c) <= 'r') \
6848 || ('s' <= (c) && (c) <= 'z'))
6849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6857 for (i = 0; i < 256; i++)
6858 if (XOR (islower (i), ISLOWER (i))
6859 || toupper (i) != TOUPPER (i))
6864 rm -f conftest
$ac_exeext
6865 if { (ac_try
="$ac_link"
6867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6868 *) ac_try_echo=$ac_try;;
6870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6871 (eval "$ac_link") 2>&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6875 { (case "(($ac_try" in
6876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6877 *) ac_try_echo
=$ac_try;;
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_try") 2>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6886 echo "$as_me: program exited with status $ac_status" >&5
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.
$ac_ext >&5
6891 ac_cv_header_stdc
=no
6893 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6899 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6901 if test $ac_cv_header_stdc = yes; then
6903 cat >>confdefs.h
<<\_ACEOF
6904 #define STDC_HEADERS 1
6909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6919 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6920 inttypes.h stdint.h unistd.h
6922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6925 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 cat >conftest.
$ac_ext <<_ACEOF
6931 cat confdefs.h
>>conftest.
$ac_ext
6932 cat >>conftest.
$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 $ac_includes_default
6936 #include <$ac_header>
6938 rm -f conftest.
$ac_objext
6939 if { (ac_try
="$ac_compile"
6941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6942 *) ac_try_echo=$ac_try;;
6944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6945 (eval "$ac_compile") 2>conftest.er1
6947 grep -v '^ *+' conftest.er1 >conftest.err
6949 cat conftest.err >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } && {
6952 test -z "$ac_c_werror_flag" ||
6953 test ! -s conftest.err
6954 } && test -s conftest.$ac_objext; then
6955 eval "$as_ac_Header=yes"
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 eval "$as_ac_Header=no"
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 ac_res=`eval echo '${'$as_ac_Header'}'`
6966 { echo "$as_me:$LINENO: result: $ac_res" >&5
6967 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7092 AudioUnit/AudioUnit.h \
7094 CoreAudio/CoreAudio.h \
7095 DiskArbitration/DiskArbitration.h \
7109 fontconfig/fontconfig.h \
7135 machine/soundcard.h \
7140 netinet/in_systm.h \
7207 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7214 ac_res=`eval echo '${'$as_ac_Header'}'`
7215 { echo "$as_me:$LINENO: result: $ac_res" >&5
7216 echo "${ECHO_T}$ac_res" >&6; }
7218 # Is the header compilable?
7219 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7221 cat >conftest.$ac_ext <<_ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 $ac_includes_default
7228 #include <$ac_header>
7230 rm -f conftest.$ac_objext
7231 if { (ac_try="$ac_compile"
7233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7234 *) ac_try_echo
=$ac_try;;
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 (eval "$ac_compile") 2>conftest.er1
7239 grep -v '^ *+' conftest.er1
>conftest.err
7241 cat conftest.err
>&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); } && {
7244 test -z "$ac_c_werror_flag" ||
7245 test ! -s conftest.err
7246 } && test -s conftest.
$ac_objext; then
7247 ac_header_compiler
=yes
7249 echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.
$ac_ext >&5
7252 ac_header_compiler
=no
7255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7257 echo "${ECHO_T}$ac_header_compiler" >&6; }
7259 # Is the header present?
7260 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7262 cat >conftest.
$ac_ext <<_ACEOF
7265 cat confdefs.h
>>conftest.
$ac_ext
7266 cat >>conftest.
$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7268 #include <$ac_header>
7270 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7278 grep -v '^ *+' conftest.er1 >conftest.err
7280 cat conftest.err >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); } >/dev/null && {
7283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7284 test ! -s conftest.err
7286 ac_header_preproc=yes
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_header_preproc=no
7294 rm -f conftest.err conftest.$ac_ext
7295 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7296 echo "${ECHO_T}$ac_header_preproc" >&6; }
7298 # So? What about this header?
7299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7305 ac_header_preproc=yes
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7321 ## ------------------------------------ ##
7322 ## Report this to wine-devel@winehq.org ##
7323 ## ------------------------------------ ##
7325 ) | sed "s/^/$as_me: WARNING: /" >&2
7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 eval "$as_ac_Header=\$ac_header_preproc"
7335 ac_res=`eval echo '${'$as_ac_Header'}'`
7336 { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7341 cat >>confdefs.h <<_ACEOF
7342 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7349 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7350 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7351 if test "${ac_cv_header_stat_broken+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 cat >conftest.$ac_ext <<_ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #include <sys/stat.h>
7363 #if defined S_ISBLK && defined S_IFDIR
7364 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7367 #if defined S_ISBLK && defined S_IFCHR
7368 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7371 #if defined S_ISLNK && defined S_IFREG
7372 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7375 #if defined S_ISSOCK && defined S_IFREG
7376 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7380 rm -f conftest.$ac_objext
7381 if { (ac_try="$ac_compile"
7383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7384 *) ac_try_echo
=$ac_try;;
7386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7387 (eval "$ac_compile") 2>conftest.er1
7389 grep -v '^ *+' conftest.er1
>conftest.err
7391 cat conftest.err
>&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); } && {
7394 test -z "$ac_c_werror_flag" ||
7395 test ! -s conftest.err
7396 } && test -s conftest.
$ac_objext; then
7397 ac_cv_header_stat_broken
=no
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.
$ac_ext >&5
7402 ac_cv_header_stat_broken
=yes
7405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7407 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7408 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7409 if test $ac_cv_header_stat_broken = yes; then
7411 cat >>confdefs.h
<<\_ACEOF
7412 #define STAT_MACROS_BROKEN 1
7423 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7428 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 cat >conftest.
$ac_ext <<_ACEOF
7434 cat confdefs.h
>>conftest.
$ac_ext
7435 cat >>conftest.
$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7437 #include <sys/types.h>
7438 #ifdef HAVE_SYS_PARAM_H
7439 # include <sys/param.h>
7442 #include <$ac_header>
7444 rm -f conftest.
$ac_objext
7445 if { (ac_try
="$ac_compile"
7447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_compile") 2>conftest.er1
7453 grep -v '^ *+' conftest.er1 >conftest.err
7455 cat conftest.err >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } && {
7458 test -z "$ac_c_werror_flag" ||
7459 test ! -s conftest.err
7460 } && test -s conftest.$ac_objext; then
7461 eval "$as_ac_Header=yes"
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7466 eval "$as_ac_Header=no"
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471 ac_res=`eval echo '${'$as_ac_Header'}'`
7472 { echo "$as_me:$LINENO: result: $ac_res" >&5
7473 echo "${ECHO_T}$ac_res" >&6; }
7474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7475 cat >>confdefs.h <<_ACEOF
7476 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7492 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.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
7500 cat >conftest.$ac_ext <<_ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #ifdef HAVE_SYS_SOCKET_H
7508 # include <sys/socket.h>
7510 #ifdef HAVE_SYS_SOCKETVAR_H
7511 # include <sys/socketvar.h>
7513 #ifdef HAVE_NETINET_IN_H
7514 # include <netinet/in.h>
7517 #include <$ac_header>
7519 rm -f conftest.$ac_objext
7520 if { (ac_try="$ac_compile"
7522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7523 *) ac_try_echo
=$ac_try;;
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526 (eval "$ac_compile") 2>conftest.er1
7528 grep -v '^ *+' conftest.er1
>conftest.err
7530 cat conftest.err
>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } && {
7533 test -z "$ac_c_werror_flag" ||
7534 test ! -s conftest.err
7535 } && test -s conftest.
$ac_objext; then
7536 eval "$as_ac_Header=yes"
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.
$ac_ext >&5
7541 eval "$as_ac_Header=no"
7544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7546 ac_res
=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h
<<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7562 for ac_header
in netinet
/tcp_var.h netinet
/udp_var.h netinet
/icmp_var.h
7564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7567 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7568 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 cat >conftest.
$ac_ext <<_ACEOF
7573 cat confdefs.h
>>conftest.
$ac_ext
7574 cat >>conftest.
$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7576 #include <sys/types.h>
7580 #ifdef HAVE_SYS_SOCKET_H
7581 # include <sys/socket.h>
7583 #ifdef HAVE_SYS_SOCKETVAR_H
7584 # include <sys/socketvar.h>
7586 #ifdef HAVE_NETINET_IN_H
7587 # include <netinet/in.h>
7589 #ifdef HAVE_NETINET_IP_VAR_H
7590 # include <netinet/ip_var.h>
7592 #ifdef HAVE_NETINET_IP_ICMP_H
7593 # include <netinet/ip_icmp.h>
7595 #ifdef HAVE_NETINET_UDP_H
7596 # include <netinet/udp.h>
7598 #ifdef HAVE_NETINET_TCP_H
7599 # include <netinet/tcp.h>
7602 #include <$ac_header>
7604 rm -f conftest.
$ac_objext
7605 if { (ac_try
="$ac_compile"
7607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7608 *) ac_try_echo=$ac_try;;
7610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7611 (eval "$ac_compile") 2>conftest.er1
7613 grep -v '^ *+' conftest.er1 >conftest.err
7615 cat conftest.err >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); } && {
7618 test -z "$ac_c_werror_flag" ||
7619 test ! -s conftest.err
7620 } && test -s conftest.$ac_objext; then
7621 eval "$as_ac_Header=yes"
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.$ac_ext >&5
7626 eval "$as_ac_Header=no"
7629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631 ac_res=`eval echo '${'$as_ac_Header'}'`
7632 { echo "$as_me:$LINENO: result: $ac_res" >&5
7633 echo "${ECHO_T}$ac_res" >&6; }
7634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7635 cat >>confdefs.h <<_ACEOF
7636 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7645 for ac_header in linux/ipx.h
7647 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 cat >conftest.$ac_ext <<_ACEOF
7656 cat confdefs.h >>conftest.$ac_ext
7657 cat >>conftest.$ac_ext <<_ACEOF
7658 /* end confdefs.h. */
7659 #include <sys/types.h>
7660 #ifdef HAVE_ASM_TYPES_H
7661 # include <asm/types.h>
7663 #ifdef HAVE_SYS_SOCKET_H
7664 # include <sys/socket.h>
7667 #include <$ac_header>
7669 rm -f conftest.$ac_objext
7670 if { (ac_try="$ac_compile"
7672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7673 *) ac_try_echo
=$ac_try;;
7675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7676 (eval "$ac_compile") 2>conftest.er1
7678 grep -v '^ *+' conftest.er1
>conftest.err
7680 cat conftest.err
>&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } && {
7683 test -z "$ac_c_werror_flag" ||
7684 test ! -s conftest.err
7685 } && test -s conftest.
$ac_objext; then
7686 eval "$as_ac_Header=yes"
7688 echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.
$ac_ext >&5
7691 eval "$as_ac_Header=no"
7694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7696 ac_res
=`eval echo '${'$as_ac_Header'}'`
7697 { echo "$as_me:$LINENO: result: $ac_res" >&5
7698 echo "${ECHO_T}$ac_res" >&6; }
7699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7700 cat >>confdefs.h
<<_ACEOF
7701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7710 for ac_header
in resolv.h
7712 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7715 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 cat >conftest.
$ac_ext <<_ACEOF
7721 cat confdefs.h
>>conftest.
$ac_ext
7722 cat >>conftest.
$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 #include <sys/types.h>
7725 #ifdef HAVE_SYS_SOCKET_H
7726 # include <sys/socket.h>
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7731 #ifdef HAVE_ARPA_NAMESER_H
7732 # include <arpa/nameser.h>
7735 #include <$ac_header>
7737 rm -f conftest.
$ac_objext
7738 if { (ac_try
="$ac_compile"
7740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7741 *) ac_try_echo=$ac_try;;
7743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7744 (eval "$ac_compile") 2>conftest.er1
7746 grep -v '^ *+' conftest.er1 >conftest.err
7748 cat conftest.err >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } && {
7751 test -z "$ac_c_werror_flag" ||
7752 test ! -s conftest.err
7753 } && test -s conftest.$ac_objext; then
7754 eval "$as_ac_Header=yes"
7756 echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7759 eval "$as_ac_Header=no"
7762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7764 ac_res=`eval echo '${'$as_ac_Header'}'`
7765 { echo "$as_me:$LINENO: result: $ac_res" >&5
7766 echo "${ECHO_T}$ac_res" >&6; }
7767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7768 cat >>confdefs.h <<_ACEOF
7769 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7778 for ac_header in ucontext.h
7780 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7784 echo $ECHO_N "(cached) $ECHO_C" >&6
7786 cat >conftest.$ac_ext <<_ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h. */
7794 #include <$ac_header>
7796 rm -f conftest.$ac_objext
7797 if { (ac_try="$ac_compile"
7799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7800 *) ac_try_echo
=$ac_try;;
7802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803 (eval "$ac_compile") 2>conftest.er1
7805 grep -v '^ *+' conftest.er1
>conftest.err
7807 cat conftest.err
>&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); } && {
7810 test -z "$ac_c_werror_flag" ||
7811 test ! -s conftest.err
7812 } && test -s conftest.
$ac_objext; then
7813 eval "$as_ac_Header=yes"
7815 echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.
$ac_ext >&5
7818 eval "$as_ac_Header=no"
7821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7823 ac_res
=`eval echo '${'$as_ac_Header'}'`
7824 { echo "$as_me:$LINENO: result: $ac_res" >&5
7825 echo "${ECHO_T}$ac_res" >&6; }
7826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7827 cat >>confdefs.h
<<_ACEOF
7828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7837 for ac_header
in sys
/thr.h
7839 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7842 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 cat >conftest.
$ac_ext <<_ACEOF
7848 cat confdefs.h
>>conftest.
$ac_ext
7849 cat >>conftest.
$ac_ext <<_ACEOF
7850 /* end confdefs.h. */
7851 #include <sys/types.h>
7852 #ifdef HAVE_UCONTEXT_H
7853 #include <ucontext.h>
7856 #include <$ac_header>
7858 rm -f conftest.
$ac_objext
7859 if { (ac_try
="$ac_compile"
7861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7862 *) ac_try_echo=$ac_try;;
7864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7865 (eval "$ac_compile") 2>conftest.er1
7867 grep -v '^ *+' conftest.er1 >conftest.err
7869 cat conftest.err >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); } && {
7872 test -z "$ac_c_werror_flag" ||
7873 test ! -s conftest.err
7874 } && test -s conftest.$ac_objext; then
7875 eval "$as_ac_Header=yes"
7877 echo "$as_me: failed program was:" >&5
7878 sed 's/^/| /' conftest.$ac_ext >&5
7880 eval "$as_ac_Header=no"
7883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7885 ac_res=`eval echo '${'$as_ac_Header'}'`
7886 { echo "$as_me:$LINENO: result: $ac_res" >&5
7887 echo "${ECHO_T}$ac_res" >&6; }
7888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7889 cat >>confdefs.h <<_ACEOF
7890 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7899 for ac_header in pthread_np.h
7901 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7905 echo $ECHO_N "(cached) $ECHO_C" >&6
7907 cat >conftest.$ac_ext <<_ACEOF
7910 cat confdefs.h >>conftest.$ac_ext
7911 cat >>conftest.$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7913 #ifdef HAVE_PTHREAD_H
7914 #include <pthread.h>
7917 #include <$ac_header>
7919 rm -f conftest.$ac_objext
7920 if { (ac_try="$ac_compile"
7922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7923 *) ac_try_echo
=$ac_try;;
7925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7926 (eval "$ac_compile") 2>conftest.er1
7928 grep -v '^ *+' conftest.er1
>conftest.err
7930 cat conftest.err
>&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } && {
7933 test -z "$ac_c_werror_flag" ||
7934 test ! -s conftest.err
7935 } && test -s conftest.
$ac_objext; then
7936 eval "$as_ac_Header=yes"
7938 echo "$as_me: failed program was:" >&5
7939 sed 's/^/| /' conftest.
$ac_ext >&5
7941 eval "$as_ac_Header=no"
7944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7946 ac_res
=`eval echo '${'$as_ac_Header'}'`
7947 { echo "$as_me:$LINENO: result: $ac_res" >&5
7948 echo "${ECHO_T}$ac_res" >&6; }
7949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7950 cat >>confdefs.h
<<_ACEOF
7951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7960 for ac_header
in linux
/videodev.h
7962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7965 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7966 echo $ECHO_N "(cached) $ECHO_C" >&6
7968 cat >conftest.
$ac_ext <<_ACEOF
7971 cat confdefs.h
>>conftest.
$ac_ext
7972 cat >>conftest.
$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7974 #ifdef HAVE_SYS_TIME_H
7975 #include <sys/time.h>
7977 #include <sys/types.h>
7978 #ifdef HAVE_ASM_TYPES_H
7979 #include <asm/types.h>
7982 #include <$ac_header>
7984 rm -f conftest.
$ac_objext
7985 if { (ac_try
="$ac_compile"
7987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7988 *) ac_try_echo=$ac_try;;
7990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7991 (eval "$ac_compile") 2>conftest.er1
7993 grep -v '^ *+' conftest.er1 >conftest.err
7995 cat conftest.err >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } && {
7998 test -z "$ac_c_werror_flag" ||
7999 test ! -s conftest.err
8000 } && test -s conftest.$ac_objext; then
8001 eval "$as_ac_Header=yes"
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8006 eval "$as_ac_Header=no"
8009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8011 ac_res=`eval echo '${'$as_ac_Header'}'`
8012 { echo "$as_me:$LINENO: result: $ac_res" >&5
8013 echo "${ECHO_T}$ac_res" >&6; }
8014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8015 cat >>confdefs.h <<_ACEOF
8016 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8025 for ac_header in linux/capi.h
8027 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8031 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 cat >conftest.$ac_ext <<_ACEOF
8036 cat confdefs.h >>conftest.$ac_ext
8037 cat >>conftest.$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8041 #include <$ac_header>
8043 rm -f conftest.$ac_objext
8044 if { (ac_try="$ac_compile"
8046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8047 *) ac_try_echo
=$ac_try;;
8049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8050 (eval "$ac_compile") 2>conftest.er1
8052 grep -v '^ *+' conftest.er1
>conftest.err
8054 cat conftest.err
>&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } && {
8057 test -z "$ac_c_werror_flag" ||
8058 test ! -s conftest.err
8059 } && test -s conftest.
$ac_objext; then
8060 eval "$as_ac_Header=yes"
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.
$ac_ext >&5
8065 eval "$as_ac_Header=no"
8068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8070 ac_res
=`eval echo '${'$as_ac_Header'}'`
8071 { echo "$as_me:$LINENO: result: $ac_res" >&5
8072 echo "${ECHO_T}$ac_res" >&6; }
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h
<<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 DLLFLAGS
="-D_REENTRANT"
8100 # Extract the first word of "ldd", so it can be a program name with args.
8101 set dummy ldd
; ac_word
=$2
8102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8104 if test "${ac_cv_path_LDD+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8109 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8113 as_dummy
="/sbin:/usr/sbin:$PATH"
8114 for as_dir
in $as_dummy
8117 test -z "$as_dir" && as_dir
=.
8118 for ac_exec_ext
in '' $ac_executable_extensions; do
8119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8120 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8133 if test -n "$LDD"; then
8134 { echo "$as_me:$LINENO: result: $LDD" >&5
8135 echo "${ECHO_T}$LDD" >&6; }
8137 { echo "$as_me:$LINENO: result: no" >&5
8138 echo "${ECHO_T}no" >&6; }
8145 if test -n "$ac_tool_prefix"; then
8146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8147 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8150 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8151 echo $ECHO_N "(cached) $ECHO_C" >&6
8153 if test -n "$DLLTOOL"; then
8154 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8160 test -z "$as_dir" && as_dir
=.
8161 for ac_exec_ext
in '' $ac_executable_extensions; do
8162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8163 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8173 DLLTOOL
=$ac_cv_prog_DLLTOOL
8174 if test -n "$DLLTOOL"; then
8175 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8176 echo "${ECHO_T}$DLLTOOL" >&6; }
8178 { echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6; }
8184 if test -z "$ac_cv_prog_DLLTOOL"; then
8185 ac_ct_DLLTOOL
=$DLLTOOL
8186 # Extract the first word of "dlltool", so it can be a program name with args.
8187 set dummy dlltool
; ac_word
=$2
8188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8190 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8191 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 if test -n "$ac_ct_DLLTOOL"; then
8194 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8200 test -z "$as_dir" && as_dir
=.
8201 for ac_exec_ext
in '' $ac_executable_extensions; do
8202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8203 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8213 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8214 if test -n "$ac_ct_DLLTOOL"; then
8215 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8216 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8218 { echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6; }
8222 if test "x$ac_ct_DLLTOOL" = x
; then
8225 case $cross_compiling:$ac_tool_warned in
8227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8228 whose name does not start with the host triplet. If you think this
8229 configuration is useful to you, please write to autoconf@gnu.org." >&5
8230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8231 whose name does not start with the host triplet. If you think this
8232 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8233 ac_tool_warned
=yes ;;
8235 DLLTOOL
=$ac_ct_DLLTOOL
8238 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8241 if test -n "$ac_tool_prefix"; then
8242 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8243 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8246 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 if test -n "$DLLWRAP"; then
8250 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8256 test -z "$as_dir" && as_dir
=.
8257 for ac_exec_ext
in '' $ac_executable_extensions; do
8258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8259 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 DLLWRAP
=$ac_cv_prog_DLLWRAP
8270 if test -n "$DLLWRAP"; then
8271 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8272 echo "${ECHO_T}$DLLWRAP" >&6; }
8274 { echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6; }
8280 if test -z "$ac_cv_prog_DLLWRAP"; then
8281 ac_ct_DLLWRAP
=$DLLWRAP
8282 # Extract the first word of "dllwrap", so it can be a program name with args.
8283 set dummy dllwrap
; ac_word
=$2
8284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8286 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 if test -n "$ac_ct_DLLWRAP"; then
8290 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8296 test -z "$as_dir" && as_dir
=.
8297 for ac_exec_ext
in '' $ac_executable_extensions; do
8298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8299 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8310 if test -n "$ac_ct_DLLWRAP"; then
8311 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8312 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8314 { echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6; }
8318 if test "x$ac_ct_DLLWRAP" = x
; then
8321 case $cross_compiling:$ac_tool_warned in
8323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8324 whose name does not start with the host triplet. If you think this
8325 configuration is useful to you, please write to autoconf@gnu.org." >&5
8326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8327 whose name does not start with the host triplet. If you think this
8328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8329 ac_tool_warned
=yes ;;
8331 DLLWRAP
=$ac_ct_DLLWRAP
8334 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8337 if test -n "$ac_tool_prefix"; then
8338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8339 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8342 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8343 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 if test -n "$MINGWAR"; then
8346 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8352 test -z "$as_dir" && as_dir
=.
8353 for ac_exec_ext
in '' $ac_executable_extensions; do
8354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 MINGWAR
=$ac_cv_prog_MINGWAR
8366 if test -n "$MINGWAR"; then
8367 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8368 echo "${ECHO_T}$MINGWAR" >&6; }
8370 { echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6; }
8376 if test -z "$ac_cv_prog_MINGWAR"; then
8377 ac_ct_MINGWAR
=$MINGWAR
8378 # Extract the first word of "ar", so it can be a program name with args.
8379 set dummy
ar; ac_word
=$2
8380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8382 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8383 echo $ECHO_N "(cached) $ECHO_C" >&6
8385 if test -n "$ac_ct_MINGWAR"; then
8386 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8392 test -z "$as_dir" && as_dir
=.
8393 for ac_exec_ext
in '' $ac_executable_extensions; do
8394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8395 ac_cv_prog_ac_ct_MINGWAR
="ar"
8396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8405 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8406 if test -n "$ac_ct_MINGWAR"; then
8407 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8408 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8410 { echo "$as_me:$LINENO: result: no" >&5
8411 echo "${ECHO_T}no" >&6; }
8414 if test "x$ac_ct_MINGWAR" = x
; then
8417 case $cross_compiling:$ac_tool_warned in
8419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8420 whose name does not start with the host triplet. If you think this
8421 configuration is useful to you, please write to autoconf@gnu.org." >&5
8422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8423 whose name does not start with the host triplet. If you think this
8424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8425 ac_tool_warned
=yes ;;
8427 MINGWAR
=$ac_ct_MINGWAR
8430 MINGWAR
="$ac_cv_prog_MINGWAR"
8433 if test "$DLLWRAP" = "false"; then
8445 DLLFLAGS
="$DLLFLAGS -fPIC"
8446 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8447 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8448 LDSHARED
="\$(CC) -dynamiclib"
8450 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8451 SECURITYLIB
="-framework Security -framework CoreFoundation"
8453 COREFOUNDATIONLIB
="-framework CoreFoundation"
8455 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8457 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8459 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8461 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8464 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8466 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8471 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8473 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8475 CARBONLIB
="-framework Carbon"
8477 QUARTZFILES
='$(QUARTZFILES)'
8481 DLLFLAGS
="$DLLFLAGS -fPIC"
8483 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8484 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8485 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 ac_wine_try_cflags_saved
=$CFLAGS
8489 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8490 cat >conftest.
$ac_ext <<_ACEOF
8493 rm -f conftest.
$ac_objext conftest
$ac_exeext
8494 if { (ac_try
="$ac_link"
8496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8497 *) ac_try_echo=$ac_try;;
8499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8500 (eval "$ac_link") 2>conftest.er1
8502 grep -v '^ *+' conftest.er1 >conftest.err
8504 cat conftest.err >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); } && {
8507 test -z "$ac_c_werror_flag" ||
8508 test ! -s conftest.err
8509 } && test -s conftest$ac_exeext &&
8510 $as_test_x conftest$ac_exeext; then
8511 ac_cv_c_dll_gnuelf="yes"
8513 echo "$as_me: failed program was:" >&5
8514 sed 's/^/| /' conftest.$ac_ext >&5
8516 ac_cv_c_dll_gnuelf="no"
8519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8524 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8525 if test "$ac_cv_c_dll_gnuelf" = "yes"
8527 LDSHARED="\$(CC) -shared"
8528 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8529 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8530 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8531 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8536 cat >conftest.$ac_ext <<_ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8551 rm -f conftest.$ac_objext conftest$ac_exeext
8552 if { (ac_try="$ac_link"
8554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8555 *) ac_try_echo
=$ac_try;;
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_link") 2>conftest.er1
8560 grep -v '^ *+' conftest.er1
>conftest.err
8562 cat conftest.err
>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } && {
8565 test -z "$ac_c_werror_flag" ||
8566 test ! -s conftest.err
8567 } && test -s conftest
$ac_exeext &&
8568 $as_test_x conftest
$ac_exeext; then
8569 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8571 echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.
$ac_ext >&5
8574 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 CFLAGS
=$ac_wine_try_cflags_saved
8581 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8582 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8583 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8584 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8586 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8587 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8588 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 ac_wine_try_cflags_saved
=$CFLAGS
8592 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8593 cat >conftest.
$ac_ext <<_ACEOF
8596 cat confdefs.h
>>conftest.
$ac_ext
8597 cat >>conftest.
$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8608 rm -f conftest.
$ac_objext conftest
$ac_exeext
8609 if { (ac_try
="$ac_link"
8611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8612 *) ac_try_echo=$ac_try;;
8614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615 (eval "$ac_link") 2>conftest.er1
8617 grep -v '^ *+' conftest.er1 >conftest.err
8619 cat conftest.err >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); } && {
8622 test -z "$ac_c_werror_flag" ||
8623 test ! -s conftest.err
8624 } && test -s conftest$ac_exeext &&
8625 $as_test_x conftest$ac_exeext; then
8626 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8628 echo "$as_me: failed program was:" >&5
8629 sed 's/^/| /' conftest.$ac_ext >&5
8631 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8635 conftest$ac_exeext conftest.$ac_ext
8636 CFLAGS=$ac_wine_try_cflags_saved
8638 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8639 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8640 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8641 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8647 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8648 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8649 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8654 cat >conftest.$ac_ext <<_ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (ac_try="$ac_link"
8672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8673 *) ac_try_echo
=$ac_try;;
8675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8676 (eval "$ac_link") 2>conftest.er1
8678 grep -v '^ *+' conftest.er1
>conftest.err
8680 cat conftest.err
>&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); } && {
8683 test -z "$ac_c_werror_flag" ||
8684 test ! -s conftest.err
8685 } && test -s conftest
$ac_exeext &&
8686 $as_test_x conftest
$ac_exeext; then
8687 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.
$ac_ext >&5
8692 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8696 conftest
$ac_exeext conftest.
$ac_ext
8697 CFLAGS
=$ac_wine_try_cflags_saved
8699 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8700 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8701 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8702 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8706 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8707 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8708 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 ac_wine_try_cflags_saved
=$CFLAGS
8712 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8713 cat >conftest.
$ac_ext <<_ACEOF
8716 cat confdefs.h
>>conftest.
$ac_ext
8717 cat >>conftest.
$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8728 rm -f conftest.
$ac_objext conftest
$ac_exeext
8729 if { (ac_try
="$ac_link"
8731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8732 *) ac_try_echo=$ac_try;;
8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8735 (eval "$ac_link") 2>conftest.er1
8737 grep -v '^ *+' conftest.er1 >conftest.err
8739 cat conftest.err >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } && {
8742 test -z "$ac_c_werror_flag" ||
8743 test ! -s conftest.err
8744 } && test -s conftest$ac_exeext &&
8745 $as_test_x conftest$ac_exeext; then
8746 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8748 echo "$as_me: failed program was:" >&5
8749 sed 's/^/| /' conftest.$ac_ext >&5
8751 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8759 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8760 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8761 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8765 echo '{ global: *; };' >conftest.map
8766 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8767 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8768 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8773 cat >conftest.$ac_ext <<_ACEOF
8776 cat confdefs.h >>conftest.$ac_ext
8777 cat >>conftest.$ac_ext <<_ACEOF
8778 /* end confdefs.h. */
8788 rm -f conftest.$ac_objext conftest$ac_exeext
8789 if { (ac_try="$ac_link"
8791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8792 *) ac_try_echo
=$ac_try;;
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795 (eval "$ac_link") 2>conftest.er1
8797 grep -v '^ *+' conftest.er1
>conftest.err
8799 cat conftest.err
>&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } && {
8802 test -z "$ac_c_werror_flag" ||
8803 test ! -s conftest.err
8804 } && test -s conftest
$ac_exeext &&
8805 $as_test_x conftest
$ac_exeext; then
8806 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8808 echo "$as_me: failed program was:" >&5
8809 sed 's/^/| /' conftest.
$ac_ext >&5
8811 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8815 conftest
$ac_exeext conftest.
$ac_ext
8816 CFLAGS
=$ac_wine_try_cflags_saved
8818 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8819 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8820 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8821 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8826 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8827 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8828 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 ac_wine_try_cflags_saved
=$CFLAGS
8832 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8833 cat >conftest.
$ac_ext <<_ACEOF
8836 cat confdefs.h
>>conftest.
$ac_ext
8837 cat >>conftest.
$ac_ext <<_ACEOF
8838 /* end confdefs.h. */
8848 rm -f conftest.
$ac_objext conftest
$ac_exeext
8849 if { (ac_try
="$ac_link"
8851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8852 *) ac_try_echo=$ac_try;;
8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8855 (eval "$ac_link") 2>conftest.er1
8857 grep -v '^ *+' conftest.er1 >conftest.err
8859 cat conftest.err >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } && {
8862 test -z "$ac_c_werror_flag" ||
8863 test ! -s conftest.err
8864 } && test -s conftest$ac_exeext &&
8865 $as_test_x conftest$ac_exeext; then
8866 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8868 echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.$ac_ext >&5
8871 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8875 conftest$ac_exeext conftest.$ac_ext
8876 CFLAGS=$ac_wine_try_cflags_saved
8878 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8879 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8880 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8881 LDEXECFLAGS="-Wl,--export-dynamic"
8886 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8887 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8888 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 ac_wine_try_cflags_saved=$CFLAGS
8893 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8894 cat >conftest.$ac_ext <<_ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8909 rm -f conftest.$ac_objext conftest$ac_exeext
8910 if { (ac_try="$ac_link"
8912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8913 *) ac_try_echo
=$ac_try;;
8915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8916 (eval "$ac_link") 2>conftest.er1
8918 grep -v '^ *+' conftest.er1
>conftest.err
8920 cat conftest.err
>&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } && {
8923 test -z "$ac_c_werror_flag" ||
8924 test ! -s conftest.err
8925 } && test -s conftest
$ac_exeext &&
8926 $as_test_x conftest
$ac_exeext; then
8927 eval "$as_ac_var=yes"
8929 echo "$as_me: failed program was:" >&5
8930 sed 's/^/| /' conftest.
$ac_ext >&5
8932 eval "$as_ac_var=no"
8935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8936 conftest
$ac_exeext conftest.
$ac_ext
8937 CFLAGS
=$ac_wine_try_cflags_saved
8939 ac_res
=`eval echo '${'$as_ac_var'}'`
8940 { echo "$as_me:$LINENO: result: $ac_res" >&5
8941 echo "${ECHO_T}$ac_res" >&6; }
8942 if test `eval echo '${'$as_ac_var'}'` = yes; then
8943 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8944 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8946 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8947 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8948 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8949 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 ac_wine_try_cflags_saved
=$CFLAGS
8953 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8954 cat >conftest.
$ac_ext <<_ACEOF
8957 cat confdefs.h
>>conftest.
$ac_ext
8958 cat >>conftest.
$ac_ext <<_ACEOF
8959 /* end confdefs.h. */
8969 rm -f conftest.
$ac_objext conftest
$ac_exeext
8970 if { (ac_try
="$ac_link"
8972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8973 *) ac_try_echo=$ac_try;;
8975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8976 (eval "$ac_link") 2>conftest.er1
8978 grep -v '^ *+' conftest.er1 >conftest.err
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } && {
8983 test -z "$ac_c_werror_flag" ||
8984 test ! -s conftest.err
8985 } && test -s conftest$ac_exeext &&
8986 $as_test_x conftest$ac_exeext; then
8987 eval "$as_ac_var=yes"
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.$ac_ext >&5
8992 eval "$as_ac_var=no"
8995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8996 conftest$ac_exeext conftest.$ac_ext
8997 CFLAGS=$ac_wine_try_cflags_saved
8999 ac_res=`eval echo '${'$as_ac_var'}'`
9000 { echo "$as_me:$LINENO: result: $ac_res" >&5
9001 echo "${ECHO_T}$ac_res" >&6; }
9002 if test `eval echo '${'$as_ac_var'}'` = yes; then
9003 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
9004 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9010 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9011 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9012 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 ac_wine_try_cflags_saved=$CFLAGS
9016 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9017 cat >conftest.$ac_ext <<_ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9032 rm -f conftest.$ac_objext conftest$ac_exeext
9033 if { (ac_try="$ac_link"
9035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9036 *) ac_try_echo
=$ac_try;;
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039 (eval "$ac_link") 2>conftest.er1
9041 grep -v '^ *+' conftest.er1
>conftest.err
9043 cat conftest.err
>&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } && {
9046 test -z "$ac_c_werror_flag" ||
9047 test ! -s conftest.err
9048 } && test -s conftest
$ac_exeext &&
9049 $as_test_x conftest
$ac_exeext; then
9050 ac_cv_cflags__Wl___enable_new_dtags
=yes
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.
$ac_ext >&5
9055 ac_cv_cflags__Wl___enable_new_dtags
=no
9058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 CFLAGS
=$ac_wine_try_cflags_saved
9062 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9063 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9064 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9065 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9070 *i
[3456789]86* | x86_64
)
9071 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9072 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9073 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9074 echo $ECHO_N "(cached) $ECHO_C" >&6
9076 ac_wine_try_cflags_saved
=$CFLAGS
9077 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9078 cat >conftest.
$ac_ext <<_ACEOF
9081 cat confdefs.h
>>conftest.
$ac_ext
9082 cat >>conftest.
$ac_ext <<_ACEOF
9083 /* end confdefs.h. */
9093 rm -f conftest.
$ac_objext conftest
$ac_exeext
9094 if { (ac_try
="$ac_link"
9096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9097 *) ac_try_echo=$ac_try;;
9099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9100 (eval "$ac_link") 2>conftest.er1
9102 grep -v '^ *+' conftest.er1 >conftest.err
9104 cat conftest.err >&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); } && {
9107 test -z "$ac_c_werror_flag" ||
9108 test ! -s conftest.err
9109 } && test -s conftest$ac_exeext &&
9110 $as_test_x conftest$ac_exeext; then
9111 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9113 echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.$ac_ext >&5
9116 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9120 conftest$ac_exeext conftest.$ac_ext
9121 CFLAGS=$ac_wine_try_cflags_saved
9123 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9124 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9125 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9126 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9133 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9134 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9135 if test "${ac_cv_c_dll_unixware+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9140 cat >conftest.$ac_ext <<_ACEOF
9143 rm -f conftest.$ac_objext conftest$ac_exeext
9144 if { (ac_try="$ac_link"
9146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9147 *) ac_try_echo
=$ac_try;;
9149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9150 (eval "$ac_link") 2>conftest.er1
9152 grep -v '^ *+' conftest.er1
>conftest.err
9154 cat conftest.err
>&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); } && {
9157 test -z "$ac_c_werror_flag" ||
9158 test ! -s conftest.err
9159 } && test -s conftest
$ac_exeext &&
9160 $as_test_x conftest
$ac_exeext; then
9161 ac_cv_c_dll_unixware
="yes"
9163 echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.
$ac_ext >&5
9166 ac_cv_c_dll_unixware
="no"
9169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 CFLAGS
=$ac_wine_try_cflags_saved
9173 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9174 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9175 if test "$ac_cv_c_dll_unixware" = "yes"
9177 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9178 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9181 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9182 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9183 if test "${ac_cv_c_dll_hpux+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 ac_wine_try_cflags_saved
=$CFLAGS
9187 CFLAGS
="$CFLAGS -shared"
9188 cat >conftest.
$ac_ext <<_ACEOF
9191 rm -f conftest.
$ac_objext conftest
$ac_exeext
9192 if { (ac_try
="$ac_link"
9194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9195 *) ac_try_echo=$ac_try;;
9197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9198 (eval "$ac_link") 2>conftest.er1
9200 grep -v '^ *+' conftest.er1 >conftest.err
9202 cat conftest.err >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); } && {
9205 test -z "$ac_c_werror_flag" ||
9206 test ! -s conftest.err
9207 } && test -s conftest$ac_exeext &&
9208 $as_test_x conftest$ac_exeext; then
9209 ac_cv_c_dll_hpux="yes"
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9214 ac_cv_c_dll_hpux="no"
9217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9218 conftest$ac_exeext conftest.$ac_ext
9219 CFLAGS=$ac_wine_try_cflags_saved
9221 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9222 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9223 if test "$ac_cv_c_dll_hpux" = "yes"
9227 LDDLLFLAGS="-shared -fPIC"
9228 LDSHARED="\$(CC) -shared"
9235 if test "$cross_compiling" = "no"
9237 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9239 # Extract the first word of "$ac_prog", so it can be a program name with args.
9240 set dummy $ac_prog; ac_word=$2
9241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9243 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 if test -n "$CROSSCC"; then
9247 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9253 test -z "$as_dir" && as_dir=.
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9256 ac_cv_prog_CROSSCC="$ac_prog"
9257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9266 CROSSCC=$ac_cv_prog_CROSSCC
9267 if test -n "$CROSSCC"; then
9268 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9269 echo "${ECHO_T}$CROSSCC" >&6; }
9271 { echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6; }
9276 test -n "$CROSSCC" && break
9278 test -n "$CROSSCC" || CROSSCC="false"
9280 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9282 # Extract the first word of "$ac_prog", so it can be a program name with args.
9283 set dummy $ac_prog; ac_word=$2
9284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9286 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9287 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 if test -n "$DLLTOOL"; then
9290 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9296 test -z "$as_dir" && as_dir=.
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9299 ac_cv_prog_DLLTOOL="$ac_prog"
9300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9309 DLLTOOL=$ac_cv_prog_DLLTOOL
9310 if test -n "$DLLTOOL"; then
9311 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9312 echo "${ECHO_T}$DLLTOOL" >&6; }
9314 { echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6; }
9319 test -n "$DLLTOOL" && break
9321 test -n "$DLLTOOL" || DLLTOOL="false"
9323 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9325 # Extract the first word of "$ac_prog", so it can be a program name with args.
9326 set dummy $ac_prog; ac_word=$2
9327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9329 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 if test -n "$CROSSWINDRES"; then
9333 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9339 test -z "$as_dir" && as_dir=.
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342 ac_cv_prog_CROSSWINDRES="$ac_prog"
9343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9352 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9353 if test -n "$CROSSWINDRES"; then
9354 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9355 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9357 { echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6; }
9362 test -n "$CROSSWINDRES" && break
9364 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9366 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9368 # Extract the first word of "$ac_prog", so it can be a program name with args.
9369 set dummy $ac_prog; ac_word=$2
9370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9372 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 if test -n "$MINGWAR"; then
9376 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9382 test -z "$as_dir" && as_dir=.
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385 ac_cv_prog_MINGWAR="$ac_prog"
9386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9395 MINGWAR=$ac_cv_prog_MINGWAR
9396 if test -n "$MINGWAR"; then
9397 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9398 echo "${ECHO_T}$MINGWAR" >&6; }
9400 { echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6; }
9405 test -n "$MINGWAR" && break
9407 test -n "$MINGWAR" || MINGWAR="false"
9409 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9414 if test "$LIBEXT" = "a"; then
9415 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9416 It is currently not possible to build Wine without shared library
9417 (.so) support to allow transparent switch between .so and .dll files.
9418 If you are using Linux, you will need a newer binutils.
9420 echo "$as_me: error: could not find a way to build shared libraries.
9421 It is currently not possible to build Wine without shared library
9422 (.so) support to allow transparent switch between .so and .dll files.
9423 If you are using Linux, you will need a newer binutils.
9425 { (exit 1); exit 1; }; }
9429 if test "$have_x" = "yes"
9432 ac_save_CPPFLAGS="$CPPFLAGS"
9433 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9435 { echo "$as_me:$LINENO: checking for -lX11" >&5
9436 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9437 if test "${ac_cv_lib_soname_X11+set}" = set; then
9438 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 ac_check_soname_save_LIBS=$LIBS
9441 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9442 cat >conftest.$ac_ext <<_ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9455 char XCreateWindow ();
9459 return XCreateWindow ();
9464 rm -f conftest.$ac_objext conftest$ac_exeext
9465 if { (ac_try="$ac_link"
9467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9468 *) ac_try_echo
=$ac_try;;
9470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9471 (eval "$ac_link") 2>conftest.er1
9473 grep -v '^ *+' conftest.er1
>conftest.err
9475 cat conftest.err
>&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); } && {
9478 test -z "$ac_c_werror_flag" ||
9479 test ! -s conftest.err
9480 } && test -s conftest
$ac_exeext &&
9481 $as_test_x conftest
$ac_exeext; then
9484 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'` ;;
9485 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9488 echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.
$ac_ext >&5
9494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_soname_save_LIBS
9498 if test "x$ac_cv_lib_soname_X11" = "x"; then
9499 { echo "$as_me:$LINENO: result: not found" >&5
9500 echo "${ECHO_T}not found" >&6; }
9503 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9504 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9506 cat >>confdefs.h
<<_ACEOF
9507 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9513 { echo "$as_me:$LINENO: checking for -lXext" >&5
9514 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9515 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 ac_check_soname_save_LIBS
=$LIBS
9519 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9520 cat >conftest.
$ac_ext <<_ACEOF
9523 cat confdefs.h
>>conftest.
$ac_ext
9524 cat >>conftest.
$ac_ext <<_ACEOF
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9533 char XextCreateExtension ();
9537 return XextCreateExtension ();
9542 rm -f conftest.
$ac_objext conftest
$ac_exeext
9543 if { (ac_try
="$ac_link"
9545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9546 *) ac_try_echo=$ac_try;;
9548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9549 (eval "$ac_link") 2>conftest.er1
9551 grep -v '^ *+' conftest.er1 >conftest.err
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } && {
9556 test -z "$ac_c_werror_flag" ||
9557 test ! -s conftest.err
9558 } && test -s conftest$ac_exeext &&
9559 $as_test_x conftest$ac_exeext; then
9562 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'` ;;
9563 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.$ac_ext >&5
9572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_soname_save_LIBS
9576 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9577 { echo "$as_me:$LINENO: result: not found" >&5
9578 echo "${ECHO_T}not found" >&6; }
9581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9582 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9584 cat >>confdefs.h <<_ACEOF
9585 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9604 for ac_header in X11/Xlib.h \
9607 X11/Xcursor/Xcursor.h \
9608 X11/extensions/shape.h \
9609 X11/extensions/XInput.h \
9610 X11/extensions/XShm.h \
9611 X11/extensions/Xcomposite.h \
9612 X11/extensions/Xinerama.h \
9613 X11/extensions/Xrandr.h \
9614 X11/extensions/Xrender.h \
9615 X11/extensions/xf86vmode.h
9617 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 cat >conftest.$ac_ext <<_ACEOF
9626 cat confdefs.h >>conftest.$ac_ext
9627 cat >>conftest.$ac_ext <<_ACEOF
9628 /* end confdefs.h. */
9629 #ifdef HAVE_X11_XLIB_H
9630 # include <X11/Xlib.h>
9632 #ifdef HAVE_X11_XUTIL_H
9633 # include <X11/Xutil.h>
9636 #include <$ac_header>
9638 rm -f conftest.$ac_objext
9639 if { (ac_try="$ac_compile"
9641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9642 *) ac_try_echo
=$ac_try;;
9644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9645 (eval "$ac_compile") 2>conftest.er1
9647 grep -v '^ *+' conftest.er1
>conftest.err
9649 cat conftest.err
>&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); } && {
9652 test -z "$ac_c_werror_flag" ||
9653 test ! -s conftest.err
9654 } && test -s conftest.
$ac_objext; then
9655 eval "$as_ac_Header=yes"
9657 echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.
$ac_ext >&5
9660 eval "$as_ac_Header=no"
9663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9665 ac_res
=`eval echo '${'$as_ac_Header'}'`
9666 { echo "$as_me:$LINENO: result: $ac_res" >&5
9667 echo "${ECHO_T}$ac_res" >&6; }
9668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9669 cat >>confdefs.h
<<_ACEOF
9670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9678 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9680 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9681 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9682 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 ac_check_lib_save_LIBS
=$LIBS
9686 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9687 cat >conftest.
$ac_ext <<_ACEOF
9690 cat confdefs.h
>>conftest.
$ac_ext
9691 cat >>conftest.
$ac_ext <<_ACEOF
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9700 char XkbQueryExtension ();
9704 return XkbQueryExtension ();
9709 rm -f conftest.
$ac_objext conftest
$ac_exeext
9710 if { (ac_try
="$ac_link"
9712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9713 *) ac_try_echo=$ac_try;;
9715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9716 (eval "$ac_link") 2>conftest.er1
9718 grep -v '^ *+' conftest.er1 >conftest.err
9720 cat conftest.err >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); } && {
9723 test -z "$ac_c_werror_flag" ||
9724 test ! -s conftest.err
9725 } && test -s conftest$ac_exeext &&
9726 $as_test_x conftest$ac_exeext; then
9727 ac_cv_lib_X11_XkbQueryExtension=yes
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9732 ac_cv_lib_X11_XkbQueryExtension=no
9735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_lib_save_LIBS
9739 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9740 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9741 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9743 cat >>confdefs.h <<\_ACEOF
9751 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9753 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9754 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9755 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 ac_check_soname_save_LIBS=$LIBS
9759 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9760 cat >conftest.$ac_ext <<_ACEOF
9763 cat confdefs.h >>conftest.$ac_ext
9764 cat >>conftest.$ac_ext <<_ACEOF
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9773 char XcursorImageLoadCursor ();
9777 return XcursorImageLoadCursor ();
9782 rm -f conftest.$ac_objext conftest$ac_exeext
9783 if { (ac_try="$ac_link"
9785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9786 *) ac_try_echo
=$ac_try;;
9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9789 (eval "$ac_link") 2>conftest.er1
9791 grep -v '^ *+' conftest.er1
>conftest.err
9793 cat conftest.err
>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } && {
9796 test -z "$ac_c_werror_flag" ||
9797 test ! -s conftest.err
9798 } && test -s conftest
$ac_exeext &&
9799 $as_test_x conftest
$ac_exeext; then
9802 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'` ;;
9803 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9806 echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.
$ac_ext >&5
9812 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9813 conftest
$ac_exeext conftest.
$ac_ext
9814 LIBS
=$ac_check_soname_save_LIBS
9816 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9817 { echo "$as_me:$LINENO: result: not found" >&5
9818 echo "${ECHO_T}not found" >&6; }
9821 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9822 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9824 cat >>confdefs.h
<<_ACEOF
9825 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9832 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9833 case "x$with_xcursor" in
9834 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9836 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9837 This is an error since --with-xcursor was requested." >&5
9838 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9839 This is an error since --with-xcursor was requested." >&2;}
9840 { (exit 1); exit 1; }; } ;;
9845 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9847 { echo "$as_me:$LINENO: checking for -lXi" >&5
9848 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9849 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 ac_check_soname_save_LIBS
=$LIBS
9853 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9854 cat >conftest.
$ac_ext <<_ACEOF
9857 cat confdefs.h
>>conftest.
$ac_ext
9858 cat >>conftest.
$ac_ext <<_ACEOF
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9867 char XOpenDevice ();
9871 return XOpenDevice ();
9876 rm -f conftest.
$ac_objext conftest
$ac_exeext
9877 if { (ac_try
="$ac_link"
9879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9880 *) ac_try_echo=$ac_try;;
9882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9883 (eval "$ac_link") 2>conftest.er1
9885 grep -v '^ *+' conftest.er1 >conftest.err
9887 cat conftest.err >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } && {
9890 test -z "$ac_c_werror_flag" ||
9891 test ! -s conftest.err
9892 } && test -s conftest$ac_exeext &&
9893 $as_test_x conftest$ac_exeext; then
9896 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'` ;;
9897 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9900 echo "$as_me: failed program was:" >&5
9901 sed 's/^/| /' conftest.$ac_ext >&5
9906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9907 conftest$ac_exeext conftest.$ac_ext
9908 LIBS=$ac_check_soname_save_LIBS
9910 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9911 { echo "$as_me:$LINENO: result: not found" >&5
9912 echo "${ECHO_T}not found" >&6; }
9915 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9916 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9918 cat >>confdefs.h <<_ACEOF
9919 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9926 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9927 case "x$with_xinput" in
9928 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9930 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9931 This is an error since --with-xinput was requested." >&5
9932 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9933 This is an error since --with-xinput was requested." >&2;}
9934 { (exit 1); exit 1; }; } ;;
9939 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9941 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9942 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9943 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9944 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 ac_check_lib_save_LIBS=$LIBS
9947 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9948 cat >conftest.$ac_ext <<_ACEOF
9951 cat confdefs.h >>conftest.$ac_ext
9952 cat >>conftest.$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9955 /* Override any GCC internal prototype to avoid an error.
9956 Use char because int might match the return type of a GCC
9957 builtin and then its argument prototype would still apply. */
9961 char XShmQueryExtension ();
9965 return XShmQueryExtension ();
9970 rm -f conftest.$ac_objext conftest$ac_exeext
9971 if { (ac_try="$ac_link"
9973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9974 *) ac_try_echo
=$ac_try;;
9976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9977 (eval "$ac_link") 2>conftest.er1
9979 grep -v '^ *+' conftest.er1
>conftest.err
9981 cat conftest.err
>&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); } && {
9984 test -z "$ac_c_werror_flag" ||
9985 test ! -s conftest.err
9986 } && test -s conftest
$ac_exeext &&
9987 $as_test_x conftest
$ac_exeext; then
9988 ac_cv_lib_Xext_XShmQueryExtension
=yes
9990 echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.
$ac_ext >&5
9993 ac_cv_lib_Xext_XShmQueryExtension
=no
9996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9997 conftest
$ac_exeext conftest.
$ac_ext
9998 LIBS
=$ac_check_lib_save_LIBS
10000 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10001 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10002 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10004 cat >>confdefs.h
<<\_ACEOF
10005 #define HAVE_LIBXXSHM 1
10011 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10012 case "x$with_xshm" in
10013 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10015 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10016 This is an error since --with-xshm was requested." >&5
10017 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10018 This is an error since --with-xshm was requested." >&2;}
10019 { (exit 1); exit 1; }; } ;;
10024 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10026 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10027 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10028 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10029 echo $ECHO_N "(cached) $ECHO_C" >&6
10031 ac_check_lib_save_LIBS
=$LIBS
10032 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10033 cat >conftest.
$ac_ext <<_ACEOF
10036 cat confdefs.h
>>conftest.
$ac_ext
10037 cat >>conftest.
$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10046 char XShapeQueryExtension ();
10050 return XShapeQueryExtension ();
10055 rm -f conftest.
$ac_objext conftest
$ac_exeext
10056 if { (ac_try
="$ac_link"
10057 case "(($ac_try" in
10058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10059 *) ac_try_echo=$ac_try;;
10061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10062 (eval "$ac_link") 2>conftest.er1
10064 grep -v '^ *+' conftest.er1 >conftest.err
10066 cat conftest.err >&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } && {
10069 test -z "$ac_c_werror_flag" ||
10070 test ! -s conftest.err
10071 } && test -s conftest$ac_exeext &&
10072 $as_test_x conftest$ac_exeext; then
10073 ac_cv_lib_Xext_XShapeQueryExtension=yes
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10078 ac_cv_lib_Xext_XShapeQueryExtension=no
10081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10086 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10087 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10089 cat >>confdefs.h <<\_ACEOF
10090 #define HAVE_LIBXSHAPE 1
10096 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10097 case "x$with_xshape" in
10098 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10100 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10101 This is an error since --with-xshape was requested." >&5
10102 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10103 This is an error since --with-xshape was requested." >&2;}
10104 { (exit 1); exit 1; }; } ;;
10109 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10111 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10112 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10113 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10114 echo $ECHO_N "(cached) $ECHO_C" >&6
10116 ac_check_lib_save_LIBS=$LIBS
10117 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10118 cat >conftest.$ac_ext <<_ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10125 /* Override any GCC internal prototype to avoid an error.
10126 Use char because int might match the return type of a GCC
10127 builtin and then its argument prototype would still apply. */
10131 char XF86VidModeQueryExtension ();
10135 return XF86VidModeQueryExtension ();
10140 rm -f conftest.$ac_objext conftest$ac_exeext
10141 if { (ac_try="$ac_link"
10142 case "(($ac_try" in
10143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10144 *) ac_try_echo
=$ac_try;;
10146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10147 (eval "$ac_link") 2>conftest.er1
10149 grep -v '^ *+' conftest.er1
>conftest.err
10151 cat conftest.err
>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); } && {
10154 test -z "$ac_c_werror_flag" ||
10155 test ! -s conftest.err
10156 } && test -s conftest
$ac_exeext &&
10157 $as_test_x conftest
$ac_exeext; then
10158 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.
$ac_ext >&5
10163 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10167 conftest
$ac_exeext conftest.
$ac_ext
10168 LIBS
=$ac_check_lib_save_LIBS
10170 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10171 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10172 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10174 cat >>confdefs.h
<<\_ACEOF
10175 #define HAVE_LIBXXF86VM 1
10178 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10183 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10184 case "x$with_xvidmode" in
10185 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10187 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10188 This is an error since --with-xvidmode was requested." >&5
10189 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10190 This is an error since --with-xvidmode was requested." >&2;}
10191 { (exit 1); exit 1; }; } ;;
10196 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
10198 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10199 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10200 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10201 echo $ECHO_N "(cached) $ECHO_C" >&6
10203 ac_check_soname_save_LIBS
=$LIBS
10204 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10205 cat >conftest.
$ac_ext <<_ACEOF
10208 cat confdefs.h
>>conftest.
$ac_ext
10209 cat >>conftest.
$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10218 char XRenderQueryExtension ();
10222 return XRenderQueryExtension ();
10227 rm -f conftest.
$ac_objext conftest
$ac_exeext
10228 if { (ac_try
="$ac_link"
10229 case "(($ac_try" in
10230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10231 *) ac_try_echo=$ac_try;;
10233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10234 (eval "$ac_link") 2>conftest.er1
10236 grep -v '^ *+' conftest.er1 >conftest.err
10238 cat conftest.err >&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } && {
10241 test -z "$ac_c_werror_flag" ||
10242 test ! -s conftest.err
10243 } && test -s conftest$ac_exeext &&
10244 $as_test_x conftest$ac_exeext; then
10247 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'` ;;
10248 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10258 conftest$ac_exeext conftest.$ac_ext
10259 LIBS=$ac_check_soname_save_LIBS
10261 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10262 { echo "$as_me:$LINENO: result: not found" >&5
10263 echo "${ECHO_T}not found" >&6; }
10266 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10267 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10269 cat >>confdefs.h <<_ACEOF
10270 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10273 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10274 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10275 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 ac_check_lib_save_LIBS=$LIBS
10279 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10280 cat >conftest.$ac_ext <<_ACEOF
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10287 /* Override any GCC internal prototype to avoid an error.
10288 Use char because int might match the return type of a GCC
10289 builtin and then its argument prototype would still apply. */
10293 char XRenderSetPictureTransform ();
10297 return XRenderSetPictureTransform ();
10302 rm -f conftest.$ac_objext conftest$ac_exeext
10303 if { (ac_try="$ac_link"
10304 case "(($ac_try" in
10305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10306 *) ac_try_echo
=$ac_try;;
10308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10309 (eval "$ac_link") 2>conftest.er1
10311 grep -v '^ *+' conftest.er1
>conftest.err
10313 cat conftest.err
>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } && {
10316 test -z "$ac_c_werror_flag" ||
10317 test ! -s conftest.err
10318 } && test -s conftest
$ac_exeext &&
10319 $as_test_x conftest
$ac_exeext; then
10320 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.
$ac_ext >&5
10325 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10328 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10329 conftest
$ac_exeext conftest.
$ac_ext
10330 LIBS
=$ac_check_lib_save_LIBS
10332 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10333 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10334 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10336 cat >>confdefs.h
<<\_ACEOF
10337 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10346 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10347 case "x$with_xrender" in
10348 x
) wine_warnings
="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10350 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10351 This is an error since --with-xrender was requested." >&5
10352 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10353 This is an error since --with-xrender was requested." >&2;}
10354 { (exit 1); exit 1; }; } ;;
10359 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10361 cat >conftest.
$ac_ext <<_ACEOF
10364 cat confdefs.h
>>conftest.
$ac_ext
10365 cat >>conftest.
$ac_ext <<_ACEOF
10366 /* end confdefs.h. */
10367 #include <X11/Xlib.h>
10368 #include <X11/extensions/Xrandr.h>
10372 static typeof(XRRSetScreenConfigAndRate) * func;
10377 rm -f conftest.
$ac_objext
10378 if { (ac_try
="$ac_compile"
10379 case "(($ac_try" in
10380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10381 *) ac_try_echo=$ac_try;;
10383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10384 (eval "$ac_compile") 2>conftest.er1
10386 grep -v '^ *+' conftest.er1 >conftest.err
10388 cat conftest.err >&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } && {
10391 test -z "$ac_c_werror_flag" ||
10392 test ! -s conftest.err
10393 } && test -s conftest.$ac_objext; then
10394 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10395 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10396 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 ac_check_soname_save_LIBS=$LIBS
10400 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10401 cat >conftest.$ac_ext <<_ACEOF
10404 cat confdefs.h >>conftest.$ac_ext
10405 cat >>conftest.$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10414 char XRRQueryExtension ();
10418 return XRRQueryExtension ();
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (ac_try="$ac_link"
10425 case "(($ac_try" in
10426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10427 *) ac_try_echo
=$ac_try;;
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_link") 2>conftest.er1
10432 grep -v '^ *+' conftest.er1
>conftest.err
10434 cat conftest.err
>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } && {
10437 test -z "$ac_c_werror_flag" ||
10438 test ! -s conftest.err
10439 } && test -s conftest
$ac_exeext &&
10440 $as_test_x conftest
$ac_exeext; then
10443 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'` ;;
10444 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.
$ac_ext >&5
10453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10454 conftest
$ac_exeext conftest.
$ac_ext
10455 LIBS
=$ac_check_soname_save_LIBS
10457 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10458 { echo "$as_me:$LINENO: result: not found" >&5
10459 echo "${ECHO_T}not found" >&6; }
10462 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10463 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10465 cat >>confdefs.h
<<_ACEOF
10466 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.
$ac_ext >&5
10479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10481 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10482 case "x$with_xrandr" in
10483 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10485 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10486 This is an error since --with-xrandr was requested." >&5
10487 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10488 This is an error since --with-xrandr was requested." >&2;}
10489 { (exit 1); exit 1; }; } ;;
10494 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10496 cat >conftest.
$ac_ext <<_ACEOF
10499 cat confdefs.h
>>conftest.
$ac_ext
10500 cat >>conftest.
$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10502 #include <X11/Xlib.h>
10503 #include <X11/extensions/Xinerama.h>
10507 static typeof(XineramaQueryScreens) * func;
10512 rm -f conftest.
$ac_objext
10513 if { (ac_try
="$ac_compile"
10514 case "(($ac_try" in
10515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10516 *) ac_try_echo=$ac_try;;
10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10519 (eval "$ac_compile") 2>conftest.er1
10521 grep -v '^ *+' conftest.er1 >conftest.err
10523 cat conftest.err >&5
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525 (exit $ac_status); } && {
10526 test -z "$ac_c_werror_flag" ||
10527 test ! -s conftest.err
10528 } && test -s conftest.$ac_objext; then
10529 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10530 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10531 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 ac_check_soname_save_LIBS=$LIBS
10535 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10536 cat >conftest.$ac_ext <<_ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10543 /* Override any GCC internal prototype to avoid an error.
10544 Use char because int might match the return type of a GCC
10545 builtin and then its argument prototype would still apply. */
10549 char XineramaQueryScreens ();
10553 return XineramaQueryScreens ();
10558 rm -f conftest.$ac_objext conftest$ac_exeext
10559 if { (ac_try="$ac_link"
10560 case "(($ac_try" in
10561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10562 *) ac_try_echo
=$ac_try;;
10564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10565 (eval "$ac_link") 2>conftest.er1
10567 grep -v '^ *+' conftest.er1
>conftest.err
10569 cat conftest.err
>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } && {
10572 test -z "$ac_c_werror_flag" ||
10573 test ! -s conftest.err
10574 } && test -s conftest
$ac_exeext &&
10575 $as_test_x conftest
$ac_exeext; then
10578 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'` ;;
10579 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10582 echo "$as_me: failed program was:" >&5
10583 sed 's/^/| /' conftest.
$ac_ext >&5
10588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10589 conftest
$ac_exeext conftest.
$ac_ext
10590 LIBS
=$ac_check_soname_save_LIBS
10592 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10593 { echo "$as_me:$LINENO: result: not found" >&5
10594 echo "${ECHO_T}not found" >&6; }
10597 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10598 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10600 cat >>confdefs.h
<<_ACEOF
10601 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10608 echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.
$ac_ext >&5
10614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10616 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10617 case "x$with_xinerama" in
10618 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10620 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10621 This is an error since --with-xinerama was requested." >&5
10622 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10623 This is an error since --with-xinerama was requested." >&2;}
10624 { (exit 1); exit 1; }; } ;;
10629 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10631 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10632 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10633 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 ac_check_soname_save_LIBS
=$LIBS
10637 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10638 cat >conftest.
$ac_ext <<_ACEOF
10641 cat confdefs.h
>>conftest.
$ac_ext
10642 cat >>conftest.
$ac_ext <<_ACEOF
10643 /* end confdefs.h. */
10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
10651 char XCompositeRedirectWindow ();
10655 return XCompositeRedirectWindow ();
10660 rm -f conftest.
$ac_objext conftest
$ac_exeext
10661 if { (ac_try
="$ac_link"
10662 case "(($ac_try" in
10663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10664 *) ac_try_echo=$ac_try;;
10666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667 (eval "$ac_link") 2>conftest.er1
10669 grep -v '^ *+' conftest.er1 >conftest.err
10671 cat conftest.err >&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } && {
10674 test -z "$ac_c_werror_flag" ||
10675 test ! -s conftest.err
10676 } && test -s conftest$ac_exeext &&
10677 $as_test_x conftest$ac_exeext; then
10680 dylib) ac_cv_lib_soname_Xcomposite=`otool
-L conftest
$ac_exeext |
grep "libXcomposite\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10681 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_soname_save_LIBS
10694 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10695 { echo "$as_me:$LINENO: result: not found" >&5
10696 echo "${ECHO_T}not found" >&6; }
10699 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10700 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10702 cat >>confdefs.h <<_ACEOF
10703 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10710 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10711 case "x$with_xcomposite" in
10712 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10714 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10715 This is an error since --with-xcomposite was requested." >&5
10716 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10717 This is an error since --with-xcomposite was requested." >&2;}
10718 { (exit 1); exit 1; }; } ;;
10723 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10724 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10725 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 cat >conftest.$ac_ext <<_ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734 #ifdef HAVE_X11_XLIB_H
10735 #include <X11/Xlib.h>
10741 static XICCallback ac_aggr;
10742 if (ac_aggr.callback)
10748 rm -f conftest.$ac_objext
10749 if { (ac_try="$ac_compile"
10750 case "(($ac_try" in
10751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10752 *) ac_try_echo
=$ac_try;;
10754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10755 (eval "$ac_compile") 2>conftest.er1
10757 grep -v '^ *+' conftest.er1
>conftest.err
10759 cat conftest.err
>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); } && {
10762 test -z "$ac_c_werror_flag" ||
10763 test ! -s conftest.err
10764 } && test -s conftest.
$ac_objext; then
10765 ac_cv_member_XICCallback_callback
=yes
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.
$ac_ext >&5
10770 cat >conftest.
$ac_ext <<_ACEOF
10773 cat confdefs.h
>>conftest.
$ac_ext
10774 cat >>conftest.
$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 #ifdef HAVE_X11_XLIB_H
10777 #include <X11/Xlib.h>
10783 static XICCallback ac_aggr;
10784 if (sizeof ac_aggr.callback)
10790 rm -f conftest.
$ac_objext
10791 if { (ac_try
="$ac_compile"
10792 case "(($ac_try" in
10793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10794 *) ac_try_echo=$ac_try;;
10796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10797 (eval "$ac_compile") 2>conftest.er1
10799 grep -v '^ *+' conftest.er1 >conftest.err
10801 cat conftest.err >&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } && {
10804 test -z "$ac_c_werror_flag" ||
10805 test ! -s conftest.err
10806 } && test -s conftest.$ac_objext; then
10807 ac_cv_member_XICCallback_callback=yes
10809 echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10812 ac_cv_member_XICCallback_callback=no
10815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10820 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10821 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10822 if test $ac_cv_member_XICCallback_callback = yes; then
10824 cat >>confdefs.h <<_ACEOF
10825 #define HAVE_XICCALLBACK_CALLBACK 1
10834 if test "x$with_opengl" != "xno"
10840 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10842 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 cat >conftest.$ac_ext <<_ACEOF
10851 cat confdefs.h >>conftest.$ac_ext
10852 cat >>conftest.$ac_ext <<_ACEOF
10853 /* end confdefs.h. */
10854 #ifdef HAVE_GL_GLX_H
10855 # include <GL/glx.h>
10858 #include <$ac_header>
10860 rm -f conftest.$ac_objext
10861 if { (ac_try="$ac_compile"
10862 case "(($ac_try" in
10863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10864 *) ac_try_echo
=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_compile") 2>conftest.er1
10869 grep -v '^ *+' conftest.er1
>conftest.err
10871 cat conftest.err
>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest.
$ac_objext; then
10877 eval "$as_ac_Header=yes"
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.
$ac_ext >&5
10882 eval "$as_ac_Header=no"
10885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10887 ac_res
=`eval echo '${'$as_ac_Header'}'`
10888 { echo "$as_me:$LINENO: result: $ac_res" >&5
10889 echo "${ECHO_T}$ac_res" >&6; }
10890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10891 cat >>confdefs.h
<<_ACEOF
10892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10899 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10901 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10902 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10903 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 cat >conftest.
$ac_ext <<_ACEOF
10909 cat confdefs.h
>>conftest.
$ac_ext
10910 cat >>conftest.
$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10916 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10921 rm -f conftest.
$ac_objext
10922 if { (ac_try
="$ac_compile"
10923 case "(($ac_try" in
10924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10925 *) ac_try_echo=$ac_try;;
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10928 (eval "$ac_compile") 2>conftest.er1
10930 grep -v '^ *+' conftest.er1 >conftest.err
10932 cat conftest.err >&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } && {
10935 test -z "$ac_c_werror_flag" ||
10936 test ! -s conftest.err
10937 } && test -s conftest.$ac_objext; then
10938 wine_cv_opengl_header_version_OK="yes"
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.$ac_ext >&5
10943 wine_cv_opengl_header_version_OK="no"
10946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10948 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10949 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10951 if test "$wine_cv_opengl_header_version_OK" = "yes"
10953 { echo "$as_me:$LINENO: checking for -lGL" >&5
10954 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10955 if test "${ac_cv_lib_soname_GL+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 ac_check_soname_save_LIBS=$LIBS
10959 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10960 cat >conftest.$ac_ext <<_ACEOF
10963 cat confdefs.h >>conftest.$ac_ext
10964 cat >>conftest.$ac_ext <<_ACEOF
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10973 char glXCreateContext ();
10977 return glXCreateContext ();
10982 rm -f conftest.$ac_objext conftest$ac_exeext
10983 if { (ac_try="$ac_link"
10984 case "(($ac_try" in
10985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10986 *) ac_try_echo
=$ac_try;;
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_link") 2>conftest.er1
10991 grep -v '^ *+' conftest.er1
>conftest.err
10993 cat conftest.err
>&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && {
10996 test -z "$ac_c_werror_flag" ||
10997 test ! -s conftest.err
10998 } && test -s conftest
$ac_exeext &&
10999 $as_test_x conftest
$ac_exeext; then
11002 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'` ;;
11003 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11006 echo "$as_me: failed program was:" >&5
11007 sed 's/^/| /' conftest.
$ac_ext >&5
11012 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LIBS
=$ac_check_soname_save_LIBS
11016 if test "x$ac_cv_lib_soname_GL" = "x"; then
11017 { echo "$as_me:$LINENO: result: not found" >&5
11018 echo "${ECHO_T}not found" >&6; }
11019 { echo "$as_me:$LINENO: checking for -lGL" >&5
11020 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11021 if test "${ac_cv_lib_soname_GL+set}" = set; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 ac_check_soname_save_LIBS
=$LIBS
11025 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11026 cat >conftest.
$ac_ext <<_ACEOF
11029 cat confdefs.h
>>conftest.
$ac_ext
11030 cat >>conftest.
$ac_ext <<_ACEOF
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11039 char glXCreateContext ();
11043 return glXCreateContext ();
11048 rm -f conftest.
$ac_objext conftest
$ac_exeext
11049 if { (ac_try
="$ac_link"
11050 case "(($ac_try" in
11051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11052 *) ac_try_echo=$ac_try;;
11054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11055 (eval "$ac_link") 2>conftest.er1
11057 grep -v '^ *+' conftest.er1 >conftest.err
11059 cat conftest.err >&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } && {
11062 test -z "$ac_c_werror_flag" ||
11063 test ! -s conftest.err
11064 } && test -s conftest$ac_exeext &&
11065 $as_test_x conftest$ac_exeext; then
11068 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'` ;;
11069 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_soname_save_LIBS
11082 if test "x$ac_cv_lib_soname_GL" = "x"; then
11083 { echo "$as_me:$LINENO: result: not found" >&5
11084 echo "${ECHO_T}not found" >&6; }
11085 if test -f /usr/X11R6/lib/libGL.a
11087 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11088 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11090 opengl_msg="No OpenGL library found on this system."
11093 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11094 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11096 cat >>confdefs.h <<_ACEOF
11097 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11100 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
11101 OPENGLFILES='$(OPENGLFILES)'
11103 cat >>confdefs.h <<\_ACEOF
11104 #define HAVE_OPENGL 1
11110 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11111 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11118 OPENGLFILES='$(OPENGLFILES)'
11120 cat >>confdefs.h <<\_ACEOF
11121 #define HAVE_OPENGL 1
11126 if test "$ac_cv_header_GL_glu_h" = "yes"
11128 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11129 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11130 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 ac_check_soname_save_LIBS=$LIBS
11134 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11135 cat >conftest.$ac_ext <<_ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11152 return gluLookAt ();
11157 rm -f conftest.$ac_objext conftest$ac_exeext
11158 if { (ac_try="$ac_link"
11159 case "(($ac_try" in
11160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11161 *) ac_try_echo
=$ac_try;;
11163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11164 (eval "$ac_link") 2>conftest.er1
11166 grep -v '^ *+' conftest.er1
>conftest.err
11168 cat conftest.err
>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); } && {
11171 test -z "$ac_c_werror_flag" ||
11172 test ! -s conftest.err
11173 } && test -s conftest
$ac_exeext &&
11174 $as_test_x conftest
$ac_exeext; then
11177 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11178 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.
$ac_ext >&5
11187 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11188 conftest
$ac_exeext conftest.
$ac_ext
11189 LIBS
=$ac_check_soname_save_LIBS
11191 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11192 { echo "$as_me:$LINENO: result: not found" >&5
11193 echo "${ECHO_T}not found" >&6; }
11196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11197 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11199 cat >>confdefs.h
<<_ACEOF
11200 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11203 GLU32FILES
='$(GLU32FILES)'
11207 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11208 case "x$with_glu" in
11209 x
) wine_notices
="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11211 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11212 This is an error since --with-glu was requested." >&5
11213 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11214 This is an error since --with-glu was requested." >&2;}
11215 { (exit 1); exit 1; }; } ;;
11220 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11223 opengl_msg
="OpenGL development headers not found."
11226 if test -n "$opengl_msg"; then
11227 case "x$with_opengl" in
11228 x
) wine_warnings
="$wine_warnings|$opengl_msg
11229 OpenGL and Direct3D won't be supported." ;;
11231 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11232 OpenGL and Direct3D won't be supported.
11233 This is an error since --with-opengl was requested." >&5
11234 echo "$as_me: error: $opengl_msg
11235 OpenGL and Direct3D won't be supported.
11236 This is an error since --with-opengl was requested." >&2;}
11237 { (exit 1); exit 1; }; } ;;
11245 for ac_header
in audio
/audiolib.h
11247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11251 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 ac_res
=`eval echo '${'$as_ac_Header'}'`
11255 { echo "$as_me:$LINENO: result: $ac_res" >&5
11256 echo "${ECHO_T}$ac_res" >&6; }
11258 # Is the header compilable?
11259 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11261 cat >conftest.
$ac_ext <<_ACEOF
11264 cat confdefs.h
>>conftest.
$ac_ext
11265 cat >>conftest.
$ac_ext <<_ACEOF
11266 /* end confdefs.h. */
11267 $ac_includes_default
11268 #include <$ac_header>
11270 rm -f conftest.
$ac_objext
11271 if { (ac_try
="$ac_compile"
11272 case "(($ac_try" in
11273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11274 *) ac_try_echo=$ac_try;;
11276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11277 (eval "$ac_compile") 2>conftest.er1
11279 grep -v '^ *+' conftest.er1 >conftest.err
11281 cat conftest.err >&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); } && {
11284 test -z "$ac_c_werror_flag" ||
11285 test ! -s conftest.err
11286 } && test -s conftest.$ac_objext; then
11287 ac_header_compiler=yes
11289 echo "$as_me: failed program was:" >&5
11290 sed 's/^/| /' conftest.$ac_ext >&5
11292 ac_header_compiler=no
11295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11296 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11297 echo "${ECHO_T}$ac_header_compiler" >&6; }
11299 # Is the header present?
11300 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11302 cat >conftest.$ac_ext <<_ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 #include <$ac_header>
11310 if { (ac_try="$ac_cpp conftest.$ac_ext"
11311 case "(($ac_try" in
11312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11313 *) ac_try_echo
=$ac_try;;
11315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11318 grep -v '^ *+' conftest.er1
>conftest.err
11320 cat conftest.err
>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } >/dev
/null
&& {
11323 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11324 test ! -s conftest.err
11326 ac_header_preproc
=yes
11328 echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.
$ac_ext >&5
11331 ac_header_preproc
=no
11334 rm -f conftest.err conftest.
$ac_ext
11335 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11336 echo "${ECHO_T}$ac_header_preproc" >&6; }
11338 # So? What about this header?
11339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11345 ac_header_preproc
=yes
11348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11361 ## ------------------------------------ ##
11362 ## Report this to wine-devel@winehq.org ##
11363 ## ------------------------------------ ##
11365 ) |
sed "s/^/$as_me: WARNING: /" >&2
11368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11370 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 eval "$as_ac_Header=\$ac_header_preproc"
11375 ac_res
=`eval echo '${'$as_ac_Header'}'`
11376 { echo "$as_me:$LINENO: result: $ac_res" >&5
11377 echo "${ECHO_T}$ac_res" >&6; }
11380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11381 cat >>confdefs.h
<<_ACEOF
11382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11385 for ac_header
in audio
/soundlib.h
11387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11390 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 cat >conftest.
$ac_ext <<_ACEOF
11396 cat confdefs.h
>>conftest.
$ac_ext
11397 cat >>conftest.
$ac_ext <<_ACEOF
11398 /* end confdefs.h. */
11399 #include <audio/audiolib.h>
11401 #include <$ac_header>
11403 rm -f conftest.
$ac_objext
11404 if { (ac_try
="$ac_compile"
11405 case "(($ac_try" in
11406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11407 *) ac_try_echo=$ac_try;;
11409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11410 (eval "$ac_compile") 2>conftest.er1
11412 grep -v '^ *+' conftest.er1 >conftest.err
11414 cat conftest.err >&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); } && {
11417 test -z "$ac_c_werror_flag" ||
11418 test ! -s conftest.err
11419 } && test -s conftest.$ac_objext; then
11420 eval "$as_ac_Header=yes"
11422 echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.$ac_ext >&5
11425 eval "$as_ac_Header=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11430 ac_res=`eval echo '${'$as_ac_Header'}'`
11431 { echo "$as_me:$LINENO: result: $ac_res" >&5
11432 echo "${ECHO_T}$ac_res" >&6; }
11433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11434 cat >>confdefs.h <<_ACEOF
11435 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11442 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11443 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11444 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 ac_check_lib_save_LIBS=$LIBS
11448 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11449 cat >conftest.$ac_ext <<_ACEOF
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11462 char AuCreateFlow ();
11466 return AuCreateFlow ();
11471 rm -f conftest.$ac_objext conftest$ac_exeext
11472 if { (ac_try="$ac_link"
11473 case "(($ac_try" in
11474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11475 *) ac_try_echo
=$ac_try;;
11477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11478 (eval "$ac_link") 2>conftest.er1
11480 grep -v '^ *+' conftest.er1
>conftest.err
11482 cat conftest.err
>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } && {
11485 test -z "$ac_c_werror_flag" ||
11486 test ! -s conftest.err
11487 } && test -s conftest
$ac_exeext &&
11488 $as_test_x conftest
$ac_exeext; then
11489 ac_cv_lib_audio_AuCreateFlow
=yes
11491 echo "$as_me: failed program was:" >&5
11492 sed 's/^/| /' conftest.
$ac_ext >&5
11494 ac_cv_lib_audio_AuCreateFlow
=no
11497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11498 conftest
$ac_exeext conftest.
$ac_ext
11499 LIBS
=$ac_check_lib_save_LIBS
11501 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11502 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11503 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11505 cat >>confdefs.h
<<\_ACEOF
11509 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11510 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11511 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11512 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 ac_check_lib_save_LIBS
=$LIBS
11515 LIBS
="-lXau $X_LIBS $LIBS"
11516 cat >conftest.
$ac_ext <<_ACEOF
11519 cat confdefs.h
>>conftest.
$ac_ext
11520 cat >>conftest.
$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11529 char XauGetBestAuthByAddr ();
11533 return XauGetBestAuthByAddr ();
11538 rm -f conftest.
$ac_objext conftest
$ac_exeext
11539 if { (ac_try
="$ac_link"
11540 case "(($ac_try" in
11541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11542 *) ac_try_echo=$ac_try;;
11544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11545 (eval "$ac_link") 2>conftest.er1
11547 grep -v '^ *+' conftest.er1 >conftest.err
11549 cat conftest.err >&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); } && {
11552 test -z "$ac_c_werror_flag" ||
11553 test ! -s conftest.err
11554 } && test -s conftest$ac_exeext &&
11555 $as_test_x conftest$ac_exeext; then
11556 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11558 echo "$as_me: failed program was:" >&5
11559 sed 's/^/| /' conftest.$ac_ext >&5
11561 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_lib_save_LIBS
11568 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11569 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11570 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11571 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11573 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11584 CPPFLAGS="$ac_save_CPPFLAGS"
11591 if test "x$XLIB" = "x"; then
11594 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11595 without X support, which probably isn't what you want. You will need to install
11596 development packages of Xlib/Xfree86 at the very least.
11597 Use the --without-x option if you really want this." >&5
11598 echo "$as_me: error: X development files not found. Wine will be built
11599 without X support, which probably isn't what you want. You will need to install
11600 development packages of Xlib/Xfree86 at the very least.
11601 Use the --without-x option if you really want this." >&2;}
11602 { (exit 1); exit 1; }; } ;;
11616 if test "x$with_xml" != "xno"
11618 ac_save_CPPFLAGS="$CPPFLAGS"
11619 if test "$PKG_CONFIG" != "false"
11621 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11622 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11624 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11625 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11627 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11629 for ac_header in libxml/parser.h
11631 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 ac_res=`eval echo '${'$as_ac_Header'}'`
11639 { echo "$as_me:$LINENO: result: $ac_res" >&5
11640 echo "${ECHO_T}$ac_res" >&6; }
11642 # Is the header compilable?
11643 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11645 cat >conftest.$ac_ext <<_ACEOF
11648 cat confdefs.h >>conftest.$ac_ext
11649 cat >>conftest.$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 $ac_includes_default
11652 #include <$ac_header>
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;;
11660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11661 (eval "$ac_compile") 2>conftest.er1
11663 grep -v '^ *+' conftest.er1
>conftest.err
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_header_compiler
=yes
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.
$ac_ext >&5
11676 ac_header_compiler
=no
11679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11680 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11681 echo "${ECHO_T}$ac_header_compiler" >&6; }
11683 # Is the header present?
11684 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11686 cat >conftest.
$ac_ext <<_ACEOF
11689 cat confdefs.h
>>conftest.
$ac_ext
11690 cat >>conftest.
$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11692 #include <$ac_header>
11694 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11695 case "(($ac_try" in
11696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11697 *) ac_try_echo=$ac_try;;
11699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11702 grep -v '^ *+' conftest.er1 >conftest.err
11704 cat conftest.err >&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); } >/dev/null && {
11707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11708 test ! -s conftest.err
11710 ac_header_preproc=yes
11712 echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.$ac_ext >&5
11715 ac_header_preproc=no
11718 rm -f conftest.err conftest.$ac_ext
11719 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11720 echo "${ECHO_T}$ac_header_preproc" >&6; }
11722 # So? What about this header?
11723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11729 ac_header_preproc=yes
11732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11745 ## ------------------------------------ ##
11746 ## Report this to wine-devel@winehq.org ##
11747 ## ------------------------------------ ##
11749 ) | sed "s/^/$as_me: WARNING: /" >&2
11752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 eval "$as_ac_Header=\$ac_header_preproc"
11759 ac_res=`eval echo '${'$as_ac_Header'}'`
11760 { echo "$as_me:$LINENO: result: $ac_res" >&5
11761 echo "${ECHO_T}$ac_res" >&6; }
11764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11765 cat >>confdefs.h <<_ACEOF
11766 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11768 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11769 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11770 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 ac_check_lib_save_LIBS=$LIBS
11774 LIBS="-lxml2 $ac_xml_libs $LIBS"
11775 cat >conftest.$ac_ext <<_ACEOF
11778 cat confdefs.h >>conftest.$ac_ext
11779 cat >>conftest.$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11782 /* Override any GCC internal prototype to avoid an error.
11783 Use char because int might match the return type of a GCC
11784 builtin and then its argument prototype would still apply. */
11788 char xmlParseMemory ();
11792 return xmlParseMemory ();
11797 rm -f conftest.$ac_objext conftest$ac_exeext
11798 if { (ac_try="$ac_link"
11799 case "(($ac_try" in
11800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11801 *) ac_try_echo
=$ac_try;;
11803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11804 (eval "$ac_link") 2>conftest.er1
11806 grep -v '^ *+' conftest.er1
>conftest.err
11808 cat conftest.err
>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); } && {
11811 test -z "$ac_c_werror_flag" ||
11812 test ! -s conftest.err
11813 } && test -s conftest
$ac_exeext &&
11814 $as_test_x conftest
$ac_exeext; then
11815 ac_cv_lib_xml2_xmlParseMemory
=yes
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.
$ac_ext >&5
11820 ac_cv_lib_xml2_xmlParseMemory
=no
11823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11824 conftest
$ac_exeext conftest.
$ac_ext
11825 LIBS
=$ac_check_lib_save_LIBS
11827 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11828 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11829 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11831 cat >>confdefs.h
<<\_ACEOF
11832 #define HAVE_LIBXML2 1
11835 XML2LIBS
="$ac_xml_libs"
11836 XML2INCL
="$ac_xml_cflags"
11839 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11840 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11841 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 ac_check_lib_save_LIBS
=$LIBS
11845 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11859 char xmlReadMemory ();
11863 return xmlReadMemory ();
11868 rm -f conftest.
$ac_objext conftest
$ac_exeext
11869 if { (ac_try
="$ac_link"
11870 case "(($ac_try" in
11871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_link") 2>conftest.er1
11877 grep -v '^ *+' conftest.er1 >conftest.err
11879 cat conftest.err >&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } && {
11882 test -z "$ac_c_werror_flag" ||
11883 test ! -s conftest.err
11884 } && test -s conftest$ac_exeext &&
11885 $as_test_x conftest$ac_exeext; then
11886 ac_cv_lib_xml2_xmlReadMemory=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 ac_cv_lib_xml2_xmlReadMemory=no
11894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11898 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11899 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11900 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11902 cat >>confdefs.h <<\_ACEOF
11903 #define HAVE_XMLREADMEMORY 1
11908 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11909 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11910 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 ac_check_lib_save_LIBS=$LIBS
11914 LIBS="-lxml2 $ac_xml_libs $LIBS"
11915 cat >conftest.$ac_ext <<_ACEOF
11918 cat confdefs.h >>conftest.$ac_ext
11919 cat >>conftest.$ac_ext <<_ACEOF
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11928 char xmlNewDocPI ();
11932 return xmlNewDocPI ();
11937 rm -f conftest.$ac_objext conftest$ac_exeext
11938 if { (ac_try="$ac_link"
11939 case "(($ac_try" in
11940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11941 *) ac_try_echo
=$ac_try;;
11943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11944 (eval "$ac_link") 2>conftest.er1
11946 grep -v '^ *+' conftest.er1
>conftest.err
11948 cat conftest.err
>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } && {
11951 test -z "$ac_c_werror_flag" ||
11952 test ! -s conftest.err
11953 } && test -s conftest
$ac_exeext &&
11954 $as_test_x conftest
$ac_exeext; then
11955 ac_cv_lib_xml2_xmlNewDocPI
=yes
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.
$ac_ext >&5
11960 ac_cv_lib_xml2_xmlNewDocPI
=no
11963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11964 conftest
$ac_exeext conftest.
$ac_ext
11965 LIBS
=$ac_check_lib_save_LIBS
11967 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11968 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11969 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11971 cat >>confdefs.h
<<\_ACEOF
11972 #define HAVE_XMLNEWDOCPI 1
11982 CPPFLAGS
="$ac_save_CPPFLAGS"
11984 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11985 case "x$with_xml" in
11986 x
) wine_warnings
="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11988 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11989 This is an error since --with-xml was requested." >&5
11990 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11991 This is an error since --with-xml was requested." >&2;}
11992 { (exit 1); exit 1; }; } ;;
11997 if test "x$with_xslt" != "xno"
11999 if test "$PKG_CONFIG" != "false"
12001 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12002 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12004 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
12005 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
12007 ac_save_CPPFLAGS
="$CPPFLAGS"
12008 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
12011 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
12013 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12016 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 cat >conftest.
$ac_ext <<_ACEOF
12022 cat confdefs.h
>>conftest.
$ac_ext
12023 cat >>conftest.
$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12025 #ifdef HAVE_LIBXSLT_PATTERN_H
12026 # include <libxslt/pattern.h>
12029 #include <$ac_header>
12031 rm -f conftest.
$ac_objext
12032 if { (ac_try
="$ac_compile"
12033 case "(($ac_try" in
12034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12035 *) ac_try_echo=$ac_try;;
12037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12038 (eval "$ac_compile") 2>conftest.er1
12040 grep -v '^ *+' conftest.er1 >conftest.err
12042 cat conftest.err >&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); } && {
12045 test -z "$ac_c_werror_flag" ||
12046 test ! -s conftest.err
12047 } && test -s conftest.$ac_objext; then
12048 eval "$as_ac_Header=yes"
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 eval "$as_ac_Header=no"
12056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12058 ac_res=`eval echo '${'$as_ac_Header'}'`
12059 { echo "$as_me:$LINENO: result: $ac_res" >&5
12060 echo "${ECHO_T}$ac_res" >&6; }
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062 cat >>confdefs.h <<_ACEOF
12063 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12070 CPPFLAGS="$ac_save_CPPFLAGS"
12071 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12073 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12074 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12075 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 ac_check_lib_save_LIBS=$LIBS
12079 LIBS="-lxslt $ac_xslt_libs $LIBS"
12080 cat >conftest.$ac_ext <<_ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12093 char xsltCompilePattern ();
12097 return xsltCompilePattern ();
12102 rm -f conftest.$ac_objext conftest$ac_exeext
12103 if { (ac_try="$ac_link"
12104 case "(($ac_try" in
12105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12106 *) ac_try_echo
=$ac_try;;
12108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12109 (eval "$ac_link") 2>conftest.er1
12111 grep -v '^ *+' conftest.er1
>conftest.err
12113 cat conftest.err
>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); } && {
12116 test -z "$ac_c_werror_flag" ||
12117 test ! -s conftest.err
12118 } && test -s conftest
$ac_exeext &&
12119 $as_test_x conftest
$ac_exeext; then
12120 ac_cv_lib_xslt_xsltCompilePattern
=yes
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.
$ac_ext >&5
12125 ac_cv_lib_xslt_xsltCompilePattern
=no
12128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12129 conftest
$ac_exeext conftest.
$ac_ext
12130 LIBS
=$ac_check_lib_save_LIBS
12132 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12133 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12134 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12136 cat >>confdefs.h
<<\_ACEOF
12137 #define HAVE_LIBXSLT 1
12140 XSLTLIBS
="$ac_xslt_libs"
12141 XSLTINCL
="$ac_xslt_cflags"
12142 ac_save_LIBS
="$LIBS"
12143 LIBS
="$LIBS $ac_xslt_libs"
12145 for ac_func
in xsltInit
12147 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12150 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 cat >conftest.
$ac_ext <<_ACEOF
12156 cat confdefs.h
>>conftest.
$ac_ext
12157 cat >>conftest.
$ac_ext <<_ACEOF
12158 /* end confdefs.h. */
12159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12161 #define $ac_func innocuous_$ac_func
12163 /* System header to define __stub macros and hopefully few prototypes,
12164 which can conflict with char $ac_func (); below.
12165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12166 <limits.h> exists even on freestanding compilers. */
12169 # include <limits.h>
12171 # include <assert.h>
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12183 /* The GNU C library defines this for functions which it implements
12184 to always fail with ENOSYS. Some functions are actually named
12185 something starting with __ and the normal name is an alias. */
12186 #if defined __stub_$ac_func || defined __stub___$ac_func
12193 return $ac_func ();
12198 rm -f conftest.
$ac_objext conftest
$ac_exeext
12199 if { (ac_try
="$ac_link"
12200 case "(($ac_try" in
12201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12202 *) ac_try_echo=$ac_try;;
12204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12205 (eval "$ac_link") 2>conftest.er1
12207 grep -v '^ *+' conftest.er1 >conftest.err
12209 cat conftest.err >&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); } && {
12212 test -z "$ac_c_werror_flag" ||
12213 test ! -s conftest.err
12214 } && test -s conftest$ac_exeext &&
12215 $as_test_x conftest$ac_exeext; then
12216 eval "$as_ac_var=yes"
12218 echo "$as_me: failed program was:" >&5
12219 sed 's/^/| /' conftest.$ac_ext >&5
12221 eval "$as_ac_var=no"
12224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12225 conftest$ac_exeext conftest.$ac_ext
12227 ac_res=`eval echo '${'$as_ac_var'}'`
12228 { echo "$as_me:$LINENO: result: $ac_res" >&5
12229 echo "${ECHO_T}$ac_res" >&6; }
12230 if test `eval echo '${'$as_ac_var'}'` = yes; then
12231 cat >>confdefs.h <<_ACEOF
12232 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12238 LIBS="$ac_save_LIBS"
12243 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12244 case "x$with_xslt" in
12245 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12247 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12248 This is an error since --with-xslt was requested." >&5
12249 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12250 This is an error since --with-xslt was requested." >&2;}
12251 { (exit 1); exit 1; }; } ;;
12258 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12260 ac_save_CPPFLAGS="$CPPFLAGS"
12261 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12262 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12263 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12266 for ac_header in dbus/dbus.h hal/libhal.h
12268 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 ac_res=`eval echo '${'$as_ac_Header'}'`
12276 { echo "$as_me:$LINENO: result: $ac_res" >&5
12277 echo "${ECHO_T}$ac_res" >&6; }
12279 # Is the header compilable?
12280 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12282 cat >conftest.$ac_ext <<_ACEOF
12285 cat confdefs.h >>conftest.$ac_ext
12286 cat >>conftest.$ac_ext <<_ACEOF
12287 /* end confdefs.h. */
12288 $ac_includes_default
12289 #include <$ac_header>
12291 rm -f conftest.$ac_objext
12292 if { (ac_try="$ac_compile"
12293 case "(($ac_try" in
12294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12295 *) ac_try_echo
=$ac_try;;
12297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12298 (eval "$ac_compile") 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } && {
12305 test -z "$ac_c_werror_flag" ||
12306 test ! -s conftest.err
12307 } && test -s conftest.
$ac_objext; then
12308 ac_header_compiler
=yes
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.
$ac_ext >&5
12313 ac_header_compiler
=no
12316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12317 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12318 echo "${ECHO_T}$ac_header_compiler" >&6; }
12320 # Is the header present?
12321 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12323 cat >conftest.
$ac_ext <<_ACEOF
12326 cat confdefs.h
>>conftest.
$ac_ext
12327 cat >>conftest.
$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12329 #include <$ac_header>
12331 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12332 case "(($ac_try" in
12333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12334 *) ac_try_echo=$ac_try;;
12336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12339 grep -v '^ *+' conftest.er1 >conftest.err
12341 cat conftest.err >&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } >/dev/null && {
12344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12345 test ! -s conftest.err
12347 ac_header_preproc=yes
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12352 ac_header_preproc=no
12355 rm -f conftest.err conftest.$ac_ext
12356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12357 echo "${ECHO_T}$ac_header_preproc" >&6; }
12359 # So? What about this header?
12360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12362 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12363 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12365 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12366 ac_header_preproc=yes
12369 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12371 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12372 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12373 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12374 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12375 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12376 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12379 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12380 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12382 ## ------------------------------------ ##
12383 ## Report this to wine-devel@winehq.org ##
12384 ## ------------------------------------ ##
12386 ) | sed "s/^/$as_me: WARNING: /" >&2
12389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 eval "$as_ac_Header=\$ac_header_preproc"
12396 ac_res=`eval echo '${'$as_ac_Header'}'`
12397 { echo "$as_me:$LINENO: result: $ac_res" >&5
12398 echo "${ECHO_T}$ac_res" >&6; }
12401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12402 cat >>confdefs.h <<_ACEOF
12403 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12410 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12412 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12413 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12414 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12419 cat >conftest.$ac_ext <<_ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12432 char dbus_connection_close ();
12436 return dbus_connection_close ();
12441 rm -f conftest.$ac_objext conftest$ac_exeext
12442 if { (ac_try="$ac_link"
12443 case "(($ac_try" in
12444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12445 *) ac_try_echo
=$ac_try;;
12447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12448 (eval "$ac_link") 2>conftest.er1
12450 grep -v '^ *+' conftest.er1
>conftest.err
12452 cat conftest.err
>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } && {
12455 test -z "$ac_c_werror_flag" ||
12456 test ! -s conftest.err
12457 } && test -s conftest
$ac_exeext &&
12458 $as_test_x conftest
$ac_exeext; then
12459 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12461 echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.
$ac_ext >&5
12464 ac_cv_lib_dbus_1_dbus_connection_close
=no
12467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12468 conftest
$ac_exeext conftest.
$ac_ext
12469 LIBS
=$ac_check_lib_save_LIBS
12471 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12472 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12473 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12474 { echo "$as_me:$LINENO: checking for -lhal" >&5
12475 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12476 if test "${ac_cv_lib_soname_hal+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 ac_check_soname_save_LIBS
=$LIBS
12480 LIBS
="-lhal $ac_hal_libs $LIBS"
12481 cat >conftest.
$ac_ext <<_ACEOF
12484 cat confdefs.h
>>conftest.
$ac_ext
12485 cat >>conftest.
$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12494 char libhal_ctx_new ();
12498 return libhal_ctx_new ();
12503 rm -f conftest.
$ac_objext conftest
$ac_exeext
12504 if { (ac_try
="$ac_link"
12505 case "(($ac_try" in
12506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_link") 2>conftest.er1
12512 grep -v '^ *+' conftest.er1 >conftest.err
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } && {
12517 test -z "$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 } && test -s conftest$ac_exeext &&
12520 $as_test_x conftest$ac_exeext; then
12523 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'` ;;
12524 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5
12533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12534 conftest$ac_exeext conftest.$ac_ext
12535 LIBS=$ac_check_soname_save_LIBS
12537 if test "x$ac_cv_lib_soname_hal" = "x"; then
12538 { echo "$as_me:$LINENO: result: not found" >&5
12539 echo "${ECHO_T}not found" >&6; }
12542 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12543 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12549 HALINCL="$ac_hal_cflags"
12555 CPPFLAGS="$ac_save_CPPFLAGS"
12557 if test "x$ac_cv_lib_soname_hal" = "x"; then
12558 case "x$with_hal" in
12559 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12561 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12562 This is an error since --with-hal was requested." >&5
12563 echo "$as_me: error: libhal development files not found, no dynamic device support.
12564 This is an error since --with-hal was requested." >&2;}
12565 { (exit 1); exit 1; }; } ;;
12571 if test "$ac_cv_header_ncurses_h" = "yes"
12573 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12574 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12575 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12576 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 ac_check_soname_save_LIBS=$LIBS
12579 LIBS="-lncurses $LIBS"
12580 cat >conftest.$ac_ext <<_ACEOF
12583 cat confdefs.h >>conftest.$ac_ext
12584 cat >>conftest.$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12602 rm -f conftest.$ac_objext conftest$ac_exeext
12603 if { (ac_try="$ac_link"
12604 case "(($ac_try" in
12605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12606 *) ac_try_echo
=$ac_try;;
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609 (eval "$ac_link") 2>conftest.er1
12611 grep -v '^ *+' conftest.er1
>conftest.err
12613 cat conftest.err
>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } && {
12616 test -z "$ac_c_werror_flag" ||
12617 test ! -s conftest.err
12618 } && test -s conftest
$ac_exeext &&
12619 $as_test_x conftest
$ac_exeext; then
12622 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'` ;;
12623 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12626 echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.
$ac_ext >&5
12632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12633 conftest
$ac_exeext conftest.
$ac_ext
12634 LIBS
=$ac_check_soname_save_LIBS
12636 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12637 { echo "$as_me:$LINENO: result: not found" >&5
12638 echo "${ECHO_T}not found" >&6; }
12641 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12642 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12644 cat >>confdefs.h
<<_ACEOF
12645 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12648 CURSESLIBS
="-lncurses"
12651 elif test "$ac_cv_header_curses_h" = "yes"
12653 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12654 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12655 if test "${ac_cv_lib_soname_curses+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 ac_check_soname_save_LIBS
=$LIBS
12659 LIBS
="-lcurses $LIBS"
12660 cat >conftest.
$ac_ext <<_ACEOF
12663 cat confdefs.h
>>conftest.
$ac_ext
12664 cat >>conftest.
$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12682 rm -f conftest.
$ac_objext conftest
$ac_exeext
12683 if { (ac_try
="$ac_link"
12684 case "(($ac_try" in
12685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12686 *) ac_try_echo=$ac_try;;
12688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12689 (eval "$ac_link") 2>conftest.er1
12691 grep -v '^ *+' conftest.er1 >conftest.err
12693 cat conftest.err >&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); } && {
12696 test -z "$ac_c_werror_flag" ||
12697 test ! -s conftest.err
12698 } && test -s conftest$ac_exeext &&
12699 $as_test_x conftest$ac_exeext; then
12702 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'` ;;
12703 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12713 conftest$ac_exeext conftest.$ac_ext
12714 LIBS=$ac_check_soname_save_LIBS
12716 if test "x$ac_cv_lib_soname_curses" = "x"; then
12717 { echo "$as_me:$LINENO: result: not found" >&5
12718 echo "${ECHO_T}not found" >&6; }
12721 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12722 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12724 cat >>confdefs.h <<_ACEOF
12725 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12728 CURSESLIBS="-lcurses"
12732 ac_save_LIBS="$LIBS"
12733 LIBS="$LIBS $CURSESLIBS"
12735 for ac_func in mousemask
12737 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12743 cat >conftest.$ac_ext <<_ACEOF
12746 cat confdefs.h >>conftest.$ac_ext
12747 cat >>conftest.$ac_ext <<_ACEOF
12748 /* end confdefs.h. */
12749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12751 #define $ac_func innocuous_$ac_func
12753 /* System header to define __stub macros and hopefully few prototypes,
12754 which can conflict with char $ac_func (); below.
12755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12756 <limits.h> exists even on freestanding compilers. */
12759 # include <limits.h>
12761 # include <assert.h>
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12773 /* The GNU C library defines this for functions which it implements
12774 to always fail with ENOSYS. Some functions are actually named
12775 something starting with __ and the normal name is an alias. */
12776 #if defined __stub_$ac_func || defined __stub___$ac_func
12783 return $ac_func ();
12788 rm -f conftest.$ac_objext conftest$ac_exeext
12789 if { (ac_try="$ac_link"
12790 case "(($ac_try" in
12791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12792 *) ac_try_echo
=$ac_try;;
12794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12795 (eval "$ac_link") 2>conftest.er1
12797 grep -v '^ *+' conftest.er1
>conftest.err
12799 cat conftest.err
>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } && {
12802 test -z "$ac_c_werror_flag" ||
12803 test ! -s conftest.err
12804 } && test -s conftest
$ac_exeext &&
12805 $as_test_x conftest
$ac_exeext; then
12806 eval "$as_ac_var=yes"
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.
$ac_ext >&5
12811 eval "$as_ac_var=no"
12814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12815 conftest
$ac_exeext conftest.
$ac_ext
12817 ac_res
=`eval echo '${'$as_ac_var'}'`
12818 { echo "$as_me:$LINENO: result: $ac_res" >&5
12819 echo "${ECHO_T}$ac_res" >&6; }
12820 if test `eval echo '${'$as_ac_var'}'` = yes; then
12821 cat >>confdefs.h
<<_ACEOF
12822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12828 LIBS
="$ac_save_LIBS"
12829 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12830 case "x$with_curses" in
12831 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12833 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12834 This is an error since --with-curses was requested." >&5
12835 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12836 This is an error since --with-curses was requested." >&2;}
12837 { (exit 1); exit 1; }; } ;;
12842 # Extract the first word of "sane-config", so it can be a program name with args.
12843 set dummy sane-config
; ac_word
=$2
12844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12846 if test "${ac_cv_prog_sane_devel+set}" = set; then
12847 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 if test -n "$sane_devel"; then
12850 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12853 for as_dir
in $PATH
12856 test -z "$as_dir" && as_dir
=.
12857 for ac_exec_ext
in '' $ac_executable_extensions; do
12858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12859 ac_cv_prog_sane_devel
="sane-config"
12860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12867 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12870 sane_devel
=$ac_cv_prog_sane_devel
12871 if test -n "$sane_devel"; then
12872 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12873 echo "${ECHO_T}$sane_devel" >&6; }
12875 { echo "$as_me:$LINENO: result: no" >&5
12876 echo "${ECHO_T}no" >&6; }
12880 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12882 ac_sane_incl
="`$sane_devel --cflags`"
12883 ac_save_CPPFLAGS
="$CPPFLAGS"
12884 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
12885 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12886 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12887 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12888 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12892 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12894 # Is the header compilable?
12895 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12896 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12897 cat >conftest.
$ac_ext <<_ACEOF
12900 cat confdefs.h
>>conftest.
$ac_ext
12901 cat >>conftest.
$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 $ac_includes_default
12904 #include <sane/sane.h>
12906 rm -f conftest.
$ac_objext
12907 if { (ac_try
="$ac_compile"
12908 case "(($ac_try" in
12909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12910 *) ac_try_echo=$ac_try;;
12912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12913 (eval "$ac_compile") 2>conftest.er1
12915 grep -v '^ *+' conftest.er1 >conftest.err
12917 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } && {
12920 test -z "$ac_c_werror_flag" ||
12921 test ! -s conftest.err
12922 } && test -s conftest.$ac_objext; then
12923 ac_header_compiler=yes
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12928 ac_header_compiler=no
12931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12932 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12933 echo "${ECHO_T}$ac_header_compiler" >&6; }
12935 # Is the header present?
12936 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12937 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12938 cat >conftest.$ac_ext <<_ACEOF
12941 cat confdefs.h >>conftest.$ac_ext
12942 cat >>conftest.$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 #include <sane/sane.h>
12946 if { (ac_try="$ac_cpp conftest.$ac_ext"
12947 case "(($ac_try" in
12948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12949 *) ac_try_echo
=$ac_try;;
12951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12954 grep -v '^ *+' conftest.er1
>conftest.err
12956 cat conftest.err
>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } >/dev
/null
&& {
12959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12960 test ! -s conftest.err
12962 ac_header_preproc
=yes
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.
$ac_ext >&5
12967 ac_header_preproc
=no
12970 rm -f conftest.err conftest.
$ac_ext
12971 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12972 echo "${ECHO_T}$ac_header_preproc" >&6; }
12974 # So? What about this header?
12975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12977 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12978 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12979 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12980 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12981 ac_header_preproc
=yes
12984 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12985 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12987 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12989 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12990 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12991 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12992 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12993 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12994 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12995 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12997 ## ------------------------------------ ##
12998 ## Report this to wine-devel@winehq.org ##
12999 ## ------------------------------------ ##
13001 ) |
sed "s/^/$as_me: WARNING: /" >&2
13004 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13005 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13006 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 ac_cv_header_sane_sane_h
=$ac_header_preproc
13011 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13012 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13015 if test $ac_cv_header_sane_sane_h = yes; then
13016 { echo "$as_me:$LINENO: checking for -lsane" >&5
13017 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13018 if test "${ac_cv_lib_soname_sane+set}" = set; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 ac_check_soname_save_LIBS
=$LIBS
13022 LIBS
="-lsane $LIBS"
13023 cat >conftest.
$ac_ext <<_ACEOF
13026 cat confdefs.h
>>conftest.
$ac_ext
13027 cat >>conftest.
$ac_ext <<_ACEOF
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13040 return sane_init ();
13045 rm -f conftest.
$ac_objext conftest
$ac_exeext
13046 if { (ac_try
="$ac_link"
13047 case "(($ac_try" in
13048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13049 *) ac_try_echo=$ac_try;;
13051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13052 (eval "$ac_link") 2>conftest.er1
13054 grep -v '^ *+' conftest.er1 >conftest.err
13056 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } && {
13059 test -z "$ac_c_werror_flag" ||
13060 test ! -s conftest.err
13061 } && test -s conftest$ac_exeext &&
13062 $as_test_x conftest$ac_exeext; then
13065 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'` ;;
13066 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13076 conftest$ac_exeext conftest.$ac_ext
13077 LIBS=$ac_check_soname_save_LIBS
13079 if test "x$ac_cv_lib_soname_sane" = "x"; then
13080 { echo "$as_me:$LINENO: result: not found" >&5
13081 echo "${ECHO_T}not found" >&6; }
13084 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13085 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13087 cat >>confdefs.h <<_ACEOF
13088 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13091 SANEINCL="$ac_sane_incl"
13098 CPPFLAGS="$ac_save_CPPFLAGS"
13100 if test "x$ac_cv_lib_soname_sane" = "x"; then
13101 case "x$with_sane" in
13102 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13104 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13105 This is an error since --with-sane was requested." >&5
13106 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13107 This is an error since --with-sane was requested." >&2;}
13108 { (exit 1); exit 1; }; } ;;
13113 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13114 set dummy gphoto2-config; ac_word=$2
13115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13117 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 if test -n "$gphoto2_devel"; then
13121 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13124 for as_dir in $PATH
13127 test -z "$as_dir" && as_dir=.
13128 for ac_exec_ext in '' $ac_executable_extensions; do
13129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13130 ac_cv_prog_gphoto2_devel="gphoto2-config"
13131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13138 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13141 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13142 if test -n "$gphoto2_devel"; then
13143 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13144 echo "${ECHO_T}$gphoto2_devel" >&6; }
13146 { echo "$as_me:$LINENO: result: no" >&5
13147 echo "${ECHO_T}no" >&6; }
13151 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13152 set dummy gphoto2-port-config; ac_word=$2
13153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13155 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13156 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 if test -n "$gphoto2port_devel"; then
13159 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13162 for as_dir in $PATH
13165 test -z "$as_dir" && as_dir=.
13166 for ac_exec_ext in '' $ac_executable_extensions; do
13167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13168 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13176 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13179 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13180 if test -n "$gphoto2port_devel"; then
13181 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13182 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13184 { echo "$as_me:$LINENO: result: no" >&5
13185 echo "${ECHO_T}no" >&6; }
13189 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13191 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13193 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13196 -L/usr/lib|-L/usr/lib64) ;;
13197 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13200 ac_save_CPPFLAGS="$CPPFLAGS"
13201 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13202 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13203 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13204 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13205 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13209 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13211 # Is the header compilable?
13212 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13213 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13214 cat >conftest.$ac_ext <<_ACEOF
13217 cat confdefs.h >>conftest.$ac_ext
13218 cat >>conftest.$ac_ext <<_ACEOF
13219 /* end confdefs.h. */
13220 $ac_includes_default
13221 #include <gphoto2-camera.h>
13223 rm -f conftest.$ac_objext
13224 if { (ac_try="$ac_compile"
13225 case "(($ac_try" in
13226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13227 *) ac_try_echo
=$ac_try;;
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_compile") 2>conftest.er1
13232 grep -v '^ *+' conftest.er1
>conftest.err
13234 cat conftest.err
>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } && {
13237 test -z "$ac_c_werror_flag" ||
13238 test ! -s conftest.err
13239 } && test -s conftest.
$ac_objext; then
13240 ac_header_compiler
=yes
13242 echo "$as_me: failed program was:" >&5
13243 sed 's/^/| /' conftest.
$ac_ext >&5
13245 ac_header_compiler
=no
13248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13249 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13250 echo "${ECHO_T}$ac_header_compiler" >&6; }
13252 # Is the header present?
13253 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13254 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13255 cat >conftest.
$ac_ext <<_ACEOF
13258 cat confdefs.h
>>conftest.
$ac_ext
13259 cat >>conftest.
$ac_ext <<_ACEOF
13260 /* end confdefs.h. */
13261 #include <gphoto2-camera.h>
13263 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13264 case "(($ac_try" in
13265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13266 *) ac_try_echo=$ac_try;;
13268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13271 grep -v '^ *+' conftest.er1 >conftest.err
13273 cat conftest.err >&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } >/dev/null && {
13276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13277 test ! -s conftest.err
13279 ac_header_preproc=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_header_preproc=no
13287 rm -f conftest.err conftest.$ac_ext
13288 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13289 echo "${ECHO_T}$ac_header_preproc" >&6; }
13291 # So? What about this header?
13292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13294 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13295 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13296 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13297 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13298 ac_header_preproc=yes
13301 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13302 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13303 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13304 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13305 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13306 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13307 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13308 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13309 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13310 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13311 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13312 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13314 ## ------------------------------------ ##
13315 ## Report this to wine-devel@winehq.org ##
13316 ## ------------------------------------ ##
13318 ) | sed "s/^/$as_me: WARNING: /" >&2
13321 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13322 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13323 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13324 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13328 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13329 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13332 if test $ac_cv_header_gphoto2_camera_h = yes; then
13333 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13334 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13335 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 ac_check_lib_save_LIBS=$LIBS
13339 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13340 cat >conftest.$ac_ext <<_ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13353 char gp_camera_new ();
13357 return gp_camera_new ();
13362 rm -f conftest.$ac_objext conftest$ac_exeext
13363 if { (ac_try="$ac_link"
13364 case "(($ac_try" in
13365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13366 *) ac_try_echo
=$ac_try;;
13368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369 (eval "$ac_link") 2>conftest.er1
13371 grep -v '^ *+' conftest.er1
>conftest.err
13373 cat conftest.err
>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } && {
13376 test -z "$ac_c_werror_flag" ||
13377 test ! -s conftest.err
13378 } && test -s conftest
$ac_exeext &&
13379 $as_test_x conftest
$ac_exeext; then
13380 ac_cv_lib_gphoto2_gp_camera_new
=yes
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 ac_cv_lib_gphoto2_gp_camera_new
=no
13388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 LIBS
=$ac_check_lib_save_LIBS
13392 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13393 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13394 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13396 cat >>confdefs.h
<<\_ACEOF
13397 #define HAVE_GPHOTO2 1
13400 GPHOTO2LIBS
="$ac_gphoto2_libs"
13402 GPHOTO2INCL
="$ac_gphoto2_incl"
13409 CPPFLAGS
="$ac_save_CPPFLAGS"
13411 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13412 case "x$with_gphoto" in
13413 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13415 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13416 This is an error since --with-gphoto was requested." >&5
13417 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13418 This is an error since --with-gphoto was requested." >&2;}
13419 { (exit 1); exit 1; }; } ;;
13427 if test "$ac_cv_header_resolv_h" = "yes"
13429 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13430 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13431 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 ac_check_lib_save_LIBS
=$LIBS
13435 LIBS
="-lresolv $LIBS"
13436 cat >conftest.
$ac_ext <<_ACEOF
13439 cat confdefs.h
>>conftest.
$ac_ext
13440 cat >>conftest.
$ac_ext <<_ACEOF
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13453 return res_query ();
13458 rm -f conftest.
$ac_objext conftest
$ac_exeext
13459 if { (ac_try
="$ac_link"
13460 case "(($ac_try" in
13461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>conftest.er1
13467 grep -v '^ *+' conftest.er1 >conftest.err
13469 cat conftest.err >&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } && {
13472 test -z "$ac_c_werror_flag" ||
13473 test ! -s conftest.err
13474 } && test -s conftest$ac_exeext &&
13475 $as_test_x conftest$ac_exeext; then
13476 ac_cv_lib_resolv_res_query=yes
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 ac_cv_lib_resolv_res_query=no
13484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13485 conftest$ac_exeext conftest.$ac_ext
13486 LIBS=$ac_check_lib_save_LIBS
13488 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13489 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13490 if test $ac_cv_lib_resolv_res_query = yes; then
13492 cat >>confdefs.h <<\_ACEOF
13493 #define HAVE_RESOLV 1
13496 RESOLVLIBS="-lresolv"
13503 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13505 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13506 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13507 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-llcms $LIBS"
13512 cat >conftest.$ac_ext <<_ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13519 /* Override any GCC internal prototype to avoid an error.
13520 Use char because int might match the return type of a GCC
13521 builtin and then its argument prototype would still apply. */
13525 char cmsOpenProfileFromFile ();
13529 return cmsOpenProfileFromFile ();
13534 rm -f conftest.$ac_objext conftest$ac_exeext
13535 if { (ac_try="$ac_link"
13536 case "(($ac_try" in
13537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13538 *) ac_try_echo
=$ac_try;;
13540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13541 (eval "$ac_link") 2>conftest.er1
13543 grep -v '^ *+' conftest.er1
>conftest.err
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } && {
13548 test -z "$ac_c_werror_flag" ||
13549 test ! -s conftest.err
13550 } && test -s conftest
$ac_exeext &&
13551 $as_test_x conftest
$ac_exeext; then
13552 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
13554 echo "$as_me: failed program was:" >&5
13555 sed 's/^/| /' conftest.
$ac_ext >&5
13557 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13561 conftest
$ac_exeext conftest.
$ac_ext
13562 LIBS
=$ac_check_lib_save_LIBS
13564 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13565 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13566 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13568 cat >>confdefs.h
<<\_ACEOF
13569 #define HAVE_LCMS 1
13576 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13577 case "x$with_cms" in
13578 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13580 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13581 This is an error since --with-cms was requested." >&5
13582 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13583 This is an error since --with-cms was requested." >&2;}
13584 { (exit 1); exit 1; }; } ;;
13591 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13593 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13594 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13595 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 ac_check_lib_save_LIBS
=$LIBS
13599 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13600 cat >conftest.
$ac_ext <<_ACEOF
13603 cat confdefs.h
>>conftest.
$ac_ext
13604 cat >>conftest.
$ac_ext <<_ACEOF
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13613 char ldap_initialize ();
13617 return ldap_initialize ();
13622 rm -f conftest.
$ac_objext conftest
$ac_exeext
13623 if { (ac_try
="$ac_link"
13624 case "(($ac_try" in
13625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629 (eval "$ac_link") 2>conftest.er1
13631 grep -v '^ *+' conftest.er1 >conftest.err
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && {
13636 test -z "$ac_c_werror_flag" ||
13637 test ! -s conftest.err
13638 } && test -s conftest$ac_exeext &&
13639 $as_test_x conftest$ac_exeext; then
13640 ac_cv_lib_ldap_r_ldap_initialize=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13645 ac_cv_lib_ldap_r_ldap_initialize=no
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13652 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13653 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13654 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13655 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13656 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13657 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 ac_check_lib_save_LIBS=$LIBS
13661 LIBS="-llber $LIBPTHREAD $LIBS"
13662 cat >conftest.$ac_ext <<_ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13679 return ber_init ();
13684 rm -f conftest.$ac_objext conftest$ac_exeext
13685 if { (ac_try="$ac_link"
13686 case "(($ac_try" in
13687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13688 *) ac_try_echo
=$ac_try;;
13690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13691 (eval "$ac_link") 2>conftest.er1
13693 grep -v '^ *+' conftest.er1
>conftest.err
13695 cat conftest.err
>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } && {
13698 test -z "$ac_c_werror_flag" ||
13699 test ! -s conftest.err
13700 } && test -s conftest
$ac_exeext &&
13701 $as_test_x conftest
$ac_exeext; then
13702 ac_cv_lib_lber_ber_init
=yes
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.
$ac_ext >&5
13707 ac_cv_lib_lber_ber_init
=no
13710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13711 conftest
$ac_exeext conftest.
$ac_ext
13712 LIBS
=$ac_check_lib_save_LIBS
13714 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13715 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13716 if test $ac_cv_lib_lber_ber_init = yes; then
13718 cat >>confdefs.h
<<\_ACEOF
13719 #define HAVE_LDAP 1
13722 LDAPLIBS
="-lldap_r -llber"
13727 ac_wine_check_funcs_save_LIBS
="$LIBS"
13728 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13738 ldap_count_references \
13739 ldap_first_reference \
13740 ldap_next_reference \
13741 ldap_parse_reference \
13742 ldap_parse_sort_control \
13743 ldap_parse_sortresponse_control \
13744 ldap_parse_vlv_control \
13745 ldap_parse_vlvresponse_control
13747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13750 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 cat >conftest.
$ac_ext <<_ACEOF
13756 cat confdefs.h
>>conftest.
$ac_ext
13757 cat >>conftest.
$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13761 #define $ac_func innocuous_$ac_func
13763 /* System header to define __stub macros and hopefully few prototypes,
13764 which can conflict with char $ac_func (); below.
13765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13766 <limits.h> exists even on freestanding compilers. */
13769 # include <limits.h>
13771 # include <assert.h>
13776 /* Override any GCC internal prototype to avoid an error.
13777 Use char because int might match the return type of a GCC
13778 builtin and then its argument prototype would still apply. */
13783 /* The GNU C library defines this for functions which it implements
13784 to always fail with ENOSYS. Some functions are actually named
13785 something starting with __ and the normal name is an alias. */
13786 #if defined __stub_$ac_func || defined __stub___$ac_func
13793 return $ac_func ();
13798 rm -f conftest.
$ac_objext conftest
$ac_exeext
13799 if { (ac_try
="$ac_link"
13800 case "(($ac_try" in
13801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13802 *) ac_try_echo=$ac_try;;
13804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13805 (eval "$ac_link") 2>conftest.er1
13807 grep -v '^ *+' conftest.er1 >conftest.err
13809 cat conftest.err >&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } && {
13812 test -z "$ac_c_werror_flag" ||
13813 test ! -s conftest.err
13814 } && test -s conftest$ac_exeext &&
13815 $as_test_x conftest$ac_exeext; then
13816 eval "$as_ac_var=yes"
13818 echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.$ac_ext >&5
13821 eval "$as_ac_var=no"
13824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13825 conftest$ac_exeext conftest.$ac_ext
13827 ac_res=`eval echo '${'$as_ac_var'}'`
13828 { echo "$as_me:$LINENO: result: $ac_res" >&5
13829 echo "${ECHO_T}$ac_res" >&6; }
13830 if test `eval echo '${'$as_ac_var'}'` = yes; then
13831 cat >>confdefs.h <<_ACEOF
13832 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13838 LIBS="$ac_wine_check_funcs_save_LIBS"
13840 if test "x$LDAPLIBS" = "x"; then
13841 case "x$with_ldap" in
13842 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13844 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13845 This is an error since --with-ldap was requested." >&5
13846 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13847 This is an error since --with-ldap was requested." >&2;}
13848 { (exit 1); exit 1; }; } ;;
13853 for ac_prog in freetype-config freetype2-config
13855 # Extract the first word of "$ac_prog", so it can be a program name with args.
13856 set dummy $ac_prog; ac_word=$2
13857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13859 if test "${ac_cv_prog_ft_devel+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 if test -n "$ft_devel"; then
13863 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13866 for as_dir in $PATH
13869 test -z "$as_dir" && as_dir=.
13870 for ac_exec_ext in '' $ac_executable_extensions; do
13871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13872 ac_cv_prog_ft_devel="$ac_prog"
13873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13882 ft_devel=$ac_cv_prog_ft_devel
13883 if test -n "$ft_devel"; then
13884 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13885 echo "${ECHO_T}$ft_devel" >&6; }
13887 { echo "$as_me:$LINENO: result: no" >&5
13888 echo "${ECHO_T}no" >&6; }
13892 test -n "$ft_devel" && break
13894 test -n "$ft_devel" || ft_devel="false"
13896 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13898 ac_freetype_libs=`$ft_devel --libs`
13899 ac_freetype_incl=`$ft_devel --cflags`
13900 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13901 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13902 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 ac_check_soname_save_LIBS=$LIBS
13906 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13907 cat >conftest.$ac_ext <<_ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13920 char FT_Init_FreeType ();
13924 return FT_Init_FreeType ();
13929 rm -f conftest.$ac_objext conftest$ac_exeext
13930 if { (ac_try="$ac_link"
13931 case "(($ac_try" in
13932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13933 *) ac_try_echo
=$ac_try;;
13935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13936 (eval "$ac_link") 2>conftest.er1
13938 grep -v '^ *+' conftest.er1
>conftest.err
13940 cat conftest.err
>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); } && {
13943 test -z "$ac_c_werror_flag" ||
13944 test ! -s conftest.err
13945 } && test -s conftest
$ac_exeext &&
13946 $as_test_x conftest
$ac_exeext; then
13949 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'` ;;
13950 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13953 echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.
$ac_ext >&5
13959 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 LIBS
=$ac_check_soname_save_LIBS
13963 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13964 { echo "$as_me:$LINENO: result: not found" >&5
13965 echo "${ECHO_T}not found" >&6; }
13968 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13969 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13971 cat >>confdefs.h
<<_ACEOF
13972 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13978 if test "$ft_lib" = "yes"
13980 ac_save_CPPFLAGS
="$CPPFLAGS"
13981 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13994 for ac_header
in ft2build.h \
13995 freetype
/freetype.h \
13996 freetype
/ftglyph.h \
13997 freetype
/fttypes.h \
13998 freetype
/tttables.h \
13999 freetype
/ftnames.h \
14000 freetype
/ftsnames.h \
14001 freetype
/ttnameid.h \
14002 freetype
/ftoutln.h \
14003 freetype
/ftwinfnt.h \
14004 freetype
/ftmodapi.h \
14005 freetype
/internal
/sfnt.h
14007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 cat >conftest.
$ac_ext <<_ACEOF
14016 cat confdefs.h
>>conftest.
$ac_ext
14017 cat >>conftest.
$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14019 #ifdef HAVE_FT2BUILD_H
14020 # include <ft2build.h>
14023 #include <$ac_header>
14025 rm -f conftest.
$ac_objext
14026 if { (ac_try
="$ac_compile"
14027 case "(($ac_try" in
14028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14029 *) ac_try_echo=$ac_try;;
14031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14032 (eval "$ac_compile") 2>conftest.er1
14034 grep -v '^ *+' conftest.er1 >conftest.err
14036 cat conftest.err >&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } && {
14039 test -z "$ac_c_werror_flag" ||
14040 test ! -s conftest.err
14041 } && test -s conftest.$ac_objext; then
14042 eval "$as_ac_Header=yes"
14044 echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.$ac_ext >&5
14047 eval "$as_ac_Header=no"
14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14052 ac_res=`eval echo '${'$as_ac_Header'}'`
14053 { echo "$as_me:$LINENO: result: $ac_res" >&5
14054 echo "${ECHO_T}$ac_res" >&6; }
14055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14056 cat >>confdefs.h <<_ACEOF
14057 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14064 cat >conftest.$ac_ext <<_ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 #include <ft2build.h>
14071 #include <freetype/fttrigon.h>
14073 if { (ac_try="$ac_cpp conftest.$ac_ext"
14074 case "(($ac_try" in
14075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14076 *) ac_try_echo
=$ac_try;;
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14081 grep -v '^ *+' conftest.er1
>conftest.err
14083 cat conftest.err
>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } >/dev
/null
&& {
14086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14090 cat >>confdefs.h
<<\_ACEOF
14091 #define HAVE_FREETYPE_FTTRIGON_H 1
14094 wine_cv_fttrigon
=yes
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 wine_cv_fttrigon
=no
14102 rm -f conftest.err conftest.
$ac_ext
14103 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14104 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14105 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 cat >conftest.
$ac_ext <<_ACEOF
14111 cat confdefs.h
>>conftest.
$ac_ext
14112 cat >>conftest.
$ac_ext <<_ACEOF
14113 /* end confdefs.h. */
14114 #include <freetype/ftmodapi.h>
14116 typedef FT_TrueTypeEngineType ac__type_new_;
14120 if ((ac__type_new_ *) 0)
14122 if (sizeof (ac__type_new_))
14128 rm -f conftest.
$ac_objext
14129 if { (ac_try
="$ac_compile"
14130 case "(($ac_try" in
14131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14132 *) ac_try_echo=$ac_try;;
14134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14135 (eval "$ac_compile") 2>conftest.er1
14137 grep -v '^ *+' conftest.er1 >conftest.err
14139 cat conftest.err >&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } && {
14142 test -z "$ac_c_werror_flag" ||
14143 test ! -s conftest.err
14144 } && test -s conftest.$ac_objext; then
14145 ac_cv_type_FT_TrueTypeEngineType=yes
14147 echo "$as_me: failed program was:" >&5
14148 sed 's/^/| /' conftest.$ac_ext >&5
14150 ac_cv_type_FT_TrueTypeEngineType=no
14153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14155 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14156 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14157 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_FT_TRUETYPEENGINETYPE 1
14166 ac_save_CFLAGS="$CFLAGS"
14167 CFLAGS="$CFLAGS $ac_freetype_libs"
14169 for ac_func in FT_Load_Sfnt_Table
14171 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 cat >conftest.$ac_ext <<_ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h. */
14183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14185 #define $ac_func innocuous_$ac_func
14187 /* System header to define __stub macros and hopefully few prototypes,
14188 which can conflict with char $ac_func (); below.
14189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14190 <limits.h> exists even on freestanding compilers. */
14193 # include <limits.h>
14195 # include <assert.h>
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14207 /* The GNU C library defines this for functions which it implements
14208 to always fail with ENOSYS. Some functions are actually named
14209 something starting with __ and the normal name is an alias. */
14210 #if defined __stub_$ac_func || defined __stub___$ac_func
14217 return $ac_func ();
14222 rm -f conftest.$ac_objext conftest$ac_exeext
14223 if { (ac_try="$ac_link"
14224 case "(($ac_try" in
14225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14226 *) ac_try_echo
=$ac_try;;
14228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14229 (eval "$ac_link") 2>conftest.er1
14231 grep -v '^ *+' conftest.er1
>conftest.err
14233 cat conftest.err
>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } && {
14236 test -z "$ac_c_werror_flag" ||
14237 test ! -s conftest.err
14238 } && test -s conftest
$ac_exeext &&
14239 $as_test_x conftest
$ac_exeext; then
14240 eval "$as_ac_var=yes"
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.
$ac_ext >&5
14245 eval "$as_ac_var=no"
14248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14249 conftest
$ac_exeext conftest.
$ac_ext
14251 ac_res
=`eval echo '${'$as_ac_var'}'`
14252 { echo "$as_me:$LINENO: result: $ac_res" >&5
14253 echo "${ECHO_T}$ac_res" >&6; }
14254 if test `eval echo '${'$as_ac_var'}'` = yes; then
14255 cat >>confdefs.h
<<_ACEOF
14256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14262 CFLAGS
="$ac_save_CFLAGS"
14263 CPPFLAGS
="$ac_save_CPPFLAGS"
14264 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14267 cat >>confdefs.h
<<\_ACEOF
14268 #define HAVE_FREETYPE 1
14271 FREETYPELIBS
="$ac_freetype_libs"
14273 FREETYPEINCL
="$ac_freetype_incl"
14275 FONTSSUBDIRS
="fonts"
14280 if test "x$FREETYPELIBS" = "x"; then
14281 case "x$with_freetype" in
14283 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14284 Fonts will not be built. Dialog text may be invisible or unaligned.
14285 Use the --without-freetype option if you really want this." >&5
14286 echo "$as_me: error: FreeType development files not found.
14287 Fonts will not be built. Dialog text may be invisible or unaligned.
14288 Use the --without-freetype option if you really want this." >&2;}
14289 { (exit 1); exit 1; }; } ;;
14294 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14295 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14296 if test "${ac_cv_c_ppdev+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 cat >conftest.
$ac_ext <<_ACEOF
14302 cat confdefs.h
>>conftest.
$ac_ext
14303 cat >>conftest.
$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 #include <linux/ppdev.h>
14309 ioctl (1,PPCLAIM,0)
14314 rm -f conftest.
$ac_objext
14315 if { (ac_try
="$ac_compile"
14316 case "(($ac_try" in
14317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14318 *) ac_try_echo=$ac_try;;
14320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14321 (eval "$ac_compile") 2>conftest.er1
14323 grep -v '^ *+' conftest.er1 >conftest.err
14325 cat conftest.err >&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } && {
14328 test -z "$ac_c_werror_flag" ||
14329 test ! -s conftest.err
14330 } && test -s conftest.$ac_objext; then
14331 ac_cv_c_ppdev="yes"
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14341 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14342 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14343 if test "$ac_cv_c_ppdev" = "yes"
14346 cat >>confdefs.h <<\_ACEOF
14347 #define HAVE_PPDEV 1
14352 { echo "$as_me:$LINENO: checking for va_copy" >&5
14353 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14354 if test "${ac_cv_c_va_copy+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 cat >conftest.$ac_ext <<_ACEOF
14360 cat confdefs.h >>conftest.$ac_ext
14361 cat >>conftest.$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363 #include <stdarg.h>
14367 va_list ap1, ap2; va_copy(ap1,ap2);
14372 rm -f conftest.$ac_objext conftest$ac_exeext
14373 if { (ac_try="$ac_link"
14374 case "(($ac_try" in
14375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14376 *) ac_try_echo
=$ac_try;;
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_link") 2>conftest.er1
14381 grep -v '^ *+' conftest.er1
>conftest.err
14383 cat conftest.err
>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && {
14386 test -z "$ac_c_werror_flag" ||
14387 test ! -s conftest.err
14388 } && test -s conftest
$ac_exeext &&
14389 $as_test_x conftest
$ac_exeext; then
14390 ac_cv_c_va_copy
="yes"
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.
$ac_ext >&5
14395 ac_cv_c_va_copy
="no"
14398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14399 conftest
$ac_exeext conftest.
$ac_ext
14402 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14403 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14404 if test "$ac_cv_c_va_copy" = "yes"
14407 cat >>confdefs.h
<<\_ACEOF
14408 #define HAVE_VA_COPY 1
14412 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14413 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14414 if test "${ac_cv_c___va_copy+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 cat >conftest.
$ac_ext <<_ACEOF
14420 cat confdefs.h
>>conftest.
$ac_ext
14421 cat >>conftest.
$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423 #include <stdarg.h>
14427 va_list ap1, ap2; __va_copy(ap1,ap2);
14432 rm -f conftest.
$ac_objext conftest
$ac_exeext
14433 if { (ac_try
="$ac_link"
14434 case "(($ac_try" in
14435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14436 *) ac_try_echo=$ac_try;;
14438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14439 (eval "$ac_link") 2>conftest.er1
14441 grep -v '^ *+' conftest.er1 >conftest.err
14443 cat conftest.err >&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } && {
14446 test -z "$ac_c_werror_flag" ||
14447 test ! -s conftest.err
14448 } && test -s conftest$ac_exeext &&
14449 $as_test_x conftest$ac_exeext; then
14450 ac_cv_c___va_copy="yes"
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.$ac_ext >&5
14455 ac_cv_c___va_copy="no"
14458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14459 conftest$ac_exeext conftest.$ac_ext
14462 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14463 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14464 if test "$ac_cv_c___va_copy" = "yes"
14467 cat >>confdefs.h <<\_ACEOF
14468 #define HAVE___VA_COPY 1
14473 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14474 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14475 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 cat >conftest.$ac_ext <<_ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14484 #define _GNU_SOURCE
14485 #include <pthread.h>
14487 typedef pthread_rwlock_t ac__type_new_;
14491 if ((ac__type_new_ *) 0)
14493 if (sizeof (ac__type_new_))
14499 rm -f conftest.$ac_objext
14500 if { (ac_try="$ac_compile"
14501 case "(($ac_try" in
14502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14503 *) ac_try_echo
=$ac_try;;
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 (eval "$ac_compile") 2>conftest.er1
14508 grep -v '^ *+' conftest.er1
>conftest.err
14510 cat conftest.err
>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } && {
14513 test -z "$ac_c_werror_flag" ||
14514 test ! -s conftest.err
14515 } && test -s conftest.
$ac_objext; then
14516 ac_cv_type_pthread_rwlock_t
=yes
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.
$ac_ext >&5
14521 ac_cv_type_pthread_rwlock_t
=no
14524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14526 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14527 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14528 if test $ac_cv_type_pthread_rwlock_t = yes; then
14530 cat >>confdefs.h
<<_ACEOF
14531 #define HAVE_PTHREAD_RWLOCK_T 1
14536 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14537 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14538 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14539 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 cat >conftest.
$ac_ext <<_ACEOF
14544 cat confdefs.h
>>conftest.
$ac_ext
14545 cat >>conftest.
$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 #define _GNU_SOURCE
14548 #include <pthread.h>
14550 typedef pthread_rwlockattr_t ac__type_new_;
14554 if ((ac__type_new_ *) 0)
14556 if (sizeof (ac__type_new_))
14562 rm -f conftest.
$ac_objext
14563 if { (ac_try
="$ac_compile"
14564 case "(($ac_try" in
14565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_compile") 2>conftest.er1
14571 grep -v '^ *+' conftest.er1 >conftest.err
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } && {
14576 test -z "$ac_c_werror_flag" ||
14577 test ! -s conftest.err
14578 } && test -s conftest.$ac_objext; then
14579 ac_cv_type_pthread_rwlockattr_t=yes
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14584 ac_cv_type_pthread_rwlockattr_t=no
14587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14589 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14590 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14591 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14593 cat >>confdefs.h <<_ACEOF
14594 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14601 ac_wine_check_funcs_save_LIBS="$LIBS"
14602 LIBS="$LIBS $LIBPTHREAD"
14608 pthread_attr_get_np \
14609 pthread_getattr_np \
14610 pthread_get_stackaddr_np \
14611 pthread_get_stacksize_np
14613 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 cat >conftest.$ac_ext <<_ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14627 #define $ac_func innocuous_$ac_func
14629 /* System header to define __stub macros and hopefully few prototypes,
14630 which can conflict with char $ac_func (); below.
14631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14632 <limits.h> exists even on freestanding compilers. */
14635 # include <limits.h>
14637 # include <assert.h>
14642 /* Override any GCC internal prototype to avoid an error.
14643 Use char because int might match the return type of a GCC
14644 builtin and then its argument prototype would still apply. */
14649 /* The GNU C library defines this for functions which it implements
14650 to always fail with ENOSYS. Some functions are actually named
14651 something starting with __ and the normal name is an alias. */
14652 #if defined __stub_$ac_func || defined __stub___$ac_func
14659 return $ac_func ();
14664 rm -f conftest.$ac_objext conftest$ac_exeext
14665 if { (ac_try="$ac_link"
14666 case "(($ac_try" in
14667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14668 *) ac_try_echo
=$ac_try;;
14670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14671 (eval "$ac_link") 2>conftest.er1
14673 grep -v '^ *+' conftest.er1
>conftest.err
14675 cat conftest.err
>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } && {
14678 test -z "$ac_c_werror_flag" ||
14679 test ! -s conftest.err
14680 } && test -s conftest
$ac_exeext &&
14681 $as_test_x conftest
$ac_exeext; then
14682 eval "$as_ac_var=yes"
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.
$ac_ext >&5
14687 eval "$as_ac_var=no"
14690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14691 conftest
$ac_exeext conftest.
$ac_ext
14693 ac_res
=`eval echo '${'$as_ac_var'}'`
14694 { echo "$as_me:$LINENO: result: $ac_res" >&5
14695 echo "${ECHO_T}$ac_res" >&6; }
14696 if test `eval echo '${'$as_ac_var'}'` = yes; then
14697 cat >>confdefs.h
<<_ACEOF
14698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14704 LIBS
="$ac_wine_check_funcs_save_LIBS"
14706 # Extract the first word of "esd-config", so it can be a program name with args.
14707 set dummy esd-config
; ac_word
=$2
14708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14710 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14719 for as_dir
in $PATH
14722 test -z "$as_dir" && as_dir
=.
14723 for ac_exec_ext
in '' $ac_executable_extensions; do
14724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14725 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14736 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14737 if test -n "$ESDCONFIG"; then
14738 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14739 echo "${ECHO_T}$ESDCONFIG" >&6; }
14741 { echo "$as_me:$LINENO: result: no" >&5
14742 echo "${ECHO_T}no" >&6; }
14746 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14749 for i
in `$ESDCONFIG --cflags`
14752 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14755 ESD_LIBS
=`$ESDCONFIG --libs`
14756 save_CFLAGS
="$CFLAGS"
14757 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14758 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14759 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14760 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14761 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 ac_check_lib_save_LIBS
=$LIBS
14765 cat >conftest.
$ac_ext <<_ACEOF
14768 cat confdefs.h
>>conftest.
$ac_ext
14769 cat >>conftest.
$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14778 char esd_open_sound ();
14782 return esd_open_sound ();
14787 rm -f conftest.
$ac_objext conftest
$ac_exeext
14788 if { (ac_try
="$ac_link"
14789 case "(($ac_try" in
14790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_link") 2>conftest.er1
14796 grep -v '^ *+' conftest.er1 >conftest.err
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } && {
14801 test -z "$ac_c_werror_flag" ||
14802 test ! -s conftest.err
14803 } && test -s conftest$ac_exeext &&
14804 $as_test_x conftest$ac_exeext; then
14805 ac_cv_lib_esd_esd_open_sound=yes
14807 echo "$as_me: failed program was:" >&5
14808 sed 's/^/| /' conftest.$ac_ext >&5
14810 ac_cv_lib_esd_esd_open_sound=no
14813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_lib_save_LIBS
14817 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14818 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14819 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14822 ESDINCL=$ESD_CFLAGS
14825 cat >>confdefs.h <<\_ACEOF
14831 CFLAGS="$save_CFLAGS"
14836 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14838 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14839 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14840 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 ac_check_lib_save_LIBS=$LIBS
14844 LIBS="-lasound $LIBS"
14845 cat >conftest.$ac_ext <<_ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14858 char snd_pcm_hw_params_get_access ();
14862 return snd_pcm_hw_params_get_access ();
14867 rm -f conftest.$ac_objext conftest$ac_exeext
14868 if { (ac_try="$ac_link"
14869 case "(($ac_try" in
14870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14871 *) ac_try_echo
=$ac_try;;
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_link") 2>conftest.er1
14876 grep -v '^ *+' conftest.er1
>conftest.err
14878 cat conftest.err
>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } && {
14881 test -z "$ac_c_werror_flag" ||
14882 test ! -s conftest.err
14883 } && test -s conftest
$ac_exeext &&
14884 $as_test_x conftest
$ac_exeext; then
14885 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14894 conftest
$ac_exeext conftest.
$ac_ext
14895 LIBS
=$ac_check_lib_save_LIBS
14897 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14898 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14899 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14900 cat >conftest.
$ac_ext <<_ACEOF
14903 cat confdefs.h
>>conftest.
$ac_ext
14904 cat >>conftest.
$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 #ifdef HAVE_ALSA_ASOUNDLIB_H
14907 #include <alsa/asoundlib.h>
14908 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14909 #include <sys/asoundlib.h>
14914 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14919 rm -f conftest.
$ac_objext
14920 if { (ac_try
="$ac_compile"
14921 case "(($ac_try" in
14922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14923 *) ac_try_echo=$ac_try;;
14925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14926 (eval "$ac_compile") 2>conftest.er1
14928 grep -v '^ *+' conftest.er1 >conftest.err
14930 cat conftest.err >&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } && {
14933 test -z "$ac_c_werror_flag" ||
14934 test ! -s conftest.err
14935 } && test -s conftest.$ac_objext; then
14937 cat >>confdefs.h <<\_ACEOF
14938 #define HAVE_ALSA 1
14941 ALSALIBS="-lasound"
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956 if test "$ac_cv_header_libaudioio_h" = "yes"
14958 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14959 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14960 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14961 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 ac_check_lib_save_LIBS=$LIBS
14964 LIBS="-laudioio $LIBS"
14965 cat >conftest.$ac_ext <<_ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14972 /* Override any GCC internal prototype to avoid an error.
14973 Use char because int might match the return type of a GCC
14974 builtin and then its argument prototype would still apply. */
14978 char AudioIOGetVersion ();
14982 return AudioIOGetVersion ();
14987 rm -f conftest.$ac_objext conftest$ac_exeext
14988 if { (ac_try="$ac_link"
14989 case "(($ac_try" in
14990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14991 *) ac_try_echo
=$ac_try;;
14993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14994 (eval "$ac_link") 2>conftest.er1
14996 grep -v '^ *+' conftest.er1
>conftest.err
14998 cat conftest.err
>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } && {
15001 test -z "$ac_c_werror_flag" ||
15002 test ! -s conftest.err
15003 } && test -s conftest
$ac_exeext &&
15004 $as_test_x conftest
$ac_exeext; then
15005 ac_cv_lib_audioio_AudioIOGetVersion
=yes
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.
$ac_ext >&5
15010 ac_cv_lib_audioio_AudioIOGetVersion
=no
15013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15014 conftest
$ac_exeext conftest.
$ac_ext
15015 LIBS
=$ac_check_lib_save_LIBS
15017 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15018 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15019 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15020 AUDIOIOLIBS
="-laudioio"
15022 cat >>confdefs.h
<<\_ACEOF
15023 #define HAVE_LIBAUDIOIO 1
15031 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15033 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15034 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15035 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 ac_check_soname_save_LIBS
=$LIBS
15039 LIBS
="-lcapi20 $LIBS"
15040 cat >conftest.
$ac_ext <<_ACEOF
15043 cat confdefs.h
>>conftest.
$ac_ext
15044 cat >>conftest.
$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15053 char capi20_register ();
15057 return capi20_register ();
15062 rm -f conftest.
$ac_objext conftest
$ac_exeext
15063 if { (ac_try
="$ac_link"
15064 case "(($ac_try" in
15065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_link") 2>conftest.er1
15071 grep -v '^ *+' conftest.er1 >conftest.err
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } && {
15076 test -z "$ac_c_werror_flag" ||
15077 test ! -s conftest.err
15078 } && test -s conftest$ac_exeext &&
15079 $as_test_x conftest$ac_exeext; then
15082 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'` ;;
15083 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15086 echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.$ac_ext >&5
15092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15093 conftest$ac_exeext conftest.$ac_ext
15094 LIBS=$ac_check_soname_save_LIBS
15096 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15097 { echo "$as_me:$LINENO: result: not found" >&5
15098 echo "${ECHO_T}not found" >&6; }
15101 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15102 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15104 cat >>confdefs.h <<_ACEOF
15105 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15112 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15113 case "x$with_capi" in
15114 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15116 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15117 This is an error since --with-capi was requested." >&5
15118 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15119 This is an error since --with-capi was requested." >&2;}
15120 { (exit 1); exit 1; }; } ;;
15125 if test "$ac_cv_header_cups_cups_h" = "yes"
15127 { echo "$as_me:$LINENO: checking for -lcups" >&5
15128 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15129 if test "${ac_cv_lib_soname_cups+set}" = set; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15132 ac_check_soname_save_LIBS=$LIBS
15133 LIBS="-lcups $LIBS"
15134 cat >conftest.$ac_ext <<_ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15147 char cupsGetDefault ();
15151 return cupsGetDefault ();
15156 rm -f conftest.$ac_objext conftest$ac_exeext
15157 if { (ac_try="$ac_link"
15158 case "(($ac_try" in
15159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15160 *) ac_try_echo
=$ac_try;;
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_link") 2>conftest.er1
15165 grep -v '^ *+' conftest.er1
>conftest.err
15167 cat conftest.err
>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_c_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest
$ac_exeext &&
15173 $as_test_x conftest
$ac_exeext; then
15176 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'` ;;
15177 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.
$ac_ext >&5
15186 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15187 conftest
$ac_exeext conftest.
$ac_ext
15188 LIBS
=$ac_check_soname_save_LIBS
15190 if test "x$ac_cv_lib_soname_cups" = "x"; then
15191 { echo "$as_me:$LINENO: result: not found" >&5
15192 echo "${ECHO_T}not found" >&6; }
15195 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15196 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15198 cat >>confdefs.h
<<_ACEOF
15199 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15206 if test "x$ac_cv_lib_soname_cups" = "x"; then
15207 case "x$with_cups" in
15208 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15210 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15211 This is an error since --with-cups was requested." >&5
15212 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15213 This is an error since --with-cups was requested." >&2;}
15214 { (exit 1); exit 1; }; } ;;
15219 if test "$ac_cv_header_jack_jack_h" = "yes"
15221 { echo "$as_me:$LINENO: checking for -ljack" >&5
15222 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15223 if test "${ac_cv_lib_soname_jack+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 ac_check_soname_save_LIBS
=$LIBS
15227 LIBS
="-ljack $LIBS"
15228 cat >conftest.
$ac_ext <<_ACEOF
15231 cat confdefs.h
>>conftest.
$ac_ext
15232 cat >>conftest.
$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15241 char jack_client_new ();
15245 return jack_client_new ();
15250 rm -f conftest.
$ac_objext conftest
$ac_exeext
15251 if { (ac_try
="$ac_link"
15252 case "(($ac_try" in
15253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15254 *) ac_try_echo=$ac_try;;
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257 (eval "$ac_link") 2>conftest.er1
15259 grep -v '^ *+' conftest.er1 >conftest.err
15261 cat conftest.err >&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } && {
15264 test -z "$ac_c_werror_flag" ||
15265 test ! -s conftest.err
15266 } && test -s conftest$ac_exeext &&
15267 $as_test_x conftest$ac_exeext; then
15270 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'` ;;
15271 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15281 conftest$ac_exeext conftest.$ac_ext
15282 LIBS=$ac_check_soname_save_LIBS
15284 if test "x$ac_cv_lib_soname_jack" = "x"; then
15285 { echo "$as_me:$LINENO: result: not found" >&5
15286 echo "${ECHO_T}not found" >&6; }
15289 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15290 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15292 cat >>confdefs.h <<_ACEOF
15293 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15301 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15303 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15304 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15305 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lfontconfig $LIBS"
15310 cat >conftest.$ac_ext <<_ACEOF
15313 cat confdefs.h >>conftest.$ac_ext
15314 cat >>conftest.$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15317 /* Override any GCC internal prototype to avoid an error.
15318 Use char because int might match the return type of a GCC
15319 builtin and then its argument prototype would still apply. */
15332 rm -f conftest.$ac_objext conftest$ac_exeext
15333 if { (ac_try="$ac_link"
15334 case "(($ac_try" in
15335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15336 *) ac_try_echo
=$ac_try;;
15338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15339 (eval "$ac_link") 2>conftest.er1
15341 grep -v '^ *+' conftest.er1
>conftest.err
15343 cat conftest.err
>&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } && {
15346 test -z "$ac_c_werror_flag" ||
15347 test ! -s conftest.err
15348 } && test -s conftest
$ac_exeext &&
15349 $as_test_x conftest
$ac_exeext; then
15352 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'` ;;
15353 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.
$ac_ext >&5
15362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15363 conftest
$ac_exeext conftest.
$ac_ext
15364 LIBS
=$ac_check_soname_save_LIBS
15366 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15367 { echo "$as_me:$LINENO: result: not found" >&5
15368 echo "${ECHO_T}not found" >&6; }
15371 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15372 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15374 cat >>confdefs.h
<<_ACEOF
15375 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15381 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15383 ac_save_CPPFLAGS
="$CPPFLAGS"
15384 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15385 $as_unset ac_cv_header_fontconfig_fontconfig_h
15387 for ac_header
in fontconfig
/fontconfig.h
15389 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15390 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15393 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 ac_res
=`eval echo '${'$as_ac_Header'}'`
15397 { echo "$as_me:$LINENO: result: $ac_res" >&5
15398 echo "${ECHO_T}$ac_res" >&6; }
15400 # Is the header compilable?
15401 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 $ac_includes_default
15410 #include <$ac_header>
15412 rm -f conftest.
$ac_objext
15413 if { (ac_try
="$ac_compile"
15414 case "(($ac_try" in
15415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15416 *) ac_try_echo=$ac_try;;
15418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15419 (eval "$ac_compile") 2>conftest.er1
15421 grep -v '^ *+' conftest.er1 >conftest.err
15423 cat conftest.err >&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } && {
15426 test -z "$ac_c_werror_flag" ||
15427 test ! -s conftest.err
15428 } && test -s conftest.$ac_objext; then
15429 ac_header_compiler=yes
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_header_compiler=no
15437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15438 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15439 echo "${ECHO_T}$ac_header_compiler" >&6; }
15441 # Is the header present?
15442 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15444 cat >conftest.$ac_ext <<_ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15450 #include <$ac_header>
15452 if { (ac_try="$ac_cpp conftest.$ac_ext"
15453 case "(($ac_try" in
15454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15455 *) ac_try_echo
=$ac_try;;
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15460 grep -v '^ *+' conftest.er1
>conftest.err
15462 cat conftest.err
>&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } >/dev
/null
&& {
15465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15468 ac_header_preproc
=yes
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.
$ac_ext >&5
15473 ac_header_preproc
=no
15476 rm -f conftest.err conftest.
$ac_ext
15477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15478 echo "${ECHO_T}$ac_header_preproc" >&6; }
15480 # So? What about this header?
15481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15487 ac_header_preproc
=yes
15490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15503 ## ------------------------------------ ##
15504 ## Report this to wine-devel@winehq.org ##
15505 ## ------------------------------------ ##
15507 ) |
sed "s/^/$as_me: WARNING: /" >&2
15510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15512 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 eval "$as_ac_Header=\$ac_header_preproc"
15517 ac_res
=`eval echo '${'$as_ac_Header'}'`
15518 { echo "$as_me:$LINENO: result: $ac_res" >&5
15519 echo "${ECHO_T}$ac_res" >&6; }
15522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15523 cat >>confdefs.h
<<_ACEOF
15524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15531 CPPFLAGS
="$ac_save_CPPFLAGS"
15532 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15534 FONTCONFIGINCL
="$X_CFLAGS"
15536 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15537 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15538 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 ac_check_soname_save_LIBS
=$LIBS
15542 LIBS
="-lfontconfig $X_LIBS $LIBS"
15543 cat >conftest.
$ac_ext <<_ACEOF
15546 cat confdefs.h
>>conftest.
$ac_ext
15547 cat >>conftest.
$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15565 rm -f conftest.
$ac_objext conftest
$ac_exeext
15566 if { (ac_try
="$ac_link"
15567 case "(($ac_try" in
15568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_link") 2>conftest.er1
15574 grep -v '^ *+' conftest.er1 >conftest.err
15576 cat conftest.err >&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } && {
15579 test -z "$ac_c_werror_flag" ||
15580 test ! -s conftest.err
15581 } && test -s conftest$ac_exeext &&
15582 $as_test_x conftest$ac_exeext; then
15585 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'` ;;
15586 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15596 conftest$ac_exeext conftest.$ac_ext
15597 LIBS=$ac_check_soname_save_LIBS
15599 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15600 { echo "$as_me:$LINENO: result: not found" >&5
15601 echo "${ECHO_T}not found" >&6; }
15604 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15605 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15607 cat >>confdefs.h <<_ACEOF
15608 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15616 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15617 case "x$with_fontconfig" in
15618 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15620 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15621 This is an error since --with-fontconfig was requested." >&5
15622 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15623 This is an error since --with-fontconfig was requested." >&2;}
15624 { (exit 1); exit 1; }; } ;;
15629 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15631 { echo "$as_me:$LINENO: checking for -lssl" >&5
15632 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15633 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 ac_check_soname_save_LIBS=$LIBS
15638 cat >conftest.$ac_ext <<_ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15645 /* Override any GCC internal prototype to avoid an error.
15646 Use char because int might match the return type of a GCC
15647 builtin and then its argument prototype would still apply. */
15651 char SSL_library_init ();
15655 return SSL_library_init ();
15660 rm -f conftest.$ac_objext conftest$ac_exeext
15661 if { (ac_try="$ac_link"
15662 case "(($ac_try" in
15663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15664 *) ac_try_echo
=$ac_try;;
15666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15667 (eval "$ac_link") 2>conftest.er1
15669 grep -v '^ *+' conftest.er1
>conftest.err
15671 cat conftest.err
>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); } && {
15674 test -z "$ac_c_werror_flag" ||
15675 test ! -s conftest.err
15676 } && test -s conftest
$ac_exeext &&
15677 $as_test_x conftest
$ac_exeext; then
15680 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'` ;;
15681 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15684 echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.
$ac_ext >&5
15690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15691 conftest
$ac_exeext conftest.
$ac_ext
15692 LIBS
=$ac_check_soname_save_LIBS
15694 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15695 { echo "$as_me:$LINENO: result: not found" >&5
15696 echo "${ECHO_T}not found" >&6; }
15699 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15700 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15702 cat >>confdefs.h
<<_ACEOF
15703 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15709 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15710 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15711 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 ac_check_soname_save_LIBS
=$LIBS
15715 LIBS
="-lcrypto $LIBS"
15716 cat >conftest.
$ac_ext <<_ACEOF
15719 cat confdefs.h
>>conftest.
$ac_ext
15720 cat >>conftest.
$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15729 char BIO_new_socket ();
15733 return BIO_new_socket ();
15738 rm -f conftest.
$ac_objext conftest
$ac_exeext
15739 if { (ac_try
="$ac_link"
15740 case "(($ac_try" in
15741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_link") 2>conftest.er1
15747 grep -v '^ *+' conftest.er1 >conftest.err
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest$ac_exeext &&
15755 $as_test_x conftest$ac_exeext; then
15758 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'` ;;
15759 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15769 conftest$ac_exeext conftest.$ac_ext
15770 LIBS=$ac_check_soname_save_LIBS
15772 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15773 { echo "$as_me:$LINENO: result: not found" >&5
15774 echo "${ECHO_T}not found" >&6; }
15777 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15778 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15780 cat >>confdefs.h <<_ACEOF
15781 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15788 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15789 case "x$with_openssl" in
15790 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15792 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15793 This is an error since --with-openssl was requested." >&5
15794 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15795 This is an error since --with-openssl was requested." >&2;}
15796 { (exit 1); exit 1; }; } ;;
15801 if test "$ac_cv_header_jpeglib_h" = "yes"
15803 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15804 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15805 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 ac_check_soname_save_LIBS=$LIBS
15809 LIBS="-ljpeg $LIBS"
15810 cat >conftest.$ac_ext <<_ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15817 /* Override any GCC internal prototype to avoid an error.
15818 Use char because int might match the return type of a GCC
15819 builtin and then its argument prototype would still apply. */
15823 char jpeg_start_decompress ();
15827 return jpeg_start_decompress ();
15832 rm -f conftest.$ac_objext conftest$ac_exeext
15833 if { (ac_try="$ac_link"
15834 case "(($ac_try" in
15835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15836 *) ac_try_echo
=$ac_try;;
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_link") 2>conftest.er1
15841 grep -v '^ *+' conftest.er1
>conftest.err
15843 cat conftest.err
>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest
$ac_exeext &&
15849 $as_test_x conftest
$ac_exeext; then
15852 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'` ;;
15853 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.
$ac_ext >&5
15862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15863 conftest
$ac_exeext conftest.
$ac_ext
15864 LIBS
=$ac_check_soname_save_LIBS
15866 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15867 { echo "$as_me:$LINENO: result: not found" >&5
15868 echo "${ECHO_T}not found" >&6; }
15871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15872 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15874 cat >>confdefs.h
<<_ACEOF
15875 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15882 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15883 case "x$with_jpeg" in
15884 x
) wine_warnings
="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15886 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15887 This is an error since --with-jpeg was requested." >&5
15888 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15889 This is an error since --with-jpeg was requested." >&2;}
15890 { (exit 1); exit 1; }; } ;;
15895 if test "$ac_cv_header_png_h" = "yes"
15897 { echo "$as_me:$LINENO: checking for -lpng" >&5
15898 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15899 if test "${ac_cv_lib_soname_png+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15902 ac_check_soname_save_LIBS
=$LIBS
15904 cat >conftest.
$ac_ext <<_ACEOF
15907 cat confdefs.h
>>conftest.
$ac_ext
15908 cat >>conftest.
$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15911 /* Override any GCC internal prototype to avoid an error.
15912 Use char because int might match the return type of a GCC
15913 builtin and then its argument prototype would still apply. */
15917 char png_create_read_struct ();
15921 return png_create_read_struct ();
15926 rm -f conftest.
$ac_objext conftest
$ac_exeext
15927 if { (ac_try
="$ac_link"
15928 case "(($ac_try" in
15929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15930 *) ac_try_echo=$ac_try;;
15932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15933 (eval "$ac_link") 2>conftest.er1
15935 grep -v '^ *+' conftest.er1 >conftest.err
15937 cat conftest.err >&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } && {
15940 test -z "$ac_c_werror_flag" ||
15941 test ! -s conftest.err
15942 } && test -s conftest$ac_exeext &&
15943 $as_test_x conftest$ac_exeext; then
15946 dylib) ac_cv_lib_soname_png=`otool
-L conftest
$ac_exeext |
grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15947 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libpng[0-9]*\\.$LIBEXT" |
sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15957 conftest$ac_exeext conftest.$ac_ext
15958 LIBS=$ac_check_soname_save_LIBS
15960 if test "x$ac_cv_lib_soname_png" = "x"; then
15961 { echo "$as_me:$LINENO: result: not found" >&5
15962 echo "${ECHO_T}not found" >&6; }
15965 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15966 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15968 cat >>confdefs.h <<_ACEOF
15969 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15976 if test "x$ac_cv_lib_soname_png" = "x"; then
15977 case "x$with_png" in
15978 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
15980 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15981 This is an error since --with-png was requested." >&5
15982 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15983 This is an error since --with-png was requested." >&2;}
15984 { (exit 1); exit 1; }; } ;;
15989 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15990 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15991 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15992 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 ac_check_soname_save_LIBS=$LIBS
15995 LIBS="-lodbc $LIBS"
15996 cat >conftest.$ac_ext <<_ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16003 /* Override any GCC internal prototype to avoid an error.
16004 Use char because int might match the return type of a GCC
16005 builtin and then its argument prototype would still apply. */
16009 char SQLConnect ();
16013 return SQLConnect ();
16018 rm -f conftest.$ac_objext conftest$ac_exeext
16019 if { (ac_try="$ac_link"
16020 case "(($ac_try" in
16021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16022 *) ac_try_echo
=$ac_try;;
16024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16025 (eval "$ac_link") 2>conftest.er1
16027 grep -v '^ *+' conftest.er1
>conftest.err
16029 cat conftest.err
>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } && {
16032 test -z "$ac_c_werror_flag" ||
16033 test ! -s conftest.err
16034 } && test -s conftest
$ac_exeext &&
16035 $as_test_x conftest
$ac_exeext; then
16038 dylib
) ac_cv_lib_soname_odbc
=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16039 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.
$ac_ext >&5
16048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16049 conftest
$ac_exeext conftest.
$ac_ext
16050 LIBS
=$ac_check_soname_save_LIBS
16052 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16053 { echo "$as_me:$LINENO: result: not found" >&5
16054 echo "${ECHO_T}not found" >&6; }
16055 cat >>confdefs.h
<<_ACEOF
16056 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16061 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16063 cat >>confdefs.h
<<_ACEOF
16064 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16071 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16072 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16073 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16074 "$ac_cv_header_soundcard_h" != "yes" -a \
16075 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16077 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
16083 if test "x${GCC}" = "xyes"
16085 EXTRACFLAGS
="-Wall -pipe"
16087 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16088 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16089 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 if test "$cross_compiling" = yes; then
16093 ac_cv_c_gcc_strength_bug
="yes"
16095 cat >conftest.
$ac_ext <<_ACEOF
16098 cat confdefs.h
>>conftest.
$ac_ext
16099 cat >>conftest.
$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 int L[4] = {0,1,2,3};
16105 static int Array[3];
16106 unsigned int B = 3;
16108 for(i=0; i<B; i++) Array[i] = i - 3;
16109 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16111 exit( Array[1] != -2 || L[2] != 3)
16116 rm -f conftest
$ac_exeext
16117 if { (ac_try
="$ac_link"
16118 case "(($ac_try" in
16119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_link") 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16127 { (case "(($ac_try" in
16128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16129 *) ac_try_echo
=$ac_try;;
16131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16132 (eval "$ac_try") 2>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); }; }; then
16136 ac_cv_c_gcc_strength_bug
="no"
16138 echo "$as_me: program exited with status $ac_status" >&5
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ( exit $ac_status )
16143 ac_cv_c_gcc_strength_bug
="yes"
16145 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16150 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16151 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16152 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16154 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
16158 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16159 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16160 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 ac_wine_try_cflags_saved
=$CFLAGS
16164 CFLAGS
="$CFLAGS -fshort-wchar"
16165 cat >conftest.
$ac_ext <<_ACEOF
16168 cat confdefs.h
>>conftest.
$ac_ext
16169 cat >>conftest.
$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16180 rm -f conftest.
$ac_objext conftest
$ac_exeext
16181 if { (ac_try
="$ac_link"
16182 case "(($ac_try" in
16183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16184 *) ac_try_echo=$ac_try;;
16186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16187 (eval "$ac_link") 2>conftest.er1
16189 grep -v '^ *+' conftest.er1 >conftest.err
16191 cat conftest.err >&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } && {
16194 test -z "$ac_c_werror_flag" ||
16195 test ! -s conftest.err
16196 } && test -s conftest$ac_exeext &&
16197 $as_test_x conftest$ac_exeext; then
16198 ac_cv_cflags__fshort_wchar=yes
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16203 ac_cv_cflags__fshort_wchar=no
16206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16207 conftest$ac_exeext conftest.$ac_ext
16208 CFLAGS=$ac_wine_try_cflags_saved
16210 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16211 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16212 if test $ac_cv_cflags__fshort_wchar = yes; then
16214 cat >>confdefs.h <<\_ACEOF
16215 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16220 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16221 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16222 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 ac_wine_try_cflags_saved=$CFLAGS
16226 CFLAGS="$CFLAGS -fno-strict-aliasing"
16227 cat >conftest.$ac_ext <<_ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16242 rm -f conftest.$ac_objext conftest$ac_exeext
16243 if { (ac_try="$ac_link"
16244 case "(($ac_try" in
16245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16246 *) ac_try_echo
=$ac_try;;
16248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16249 (eval "$ac_link") 2>conftest.er1
16251 grep -v '^ *+' conftest.er1
>conftest.err
16253 cat conftest.err
>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } && {
16256 test -z "$ac_c_werror_flag" ||
16257 test ! -s conftest.err
16258 } && test -s conftest
$ac_exeext &&
16259 $as_test_x conftest
$ac_exeext; then
16260 ac_cv_cflags__fno_strict_aliasing
=yes
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.
$ac_ext >&5
16265 ac_cv_cflags__fno_strict_aliasing
=no
16268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16269 conftest
$ac_exeext conftest.
$ac_ext
16270 CFLAGS
=$ac_wine_try_cflags_saved
16272 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16273 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16274 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16275 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
16278 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16279 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16280 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 ac_wine_try_cflags_saved
=$CFLAGS
16284 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16285 cat >conftest.
$ac_ext <<_ACEOF
16288 cat confdefs.h
>>conftest.
$ac_ext
16289 cat >>conftest.
$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16300 rm -f conftest.
$ac_objext conftest
$ac_exeext
16301 if { (ac_try
="$ac_link"
16302 case "(($ac_try" in
16303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16304 *) ac_try_echo=$ac_try;;
16306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16307 (eval "$ac_link") 2>conftest.er1
16309 grep -v '^ *+' conftest.er1 >conftest.err
16311 cat conftest.err >&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } && {
16314 test -z "$ac_c_werror_flag" ||
16315 test ! -s conftest.err
16316 } && test -s conftest$ac_exeext &&
16317 $as_test_x conftest$ac_exeext; then
16318 ac_cv_cflags__Wdeclaration_after_statement=yes
16320 echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16323 ac_cv_cflags__Wdeclaration_after_statement=no
16326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16327 conftest$ac_exeext conftest.$ac_ext
16328 CFLAGS=$ac_wine_try_cflags_saved
16330 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16331 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16332 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16333 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16336 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16337 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16338 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 ac_wine_try_cflags_saved=$CFLAGS
16342 CFLAGS="$CFLAGS -Wwrite-strings"
16343 cat >conftest.$ac_ext <<_ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16358 rm -f conftest.$ac_objext conftest$ac_exeext
16359 if { (ac_try="$ac_link"
16360 case "(($ac_try" in
16361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16362 *) ac_try_echo
=$ac_try;;
16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16365 (eval "$ac_link") 2>conftest.er1
16367 grep -v '^ *+' conftest.er1
>conftest.err
16369 cat conftest.err
>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && {
16372 test -z "$ac_c_werror_flag" ||
16373 test ! -s conftest.err
16374 } && test -s conftest
$ac_exeext &&
16375 $as_test_x conftest
$ac_exeext; then
16376 ac_cv_cflags__Wwrite_strings
=yes
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16381 ac_cv_cflags__Wwrite_strings
=no
16384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16385 conftest
$ac_exeext conftest.
$ac_ext
16386 CFLAGS
=$ac_wine_try_cflags_saved
16388 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16389 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16390 if test $ac_cv_cflags__Wwrite_strings = yes; then
16391 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16394 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16395 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16396 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16399 ac_wine_try_cflags_saved
=$CFLAGS
16400 CFLAGS
="$CFLAGS -Wtype-limits"
16401 cat >conftest.
$ac_ext <<_ACEOF
16404 cat confdefs.h
>>conftest.
$ac_ext
16405 cat >>conftest.
$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16416 rm -f conftest.
$ac_objext conftest
$ac_exeext
16417 if { (ac_try
="$ac_link"
16418 case "(($ac_try" in
16419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_link") 2>conftest.er1
16425 grep -v '^ *+' conftest.er1 >conftest.err
16427 cat conftest.err >&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } && {
16430 test -z "$ac_c_werror_flag" ||
16431 test ! -s conftest.err
16432 } && test -s conftest$ac_exeext &&
16433 $as_test_x conftest$ac_exeext; then
16434 ac_cv_cflags__Wtype_limits=yes
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16439 ac_cv_cflags__Wtype_limits=no
16442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16443 conftest$ac_exeext conftest.$ac_ext
16444 CFLAGS=$ac_wine_try_cflags_saved
16446 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16447 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16448 if test $ac_cv_cflags__Wtype_limits = yes; then
16449 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16453 saved_CFLAGS="$CFLAGS"
16454 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16455 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16456 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16457 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 cat >conftest.$ac_ext <<_ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 #include <string.h>
16475 rm -f conftest.$ac_objext
16476 if { (ac_try="$ac_compile"
16477 case "(($ac_try" in
16478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16479 *) ac_try_echo
=$ac_try;;
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482 (eval "$ac_compile") 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } && {
16489 test -z "$ac_c_werror_flag" ||
16490 test ! -s conftest.err
16491 } && test -s conftest.
$ac_objext; then
16492 ac_cv_c_string_h_warnings
=no
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.
$ac_ext >&5
16497 ac_cv_c_string_h_warnings
=yes
16500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16502 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16503 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16504 CFLAGS
="$saved_CFLAGS"
16505 if test "$ac_cv_c_string_h_warnings" = "no"
16507 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16512 saved_CFLAGS
="$CFLAGS"
16513 CFLAGS
="$CFLAGS -Werror"
16514 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16515 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16516 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16517 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 cat >conftest.
$ac_ext <<_ACEOF
16522 cat confdefs.h
>>conftest.
$ac_ext
16523 cat >>conftest.
$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16529 int iswlower(unsigned short);
16534 rm -f conftest.
$ac_objext
16535 if { (ac_try
="$ac_compile"
16536 case "(($ac_try" in
16537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16538 *) ac_try_echo=$ac_try;;
16540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16541 (eval "$ac_compile") 2>conftest.er1
16543 grep -v '^ *+' conftest.er1 >conftest.err
16545 cat conftest.err >&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } && {
16548 test -z "$ac_c_werror_flag" ||
16549 test ! -s conftest.err
16550 } && test -s conftest.$ac_objext; then
16551 ac_cv_c_builtin_wchar_ctype=no
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16556 ac_cv_c_builtin_wchar_ctype=yes
16559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16561 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16562 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16563 CFLAGS="$saved_CFLAGS"
16564 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16566 BUILTINFLAG="-fno-builtin"
16571 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16572 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16573 if test "${ac_cv_asm_func_def+set}" = set; then
16574 echo $ECHO_N "(cached) $ECHO_C" >&6
16576 cat >conftest.$ac_ext <<_ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16586 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16591 rm -f conftest.$ac_objext conftest$ac_exeext
16592 if { (ac_try="$ac_link"
16593 case "(($ac_try" in
16594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16595 *) ac_try_echo
=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_link") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1
>conftest.err
16602 cat conftest.err
>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_c_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest
$ac_exeext &&
16608 $as_test_x conftest
$ac_exeext; then
16609 ac_cv_asm_func_def
=".def"
16611 echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.
$ac_ext >&5
16614 cat >conftest.
$ac_ext <<_ACEOF
16617 cat confdefs.h
>>conftest.
$ac_ext
16618 cat >>conftest.
$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16624 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16629 rm -f conftest.
$ac_objext conftest
$ac_exeext
16630 if { (ac_try
="$ac_link"
16631 case "(($ac_try" in
16632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_link") 2>conftest.er1
16638 grep -v '^ *+' conftest.er1 >conftest.err
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } && {
16643 test -z "$ac_c_werror_flag" ||
16644 test ! -s conftest.err
16645 } && test -s conftest$ac_exeext &&
16646 $as_test_x conftest$ac_exeext; then
16647 ac_cv_asm_func_def=".type @function"
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 cat >conftest.$ac_ext <<_ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16662 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16671 *) ac_try_echo
=$ac_try;;
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16676 grep -v '^ *+' conftest.er1
>conftest.err
16678 cat conftest.err
>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest
$ac_exeext &&
16684 $as_test_x conftest
$ac_exeext; then
16685 ac_cv_asm_func_def
=".type 2"
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 ac_cv_asm_func_def
="unknown"
16693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16694 conftest
$ac_exeext conftest.
$ac_ext
16697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16698 conftest
$ac_exeext conftest.
$ac_ext
16701 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16702 conftest
$ac_exeext conftest.
$ac_ext
16704 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16705 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16709 case "$ac_cv_asm_func_def" in
16711 cat >>confdefs.h
<<\_ACEOF
16712 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16716 cat >>confdefs.h
<<\_ACEOF
16717 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16721 cat >>confdefs.h
<<\_ACEOF
16722 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16726 cat >>confdefs.h
<<\_ACEOF
16727 #define __ASM_FUNC(name) ""
16733 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16734 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16735 if test "${ac_cv_c_extern_prefix+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 extern int ac_test;
16748 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16753 rm -f conftest.
$ac_objext conftest
$ac_exeext
16754 if { (ac_try
="$ac_link"
16755 case "(($ac_try" in
16756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16757 *) ac_try_echo=$ac_try;;
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760 (eval "$ac_link") 2>conftest.er1
16762 grep -v '^ *+' conftest.er1 >conftest.err
16764 cat conftest.err >&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } && {
16767 test -z "$ac_c_werror_flag" ||
16768 test ! -s conftest.err
16769 } && test -s conftest$ac_exeext &&
16770 $as_test_x conftest$ac_exeext; then
16771 ac_cv_c_extern_prefix="yes"
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.$ac_ext >&5
16776 ac_cv_c_extern_prefix="no"
16779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16780 conftest$ac_exeext conftest.$ac_ext
16782 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16783 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16787 if test "$ac_cv_c_extern_prefix" = "yes"
16789 cat >>confdefs.h <<\_ACEOF
16790 #define __ASM_NAME(name) "_" name
16794 cat >>confdefs.h <<\_ACEOF
16795 #define __ASM_NAME(name) name
16805 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16809 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16811 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16815 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16823 SOCKETLIBS="-lws2_32"
16828 MAIN_BINARY="wine-pthread"
16832 linux* | k*bsd*-gnu)
16833 MAIN_BINARY="wine-glibc"
16835 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16838 MAIN_BINARY="wine-freebsd"
16840 EXTRA_BINARIES="wine-pthread"
16988 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 cat >conftest.$ac_ext <<_ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17002 #define $ac_func innocuous_$ac_func
17004 /* System header to define __stub macros and hopefully few prototypes,
17005 which can conflict with char $ac_func (); below.
17006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17007 <limits.h> exists even on freestanding compilers. */
17010 # include <limits.h>
17012 # include <assert.h>
17017 /* Override any GCC internal prototype to avoid an error.
17018 Use char because int might match the return type of a GCC
17019 builtin and then its argument prototype would still apply. */
17024 /* The GNU C library defines this for functions which it implements
17025 to always fail with ENOSYS. Some functions are actually named
17026 something starting with __ and the normal name is an alias. */
17027 #if defined __stub_$ac_func || defined __stub___$ac_func
17034 return $ac_func ();
17039 rm -f conftest.$ac_objext conftest$ac_exeext
17040 if { (ac_try="$ac_link"
17041 case "(($ac_try" in
17042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17043 *) ac_try_echo
=$ac_try;;
17045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17046 (eval "$ac_link") 2>conftest.er1
17048 grep -v '^ *+' conftest.er1
>conftest.err
17050 cat conftest.err
>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } && {
17053 test -z "$ac_c_werror_flag" ||
17054 test ! -s conftest.err
17055 } && test -s conftest
$ac_exeext &&
17056 $as_test_x conftest
$ac_exeext; then
17057 eval "$as_ac_var=yes"
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.
$ac_ext >&5
17062 eval "$as_ac_var=no"
17065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17066 conftest
$ac_exeext conftest.
$ac_ext
17068 ac_res
=`eval echo '${'$as_ac_var'}'`
17069 { echo "$as_me:$LINENO: result: $ac_res" >&5
17070 echo "${ECHO_T}$ac_res" >&6; }
17071 if test `eval echo '${'$as_ac_var'}'` = yes; then
17072 cat >>confdefs.h
<<_ACEOF
17073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17080 if test "$ac_cv_func_dlopen" = no
17082 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17083 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17084 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 ac_check_lib_save_LIBS
=$LIBS
17089 cat >conftest.
$ac_ext <<_ACEOF
17092 cat confdefs.h
>>conftest.
$ac_ext
17093 cat >>conftest.
$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17096 /* Override any GCC internal prototype to avoid an error.
17097 Use char because int might match the return type of a GCC
17098 builtin and then its argument prototype would still apply. */
17111 rm -f conftest.
$ac_objext conftest
$ac_exeext
17112 if { (ac_try
="$ac_link"
17113 case "(($ac_try" in
17114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_link") 2>conftest.er1
17120 grep -v '^ *+' conftest.er1 >conftest.err
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } && {
17125 test -z "$ac_c_werror_flag" ||
17126 test ! -s conftest.err
17127 } && test -s conftest$ac_exeext &&
17128 $as_test_x conftest$ac_exeext; then
17129 ac_cv_lib_dl_dlopen=yes
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17134 ac_cv_lib_dl_dlopen=no
17137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17138 conftest$ac_exeext conftest.$ac_ext
17139 LIBS=$ac_check_lib_save_LIBS
17141 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17142 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17143 if test $ac_cv_lib_dl_dlopen = yes; then
17144 cat >>confdefs.h <<\_ACEOF
17145 #define HAVE_DLOPEN 1
17152 ac_wine_check_funcs_save_LIBS="$LIBS"
17153 LIBS="$LIBS $LIBDL"
17155 for ac_func in dladdr
17157 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 cat >conftest.$ac_ext <<_ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17171 #define $ac_func innocuous_$ac_func
17173 /* System header to define __stub macros and hopefully few prototypes,
17174 which can conflict with char $ac_func (); below.
17175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17176 <limits.h> exists even on freestanding compilers. */
17179 # include <limits.h>
17181 # include <assert.h>
17186 /* Override any GCC internal prototype to avoid an error.
17187 Use char because int might match the return type of a GCC
17188 builtin and then its argument prototype would still apply. */
17193 /* The GNU C library defines this for functions which it implements
17194 to always fail with ENOSYS. Some functions are actually named
17195 something starting with __ and the normal name is an alias. */
17196 #if defined __stub_$ac_func || defined __stub___$ac_func
17203 return $ac_func ();
17208 rm -f conftest.$ac_objext conftest$ac_exeext
17209 if { (ac_try="$ac_link"
17210 case "(($ac_try" in
17211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17212 *) ac_try_echo
=$ac_try;;
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215 (eval "$ac_link") 2>conftest.er1
17217 grep -v '^ *+' conftest.er1
>conftest.err
17219 cat conftest.err
>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } && {
17222 test -z "$ac_c_werror_flag" ||
17223 test ! -s conftest.err
17224 } && test -s conftest
$ac_exeext &&
17225 $as_test_x conftest
$ac_exeext; then
17226 eval "$as_ac_var=yes"
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.
$ac_ext >&5
17231 eval "$as_ac_var=no"
17234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17235 conftest
$ac_exeext conftest.
$ac_ext
17237 ac_res
=`eval echo '${'$as_ac_var'}'`
17238 { echo "$as_me:$LINENO: result: $ac_res" >&5
17239 echo "${ECHO_T}$ac_res" >&6; }
17240 if test `eval echo '${'$as_ac_var'}'` = yes; then
17241 cat >>confdefs.h
<<_ACEOF
17242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17248 LIBS
="$ac_wine_check_funcs_save_LIBS"
17250 if test "$ac_cv_func_poll" = no
17252 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17253 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17254 if test "${ac_cv_lib_poll_poll+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 ac_check_lib_save_LIBS
=$LIBS
17258 LIBS
="-lpoll $LIBS"
17259 cat >conftest.
$ac_ext <<_ACEOF
17262 cat confdefs.h
>>conftest.
$ac_ext
17263 cat >>conftest.
$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17266 /* Override any GCC internal prototype to avoid an error.
17267 Use char because int might match the return type of a GCC
17268 builtin and then its argument prototype would still apply. */
17281 rm -f conftest.
$ac_objext conftest
$ac_exeext
17282 if { (ac_try
="$ac_link"
17283 case "(($ac_try" in
17284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17285 *) ac_try_echo=$ac_try;;
17287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17288 (eval "$ac_link") 2>conftest.er1
17290 grep -v '^ *+' conftest.er1 >conftest.err
17292 cat conftest.err >&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } && {
17295 test -z "$ac_c_werror_flag" ||
17296 test ! -s conftest.err
17297 } && test -s conftest$ac_exeext &&
17298 $as_test_x conftest$ac_exeext; then
17299 ac_cv_lib_poll_poll=yes
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5
17304 ac_cv_lib_poll_poll=no
17307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17308 conftest$ac_exeext conftest.$ac_ext
17309 LIBS=$ac_check_lib_save_LIBS
17311 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17312 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17313 if test $ac_cv_lib_poll_poll = yes; then
17314 cat >>confdefs.h <<\_ACEOF
17315 #define HAVE_POLL 1
17323 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17324 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17325 if test "${ac_cv_search_gethostbyname+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 ac_func_search_save_LIBS=$LIBS
17329 cat >conftest.$ac_ext <<_ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17336 /* Override any GCC internal prototype to avoid an error.
17337 Use char because int might match the return type of a GCC
17338 builtin and then its argument prototype would still apply. */
17342 char gethostbyname ();
17346 return gethostbyname ();
17351 for ac_lib in '' nsl; do
17352 if test -z "$ac_lib"; then
17353 ac_res="none required"
17356 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17358 rm -f conftest.$ac_objext conftest$ac_exeext
17359 if { (ac_try="$ac_link"
17360 case "(($ac_try" in
17361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17362 *) ac_try_echo
=$ac_try;;
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365 (eval "$ac_link") 2>conftest.er1
17367 grep -v '^ *+' conftest.er1
>conftest.err
17369 cat conftest.err
>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } && {
17372 test -z "$ac_c_werror_flag" ||
17373 test ! -s conftest.err
17374 } && test -s conftest
$ac_exeext &&
17375 $as_test_x conftest
$ac_exeext; then
17376 ac_cv_search_gethostbyname
=$ac_res
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.
$ac_ext >&5
17384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17386 if test "${ac_cv_search_gethostbyname+set}" = set; then
17390 if test "${ac_cv_search_gethostbyname+set}" = set; then
17393 ac_cv_search_gethostbyname
=no
17395 rm conftest.
$ac_ext
17396 LIBS
=$ac_func_search_save_LIBS
17398 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17399 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17400 ac_res
=$ac_cv_search_gethostbyname
17401 if test "$ac_res" != no
; then
17402 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17407 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17408 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17409 if test "${ac_cv_search_connect+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 ac_func_search_save_LIBS
=$LIBS
17413 cat >conftest.
$ac_ext <<_ACEOF
17416 cat confdefs.h
>>conftest.
$ac_ext
17417 cat >>conftest.
$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17420 /* Override any GCC internal prototype to avoid an error.
17421 Use char because int might match the return type of a GCC
17422 builtin and then its argument prototype would still apply. */
17435 for ac_lib
in '' socket
; do
17436 if test -z "$ac_lib"; then
17437 ac_res
="none required"
17440 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17442 rm -f conftest.
$ac_objext conftest
$ac_exeext
17443 if { (ac_try
="$ac_link"
17444 case "(($ac_try" in
17445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17446 *) ac_try_echo=$ac_try;;
17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_link") 2>conftest.er1
17451 grep -v '^ *+' conftest.er1 >conftest.err
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } && {
17456 test -z "$ac_c_werror_flag" ||
17457 test ! -s conftest.err
17458 } && test -s conftest$ac_exeext &&
17459 $as_test_x conftest$ac_exeext; then
17460 ac_cv_search_connect=$ac_res
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17470 if test "${ac_cv_search_connect+set}" = set; then
17474 if test "${ac_cv_search_connect+set}" = set; then
17477 ac_cv_search_connect=no
17479 rm conftest.$ac_ext
17480 LIBS=$ac_func_search_save_LIBS
17482 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17483 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17484 ac_res=$ac_cv_search_connect
17485 if test "$ac_res" != no; then
17486 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17491 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17492 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17493 if test "${ac_cv_search_inet_aton+set}" = set; then
17494 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 ac_func_search_save_LIBS=$LIBS
17497 cat >conftest.$ac_ext <<_ACEOF
17500 cat confdefs.h >>conftest.$ac_ext
17501 cat >>conftest.$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17504 /* Override any GCC internal prototype to avoid an error.
17505 Use char because int might match the return type of a GCC
17506 builtin and then its argument prototype would still apply. */
17514 return inet_aton ();
17519 for ac_lib in '' resolv; do
17520 if test -z "$ac_lib"; then
17521 ac_res="none required"
17524 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17526 rm -f conftest.$ac_objext conftest$ac_exeext
17527 if { (ac_try="$ac_link"
17528 case "(($ac_try" in
17529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17530 *) ac_try_echo
=$ac_try;;
17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533 (eval "$ac_link") 2>conftest.er1
17535 grep -v '^ *+' conftest.er1
>conftest.err
17537 cat conftest.err
>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); } && {
17540 test -z "$ac_c_werror_flag" ||
17541 test ! -s conftest.err
17542 } && test -s conftest
$ac_exeext &&
17543 $as_test_x conftest
$ac_exeext; then
17544 ac_cv_search_inet_aton
=$ac_res
17546 echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.
$ac_ext >&5
17552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17554 if test "${ac_cv_search_inet_aton+set}" = set; then
17558 if test "${ac_cv_search_inet_aton+set}" = set; then
17561 ac_cv_search_inet_aton
=no
17563 rm conftest.
$ac_ext
17564 LIBS
=$ac_func_search_save_LIBS
17566 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17567 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17568 ac_res
=$ac_cv_search_inet_aton
17569 if test "$ac_res" != no
; then
17570 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17594 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17597 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17598 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 cat >conftest.
$ac_ext <<_ACEOF
17603 cat confdefs.h
>>conftest.
$ac_ext
17604 cat >>conftest.
$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17608 #define $ac_func innocuous_$ac_func
17610 /* System header to define __stub macros and hopefully few prototypes,
17611 which can conflict with char $ac_func (); below.
17612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17613 <limits.h> exists even on freestanding compilers. */
17616 # include <limits.h>
17618 # include <assert.h>
17623 /* Override any GCC internal prototype to avoid an error.
17624 Use char because int might match the return type of a GCC
17625 builtin and then its argument prototype would still apply. */
17630 /* The GNU C library defines this for functions which it implements
17631 to always fail with ENOSYS. Some functions are actually named
17632 something starting with __ and the normal name is an alias. */
17633 #if defined __stub_$ac_func || defined __stub___$ac_func
17640 return $ac_func ();
17645 rm -f conftest.
$ac_objext conftest
$ac_exeext
17646 if { (ac_try
="$ac_link"
17647 case "(($ac_try" in
17648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_link") 2>conftest.er1
17654 grep -v '^ *+' conftest.er1 >conftest.err
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } && {
17659 test -z "$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 } && test -s conftest$ac_exeext &&
17662 $as_test_x conftest$ac_exeext; then
17663 eval "$as_ac_var=yes"
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17668 eval "$as_ac_var=no"
17671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17672 conftest$ac_exeext conftest.$ac_ext
17674 ac_res=`eval echo '${'$as_ac_var'}'`
17675 { echo "$as_me:$LINENO: result: $ac_res" >&5
17676 echo "${ECHO_T}$ac_res" >&6; }
17677 if test `eval echo '${'$as_ac_var'}'` = yes; then
17678 cat >>confdefs.h <<_ACEOF
17679 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17687 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17688 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17689 if test "${ac_cv_c_const+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 cat >conftest.$ac_ext <<_ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17702 /* FIXME: Include the comments suggested by Paul. */
17703 #ifndef __cplusplus
17704 /* Ultrix mips cc rejects this. */
17705 typedef int charset[2];
17707 /* SunOS 4.1.1 cc rejects this. */
17708 char const *const *pcpcc;
17710 /* NEC SVR4.0.2 mips cc rejects this. */
17711 struct point {int x, y;};
17712 static struct point const zero = {0,0};
17713 /* AIX XL C 1.02.0.0 rejects this.
17714 It does not let you subtract one const X* pointer from another in
17715 an arm of an if-expression whose if-part is not a constant
17717 const char *g = "string";
17718 pcpcc = &g + (g ? g-g : 0);
17719 /* HPUX 7.0 cc rejects these. */
17721 ppc = (char**) pcpcc;
17722 pcpcc = (char const *const *) ppc;
17723 { /* SCO 3.2v4 cc rejects this. */
17725 char const *s = 0 ? (char *) 0 : (char const *) 0;
17730 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17731 int x[] = {25, 17};
17732 const int *foo = &x[0];
17735 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17736 typedef const int *iptr;
17740 { /* AIX XL C 1.02.0.0 rejects this saying
17741 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17742 struct s { int j; const int *ap[3]; };
17743 struct s *b; b->j = 5;
17745 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17746 const int foo = 10;
17747 if (!foo) return 0;
17749 return !cs[0] && !zero.x;
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17760 *) ac_try_echo
=$ac_try;;
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17765 grep -v '^ *+' conftest.er1
>conftest.err
17767 cat conftest.err
>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_c_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.
$ac_objext; then
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17783 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17784 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17785 if test $ac_cv_c_const = no
; then
17787 cat >>confdefs.h
<<\_ACEOF
17793 { echo "$as_me:$LINENO: checking for inline" >&5
17794 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17795 if test "${ac_cv_c_inline+set}" = set; then
17796 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 for ac_kw
in inline __inline__ __inline
; do
17800 cat >conftest.
$ac_ext <<_ACEOF
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 #ifndef __cplusplus
17808 static $ac_kw foo_t static_foo () {return 0; }
17809 $ac_kw foo_t foo () {return 0; }
17813 rm -f conftest.
$ac_objext
17814 if { (ac_try
="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17822 grep -v '^ *+' conftest.er1 >conftest.err
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } && {
17827 test -z "$ac_c_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.$ac_objext; then
17830 ac_cv_c_inline=$ac_kw
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 test "$ac_cv_c_inline" != no && break
17843 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17844 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17847 case $ac_cv_c_inline in
17850 case $ac_cv_c_inline in
17852 *) ac_val=$ac_cv_c_inline;;
17854 cat >>confdefs.h <<_ACEOF
17855 #ifndef __cplusplus
17856 #define inline $ac_val
17862 { echo "$as_me:$LINENO: checking for mode_t" >&5
17863 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17864 if test "${ac_cv_type_mode_t+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 cat >conftest.$ac_ext <<_ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17873 $ac_includes_default
17874 typedef mode_t ac__type_new_;
17878 if ((ac__type_new_ *) 0)
17880 if (sizeof (ac__type_new_))
17886 rm -f conftest.$ac_objext
17887 if { (ac_try="$ac_compile"
17888 case "(($ac_try" in
17889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17890 *) ac_try_echo
=$ac_try;;
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17893 (eval "$ac_compile") 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } && {
17900 test -z "$ac_c_werror_flag" ||
17901 test ! -s conftest.err
17902 } && test -s conftest.
$ac_objext; then
17903 ac_cv_type_mode_t
=yes
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.
$ac_ext >&5
17908 ac_cv_type_mode_t
=no
17911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17913 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17914 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17915 if test $ac_cv_type_mode_t = yes; then
17917 cat >>confdefs.h
<<_ACEOF
17918 #define HAVE_MODE_T 1
17923 { echo "$as_me:$LINENO: checking for off_t" >&5
17924 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17925 if test "${ac_cv_type_off_t+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17935 typedef off_t ac__type_new_;
17939 if ((ac__type_new_ *) 0)
17941 if (sizeof (ac__type_new_))
17947 rm -f conftest.
$ac_objext
17948 if { (ac_try
="$ac_compile"
17949 case "(($ac_try" in
17950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17951 *) ac_try_echo=$ac_try;;
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954 (eval "$ac_compile") 2>conftest.er1
17956 grep -v '^ *+' conftest.er1 >conftest.err
17958 cat conftest.err >&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } && {
17961 test -z "$ac_c_werror_flag" ||
17962 test ! -s conftest.err
17963 } && test -s conftest.$ac_objext; then
17964 ac_cv_type_off_t=yes
17966 echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.$ac_ext >&5
17969 ac_cv_type_off_t=no
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17975 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17976 if test $ac_cv_type_off_t = yes; then
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_OFF_T 1
17984 { echo "$as_me:$LINENO: checking for pid_t" >&5
17985 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17986 if test "${ac_cv_type_pid_t+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 cat >conftest.$ac_ext <<_ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 $ac_includes_default
17996 typedef pid_t ac__type_new_;
18000 if ((ac__type_new_ *) 0)
18002 if (sizeof (ac__type_new_))
18008 rm -f conftest.$ac_objext
18009 if { (ac_try="$ac_compile"
18010 case "(($ac_try" in
18011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18012 *) ac_try_echo
=$ac_try;;
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_compile") 2>conftest.er1
18017 grep -v '^ *+' conftest.er1
>conftest.err
18019 cat conftest.err
>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } && {
18022 test -z "$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 } && test -s conftest.
$ac_objext; then
18025 ac_cv_type_pid_t
=yes
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.
$ac_ext >&5
18030 ac_cv_type_pid_t
=no
18033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18035 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18036 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18037 if test $ac_cv_type_pid_t = yes; then
18039 cat >>confdefs.h
<<_ACEOF
18040 #define HAVE_PID_T 1
18045 { echo "$as_me:$LINENO: checking for size_t" >&5
18046 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18047 if test "${ac_cv_type_size_t+set}" = set; then
18048 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 cat >conftest.
$ac_ext <<_ACEOF
18053 cat confdefs.h
>>conftest.
$ac_ext
18054 cat >>conftest.
$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 $ac_includes_default
18057 typedef size_t ac__type_new_;
18061 if ((ac__type_new_ *) 0)
18063 if (sizeof (ac__type_new_))
18069 rm -f conftest.
$ac_objext
18070 if { (ac_try
="$ac_compile"
18071 case "(($ac_try" in
18072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18073 *) ac_try_echo=$ac_try;;
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076 (eval "$ac_compile") 2>conftest.er1
18078 grep -v '^ *+' conftest.er1 >conftest.err
18080 cat conftest.err >&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } && {
18083 test -z "$ac_c_werror_flag" ||
18084 test ! -s conftest.err
18085 } && test -s conftest.$ac_objext; then
18086 ac_cv_type_size_t=yes
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18091 ac_cv_type_size_t=no
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18096 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18097 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18098 if test $ac_cv_type_size_t = yes; then
18100 cat >>confdefs.h <<_ACEOF
18101 #define HAVE_SIZE_T 1
18106 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18107 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18108 if test "${ac_cv_type_ssize_t+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.$ac_ext <<_ACEOF
18114 cat confdefs.h >>conftest.$ac_ext
18115 cat >>conftest.$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 $ac_includes_default
18118 typedef ssize_t ac__type_new_;
18122 if ((ac__type_new_ *) 0)
18124 if (sizeof (ac__type_new_))
18130 rm -f conftest.$ac_objext
18131 if { (ac_try="$ac_compile"
18132 case "(($ac_try" in
18133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18134 *) ac_try_echo
=$ac_try;;
18136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18137 (eval "$ac_compile") 2>conftest.er1
18139 grep -v '^ *+' conftest.er1
>conftest.err
18141 cat conftest.err
>&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); } && {
18144 test -z "$ac_c_werror_flag" ||
18145 test ! -s conftest.err
18146 } && test -s conftest.
$ac_objext; then
18147 ac_cv_type_ssize_t
=yes
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.
$ac_ext >&5
18152 ac_cv_type_ssize_t
=no
18155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18158 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18159 if test $ac_cv_type_ssize_t = yes; then
18161 cat >>confdefs.h
<<_ACEOF
18162 #define HAVE_SSIZE_T 1
18167 { echo "$as_me:$LINENO: checking for long long" >&5
18168 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18169 if test "${ac_cv_type_long_long+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 $ac_includes_default
18179 typedef long long ac__type_new_;
18183 if ((ac__type_new_ *) 0)
18185 if (sizeof (ac__type_new_))
18191 rm -f conftest.
$ac_objext
18192 if { (ac_try
="$ac_compile"
18193 case "(($ac_try" in
18194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_compile") 2>conftest.er1
18200 grep -v '^ *+' conftest.er1 >conftest.err
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && {
18205 test -z "$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 } && test -s conftest.$ac_objext; then
18208 ac_cv_type_long_long=yes
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18213 ac_cv_type_long_long=no
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18219 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18220 if test $ac_cv_type_long_long = yes; then
18222 cat >>confdefs.h <<_ACEOF
18223 #define HAVE_LONG_LONG 1
18228 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18229 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18230 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 cat >conftest.$ac_ext <<_ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 $ac_includes_default
18240 typedef fsblkcnt_t ac__type_new_;
18244 if ((ac__type_new_ *) 0)
18246 if (sizeof (ac__type_new_))
18252 rm -f conftest.$ac_objext
18253 if { (ac_try="$ac_compile"
18254 case "(($ac_try" in
18255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18256 *) ac_try_echo
=$ac_try;;
18258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18259 (eval "$ac_compile") 2>conftest.er1
18261 grep -v '^ *+' conftest.er1
>conftest.err
18263 cat conftest.err
>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } && {
18266 test -z "$ac_c_werror_flag" ||
18267 test ! -s conftest.err
18268 } && test -s conftest.
$ac_objext; then
18269 ac_cv_type_fsblkcnt_t
=yes
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.
$ac_ext >&5
18274 ac_cv_type_fsblkcnt_t
=no
18277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18279 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18280 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18281 if test $ac_cv_type_fsblkcnt_t = yes; then
18283 cat >>confdefs.h
<<_ACEOF
18284 #define HAVE_FSBLKCNT_T 1
18289 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18290 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18291 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18292 echo $ECHO_N "(cached) $ECHO_C" >&6
18294 cat >conftest.
$ac_ext <<_ACEOF
18297 cat confdefs.h
>>conftest.
$ac_ext
18298 cat >>conftest.
$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 $ac_includes_default
18301 typedef fsfilcnt_t ac__type_new_;
18305 if ((ac__type_new_ *) 0)
18307 if (sizeof (ac__type_new_))
18313 rm -f conftest.
$ac_objext
18314 if { (ac_try
="$ac_compile"
18315 case "(($ac_try" in
18316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18317 *) ac_try_echo=$ac_try;;
18319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18320 (eval "$ac_compile") 2>conftest.er1
18322 grep -v '^ *+' conftest.er1 >conftest.err
18324 cat conftest.err >&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } && {
18327 test -z "$ac_c_werror_flag" ||
18328 test ! -s conftest.err
18329 } && test -s conftest.$ac_objext; then
18330 ac_cv_type_fsfilcnt_t=yes
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.$ac_ext >&5
18335 ac_cv_type_fsfilcnt_t=no
18338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18340 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18341 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18342 if test $ac_cv_type_fsfilcnt_t = yes; then
18344 cat >>confdefs.h <<_ACEOF
18345 #define HAVE_FSFILCNT_T 1
18351 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18352 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18353 if test "${ac_cv_type_sigset_t+set}" = set; then
18354 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 cat >conftest.$ac_ext <<_ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362 #include <signal.h>
18364 typedef sigset_t ac__type_new_;
18368 if ((ac__type_new_ *) 0)
18370 if (sizeof (ac__type_new_))
18376 rm -f conftest.$ac_objext
18377 if { (ac_try="$ac_compile"
18378 case "(($ac_try" in
18379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18380 *) ac_try_echo
=$ac_try;;
18382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18383 (eval "$ac_compile") 2>conftest.er1
18385 grep -v '^ *+' conftest.er1
>conftest.err
18387 cat conftest.err
>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } && {
18390 test -z "$ac_c_werror_flag" ||
18391 test ! -s conftest.err
18392 } && test -s conftest.
$ac_objext; then
18393 ac_cv_type_sigset_t
=yes
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.
$ac_ext >&5
18398 ac_cv_type_sigset_t
=no
18401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18403 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18404 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18405 if test $ac_cv_type_sigset_t = yes; then
18407 cat >>confdefs.h
<<_ACEOF
18408 #define HAVE_SIGSET_T 1
18414 { echo "$as_me:$LINENO: checking for request_sense" >&5
18415 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18416 if test "${ac_cv_type_request_sense+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 cat >conftest.
$ac_ext <<_ACEOF
18422 cat confdefs.h
>>conftest.
$ac_ext
18423 cat >>conftest.
$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 #include <linux/cdrom.h>
18427 typedef request_sense ac__type_new_;
18431 if ((ac__type_new_ *) 0)
18433 if (sizeof (ac__type_new_))
18439 rm -f conftest.
$ac_objext
18440 if { (ac_try
="$ac_compile"
18441 case "(($ac_try" in
18442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18443 *) ac_try_echo=$ac_try;;
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446 (eval "$ac_compile") 2>conftest.er1
18448 grep -v '^ *+' conftest.er1 >conftest.err
18450 cat conftest.err >&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } && {
18453 test -z "$ac_c_werror_flag" ||
18454 test ! -s conftest.err
18455 } && test -s conftest.$ac_objext; then
18456 ac_cv_type_request_sense=yes
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18461 ac_cv_type_request_sense=no
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18467 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18468 if test $ac_cv_type_request_sense = yes; then
18470 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_REQUEST_SENSE 1
18478 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18479 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18480 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18483 cat >conftest.$ac_ext <<_ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 #ifdef HAVE_LINUX_INPUT_H
18490 #include <linux/input.h>
18496 static struct ff_effect ac_aggr;
18497 if (ac_aggr.direction)
18503 rm -f conftest.$ac_objext
18504 if { (ac_try="$ac_compile"
18505 case "(($ac_try" in
18506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18507 *) ac_try_echo
=$ac_try;;
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_compile") 2>conftest.er1
18512 grep -v '^ *+' conftest.er1
>conftest.err
18514 cat conftest.err
>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } && {
18517 test -z "$ac_c_werror_flag" ||
18518 test ! -s conftest.err
18519 } && test -s conftest.
$ac_objext; then
18520 ac_cv_member_struct_ff_effect_direction
=yes
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.
$ac_ext >&5
18525 cat >conftest.
$ac_ext <<_ACEOF
18528 cat confdefs.h
>>conftest.
$ac_ext
18529 cat >>conftest.
$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #ifdef HAVE_LINUX_INPUT_H
18532 #include <linux/input.h>
18538 static struct ff_effect ac_aggr;
18539 if (sizeof ac_aggr.direction)
18545 rm -f conftest.
$ac_objext
18546 if { (ac_try
="$ac_compile"
18547 case "(($ac_try" in
18548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18549 *) ac_try_echo=$ac_try;;
18551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18552 (eval "$ac_compile") 2>conftest.er1
18554 grep -v '^ *+' conftest.er1 >conftest.err
18556 cat conftest.err >&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } && {
18559 test -z "$ac_c_werror_flag" ||
18560 test ! -s conftest.err
18561 } && test -s conftest.$ac_objext; then
18562 ac_cv_member_struct_ff_effect_direction=yes
18564 echo "$as_me: failed program was:" >&5
18565 sed 's/^/| /' conftest.$ac_ext >&5
18567 ac_cv_member_struct_ff_effect_direction=no
18570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18575 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18576 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18577 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18579 cat >>confdefs.h <<_ACEOF
18580 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18587 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18588 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18589 if test "${wine_cv_have_sigaddset+set}" = set; then
18590 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 cat >conftest.$ac_ext <<_ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 #include <signal.h>
18602 sigset_t set; sigaddset(&set,SIGTERM);
18607 rm -f conftest.$ac_objext conftest$ac_exeext
18608 if { (ac_try="$ac_link"
18609 case "(($ac_try" in
18610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18611 *) ac_try_echo
=$ac_try;;
18613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18614 (eval "$ac_link") 2>conftest.er1
18616 grep -v '^ *+' conftest.er1
>conftest.err
18618 cat conftest.err
>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } && {
18621 test -z "$ac_c_werror_flag" ||
18622 test ! -s conftest.err
18623 } && test -s conftest
$ac_exeext &&
18624 $as_test_x conftest
$ac_exeext; then
18625 wine_cv_have_sigaddset
=yes
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.
$ac_ext >&5
18630 wine_cv_have_sigaddset
=no
18633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18634 conftest
$ac_exeext conftest.
$ac_ext
18636 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18637 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18638 if test "$wine_cv_have_sigaddset" = "yes"
18641 cat >>confdefs.h
<<\_ACEOF
18642 #define HAVE_SIGADDSET 1
18648 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18649 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18650 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 cat >conftest.
$ac_ext <<_ACEOF
18656 cat confdefs.h
>>conftest.
$ac_ext
18657 cat >>conftest.
$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18666 struct hostent *result;
18673 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18674 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18680 rm -f conftest.
$ac_objext conftest
$ac_exeext
18681 if { (ac_try
="$ac_link"
18682 case "(($ac_try" in
18683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18684 *) ac_try_echo=$ac_try;;
18686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18687 (eval "$ac_link") 2>conftest.er1
18689 grep -v '^ *+' conftest.er1 >conftest.err
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_c_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest$ac_exeext &&
18697 $as_test_x conftest$ac_exeext; then
18698 wine_cv_linux_gethostbyname_r_6=yes
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.$ac_ext >&5
18703 wine_cv_linux_gethostbyname_r_6=no
18707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18708 conftest$ac_exeext conftest.$ac_ext
18711 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18712 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18713 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18716 cat >>confdefs.h <<\_ACEOF
18717 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18722 if test "$ac_cv_header_linux_joystick_h" = "yes"
18724 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18725 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18726 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18729 cat >conftest.$ac_ext <<_ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18736 #include <sys/ioctl.h>
18737 #include <sys/types.h>
18738 #include <linux/joystick.h>
18740 struct js_event blub;
18741 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18742 #error "no 2.2 header"
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18757 *) ac_try_echo
=$ac_try;;
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18762 grep -v '^ *+' conftest.er1
>conftest.err
18764 cat conftest.err
>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.
$ac_objext; then
18770 wine_cv_linux_joystick_22_api
=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 wine_cv_linux_joystick_22_api
=no
18778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18781 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18782 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18783 if test "$wine_cv_linux_joystick_22_api" = "yes"
18786 cat >>confdefs.h
<<\_ACEOF
18787 #define HAVE_LINUX_22_JOYSTICK_API 1
18794 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18795 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18796 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 cat >conftest.
$ac_ext <<_ACEOF
18802 cat confdefs.h
>>conftest.
$ac_ext
18803 cat >>conftest.
$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 #include <sys/types.h>
18806 #ifdef HAVE_SYS_PARAM_H
18807 # include <sys/param.h>
18809 #ifdef HAVE_SYS_MOUNT_H
18810 # include <sys/mount.h>
18812 #ifdef HAVE_SYS_VFS_H
18813 # include <sys/vfs.h>
18815 #ifdef HAVE_SYS_STATFS_H
18816 # include <sys/statfs.h>
18822 static struct statfs ac_aggr;
18823 if (ac_aggr.f_bfree)
18829 rm -f conftest.
$ac_objext
18830 if { (ac_try
="$ac_compile"
18831 case "(($ac_try" in
18832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_compile") 2>conftest.er1
18838 grep -v '^ *+' conftest.er1 >conftest.err
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } && {
18843 test -z "$ac_c_werror_flag" ||
18844 test ! -s conftest.err
18845 } && test -s conftest.$ac_objext; then
18846 ac_cv_member_struct_statfs_f_bfree=yes
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18851 cat >conftest.$ac_ext <<_ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 #include <sys/types.h>
18858 #ifdef HAVE_SYS_PARAM_H
18859 # include <sys/param.h>
18861 #ifdef HAVE_SYS_MOUNT_H
18862 # include <sys/mount.h>
18864 #ifdef HAVE_SYS_VFS_H
18865 # include <sys/vfs.h>
18867 #ifdef HAVE_SYS_STATFS_H
18868 # include <sys/statfs.h>
18874 static struct statfs ac_aggr;
18875 if (sizeof ac_aggr.f_bfree)
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18885 *) ac_try_echo
=$ac_try;;
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18890 grep -v '^ *+' conftest.er1
>conftest.err
18892 cat conftest.err
>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.
$ac_objext; then
18898 ac_cv_member_struct_statfs_f_bfree
=yes
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.
$ac_ext >&5
18903 ac_cv_member_struct_statfs_f_bfree
=no
18906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18911 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18912 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18913 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18915 cat >>confdefs.h
<<_ACEOF
18916 #define HAVE_STRUCT_STATFS_F_BFREE 1
18921 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18922 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 cat >conftest.
$ac_ext <<_ACEOF
18929 cat confdefs.h
>>conftest.
$ac_ext
18930 cat >>conftest.
$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SYS_PARAM_H
18934 # include <sys/param.h>
18936 #ifdef HAVE_SYS_MOUNT_H
18937 # include <sys/mount.h>
18939 #ifdef HAVE_SYS_VFS_H
18940 # include <sys/vfs.h>
18942 #ifdef HAVE_SYS_STATFS_H
18943 # include <sys/statfs.h>
18949 static struct statfs ac_aggr;
18950 if (ac_aggr.f_bavail)
18956 rm -f conftest.
$ac_objext
18957 if { (ac_try
="$ac_compile"
18958 case "(($ac_try" in
18959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18960 *) ac_try_echo=$ac_try;;
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963 (eval "$ac_compile") 2>conftest.er1
18965 grep -v '^ *+' conftest.er1 >conftest.err
18967 cat conftest.err >&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); } && {
18970 test -z "$ac_c_werror_flag" ||
18971 test ! -s conftest.err
18972 } && test -s conftest.$ac_objext; then
18973 ac_cv_member_struct_statfs_f_bavail=yes
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18978 cat >conftest.$ac_ext <<_ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 #include <sys/types.h>
18985 #ifdef HAVE_SYS_PARAM_H
18986 # include <sys/param.h>
18988 #ifdef HAVE_SYS_MOUNT_H
18989 # include <sys/mount.h>
18991 #ifdef HAVE_SYS_VFS_H
18992 # include <sys/vfs.h>
18994 #ifdef HAVE_SYS_STATFS_H
18995 # include <sys/statfs.h>
19001 static struct statfs ac_aggr;
19002 if (sizeof ac_aggr.f_bavail)
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19012 *) ac_try_echo
=$ac_try;;
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19017 grep -v '^ *+' conftest.er1
>conftest.err
19019 cat conftest.err
>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.
$ac_objext; then
19025 ac_cv_member_struct_statfs_f_bavail
=yes
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.
$ac_ext >&5
19030 ac_cv_member_struct_statfs_f_bavail
=no
19033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19040 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19042 cat >>confdefs.h
<<_ACEOF
19043 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19048 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19049 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19050 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 cat >conftest.
$ac_ext <<_ACEOF
19056 cat confdefs.h
>>conftest.
$ac_ext
19057 cat >>conftest.
$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 #include <sys/types.h>
19060 #ifdef HAVE_SYS_PARAM_H
19061 # include <sys/param.h>
19063 #ifdef HAVE_SYS_MOUNT_H
19064 # include <sys/mount.h>
19066 #ifdef HAVE_SYS_VFS_H
19067 # include <sys/vfs.h>
19069 #ifdef HAVE_SYS_STATFS_H
19070 # include <sys/statfs.h>
19076 static struct statfs ac_aggr;
19077 if (ac_aggr.f_frsize)
19083 rm -f conftest.
$ac_objext
19084 if { (ac_try
="$ac_compile"
19085 case "(($ac_try" in
19086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19087 *) ac_try_echo=$ac_try;;
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090 (eval "$ac_compile") 2>conftest.er1
19092 grep -v '^ *+' conftest.er1 >conftest.err
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && {
19097 test -z "$ac_c_werror_flag" ||
19098 test ! -s conftest.err
19099 } && test -s conftest.$ac_objext; then
19100 ac_cv_member_struct_statfs_f_frsize=yes
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 #include <sys/types.h>
19112 #ifdef HAVE_SYS_PARAM_H
19113 # include <sys/param.h>
19115 #ifdef HAVE_SYS_MOUNT_H
19116 # include <sys/mount.h>
19118 #ifdef HAVE_SYS_VFS_H
19119 # include <sys/vfs.h>
19121 #ifdef HAVE_SYS_STATFS_H
19122 # include <sys/statfs.h>
19128 static struct statfs ac_aggr;
19129 if (sizeof ac_aggr.f_frsize)
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19139 *) ac_try_echo
=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.
$ac_objext; then
19152 ac_cv_member_struct_statfs_f_frsize
=yes
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.
$ac_ext >&5
19157 ac_cv_member_struct_statfs_f_frsize
=no
19160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19165 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19166 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19167 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19169 cat >>confdefs.h
<<_ACEOF
19170 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19175 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19176 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19177 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 cat >conftest.
$ac_ext <<_ACEOF
19183 cat confdefs.h
>>conftest.
$ac_ext
19184 cat >>conftest.
$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <sys/types.h>
19187 #ifdef HAVE_SYS_PARAM_H
19188 # include <sys/param.h>
19190 #ifdef HAVE_SYS_MOUNT_H
19191 # include <sys/mount.h>
19193 #ifdef HAVE_SYS_VFS_H
19194 # include <sys/vfs.h>
19196 #ifdef HAVE_SYS_STATFS_H
19197 # include <sys/statfs.h>
19203 static struct statfs ac_aggr;
19204 if (ac_aggr.f_ffree)
19210 rm -f conftest.
$ac_objext
19211 if { (ac_try
="$ac_compile"
19212 case "(($ac_try" in
19213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_compile") 2>conftest.er1
19219 grep -v '^ *+' conftest.er1 >conftest.err
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } && {
19224 test -z "$ac_c_werror_flag" ||
19225 test ! -s conftest.err
19226 } && test -s conftest.$ac_objext; then
19227 ac_cv_member_struct_statfs_f_ffree=yes
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19232 cat >conftest.$ac_ext <<_ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <sys/types.h>
19239 #ifdef HAVE_SYS_PARAM_H
19240 # include <sys/param.h>
19242 #ifdef HAVE_SYS_MOUNT_H
19243 # include <sys/mount.h>
19245 #ifdef HAVE_SYS_VFS_H
19246 # include <sys/vfs.h>
19248 #ifdef HAVE_SYS_STATFS_H
19249 # include <sys/statfs.h>
19255 static struct statfs ac_aggr;
19256 if (sizeof ac_aggr.f_ffree)
19262 rm -f conftest.$ac_objext
19263 if { (ac_try="$ac_compile"
19264 case "(($ac_try" in
19265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19266 *) ac_try_echo
=$ac_try;;
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_compile") 2>conftest.er1
19271 grep -v '^ *+' conftest.er1
>conftest.err
19273 cat conftest.err
>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_c_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest.
$ac_objext; then
19279 ac_cv_member_struct_statfs_f_ffree
=yes
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_cv_member_struct_statfs_f_ffree
=no
19287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19293 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19294 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19296 cat >>confdefs.h
<<_ACEOF
19297 #define HAVE_STRUCT_STATFS_F_FFREE 1
19302 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19303 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19304 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 #include <sys/types.h>
19314 #ifdef HAVE_SYS_PARAM_H
19315 # include <sys/param.h>
19317 #ifdef HAVE_SYS_MOUNT_H
19318 # include <sys/mount.h>
19320 #ifdef HAVE_SYS_VFS_H
19321 # include <sys/vfs.h>
19323 #ifdef HAVE_SYS_STATFS_H
19324 # include <sys/statfs.h>
19330 static struct statfs ac_aggr;
19331 if (ac_aggr.f_favail)
19337 rm -f conftest.
$ac_objext
19338 if { (ac_try
="$ac_compile"
19339 case "(($ac_try" in
19340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19341 *) ac_try_echo=$ac_try;;
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344 (eval "$ac_compile") 2>conftest.er1
19346 grep -v '^ *+' conftest.er1 >conftest.err
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } && {
19351 test -z "$ac_c_werror_flag" ||
19352 test ! -s conftest.err
19353 } && test -s conftest.$ac_objext; then
19354 ac_cv_member_struct_statfs_f_favail=yes
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19359 cat >conftest.$ac_ext <<_ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #include <sys/types.h>
19366 #ifdef HAVE_SYS_PARAM_H
19367 # include <sys/param.h>
19369 #ifdef HAVE_SYS_MOUNT_H
19370 # include <sys/mount.h>
19372 #ifdef HAVE_SYS_VFS_H
19373 # include <sys/vfs.h>
19375 #ifdef HAVE_SYS_STATFS_H
19376 # include <sys/statfs.h>
19382 static struct statfs ac_aggr;
19383 if (sizeof ac_aggr.f_favail)
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19393 *) ac_try_echo
=$ac_try;;
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_compile") 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_c_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest.
$ac_objext; then
19406 ac_cv_member_struct_statfs_f_favail
=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 ac_cv_member_struct_statfs_f_favail
=no
19414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19419 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19420 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19421 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19423 cat >>confdefs.h
<<_ACEOF
19424 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19429 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19430 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19431 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 cat >conftest.
$ac_ext <<_ACEOF
19437 cat confdefs.h
>>conftest.
$ac_ext
19438 cat >>conftest.
$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 #include <sys/types.h>
19441 #ifdef HAVE_SYS_PARAM_H
19442 # include <sys/param.h>
19444 #ifdef HAVE_SYS_MOUNT_H
19445 # include <sys/mount.h>
19447 #ifdef HAVE_SYS_VFS_H
19448 # include <sys/vfs.h>
19450 #ifdef HAVE_SYS_STATFS_H
19451 # include <sys/statfs.h>
19457 static struct statfs ac_aggr;
19458 if (ac_aggr.f_namelen)
19464 rm -f conftest.
$ac_objext
19465 if { (ac_try
="$ac_compile"
19466 case "(($ac_try" in
19467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19468 *) ac_try_echo=$ac_try;;
19470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19471 (eval "$ac_compile") 2>conftest.er1
19473 grep -v '^ *+' conftest.er1 >conftest.err
19475 cat conftest.err >&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } && {
19478 test -z "$ac_c_werror_flag" ||
19479 test ! -s conftest.err
19480 } && test -s conftest.$ac_objext; then
19481 ac_cv_member_struct_statfs_f_namelen=yes
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.$ac_ext >&5
19486 cat >conftest.$ac_ext <<_ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_PARAM_H
19494 # include <sys/param.h>
19496 #ifdef HAVE_SYS_MOUNT_H
19497 # include <sys/mount.h>
19499 #ifdef HAVE_SYS_VFS_H
19500 # include <sys/vfs.h>
19502 #ifdef HAVE_SYS_STATFS_H
19503 # include <sys/statfs.h>
19509 static struct statfs ac_aggr;
19510 if (sizeof ac_aggr.f_namelen)
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19520 *) ac_try_echo
=$ac_try;;
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19525 grep -v '^ *+' conftest.er1
>conftest.err
19527 cat conftest.err
>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.
$ac_objext; then
19533 ac_cv_member_struct_statfs_f_namelen
=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.
$ac_ext >&5
19538 ac_cv_member_struct_statfs_f_namelen
=no
19541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19546 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19547 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19548 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19550 cat >>confdefs.h
<<_ACEOF
19551 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19558 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19559 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19560 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19561 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 cat >conftest.
$ac_ext <<_ACEOF
19566 cat confdefs.h
>>conftest.
$ac_ext
19567 cat >>conftest.
$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569 #ifdef HAVE_SYS_STATVFS_H
19570 #include <sys/statvfs.h>
19576 static struct statvfs ac_aggr;
19577 if (ac_aggr.f_blocks)
19583 rm -f conftest.
$ac_objext
19584 if { (ac_try
="$ac_compile"
19585 case "(($ac_try" in
19586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19587 *) ac_try_echo=$ac_try;;
19589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19590 (eval "$ac_compile") 2>conftest.er1
19592 grep -v '^ *+' conftest.er1 >conftest.err
19594 cat conftest.err >&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } && {
19597 test -z "$ac_c_werror_flag" ||
19598 test ! -s conftest.err
19599 } && test -s conftest.$ac_objext; then
19600 ac_cv_member_struct_statvfs_f_blocks=yes
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 #ifdef HAVE_SYS_STATVFS_H
19612 #include <sys/statvfs.h>
19618 static struct statvfs ac_aggr;
19619 if (sizeof ac_aggr.f_blocks)
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19629 *) ac_try_echo
=$ac_try;;
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19634 grep -v '^ *+' conftest.er1
>conftest.err
19636 cat conftest.err
>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.
$ac_objext; then
19642 ac_cv_member_struct_statvfs_f_blocks
=yes
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.
$ac_ext >&5
19647 ac_cv_member_struct_statvfs_f_blocks
=no
19650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19655 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19656 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19657 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19659 cat >>confdefs.h
<<_ACEOF
19660 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19667 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19668 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19669 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 cat >conftest.
$ac_ext <<_ACEOF
19675 cat confdefs.h
>>conftest.
$ac_ext
19676 cat >>conftest.
$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 #include <sys/types.h>
19679 #ifdef HAVE_SYS_SOCKET_H
19680 # include <sys/socket.h>
19682 #ifdef HAVE_SYS_UN_H
19683 # include <sys/un.h>
19689 static struct msghdr ac_aggr;
19690 if (ac_aggr.msg_accrights)
19696 rm -f conftest.
$ac_objext
19697 if { (ac_try
="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1 >conftest.err
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 ac_cv_member_struct_msghdr_msg_accrights=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19718 cat >conftest.$ac_ext <<_ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/types.h>
19725 #ifdef HAVE_SYS_SOCKET_H
19726 # include <sys/socket.h>
19728 #ifdef HAVE_SYS_UN_H
19729 # include <sys/un.h>
19735 static struct msghdr ac_aggr;
19736 if (sizeof ac_aggr.msg_accrights)
19742 rm -f conftest.$ac_objext
19743 if { (ac_try="$ac_compile"
19744 case "(($ac_try" in
19745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19746 *) ac_try_echo
=$ac_try;;
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_compile") 2>conftest.er1
19751 grep -v '^ *+' conftest.er1
>conftest.err
19753 cat conftest.err
>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err
19758 } && test -s conftest.
$ac_objext; then
19759 ac_cv_member_struct_msghdr_msg_accrights
=yes
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19764 ac_cv_member_struct_msghdr_msg_accrights
=no
19767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19772 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19773 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19774 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19776 cat >>confdefs.h
<<_ACEOF
19777 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19782 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19783 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19784 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 cat >conftest.
$ac_ext <<_ACEOF
19790 cat confdefs.h
>>conftest.
$ac_ext
19791 cat >>conftest.
$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 #include <sys/types.h>
19794 #ifdef HAVE_SYS_SOCKET_H
19795 # include <sys/socket.h>
19797 #ifdef HAVE_SYS_UN_H
19798 # include <sys/un.h>
19804 static struct sockaddr ac_aggr;
19805 if (ac_aggr.sa_len)
19811 rm -f conftest.
$ac_objext
19812 if { (ac_try
="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19820 grep -v '^ *+' conftest.er1 >conftest.err
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_cv_member_struct_sockaddr_sa_len=yes
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 cat >conftest.$ac_ext <<_ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 #include <sys/types.h>
19840 #ifdef HAVE_SYS_SOCKET_H
19841 # include <sys/socket.h>
19843 #ifdef HAVE_SYS_UN_H
19844 # include <sys/un.h>
19850 static struct sockaddr ac_aggr;
19851 if (sizeof ac_aggr.sa_len)
19857 rm -f conftest.$ac_objext
19858 if { (ac_try="$ac_compile"
19859 case "(($ac_try" in
19860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19861 *) ac_try_echo
=$ac_try;;
19863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19864 (eval "$ac_compile") 2>conftest.er1
19866 grep -v '^ *+' conftest.er1
>conftest.err
19868 cat conftest.err
>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } && {
19871 test -z "$ac_c_werror_flag" ||
19872 test ! -s conftest.err
19873 } && test -s conftest.
$ac_objext; then
19874 ac_cv_member_struct_sockaddr_sa_len
=yes
19876 echo "$as_me: failed program was:" >&5
19877 sed 's/^/| /' conftest.
$ac_ext >&5
19879 ac_cv_member_struct_sockaddr_sa_len
=no
19882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19887 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19888 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19889 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19891 cat >>confdefs.h
<<_ACEOF
19892 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19897 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19898 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19899 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 cat >conftest.
$ac_ext <<_ACEOF
19905 cat confdefs.h
>>conftest.
$ac_ext
19906 cat >>conftest.
$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 #include <sys/types.h>
19909 #ifdef HAVE_SYS_SOCKET_H
19910 # include <sys/socket.h>
19912 #ifdef HAVE_SYS_UN_H
19913 # include <sys/un.h>
19919 static struct sockaddr_un ac_aggr;
19920 if (ac_aggr.sun_len)
19926 rm -f conftest.
$ac_objext
19927 if { (ac_try
="$ac_compile"
19928 case "(($ac_try" in
19929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19930 *) ac_try_echo=$ac_try;;
19932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19933 (eval "$ac_compile") 2>conftest.er1
19935 grep -v '^ *+' conftest.er1 >conftest.err
19937 cat conftest.err >&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } && {
19940 test -z "$ac_c_werror_flag" ||
19941 test ! -s conftest.err
19942 } && test -s conftest.$ac_objext; then
19943 ac_cv_member_struct_sockaddr_un_sun_len=yes
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #include <sys/types.h>
19955 #ifdef HAVE_SYS_SOCKET_H
19956 # include <sys/socket.h>
19958 #ifdef HAVE_SYS_UN_H
19959 # include <sys/un.h>
19965 static struct sockaddr_un ac_aggr;
19966 if (sizeof ac_aggr.sun_len)
19972 rm -f conftest.$ac_objext
19973 if { (ac_try="$ac_compile"
19974 case "(($ac_try" in
19975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19976 *) ac_try_echo
=$ac_try;;
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979 (eval "$ac_compile") 2>conftest.er1
19981 grep -v '^ *+' conftest.er1
>conftest.err
19983 cat conftest.err
>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } && {
19986 test -z "$ac_c_werror_flag" ||
19987 test ! -s conftest.err
19988 } && test -s conftest.
$ac_objext; then
19989 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19991 echo "$as_me: failed program was:" >&5
19992 sed 's/^/| /' conftest.
$ac_ext >&5
19994 ac_cv_member_struct_sockaddr_un_sun_len
=no
19997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20002 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20003 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20004 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20006 cat >>confdefs.h
<<_ACEOF
20007 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20014 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20015 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20016 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 cat >conftest.
$ac_ext <<_ACEOF
20022 cat confdefs.h
>>conftest.
$ac_ext
20023 cat >>conftest.
$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20025 #include <sys/types.h>
20026 #ifdef HAVE_SCSI_SG_H
20027 #include <scsi/sg.h>
20033 static scsireq_t ac_aggr;
20040 rm -f conftest.
$ac_objext
20041 if { (ac_try
="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20049 grep -v '^ *+' conftest.er1 >conftest.err
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.$ac_objext; then
20057 ac_cv_member_scsireq_t_cmd=yes
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20062 cat >conftest.$ac_ext <<_ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 #include <sys/types.h>
20069 #ifdef HAVE_SCSI_SG_H
20070 #include <scsi/sg.h>
20076 static scsireq_t ac_aggr;
20077 if (sizeof ac_aggr.cmd)
20083 rm -f conftest.$ac_objext
20084 if { (ac_try="$ac_compile"
20085 case "(($ac_try" in
20086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20087 *) ac_try_echo
=$ac_try;;
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_compile") 2>conftest.er1
20092 grep -v '^ *+' conftest.er1
>conftest.err
20094 cat conftest.err
>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } && {
20097 test -z "$ac_c_werror_flag" ||
20098 test ! -s conftest.err
20099 } && test -s conftest.
$ac_objext; then
20100 ac_cv_member_scsireq_t_cmd
=yes
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.
$ac_ext >&5
20105 ac_cv_member_scsireq_t_cmd
=no
20108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20113 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20114 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20115 if test $ac_cv_member_scsireq_t_cmd = yes; then
20117 cat >>confdefs.h
<<_ACEOF
20118 #define HAVE_SCSIREQ_T_CMD 1
20123 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20124 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20125 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 cat >conftest.
$ac_ext <<_ACEOF
20131 cat confdefs.h
>>conftest.
$ac_ext
20132 cat >>conftest.
$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 #include <sys/types.h>
20135 #ifdef HAVE_SCSI_SG_H
20136 #include <scsi/sg.h>
20142 static sg_io_hdr_t ac_aggr;
20143 if (ac_aggr.interface_id)
20149 rm -f conftest.
$ac_objext
20150 if { (ac_try
="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20158 grep -v '^ *+' conftest.er1 >conftest.err
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20166 ac_cv_member_sg_io_hdr_t_interface_id=yes
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20171 cat >conftest.$ac_ext <<_ACEOF
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20177 #include <sys/types.h>
20178 #ifdef HAVE_SCSI_SG_H
20179 #include <scsi/sg.h>
20185 static sg_io_hdr_t ac_aggr;
20186 if (sizeof ac_aggr.interface_id)
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20196 *) ac_try_echo
=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.
$ac_objext; then
20209 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.
$ac_ext >&5
20214 ac_cv_member_sg_io_hdr_t_interface_id
=no
20217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20222 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20223 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20224 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20226 cat >>confdefs.h
<<_ACEOF
20227 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20234 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20235 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20236 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 #include <signal.h>
20250 static siginfo_t ac_aggr;
20257 rm -f conftest.
$ac_objext
20258 if { (ac_try
="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20266 grep -v '^ *+' conftest.er1 >conftest.err
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20274 ac_cv_member_siginfo_t_si_fd=yes
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 cat >conftest.$ac_ext <<_ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 #include <signal.h>
20290 static siginfo_t ac_aggr;
20291 if (sizeof ac_aggr.si_fd)
20297 rm -f conftest.$ac_objext
20298 if { (ac_try="$ac_compile"
20299 case "(($ac_try" in
20300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20301 *) ac_try_echo
=$ac_try;;
20303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304 (eval "$ac_compile") 2>conftest.er1
20306 grep -v '^ *+' conftest.er1
>conftest.err
20308 cat conftest.err
>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } && {
20311 test -z "$ac_c_werror_flag" ||
20312 test ! -s conftest.err
20313 } && test -s conftest.
$ac_objext; then
20314 ac_cv_member_siginfo_t_si_fd
=yes
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.
$ac_ext >&5
20319 ac_cv_member_siginfo_t_si_fd
=no
20322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20327 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20328 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20329 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20331 cat >>confdefs.h
<<_ACEOF
20332 #define HAVE_SIGINFO_T_SI_FD 1
20339 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20340 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20341 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20342 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 cat >conftest.
$ac_ext <<_ACEOF
20347 cat confdefs.h
>>conftest.
$ac_ext
20348 cat >>conftest.
$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20350 #include <sys/types.h>
20351 #ifdef HAVE_SYS_MTIO_H
20352 #include <sys/mtio.h>
20358 static struct mtget ac_aggr;
20359 if (ac_aggr.mt_blksiz)
20365 rm -f conftest.
$ac_objext
20366 if { (ac_try
="$ac_compile"
20367 case "(($ac_try" in
20368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20369 *) ac_try_echo=$ac_try;;
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20372 (eval "$ac_compile") 2>conftest.er1
20374 grep -v '^ *+' conftest.er1 >conftest.err
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } && {
20379 test -z "$ac_c_werror_flag" ||
20380 test ! -s conftest.err
20381 } && test -s conftest.$ac_objext; then
20382 ac_cv_member_struct_mtget_mt_blksiz=yes
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.$ac_ext >&5
20387 cat >conftest.$ac_ext <<_ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 #include <sys/types.h>
20394 #ifdef HAVE_SYS_MTIO_H
20395 #include <sys/mtio.h>
20401 static struct mtget ac_aggr;
20402 if (sizeof ac_aggr.mt_blksiz)
20408 rm -f conftest.$ac_objext
20409 if { (ac_try="$ac_compile"
20410 case "(($ac_try" in
20411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20412 *) ac_try_echo
=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_compile") 2>conftest.er1
20417 grep -v '^ *+' conftest.er1
>conftest.err
20419 cat conftest.err
>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); } && {
20422 test -z "$ac_c_werror_flag" ||
20423 test ! -s conftest.err
20424 } && test -s conftest.
$ac_objext; then
20425 ac_cv_member_struct_mtget_mt_blksiz
=yes
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 ac_cv_member_struct_mtget_mt_blksiz
=no
20433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20438 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20439 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20440 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20442 cat >>confdefs.h
<<_ACEOF
20443 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20448 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20449 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20450 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20451 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 cat >conftest.
$ac_ext <<_ACEOF
20456 cat confdefs.h
>>conftest.
$ac_ext
20457 cat >>conftest.
$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 #include <sys/types.h>
20460 #ifdef HAVE_SYS_MTIO_H
20461 #include <sys/mtio.h>
20467 static struct mtget ac_aggr;
20468 if (ac_aggr.mt_gstat)
20474 rm -f conftest.
$ac_objext
20475 if { (ac_try
="$ac_compile"
20476 case "(($ac_try" in
20477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20478 *) ac_try_echo=$ac_try;;
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481 (eval "$ac_compile") 2>conftest.er1
20483 grep -v '^ *+' conftest.er1 >conftest.err
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } && {
20488 test -z "$ac_c_werror_flag" ||
20489 test ! -s conftest.err
20490 } && test -s conftest.$ac_objext; then
20491 ac_cv_member_struct_mtget_mt_gstat=yes
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20496 cat >conftest.$ac_ext <<_ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 #include <sys/types.h>
20503 #ifdef HAVE_SYS_MTIO_H
20504 #include <sys/mtio.h>
20510 static struct mtget ac_aggr;
20511 if (sizeof ac_aggr.mt_gstat)
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20521 *) ac_try_echo
=$ac_try;;
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1
>conftest.err
20528 cat conftest.err
>&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.
$ac_objext; then
20534 ac_cv_member_struct_mtget_mt_gstat
=yes
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.
$ac_ext >&5
20539 ac_cv_member_struct_mtget_mt_gstat
=no
20542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20548 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20549 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20551 cat >>confdefs.h
<<_ACEOF
20552 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20557 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20558 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20559 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20560 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 cat >conftest.
$ac_ext <<_ACEOF
20565 cat confdefs.h
>>conftest.
$ac_ext
20566 cat >>conftest.
$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 #include <sys/types.h>
20569 #ifdef HAVE_SYS_MTIO_H
20570 #include <sys/mtio.h>
20576 static struct mtget ac_aggr;
20577 if (ac_aggr.mt_blkno)
20583 rm -f conftest.
$ac_objext
20584 if { (ac_try
="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20592 grep -v '^ *+' conftest.er1 >conftest.err
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20600 ac_cv_member_struct_mtget_mt_blkno=yes
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 cat >conftest.$ac_ext <<_ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 #include <sys/types.h>
20612 #ifdef HAVE_SYS_MTIO_H
20613 #include <sys/mtio.h>
20619 static struct mtget ac_aggr;
20620 if (sizeof ac_aggr.mt_blkno)
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20630 *) ac_try_echo
=$ac_try;;
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20635 grep -v '^ *+' conftest.er1
>conftest.err
20637 cat conftest.err
>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.
$ac_objext; then
20643 ac_cv_member_struct_mtget_mt_blkno
=yes
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.
$ac_ext >&5
20648 ac_cv_member_struct_mtget_mt_blkno
=no
20651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20656 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20657 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20658 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20660 cat >>confdefs.h
<<_ACEOF
20661 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20668 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20669 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20670 if test "${ac_cv_member_struct_option_name+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 cat >conftest.
$ac_ext <<_ACEOF
20676 cat confdefs.h
>>conftest.
$ac_ext
20677 cat >>conftest.
$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679 #ifdef HAVE_GETOPT_H
20680 #include <getopt.h>
20686 static struct option ac_aggr;
20693 rm -f conftest.
$ac_objext
20694 if { (ac_try
="$ac_compile"
20695 case "(($ac_try" in
20696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_compile") 2>conftest.er1
20702 grep -v '^ *+' conftest.er1 >conftest.err
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } && {
20707 test -z "$ac_c_werror_flag" ||
20708 test ! -s conftest.err
20709 } && test -s conftest.$ac_objext; then
20710 ac_cv_member_struct_option_name=yes
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20715 cat >conftest.$ac_ext <<_ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20721 #ifdef HAVE_GETOPT_H
20722 #include <getopt.h>
20728 static struct option ac_aggr;
20729 if (sizeof ac_aggr.name)
20735 rm -f conftest.$ac_objext
20736 if { (ac_try="$ac_compile"
20737 case "(($ac_try" in
20738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20739 *) ac_try_echo
=$ac_try;;
20741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20742 (eval "$ac_compile") 2>conftest.er1
20744 grep -v '^ *+' conftest.er1
>conftest.err
20746 cat conftest.err
>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } && {
20749 test -z "$ac_c_werror_flag" ||
20750 test ! -s conftest.err
20751 } && test -s conftest.
$ac_objext; then
20752 ac_cv_member_struct_option_name
=yes
20754 echo "$as_me: failed program was:" >&5
20755 sed 's/^/| /' conftest.
$ac_ext >&5
20757 ac_cv_member_struct_option_name
=no
20760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20765 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20766 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20767 if test $ac_cv_member_struct_option_name = yes; then
20769 cat >>confdefs.h
<<_ACEOF
20770 #define HAVE_STRUCT_OPTION_NAME 1
20777 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20778 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20779 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20780 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 cat >conftest.
$ac_ext <<_ACEOF
20785 cat confdefs.h
>>conftest.
$ac_ext
20786 cat >>conftest.
$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 $ac_includes_default
20792 static struct stat ac_aggr;
20793 if (ac_aggr.st_blocks)
20799 rm -f conftest.
$ac_objext
20800 if { (ac_try
="$ac_compile"
20801 case "(($ac_try" in
20802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20803 *) ac_try_echo=$ac_try;;
20805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20806 (eval "$ac_compile") 2>conftest.er1
20808 grep -v '^ *+' conftest.er1 >conftest.err
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } && {
20813 test -z "$ac_c_werror_flag" ||
20814 test ! -s conftest.err
20815 } && test -s conftest.$ac_objext; then
20816 ac_cv_member_struct_stat_st_blocks=yes
20818 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20821 cat >conftest.$ac_ext <<_ACEOF
20824 cat confdefs.h >>conftest.$ac_ext
20825 cat >>conftest.$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20827 $ac_includes_default
20831 static struct stat ac_aggr;
20832 if (sizeof ac_aggr.st_blocks)
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20842 *) ac_try_echo
=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.
$ac_objext; then
20855 ac_cv_member_struct_stat_st_blocks
=yes
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.
$ac_ext >&5
20860 ac_cv_member_struct_stat_st_blocks
=no
20863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20868 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20869 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20870 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20872 cat >>confdefs.h
<<_ACEOF
20873 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20880 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20881 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20882 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20883 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 cat >conftest.
$ac_ext <<_ACEOF
20888 cat confdefs.h
>>conftest.
$ac_ext
20889 cat >>conftest.
$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 #ifdef HAVE_SYS_TYPES_H
20892 #include <sys/types.h>
20894 #ifdef HAVE_NETINET_IN_H
20895 #include <netinet/in.h>
20901 static struct sockaddr_in6 ac_aggr;
20902 if (ac_aggr.sin6_scope_id)
20908 rm -f conftest.
$ac_objext
20909 if { (ac_try
="$ac_compile"
20910 case "(($ac_try" in
20911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_compile") 2>conftest.er1
20917 grep -v '^ *+' conftest.er1 >conftest.err
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && {
20922 test -z "$ac_c_werror_flag" ||
20923 test ! -s conftest.err
20924 } && test -s conftest.$ac_objext; then
20925 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20930 cat >conftest.$ac_ext <<_ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 #ifdef HAVE_SYS_TYPES_H
20937 #include <sys/types.h>
20939 #ifdef HAVE_NETINET_IN_H
20940 #include <netinet/in.h>
20946 static struct sockaddr_in6 ac_aggr;
20947 if (sizeof ac_aggr.sin6_scope_id)
20953 rm -f conftest.$ac_objext
20954 if { (ac_try="$ac_compile"
20955 case "(($ac_try" in
20956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20957 *) ac_try_echo
=$ac_try;;
20959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20960 (eval "$ac_compile") 2>conftest.er1
20962 grep -v '^ *+' conftest.er1
>conftest.err
20964 cat conftest.err
>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } && {
20967 test -z "$ac_c_werror_flag" ||
20968 test ! -s conftest.err
20969 } && test -s conftest.
$ac_objext; then
20970 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.
$ac_ext >&5
20975 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20983 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20984 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20985 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20987 cat >>confdefs.h
<<_ACEOF
20988 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20995 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20996 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20997 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20998 echo $ECHO_N "(cached) $ECHO_C" >&6
21000 cat >conftest.
$ac_ext <<_ACEOF
21003 cat confdefs.h
>>conftest.
$ac_ext
21004 cat >>conftest.
$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21006 #ifdef HAVE_SYS_TYPES_H
21007 #include <sys/types.h>
21009 #ifdef HAVE_NETINET_IN_H
21010 # include <netinet/in.h>
21012 #ifdef HAVE_ARPA_NAMESER_H
21013 # include <arpa/nameser.h>
21019 static ns_msg ac_aggr;
21020 if (ac_aggr._msg_ptr)
21026 rm -f conftest.
$ac_objext
21027 if { (ac_try
="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21035 grep -v '^ *+' conftest.er1 >conftest.err
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_member_ns_msg__msg_ptr=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21048 cat >conftest.$ac_ext <<_ACEOF
21051 cat confdefs.h >>conftest.$ac_ext
21052 cat >>conftest.$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 #ifdef HAVE_SYS_TYPES_H
21055 #include <sys/types.h>
21057 #ifdef HAVE_NETINET_IN_H
21058 # include <netinet/in.h>
21060 #ifdef HAVE_ARPA_NAMESER_H
21061 # include <arpa/nameser.h>
21067 static ns_msg ac_aggr;
21068 if (sizeof ac_aggr._msg_ptr)
21074 rm -f conftest.$ac_objext
21075 if { (ac_try="$ac_compile"
21076 case "(($ac_try" in
21077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21078 *) ac_try_echo
=$ac_try;;
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_compile") 2>conftest.er1
21083 grep -v '^ *+' conftest.er1
>conftest.err
21085 cat conftest.err
>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } && {
21088 test -z "$ac_c_werror_flag" ||
21089 test ! -s conftest.err
21090 } && test -s conftest.
$ac_objext; then
21091 ac_cv_member_ns_msg__msg_ptr
=yes
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.
$ac_ext >&5
21096 ac_cv_member_ns_msg__msg_ptr
=no
21099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21104 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21105 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21106 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21108 cat >>confdefs.h
<<_ACEOF
21109 #define HAVE_NS_MSG__MSG_PTR 1
21116 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21117 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21118 if test "${ac_cv_have_timezone+set}" = set; then
21119 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 cat >conftest.
$ac_ext <<_ACEOF
21124 cat confdefs.h
>>conftest.
$ac_ext
21125 cat >>conftest.
$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21136 rm -f conftest.
$ac_objext conftest
$ac_exeext
21137 if { (ac_try
="$ac_link"
21138 case "(($ac_try" in
21139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21140 *) ac_try_echo=$ac_try;;
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21143 (eval "$ac_link") 2>conftest.er1
21145 grep -v '^ *+' conftest.er1 >conftest.err
21147 cat conftest.err >&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } && {
21150 test -z "$ac_c_werror_flag" ||
21151 test ! -s conftest.err
21152 } && test -s conftest$ac_exeext &&
21153 $as_test_x conftest$ac_exeext; then
21154 ac_cv_have_timezone="yes"
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.$ac_ext >&5
21159 ac_cv_have_timezone="no"
21162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21163 conftest$ac_exeext conftest.$ac_ext
21165 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21166 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21167 if test "$ac_cv_have_timezone" = "yes"
21170 cat >>confdefs.h <<\_ACEOF
21171 #define HAVE_TIMEZONE 1
21175 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21176 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21177 if test "${ac_cv_have_daylight+set}" = set; then
21178 echo $ECHO_N "(cached) $ECHO_C" >&6
21180 cat >conftest.$ac_ext <<_ACEOF
21183 cat confdefs.h >>conftest.$ac_ext
21184 cat >>conftest.$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21195 rm -f conftest.$ac_objext conftest$ac_exeext
21196 if { (ac_try="$ac_link"
21197 case "(($ac_try" in
21198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21199 *) ac_try_echo
=$ac_try;;
21201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21202 (eval "$ac_link") 2>conftest.er1
21204 grep -v '^ *+' conftest.er1
>conftest.err
21206 cat conftest.err
>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } && {
21209 test -z "$ac_c_werror_flag" ||
21210 test ! -s conftest.err
21211 } && test -s conftest
$ac_exeext &&
21212 $as_test_x conftest
$ac_exeext; then
21213 ac_cv_have_daylight
="yes"
21215 echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.
$ac_ext >&5
21218 ac_cv_have_daylight
="no"
21221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21222 conftest
$ac_exeext conftest.
$ac_ext
21224 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21225 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21226 if test "$ac_cv_have_daylight" = "yes"
21229 cat >>confdefs.h
<<\_ACEOF
21230 #define HAVE_DAYLIGHT 1
21235 { echo "$as_me:$LINENO: checking for isinf" >&5
21236 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21237 if test "${ac_cv_have_isinf+set}" = set; then
21238 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 cat >conftest.
$ac_ext <<_ACEOF
21243 cat confdefs.h
>>conftest.
$ac_ext
21244 cat >>conftest.
$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21250 float f = 0.0; isinf(f)
21255 rm -f conftest.
$ac_objext conftest
$ac_exeext
21256 if { (ac_try
="$ac_link"
21257 case "(($ac_try" in
21258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_link") 2>conftest.er1
21264 grep -v '^ *+' conftest.er1 >conftest.err
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } && {
21269 test -z "$ac_c_werror_flag" ||
21270 test ! -s conftest.err
21271 } && test -s conftest$ac_exeext &&
21272 $as_test_x conftest$ac_exeext; then
21273 ac_cv_have_isinf="yes"
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21278 ac_cv_have_isinf="no"
21281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21282 conftest$ac_exeext conftest.$ac_ext
21284 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21285 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21286 if test "$ac_cv_have_isinf" = "yes"
21289 cat >>confdefs.h <<\_ACEOF
21290 #define HAVE_ISINF 1
21297 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21298 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21299 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21300 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 cat >conftest.$ac_ext <<_ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21313 $EGREP "yes" >/dev/null 2>&1; then
21314 ac_cv_cpp_def___i386__=yes
21316 ac_cv_cpp_def___i386__=no
21321 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21322 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21323 if test $ac_cv_cpp_def___i386__ = yes; then
21324 CFLAGS="$CFLAGS -D__i386__"
21325 LINTFLAGS="$LINTFLAGS -D__i386__"
21328 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21329 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21330 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 cat >conftest.$ac_ext <<_ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21344 $EGREP "yes" >/dev/null 2>&1; then
21345 ac_cv_cpp_def___x86_64__=yes
21347 ac_cv_cpp_def___x86_64__=no
21352 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21353 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21354 if test $ac_cv_cpp_def___x86_64__ = yes; then
21355 CFLAGS="$CFLAGS -D__x86_64__"
21356 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21359 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21360 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21361 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21362 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 cat >conftest.$ac_ext <<_ACEOF
21367 cat confdefs.h >>conftest.$ac_ext
21368 cat >>conftest.$ac_ext <<_ACEOF
21369 /* end confdefs.h. */
21374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21375 $EGREP "yes" >/dev/null 2>&1; then
21376 ac_cv_cpp_def___ALPHA__=yes
21378 ac_cv_cpp_def___ALPHA__=no
21383 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21384 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21385 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21386 CFLAGS="$CFLAGS -D__ALPHA__"
21387 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21390 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21391 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21392 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21393 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 cat >conftest.$ac_ext <<_ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21406 $EGREP "yes" >/dev/null 2>&1; then
21407 ac_cv_cpp_def___sparc__=yes
21409 ac_cv_cpp_def___sparc__=no
21414 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21415 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21416 if test $ac_cv_cpp_def___sparc__ = yes; then
21417 CFLAGS="$CFLAGS -D__sparc__"
21418 LINTFLAGS="$LINTFLAGS -D__sparc__"
21421 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21422 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21423 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21424 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 cat >conftest.$ac_ext <<_ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 #ifndef __powerpc__
21436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21437 $EGREP "yes" >/dev/null 2>&1; then
21438 ac_cv_cpp_def___powerpc__=yes
21440 ac_cv_cpp_def___powerpc__=no
21445 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21446 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21447 if test $ac_cv_cpp_def___powerpc__ = yes; then
21448 CFLAGS="$CFLAGS -D__powerpc__"
21449 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21454 case $host_vendor in
21455 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21456 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21457 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 cat >conftest.$ac_ext <<_ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21471 $EGREP "yes" >/dev/null 2>&1; then
21472 ac_cv_cpp_def___sun__=yes
21474 ac_cv_cpp_def___sun__=no
21479 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21480 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21481 if test $ac_cv_cpp_def___sun__ = yes; then
21482 CFLAGS="$CFLAGS -D__sun__"
21483 LINTFLAGS="$LINTFLAGS -D__sun__"
21489 DEPENDENCIES="### Dependencies:
21494 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21496 \$(OBJS): \$(IDL_GEN_HEADERS)
21497 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21498 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21499 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21500 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21506 ac_config_commands="$ac_config_commands include/stamp-h"
21509 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21511 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21513 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21515 ac_config_commands="$ac_config_commands dlls/user32/resources"
21517 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21519 ac_config_commands="$ac_config_commands include/wine"
21522 MAKE_RULES=Make.rules
21525 MAKE_DLL_RULES=dlls/Makedll.rules
21528 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21531 MAKE_TEST_RULES=dlls/Maketest.rules
21534 MAKE_PROG_RULES=programs/Makeprog.rules
21537 ac_config_files="$ac_config_files Make.rules"
21539 ac_config_files="$ac_config_files dlls/Makedll.rules"
21541 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21543 ac_config_files="$ac_config_files dlls/Maketest.rules"
21545 ac_config_files="$ac_config_files programs/Makeprog.rules"
21547 ac_config_files="$ac_config_files Makefile"
21549 ac_config_files="$ac_config_files dlls/Makefile"
21551 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21553 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21555 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21557 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21559 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21561 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21565 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21567 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21569 ac_config_files="$ac_config_files dlls/atl/Makefile"
21571 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21573 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21575 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21577 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21581 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21583 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21585 ac_config_files="$ac_config_files dlls/cards/Makefile"
21587 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21589 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21591 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21593 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21595 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21597 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21599 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21601 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21603 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21605 ac_config_files="$ac_config_files dlls/credui/Makefile"
21607 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21609 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21611 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21613 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21615 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21617 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21619 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21621 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21623 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21625 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21627 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21629 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21631 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21633 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21635 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21637 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21639 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21641 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21643 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21645 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21647 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21649 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21651 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21653 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21655 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21657 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21659 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21661 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21663 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21665 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21667 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21669 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21671 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21673 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21675 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21679 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21681 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21683 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21685 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21687 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21689 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21691 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21693 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21695 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21697 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21699 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21701 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21703 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21705 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21707 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21709 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21711 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21713 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21715 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21717 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21719 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21721 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21723 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21725 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21729 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21731 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21733 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21735 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21737 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21741 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21743 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21745 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21747 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21749 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21751 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21753 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21755 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21757 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21759 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21761 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21763 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21765 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21769 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21771 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21773 ac_config_files="$ac_config_files dlls/hal/Makefile"
21775 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21777 ac_config_files="$ac_config_files dlls/hid/Makefile"
21779 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21781 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21783 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21785 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21787 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21789 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21791 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21793 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21795 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21797 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21799 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21801 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21803 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21805 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21809 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21811 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21813 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21815 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21817 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21819 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21821 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21823 ac_config_files="$ac_config_files dlls/itss/Makefile"
21825 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21827 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21829 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21831 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21833 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21835 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21837 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21839 ac_config_files="$ac_config_files dlls/localui/Makefile"
21841 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21843 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21845 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21847 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21849 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21851 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21853 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21855 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21857 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21859 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21861 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21863 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21865 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21867 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21869 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21871 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21873 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21875 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21877 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21879 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21881 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21883 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21885 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21887 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21889 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21891 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21893 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21895 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21897 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21899 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21901 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21903 ac_config_files="$ac_config_files dlls/msi/Makefile"
21905 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21907 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21909 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21911 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21913 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21915 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21917 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21919 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21921 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21923 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21925 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21927 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21929 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21931 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21933 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21935 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21937 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21939 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21941 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21943 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21945 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21947 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21949 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21951 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21953 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21955 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21957 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21959 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21961 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21963 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21965 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21967 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21969 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21971 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21973 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21975 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21977 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21981 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21983 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21985 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21987 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21989 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21991 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21993 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21995 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21997 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21999 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22001 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22003 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22005 ac_config_files="$ac_config_files dlls/printui/Makefile"
22007 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22009 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22011 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22013 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22015 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22017 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22019 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22021 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22023 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22025 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22027 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22029 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22031 ac_config_files="$ac_config_files dlls/query/Makefile"
22033 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22035 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22037 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22039 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22041 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22043 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22045 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22047 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22049 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22051 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22053 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22055 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22057 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22059 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22061 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22063 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22065 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22067 ac_config_files="$ac_config_files dlls/security/Makefile"
22069 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22071 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22073 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22075 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22077 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22079 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22081 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22083 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22085 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22087 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22089 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22091 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22093 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22095 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22097 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22099 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22101 ac_config_files="$ac_config_files dlls/slc/Makefile"
22103 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22105 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22107 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22109 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22111 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22113 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22115 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22117 ac_config_files="$ac_config_files dlls/sti/Makefile"
22119 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22121 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22123 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22125 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22127 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22129 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22131 ac_config_files="$ac_config_files dlls/url/Makefile"
22133 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22135 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22137 ac_config_files="$ac_config_files dlls/user32/Makefile"
22139 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22141 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22143 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22145 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22147 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22149 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22151 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22153 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22155 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22157 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22159 ac_config_files="$ac_config_files dlls/version/Makefile"
22161 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22163 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22165 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22167 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22169 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22171 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22173 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22175 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22177 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22179 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22181 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22183 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22185 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22187 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22189 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22191 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22193 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22195 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22197 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22199 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22201 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22203 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22205 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22207 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22209 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22211 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22213 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22215 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22217 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22219 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22221 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22223 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22225 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22227 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22229 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22231 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22233 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22235 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22237 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22239 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22241 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22243 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22245 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22247 ac_config_files="$ac_config_files documentation/Makefile"
22249 ac_config_files="$ac_config_files fonts/Makefile"
22251 ac_config_files="$ac_config_files include/Makefile"
22253 ac_config_files="$ac_config_files libs/Makefile"
22255 ac_config_files="$ac_config_files libs/port/Makefile"
22257 ac_config_files="$ac_config_files libs/wine/Makefile"
22259 ac_config_files="$ac_config_files libs/wpp/Makefile"
22261 ac_config_files="$ac_config_files loader/Makefile"
22263 ac_config_files="$ac_config_files programs/Makefile"
22265 ac_config_files="$ac_config_files programs/clock/Makefile"
22267 ac_config_files="$ac_config_files programs/cmd/Makefile"
22269 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22271 ac_config_files="$ac_config_files programs/control/Makefile"
22273 ac_config_files="$ac_config_files programs/eject/Makefile"
22275 ac_config_files="$ac_config_files programs/expand/Makefile"
22277 ac_config_files="$ac_config_files programs/explorer/Makefile"
22279 ac_config_files="$ac_config_files programs/hh/Makefile"
22281 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22283 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22285 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22287 ac_config_files="$ac_config_files programs/net/Makefile"
22289 ac_config_files="$ac_config_files programs/notepad/Makefile"
22291 ac_config_files="$ac_config_files programs/oleview/Makefile"
22293 ac_config_files="$ac_config_files programs/progman/Makefile"
22295 ac_config_files="$ac_config_files programs/reg/Makefile"
22297 ac_config_files="$ac_config_files programs/regedit/Makefile"
22299 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22301 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22303 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22305 ac_config_files="$ac_config_files programs/secedit/Makefile"
22307 ac_config_files="$ac_config_files programs/services/Makefile"
22309 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22311 ac_config_files="$ac_config_files programs/start/Makefile"
22313 ac_config_files="$ac_config_files programs/svchost/Makefile"
22315 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22317 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22319 ac_config_files="$ac_config_files programs/view/Makefile"
22321 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22323 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22325 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22327 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22329 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22331 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22333 ac_config_files="$ac_config_files programs/winefile/Makefile"
22335 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22337 ac_config_files="$ac_config_files programs/winemine/Makefile"
22339 ac_config_files="$ac_config_files programs/winepath/Makefile"
22341 ac_config_files="$ac_config_files programs/winetest/Makefile"
22343 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22345 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22347 ac_config_files="$ac_config_files programs/winver/Makefile"
22349 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22351 ac_config_files="$ac_config_files programs/write/Makefile"
22353 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22355 ac_config_files="$ac_config_files server/Makefile"
22357 ac_config_files="$ac_config_files tools/Makefile"
22359 ac_config_files="$ac_config_files tools/widl/Makefile"
22361 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22363 ac_config_files="$ac_config_files tools/winedump/Makefile"
22365 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22367 ac_config_files="$ac_config_files tools/wmc/Makefile"
22369 ac_config_files="$ac_config_files tools/wrc/Makefile"
22372 cat >confcache <<\_ACEOF
22373 # This file is a shell script that caches the results of configure
22374 # tests run on this system so they can be shared between configure
22375 # scripts and configure runs, see configure's option --config-cache.
22376 # It is not useful on other systems. If it contains results you don't
22377 # want to keep, you may remove or edit it.
22379 # config.status only pays attention to the cache file if you give it
22380 # the --recheck option to rerun configure.
22382 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22383 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22384 # following values.
22388 # The following way of writing the cache mishandles newlines in values,
22389 # but we know of no workaround that is simple, portable, and efficient.
22390 # So, we kill variables containing newlines.
22391 # Ultrix sh set writes to stderr and can't be redirected directly,
22392 # and sets the high bit in the cache file unless we assign to the vars.
22394 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22395 eval ac_val
=\$
$ac_var
22399 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22400 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22403 _ | IFS | as_nl
) ;; #(
22404 *) $as_unset $ac_var ;;
22410 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22411 *${as_nl}ac_space
=\
*)
22412 # `set' does not quote correctly, so add quotes (double-quote
22413 # substitution turns \\\\ into \\, and sed turns \\ into \).
22416 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22419 # `set' quotes correctly as required by POSIX, so do not add quotes.
22420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22429 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22431 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22433 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22434 if test -w "$cache_file"; then
22435 test "x$cache_file" != "x/dev/null" &&
22436 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22437 echo "$as_me: updating cache $cache_file" >&6;}
22438 cat confcache
>$cache_file
22440 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22441 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22446 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22447 # Let make expand exec_prefix.
22448 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22450 DEFS
=-DHAVE_CONFIG_H
22454 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22455 # 1. Remove the extension, and $U if already installed.
22456 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22457 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22458 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22459 # will be set to the directory where LIBOBJS objects are built.
22460 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22461 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22463 LIBOBJS
=$ac_libobjs
22465 LTLIBOBJS
=$ac_ltlibobjs
22469 : ${CONFIG_STATUS=./config.status}
22470 ac_clean_files_save
=$ac_clean_files
22471 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22472 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22473 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22474 cat >$CONFIG_STATUS <<_ACEOF
22476 # Generated by $as_me.
22477 # Run this file to recreate the current configuration.
22478 # Compiler output produced by configure, useful for debugging
22479 # configure, is in config.log if it exists.
22482 ac_cs_recheck=false
22484 SHELL=\${CONFIG_SHELL-$SHELL}
22487 cat >>$CONFIG_STATUS <<\_ACEOF
22488 ## --------------------- ##
22489 ## M4sh Initialization. ##
22490 ## --------------------- ##
22492 # Be more Bourne compatible
22493 DUALCASE
=1; export DUALCASE
# for MKS sh
22494 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22497 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22498 # is contrary to our usage. Disable this feature.
22499 alias -g '${1+"$@"}'='"$@"'
22500 setopt NO_GLOB_SUBST
22502 case `(set -o) 2>/dev/null` in
22503 *posix
*) set -o posix
;;
22512 # Avoid depending upon Character Ranges.
22513 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22514 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22515 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22516 as_cr_digits
='0123456789'
22517 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22519 # The user is always right.
22520 if test "${PATH_SEPARATOR+set}" != set; then
22521 echo "#! /bin/sh" >conf$$.sh
22522 echo "exit 0" >>conf$$.sh
22524 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22532 # Support unset when possible.
22533 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22541 # We need space, tab and new line, in precisely that order. Quoting is
22542 # there to prevent editors from complaining about space-tab.
22543 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22544 # splitting by setting IFS to empty value.)
22549 # Find who we are. Look in the path if we contain no directory separator.
22551 *[\\/]* ) as_myself
=$0 ;;
22552 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22553 for as_dir
in $PATH
22556 test -z "$as_dir" && as_dir
=.
22557 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22563 # We did not find ourselves, most probably we were run as `sh COMMAND'
22564 # in which case we are not to be found in the path.
22565 if test "x$as_myself" = x
; then
22568 if test ! -f "$as_myself"; then
22569 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22570 { (exit 1); exit 1; }
22573 # Work around bugs in pre-3.0 UWIN ksh.
22574 for as_var
in ENV MAIL MAILPATH
22575 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22583 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22584 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22585 LC_TELEPHONE LC_TIME
22587 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22588 eval $as_var=C
; export $as_var
22590 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22594 # Required to use basename.
22595 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22596 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22602 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22603 as_basename
=basename
22609 # Name of the executable.
22610 as_me
=`$as_basename -- "$0" ||
22611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22612 X"$0" : 'X\(//\)$' \| \
22613 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22615 sed '/^.*\/\([^/][^/]*\)\/*$/{
22634 as_lineno_1
=$LINENO
22635 as_lineno_2
=$LINENO
22636 test "x$as_lineno_1" != "x$as_lineno_2" &&
22637 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22639 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22640 # uniformly replaced by the line number. The first 'sed' inserts a
22641 # line-number line after each line using $LINENO; the second 'sed'
22642 # does the real work. The second script uses 'N' to pair each
22643 # line-number line with the line containing $LINENO, and appends
22644 # trailing '-' during substitution so that $LINENO is not a special
22645 # case at line end.
22646 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22647 # scripts with optimization help from Paolo Bonzini. Blame Lee
22648 # E. McMahon (1931-1989) for sed's syntax. :-)
22660 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22663 ' >$as_me.lineno
&&
22664 chmod +x
"$as_me.lineno" ||
22665 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22666 { (exit 1); exit 1; }; }
22668 # Don't try to exec as it changes $[0], causing all sort of problems
22669 # (the dirname of $[0] is not the place where we might find the
22670 # original and so on. Autoconf is especially sensitive to this).
22671 .
"./$as_me.lineno"
22672 # Exit status is that of the last command.
22677 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22683 ECHO_C
= ECHO_N
= ECHO_T
=
22684 case `echo -n x` in
22686 case `echo 'x\c'` in
22687 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22694 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22695 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22701 rm -f conf$$ conf$$.exe conf$$.
file
22702 if test -d conf$$.dir
; then
22703 rm -f conf$$.dir
/conf$$.
file
22709 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22711 # ... but there are two gotchas:
22712 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22713 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22714 # In both cases, we have to default to `cp -p'.
22715 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22717 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22722 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22723 rmdir conf$$.dir
2>/dev
/null
22725 if mkdir
-p .
2>/dev
/null
; then
22728 test -d .
/-p && rmdir .
/-p
22732 if test -x / >/dev
/null
2>&1; then
22733 as_test_x
='test -x'
22735 if ls -dL / >/dev
/null
2>&1; then
22742 if test -d "$1"; then
22748 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22749 ???[sx]*):;;*)false;;esac;fi
22753 as_executable_p
=$as_test_x
22755 # Sed expression to map a string onto a valid CPP name.
22756 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22758 # Sed expression to map a string onto a valid variable name.
22759 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22764 # Save the log message, to keep $[0] and so on meaningful, and to
22765 # report actual input values of CONFIG_FILES etc. instead of their
22766 # values after options handling.
22768 This file was extended by Wine $as_me 1.0, which was
22769 generated by GNU Autoconf 2.61. Invocation command line was
22771 CONFIG_FILES = $CONFIG_FILES
22772 CONFIG_HEADERS = $CONFIG_HEADERS
22773 CONFIG_LINKS = $CONFIG_LINKS
22774 CONFIG_COMMANDS = $CONFIG_COMMANDS
22777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22782 cat >>$CONFIG_STATUS <<_ACEOF
22783 # Files that config.status was made for.
22784 config_files="$ac_config_files"
22785 config_headers="$ac_config_headers"
22786 config_commands="$ac_config_commands"
22790 cat >>$CONFIG_STATUS <<\_ACEOF
22792 \`$as_me' instantiates files from templates according to the
22793 current configuration.
22795 Usage: $0 [OPTIONS] [FILE]...
22797 -h, --help print this help, then exit
22798 -V, --version print version number and configuration settings, then exit
22799 -q, --quiet do not print progress messages
22800 -d, --debug don't remove temporary files
22801 --recheck update $as_me by reconfiguring in the same conditions
22802 --file=FILE[:TEMPLATE]
22803 instantiate the configuration file FILE
22804 --header=FILE[:TEMPLATE]
22805 instantiate the configuration header FILE
22807 Configuration files:
22810 Configuration headers:
22813 Configuration commands:
22816 Report bugs to <bug-autoconf@gnu.org>."
22819 cat >>$CONFIG_STATUS <<_ACEOF
22821 Wine config.status 1.0
22822 configured by $0, generated by GNU Autoconf 2.61,
22823 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22825 Copyright (C) 2006 Free Software Foundation, Inc.
22826 This config.status script is free software; the Free Software Foundation
22827 gives unlimited permission to copy, distribute and modify it."
22834 cat >>$CONFIG_STATUS <<\_ACEOF
22835 # If no file are specified by the user, then we need to provide default
22836 # value. By we need to know if files were specified by the user.
22842 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22843 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22854 # Handling of the options.
22855 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22857 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22858 echo "$ac_cs_version"; exit ;;
22859 --debug |
--debu |
--deb |
--de |
--d |
-d )
22861 --file |
--fil |
--fi |
--f )
22863 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22864 ac_need_defaults
=false
;;
22865 --header |
--heade |
--head |
--hea )
22867 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22868 ac_need_defaults
=false
;;
22870 # Conflict between --help and --header
22871 { echo "$as_me: error: ambiguous option: $1
22872 Try \`$0 --help' for more information." >&2
22873 { (exit 1); exit 1; }; };;
22874 --help |
--hel |
-h )
22875 echo "$ac_cs_usage"; exit ;;
22876 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22877 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22880 # This is an error.
22881 -*) { echo "$as_me: error: unrecognized option: $1
22882 Try \`$0 --help' for more information." >&2
22883 { (exit 1); exit 1; }; } ;;
22885 *) ac_config_targets
="$ac_config_targets $1"
22886 ac_need_defaults
=false
;;
22892 ac_configure_extra_args
=
22894 if $ac_cs_silent; then
22896 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22900 cat >>$CONFIG_STATUS <<_ACEOF
22901 if \$ac_cs_recheck; then
22902 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22903 CONFIG_SHELL=$SHELL
22904 export CONFIG_SHELL
22905 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22909 cat >>$CONFIG_STATUS <<\_ACEOF
22913 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22914 ## Running $as_me. ##
22920 cat >>$CONFIG_STATUS <<_ACEOF
22923 cat >>$CONFIG_STATUS <<\_ACEOF
22925 # Handling of arguments.
22926 for ac_config_target
in $ac_config_targets
22928 case $ac_config_target in
22929 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22930 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22931 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22932 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22933 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22934 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22935 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22936 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22937 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22938 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22939 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22940 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22941 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22942 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22943 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22944 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22945 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22946 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22947 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22948 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22949 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22950 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22951 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22952 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22953 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22954 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22955 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22956 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22957 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22958 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22959 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22960 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22961 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22962 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22963 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22964 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22965 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22966 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22967 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22968 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22969 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22970 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22971 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22972 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22973 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22974 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22975 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22976 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22977 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22978 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22979 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22980 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22981 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22982 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22983 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22984 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22985 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22986 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22987 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22988 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22989 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22990 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22991 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22992 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22993 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22994 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22995 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22996 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22997 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22998 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22999 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23000 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23001 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23002 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23003 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23004 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23005 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23006 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23007 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23008 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23009 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23010 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23011 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23012 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23013 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23014 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
23015 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
23016 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23017 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23018 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
23019 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23020 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
23021 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23022 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23023 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23024 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23025 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23026 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23027 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23028 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23029 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
23030 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23031 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23032 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23033 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23034 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23035 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23036 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
23037 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23038 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23039 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
23040 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23041 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23042 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23043 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23044 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23045 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23046 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23047 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23048 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23049 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23050 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23051 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23052 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23053 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23054 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23055 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23056 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23057 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23058 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23059 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23060 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23061 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23062 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23063 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23064 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23065 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23066 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23067 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23068 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23069 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23070 "dlls/inetmib1/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23071 "dlls/inetmib1/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23072 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23073 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23074 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23075 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23076 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23077 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23078 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23079 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23080 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23081 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23082 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23083 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23084 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23085 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23086 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23087 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23088 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23089 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23090 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23091 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23092 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23093 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23094 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23095 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23096 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23097 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23098 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23099 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23100 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23101 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23102 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23103 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23104 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23105 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23106 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23107 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23108 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23109 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23110 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23111 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23112 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23113 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23114 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23115 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23116 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23117 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23118 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23119 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23120 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23121 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23122 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23123 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23124 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23125 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23126 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23127 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23128 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23129 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23130 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23131 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23132 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23133 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23134 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23135 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23136 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23137 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23138 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23139 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23140 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23141 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23142 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23143 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23144 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23145 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23146 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23147 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23148 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23149 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23150 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23151 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23152 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23153 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23154 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23155 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23156 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23157 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23158 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23159 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23160 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23161 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23162 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23163 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23164 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23165 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23166 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23167 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23168 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23169 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23170 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23171 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23172 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23173 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23174 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23175 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23176 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23177 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23178 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23179 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23180 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23181 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23182 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23183 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23184 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23185 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23186 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23187 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23188 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23189 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23190 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23191 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23192 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23193 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23194 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23195 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23196 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23197 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23198 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23199 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23200 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23201 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23202 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23203 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23204 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23205 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23206 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23207 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23208 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23209 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23210 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23211 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23212 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23213 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23214 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23215 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23216 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23217 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23218 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23219 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23220 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23221 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23222 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23223 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23224 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23225 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23226 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23227 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23228 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23229 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23230 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23231 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23232 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23233 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23234 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23235 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23236 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23237 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23238 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23239 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23240 "dlls/userenv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23241 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23242 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23243 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23244 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23245 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23246 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23247 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23248 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23249 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23250 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23251 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23252 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23253 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23254 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23255 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23256 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23257 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23258 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23259 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23260 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23261 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23262 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23263 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23264 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23265 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23266 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23267 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23268 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23269 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23270 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23271 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23272 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23273 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23274 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23275 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23276 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23277 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23278 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23279 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23280 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23281 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23282 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23283 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23284 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23285 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23286 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23287 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23288 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23289 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23290 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23291 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23292 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23293 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23294 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23295 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23296 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23297 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23298 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23299 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23300 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23301 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23302 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23303 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23304 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23305 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23306 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23307 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23308 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23309 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23310 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23311 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23312 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23313 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23314 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23315 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23316 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23317 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23318 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23319 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23320 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23321 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23322 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23323 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23324 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23325 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23326 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23327 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23328 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23329 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23330 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23331 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23332 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23333 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23334 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23335 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23336 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23337 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23338 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23339 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23340 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23341 "programs/winhlp32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23342 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23343 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23344 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23345 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23346 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23347 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23348 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23349 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23350 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23351 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23352 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23353 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23355 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23356 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23357 { (exit 1); exit 1; }; };;
23362 # If the user did not use the arguments to specify the items to instantiate,
23363 # then the envvar interface is used. Set only those that are not.
23364 # We use the long form for the default assignment because of an extremely
23365 # bizarre bug on SunOS 4.1.3.
23366 if $ac_need_defaults; then
23367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23372 # Have a temporary directory for convenience. Make it in the build tree
23373 # simply because there is no reason against having it here, and in addition,
23374 # creating and moving files from /tmp can sometimes cause problems.
23375 # Hook for its removal unless debugging.
23376 # Note that there is a small window in which the directory will not be cleaned:
23377 # after its creation but before its name has been assigned to `$tmp'.
23381 trap 'exit_status=$?
23382 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23384 trap '{ (exit 1); exit 1; }' 1 2 13 15
23386 # Create a (secure) tmp directory for tmp files.
23389 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23390 test -n "$tmp" && test -d "$tmp"
23393 tmp
=.
/conf$$
-$RANDOM
23394 (umask 077 && mkdir
"$tmp")
23397 echo "$me: cannot create a temporary directory in ." >&2
23398 { (exit 1); exit 1; }
23402 # Set up the sed scripts for CONFIG_FILES section.
23405 # No need to generate the scripts if there are no CONFIG_FILES.
23406 # This happens for instance when ./config.status config.h
23407 if test -n "$CONFIG_FILES"; then
23411 # Create sed commands to just substitute file output variables.
23413 # Remaining file output variables are in a fragment that also has non-file
23419 for ac_last_try
in false false false false false
:; do
23420 cat >conf$
$subs.
sed <<_ACEOF
23421 SHELL!$SHELL$ac_delim
23422 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23423 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23424 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23425 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23426 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23427 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23428 exec_prefix!$exec_prefix$ac_delim
23429 prefix!$prefix$ac_delim
23430 program_transform_name!$program_transform_name$ac_delim
23431 bindir!$bindir$ac_delim
23432 sbindir!$sbindir$ac_delim
23433 libexecdir!$libexecdir$ac_delim
23434 datarootdir!$datarootdir$ac_delim
23435 datadir!$datadir$ac_delim
23436 sysconfdir!$sysconfdir$ac_delim
23437 sharedstatedir!$sharedstatedir$ac_delim
23438 localstatedir!$localstatedir$ac_delim
23439 includedir!$includedir$ac_delim
23440 oldincludedir!$oldincludedir$ac_delim
23441 docdir!$docdir$ac_delim
23442 infodir!$infodir$ac_delim
23443 htmldir!$htmldir$ac_delim
23444 dvidir!$dvidir$ac_delim
23445 pdfdir!$pdfdir$ac_delim
23446 psdir!$psdir$ac_delim
23447 libdir!$libdir$ac_delim
23448 localedir!$localedir$ac_delim
23449 mandir!$mandir$ac_delim
23450 DEFS!$DEFS$ac_delim
23451 ECHO_C!$ECHO_C$ac_delim
23452 ECHO_N!$ECHO_N$ac_delim
23453 ECHO_T!$ECHO_T$ac_delim
23454 LIBS!$LIBS$ac_delim
23455 build_alias!$build_alias$ac_delim
23456 host_alias!$host_alias$ac_delim
23457 target_alias!$target_alias$ac_delim
23458 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23459 build!$build$ac_delim
23460 build_cpu!$build_cpu$ac_delim
23461 build_vendor!$build_vendor$ac_delim
23462 build_os!$build_os$ac_delim
23463 host!$host$ac_delim
23464 host_cpu!$host_cpu$ac_delim
23465 host_vendor!$host_vendor$ac_delim
23466 host_os!$host_os$ac_delim
23467 WIN16_FILES!$WIN16_FILES$ac_delim
23468 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23469 SET_MAKE!$SET_MAKE$ac_delim
23471 CFLAGS!$CFLAGS$ac_delim
23472 LDFLAGS!$LDFLAGS$ac_delim
23473 CPPFLAGS!$CPPFLAGS$ac_delim
23474 ac_ct_CC!$ac_ct_CC$ac_delim
23475 EXEEXT!$EXEEXT$ac_delim
23476 OBJEXT!$OBJEXT$ac_delim
23478 CXXFLAGS!$CXXFLAGS$ac_delim
23479 ac_ct_CXX!$ac_ct_CXX$ac_delim
23480 CPPBIN!$CPPBIN$ac_delim
23481 TOOLSDIR!$TOOLSDIR$ac_delim
23482 XMKMF!$XMKMF$ac_delim
23484 X_CFLAGS!$X_CFLAGS$ac_delim
23485 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23486 X_LIBS!$X_LIBS$ac_delim
23487 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23488 FLEX!$FLEX$ac_delim
23489 BISON!$BISON$ac_delim
23491 ac_ct_AS!$ac_ct_AS$ac_delim
23494 ARFLAGS!$ARFLAGS$ac_delim
23495 RANLIB!$RANLIB$ac_delim
23496 STRIP!$STRIP$ac_delim
23497 WINDRES!$WINDRES$ac_delim
23498 LN_S!$LN_S$ac_delim
23500 GREP!$GREP$ac_delim
23501 EGREP!$EGREP$ac_delim
23502 LDCONFIG!$LDCONFIG$ac_delim
23505 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23507 elif $ac_last_try; then
23508 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23509 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23510 { (exit 1); exit 1; }; }
23512 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23516 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23517 if test -n "$ac_eof"; then
23518 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23519 ac_eof
=`expr $ac_eof + 1`
23522 cat >>$CONFIG_STATUS <<_ACEOF
23523 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23525 /^[ ]*@MAKE_RULES@[ ]*$/{
23529 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23533 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23534 r $MAKE_IMPLIB_RULES
23537 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23541 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23547 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23548 s/^/s,@/; s/!/@,|#_!!_#|/
23551 s/'"$ac_delim"'$/,g/; t
23553 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23554 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23555 rm -f conf$
$subs.
sed
23556 cat >>$CONFIG_STATUS <<_ACEOF
23562 for ac_last_try
in false false false false false
:; do
23563 cat >conf$
$subs.
sed <<_ACEOF
23564 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23565 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23566 INSTALL_DATA!$INSTALL_DATA$ac_delim
23567 LINT!$LINT$ac_delim
23568 LINTFLAGS!$LINTFLAGS$ac_delim
23569 FONTFORGE!$FONTFORGE$ac_delim
23570 PKG_CONFIG!$PKG_CONFIG$ac_delim
23571 RSVG!$RSVG$ac_delim
23572 ICOTOOL!$ICOTOOL$ac_delim
23573 PRELINK!$PRELINK$ac_delim
23574 LIBPTHREAD!$LIBPTHREAD$ac_delim
23575 XLIB!$XLIB$ac_delim
23576 XFILES!$XFILES$ac_delim
23577 OPENGLFILES!$OPENGLFILES$ac_delim
23578 GLU32FILES!$GLU32FILES$ac_delim
23579 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23580 QUARTZFILES!$QUARTZFILES$ac_delim
23581 DLLEXT!$DLLEXT$ac_delim
23582 DLLFLAGS!$DLLFLAGS$ac_delim
23583 LDSHARED!$LDSHARED$ac_delim
23584 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23585 LIBEXT!$LIBEXT$ac_delim
23586 IMPLIBEXT!$IMPLIBEXT$ac_delim
23587 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23588 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23590 DLLTOOL!$DLLTOOL$ac_delim
23591 DLLWRAP!$DLLWRAP$ac_delim
23592 MINGWAR!$MINGWAR$ac_delim
23593 SECURITYLIB!$SECURITYLIB$ac_delim
23594 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23595 IOKITLIB!$IOKITLIB$ac_delim
23596 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23597 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23598 COREAUDIO!$COREAUDIO$ac_delim
23599 CARBONLIB!$CARBONLIB$ac_delim
23600 CROSSTEST!$CROSSTEST$ac_delim
23601 CROSSCC!$CROSSCC$ac_delim
23602 CROSSWINDRES!$CROSSWINDRES$ac_delim
23603 NASLIBS!$NASLIBS$ac_delim
23604 XML2LIBS!$XML2LIBS$ac_delim
23605 XML2INCL!$XML2INCL$ac_delim
23606 XSLTLIBS!$XSLTLIBS$ac_delim
23607 XSLTINCL!$XSLTINCL$ac_delim
23608 HALINCL!$HALINCL$ac_delim
23609 sane_devel!$sane_devel$ac_delim
23610 SANEINCL!$SANEINCL$ac_delim
23611 gphoto2_devel!$gphoto2_devel$ac_delim
23612 gphoto2port_devel!$gphoto2port_devel$ac_delim
23613 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23614 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23615 RESOLVLIBS!$RESOLVLIBS$ac_delim
23616 LCMSLIBS!$LCMSLIBS$ac_delim
23617 LDAPLIBS!$LDAPLIBS$ac_delim
23618 ft_devel!$ft_devel$ac_delim
23619 FREETYPELIBS!$FREETYPELIBS$ac_delim
23620 FREETYPEINCL!$FREETYPEINCL$ac_delim
23621 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23622 ESDCONFIG!$ESDCONFIG$ac_delim
23623 ESDLIBS!$ESDLIBS$ac_delim
23624 ESDINCL!$ESDINCL$ac_delim
23625 ALSALIBS!$ALSALIBS$ac_delim
23626 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23627 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23628 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23629 BUILTINFLAG!$BUILTINFLAG$ac_delim
23630 LDPATH!$LDPATH$ac_delim
23631 CRTLIBS!$CRTLIBS$ac_delim
23632 SOCKETLIBS!$SOCKETLIBS$ac_delim
23633 MAIN_BINARY!$MAIN_BINARY$ac_delim
23634 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23635 LIBDL!$LIBDL$ac_delim
23636 LIBPOLL!$LIBPOLL$ac_delim
23637 DEPENDENCIES!$DEPENDENCIES$ac_delim
23638 LIBOBJS!$LIBOBJS$ac_delim
23639 LTLIBOBJS!$LTLIBOBJS$ac_delim
23642 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23644 elif $ac_last_try; then
23645 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23646 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23647 { (exit 1); exit 1; }; }
23649 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23653 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23654 if test -n "$ac_eof"; then
23655 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23656 ac_eof
=`expr $ac_eof + 1`
23659 cat >>$CONFIG_STATUS <<_ACEOF
23660 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23661 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23664 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23665 s/^/s,@/; s/!/@,|#_!!_#|/
23668 s/'"$ac_delim"'$/,g/; t
23670 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23671 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23672 rm -f conf$
$subs.
sed
23673 cat >>$CONFIG_STATUS <<_ACEOF
23680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23682 # trailing colons and then remove the whole line if VPATH becomes empty
23683 # (actually we leave an empty line to preserve line numbers).
23684 if test "x$srcdir" = x.
; then
23685 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23686 s/:*\$(srcdir):*/:/
23687 s/:*\${srcdir}:*/:/
23689 s/^\([^=]*=[ ]*\):*/\1/
23695 cat >>$CONFIG_STATUS <<\_ACEOF
23696 fi # test -n "$CONFIG_FILES"
23699 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23702 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23704 case $ac_mode$ac_tag in
23706 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23707 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23708 { (exit 1); exit 1; }; };;
23709 :[FH
]-) ac_tag
=-:-;;
23710 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23727 -) ac_f
="$tmp/stdin";;
23728 *) # Look for the file first in the build tree, then in the source tree
23729 # (if the path is not absolute). The absolute path cannot be DOS-style,
23730 # because $ac_f cannot contain `:'.
23734 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23736 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23737 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23738 { (exit 1); exit 1; }; };;
23740 ac_file_inputs
="$ac_file_inputs $ac_f"
23743 # Let's still pretend it is `configure' which instantiates (i.e., don't
23744 # use $as_me), people would be surprised to read:
23745 # /* config.h. Generated by config.status. */
23746 configure_input
="Generated from "`IFS=:
23747 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23748 if test x
"$ac_file" != x-
; then
23749 configure_input
="$ac_file. $configure_input"
23750 { echo "$as_me:$LINENO: creating $ac_file" >&5
23751 echo "$as_me: creating $ac_file" >&6;}
23755 *:-:* |
*:-) cat >"$tmp/stdin";;
23760 ac_dir
=`$as_dirname -- "$ac_file" ||
23761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23762 X"$ac_file" : 'X\(//\)[^/]' \| \
23763 X"$ac_file" : 'X\(//\)$' \| \
23764 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23770 /^X\(\/\/\)[^/].*/{
23785 -*) as_dir
=.
/$as_dir;;
23787 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23791 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23792 *) as_qdir
=$as_dir;;
23794 as_dirs
="'$as_qdir' $as_dirs"
23795 as_dir
=`$as_dirname -- "$as_dir" ||
23796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23797 X"$as_dir" : 'X\(//\)[^/]' \| \
23798 X"$as_dir" : 'X\(//\)$' \| \
23799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23805 /^X\(\/\/\)[^/].*/{
23818 test -d "$as_dir" && break
23820 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23821 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23822 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23823 { (exit 1); exit 1; }; }; }
23827 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23829 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23830 # A ".." for each directory in $ac_dir_suffix.
23831 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23832 case $ac_top_builddir_sub in
23833 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23834 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23837 ac_abs_top_builddir
=$ac_pwd
23838 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23839 # for backward compatibility:
23840 ac_top_builddir
=$ac_top_build_prefix
23843 .
) # We are building in place.
23845 ac_top_srcdir
=$ac_top_builddir_sub
23846 ac_abs_top_srcdir
=$ac_pwd ;;
23847 [\\/]* | ?
:[\\/]* ) # Absolute name.
23848 ac_srcdir
=$srcdir$ac_dir_suffix;
23849 ac_top_srcdir
=$srcdir
23850 ac_abs_top_srcdir
=$srcdir ;;
23851 *) # Relative name.
23852 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23853 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23854 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23856 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23866 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23867 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23871 cat >>$CONFIG_STATUS <<\_ACEOF
23872 # If the template does not know about datarootdir, expand it.
23873 # FIXME: This hack should be removed a few years after 2.60.
23874 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23876 case `sed -n '/datarootdir/ {
23885 ' $ac_file_inputs` in
23886 *datarootdir
*) ac_datarootdir_seen
=yes;;
23887 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23888 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23889 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23891 cat >>$CONFIG_STATUS <<_ACEOF
23892 ac_datarootdir_hack='
23893 s&@datadir@&$datadir&g
23894 s&@docdir@&$docdir&g
23895 s&@infodir@&$infodir&g
23896 s&@localedir@&$localedir&g
23897 s&@mandir@&$mandir&g
23898 s&\\\${datarootdir}&$datarootdir&g' ;;
23902 # Neutralize VPATH when `$srcdir' = `.'.
23903 # Shell code in configure.ac might set extrasub.
23904 # FIXME: do we really want to maintain this feature?
23905 cat >>$CONFIG_STATUS <<_ACEOF
23909 cat >>$CONFIG_STATUS <<\_ACEOF
23911 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23912 s
&@configure_input@
&$configure_input&;t t
23913 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23914 s
&@srcdir@
&$ac_srcdir&;t t
23915 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23916 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23917 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23918 s
&@builddir@
&$ac_builddir&;t t
23919 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23920 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23921 s
&@INSTALL@
&$ac_INSTALL&;t t
23922 $ac_datarootdir_hack
23923 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23926 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23927 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23928 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23929 which seems to be undefined. Please make sure it is defined." >&5
23930 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23931 which seems to be undefined. Please make sure it is defined." >&2;}
23935 -) cat "$tmp/out"; rm -f "$tmp/out";;
23936 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23945 # Transform confdefs.h into a sed script `conftest.defines', that
23946 # substitutes the proper values into config.h.in to produce config.h.
23947 rm -f conftest.defines conftest.
tail
23948 # First, append a space to every undef/define line, to ease matching.
23949 echo 's/$/ /' >conftest.defines
23950 # Then, protect against being on the right side of a sed subst, or in
23951 # an unquoted here document, in config.status. If some macros were
23952 # called several times there might be several #defines for the same
23953 # symbol, which is useless. But do not sort them, since the last
23954 # AC_DEFINE must be honored.
23955 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23956 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23957 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23958 # PARAMS is the parameter list in the macro definition--in most cases, it's
23959 # just an empty string.
23960 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23961 ac_dB
='\\)[ (].*,\\1define\\2'
23969 s/^[ ]*#[ ]*define[ ][ ]*//
23974 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23975 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23976 ' >>conftest.defines
23978 # Remove the space that was appended to ease matching.
23979 # Then replace #undef with comments. This is necessary, for
23980 # example, in the case of _POSIX_SOURCE, which is predefined and required
23981 # on some systems where configure will not decide to define it.
23982 # (The regexp can be short, since the line contains either #define or #undef.)
23984 s,^[ #]*u.*,/* & */,' >>conftest.defines
23986 # Break up conftest.defines:
23987 ac_max_sed_lines
=50
23989 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23990 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23991 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23993 ac_in
='$ac_file_inputs'
23994 ac_out
='"$tmp/out1"'
23995 ac_nxt
='"$tmp/out2"'
23999 # Write a here document:
24000 cat >>$CONFIG_STATUS <<_ACEOF
24001 # First, check the format of the line:
24002 cat >"\$tmp/defines.sed" <<\\CEOF
24003 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24004 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24008 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24010 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24011 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24012 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24013 grep . conftest.
tail >/dev
/null ||
break
24014 rm -f conftest.defines
24015 mv conftest.
tail conftest.defines
24017 rm -f conftest.defines conftest.
tail
24019 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24020 cat >>$CONFIG_STATUS <<\_ACEOF
24021 if test x
"$ac_file" != x-
; then
24022 echo "/* $configure_input */" >"$tmp/config.h"
24023 cat "$ac_result" >>"$tmp/config.h"
24024 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24025 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24026 echo "$as_me: $ac_file is unchanged" >&6;}
24029 mv "$tmp/config.h" $ac_file
24032 echo "/* $configure_input */"
24038 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24039 echo "$as_me: executing $ac_file commands" >&6;}
24044 case $ac_file$ac_mode in
24045 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24046 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24047 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24048 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24049 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24050 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24051 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24052 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24053 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24054 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24055 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24056 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24057 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24063 { (exit 0); exit 0; }
24065 chmod +x
$CONFIG_STATUS
24066 ac_clean_files
=$ac_clean_files_save
24069 # configure is writing to config.log, and then calls config.status.
24070 # config.status does its own redirection, appending to config.log.
24071 # Unfortunately, on DOS this fails, as config.log is still kept open
24072 # by configure, so config.status won't be able to write to it; its
24073 # output is simply discarded. So we exec the FD to /dev/null,
24074 # effectively closing config.log, so it can be properly (re)opened and
24075 # appended to by config.status. When coming back to configure, we
24076 # need to make the FD available again.
24077 if test "$no_create" != yes; then
24079 ac_config_status_args
=
24080 test "$silent" = yes &&
24081 ac_config_status_args
="$ac_config_status_args --quiet"
24083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24086 # would make configure fail if this is the last instruction.
24087 $ac_cs_success ||
{ (exit 1); exit 1; }
24091 if test "$no_create" = "yes"
24098 if test "x$wine_notices != "x
; then
24100 for msg
in $wine_notices; do
24101 if test -n "$msg"; then
24102 { echo "$as_me:$LINENO: $msg" >&5
24103 echo "$as_me: $msg" >&6;}
24107 for msg
in $wine_warnings; do
24108 if test -n "$msg"; then
24110 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24111 echo "$as_me: WARNING: $msg" >&2;}
24117 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.