2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.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.1.0'
578 PACKAGE_STRING
='Wine 1.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
782 ac_subst_files
='MAKE_RULES
787 ac_precious_vars
='build_alias
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
814 program_transform_name
=s
,x
,x
,
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir
='${exec_prefix}/bin'
829 sbindir
='${exec_prefix}/sbin'
830 libexecdir
='${exec_prefix}/libexec'
831 datarootdir
='${prefix}/share'
832 datadir
='${datarootdir}'
833 sysconfdir
='${prefix}/etc'
834 sharedstatedir
='${prefix}/com'
835 localstatedir
='${prefix}/var'
836 includedir
='${prefix}/include'
837 oldincludedir
='/usr/include'
838 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir
='${datarootdir}/info'
844 libdir
='${exec_prefix}/lib'
845 localedir
='${datarootdir}/locale'
846 mandir
='${datarootdir}/man'
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\
$ac_option
860 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
864 # Accept the important Cygnus configure options, so we can diagnose typos.
866 case $ac_dashdash$ac_option in
870 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
872 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
875 -build |
--build |
--buil |
--bui |
--bu)
876 ac_prev
=build_alias
;;
877 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
878 build_alias
=$ac_optarg ;;
880 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
881 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
882 ac_prev
=cache_file
;;
883 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
884 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
885 cache_file
=$ac_optarg ;;
888 cache_file
=config.cache
;;
890 -datadir |
--datadir |
--datadi |
--datad)
892 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
893 datadir
=$ac_optarg ;;
895 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
896 |
--dataroo |
--dataro |
--datar)
897 ac_prev
=datarootdir
;;
898 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
899 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
900 datarootdir
=$ac_optarg ;;
902 -disable-* |
--disable-*)
903 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
909 eval enable_
$ac_feature=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
925 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
926 { (exit 1); exit 1; }; }
927 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
928 eval enable_
$ac_feature=\
$ac_optarg ;;
930 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
931 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
932 |
--exec |
--exe |
--ex)
933 ac_prev
=exec_prefix
;;
934 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
935 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
936 |
--exec=* |
--exe=* |
--ex=*)
937 exec_prefix
=$ac_optarg ;;
939 -gas |
--gas |
--ga |
--g)
940 # Obsolete; use --with-gas.
943 -help |
--help |
--hel |
--he |
-h)
945 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
946 ac_init_help
=recursive
;;
947 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
948 ac_init_help
=short
;;
950 -host |
--host |
--hos |
--ho)
951 ac_prev
=host_alias
;;
952 -host=* |
--host=* |
--hos=* |
--ho=*)
953 host_alias
=$ac_optarg ;;
955 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
957 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
959 htmldir
=$ac_optarg ;;
961 -includedir |
--includedir |
--includedi |
--included |
--include \
962 |
--includ |
--inclu |
--incl |
--inc)
963 ac_prev
=includedir
;;
964 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
965 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
966 includedir
=$ac_optarg ;;
968 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
970 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
971 infodir
=$ac_optarg ;;
973 -libdir |
--libdir |
--libdi |
--libd)
975 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
978 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
979 |
--libexe |
--libex |
--libe)
980 ac_prev
=libexecdir
;;
981 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
982 |
--libexe=* |
--libex=* |
--libe=*)
983 libexecdir
=$ac_optarg ;;
985 -localedir |
--localedir |
--localedi |
--localed |
--locale)
987 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
988 localedir
=$ac_optarg ;;
990 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
991 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
992 ac_prev
=localstatedir
;;
993 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
994 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
995 localstatedir
=$ac_optarg ;;
997 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
999 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 mandir
=$ac_optarg ;;
1002 -nfp |
--nfp |
--nf)
1003 # Obsolete; use --without-fp.
1006 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1007 |
--no-cr |
--no-c |
-n)
1010 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1011 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1014 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1015 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1016 |
--oldin |
--oldi |
--old |
--ol |
--o)
1017 ac_prev
=oldincludedir
;;
1018 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1019 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1020 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1021 oldincludedir
=$ac_optarg ;;
1023 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1025 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1026 prefix
=$ac_optarg ;;
1028 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1029 |
--program-pre |
--program-pr |
--program-p)
1030 ac_prev
=program_prefix
;;
1031 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1032 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1033 program_prefix
=$ac_optarg ;;
1035 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1036 |
--program-suf |
--program-su |
--program-s)
1037 ac_prev
=program_suffix
;;
1038 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1039 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1040 program_suffix
=$ac_optarg ;;
1042 -program-transform-name |
--program-transform-name \
1043 |
--program-transform-nam |
--program-transform-na \
1044 |
--program-transform-n |
--program-transform- \
1045 |
--program-transform |
--program-transfor \
1046 |
--program-transfo |
--program-transf \
1047 |
--program-trans |
--program-tran \
1048 |
--progr-tra |
--program-tr |
--program-t)
1049 ac_prev
=program_transform_name
;;
1050 -program-transform-name=* |
--program-transform-name=* \
1051 |
--program-transform-nam=* |
--program-transform-na=* \
1052 |
--program-transform-n=* |
--program-transform-=* \
1053 |
--program-transform=* |
--program-transfor=* \
1054 |
--program-transfo=* |
--program-transf=* \
1055 |
--program-trans=* |
--program-tran=* \
1056 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1057 program_transform_name
=$ac_optarg ;;
1059 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1061 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1062 pdfdir
=$ac_optarg ;;
1064 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1066 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1070 |
-silent |
--silent |
--silen |
--sile |
--sil)
1073 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1075 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1077 sbindir
=$ac_optarg ;;
1079 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1080 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1081 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1083 ac_prev
=sharedstatedir
;;
1084 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1085 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1086 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1088 sharedstatedir
=$ac_optarg ;;
1090 -site |
--site |
--sit)
1092 -site=* |
--site=* |
--sit=*)
1095 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1097 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1098 srcdir
=$ac_optarg ;;
1100 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1101 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1102 ac_prev
=sysconfdir
;;
1103 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1104 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1105 sysconfdir
=$ac_optarg ;;
1107 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1108 ac_prev
=target_alias
;;
1109 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1110 target_alias
=$ac_optarg ;;
1112 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1115 -version |
--version |
--versio |
--versi |
--vers |
-V)
1116 ac_init_version
=: ;;
1119 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_
$ac_package=\
$ac_optarg ;;
1127 -without-* |
--without-*)
1128 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1131 { echo "$as_me: error: invalid package name: $ac_package" >&2
1132 { (exit 1); exit 1; }; }
1133 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1134 eval with_
$ac_package=no
;;
1137 # Obsolete; use --with-x.
1140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1142 ac_prev
=x_includes
;;
1143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1145 x_includes
=$ac_optarg ;;
1147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1149 ac_prev
=x_libraries
;;
1150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1152 x_libraries
=$ac_optarg ;;
1154 -*) { echo "$as_me: error: unrecognized option: $ac_option
1155 Try \`$0 --help' for more information." >&2
1156 { (exit 1); exit 1; }; }
1160 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1164 { (exit 1); exit 1; }; }
1165 eval $ac_envvar=\
$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1179 if test -n "$ac_prev"; then
1180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1181 { echo "$as_me: error: missing argument to $ac_option" >&2
1182 { (exit 1); exit 1; }; }
1185 # Be sure to have absolute directory names.
1186 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
1191 eval ac_val
=\$
$ac_var
1193 [\\/$
]* | ?
:[\\/]* ) continue;;
1194 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1196 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
1200 # There might be people who depend on the old broken behavior: `$host'
1201 # used to hold the argument of --host etc.
1202 # FIXME: To remove some day.
1205 target
=$target_alias
1207 # FIXME: To remove some day.
1208 if test "x$host_alias" != x
; then
1209 if test "x$build_alias" = x
; then
1210 cross_compiling
=maybe
1211 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1219 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1221 test "$silent" = yes && exec 6>/dev
/null
1224 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di
=`ls -di .` &&
1226 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1227 { echo "$as_me: error: Working directory cannot be determined" >&2
1228 { (exit 1); exit 1; }; }
1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 { echo "$as_me: error: pwd does not report name of working directory" >&2
1231 { (exit 1); exit 1; }; }
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted
=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir
=`$as_dirname -- "$0" ||
1239 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$0" : 'X\(//\)[^/]' \| \
1241 X"$0" : 'X\(//\)$' \| \
1242 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1266 ac_srcdir_defaulted
=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1270 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271 { (exit 1); exit 1; }; }
1273 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures Wine 1.1.0 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --x-includes=DIR X include files are
in DIR
1361 --x-libraries=DIR X library files are
in DIR
1364 --build=BUILD configure
for building on BUILD
[guessed
]
1365 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive
) echo "Configuration of Wine 1.1.0:";;
1376 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1377 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1378 --disable-win16 do not include Win16 support
1379 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1381 --enable-maintainer-mode
1382 enable maintainer-specific build rules
1383 --disable-tests do not build the testsuites
1386 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1387 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1388 --without-alsa do not use the Alsa sound support
1389 --without-audioio do not use the AudioIO sound support
1390 --without-capi do not use CAPI (ISDN support)
1391 --without-cms do not use CMS (color management support)
1392 --without-coreaudio do not use the CoreAudio sound support
1393 --without-cups do not use CUPS
1394 --without-curses do not use (n)curses
1395 --without-esd do not use the EsounD sound support
1396 --without-fontconfig do not use fontconfig
1397 --without-freetype do not use the FreeType library
1398 --without-gphoto do not use gphoto (Digital Camera support)
1399 --without-glu do not use the GLU library
1400 --without-hal do not use HAL (dynamic device support)
1401 --without-jack do not use the Jack sound support
1402 --without-jpeg do not use JPEG
1403 --without-ldap do not use LDAP
1404 --without-nas do not use the NAS sound support
1405 --without-opengl do not use OpenGL
1406 --without-openssl do not use OpenSSL
1407 --without-oss do not use the OSS sound support
1408 --without-png do not use PNG
1409 --without-sane do not use SANE (scanner support)
1410 --without-xcomposite do not use the Xcomposite extension
1411 --without-xcursor do not use the Xcursor extension
1412 --without-xinerama do not use Xinerama (multi-monitor support)
1413 --without-xinput do not use the Xinput extension
1414 --without-xml do not use XML
1415 --without-xrandr do not use Xrandr (resolution changes)
1416 --without-xrender do not use the Xrender extension
1417 --without-xshape do not use the Xshape extension
1418 --without-xshm do not use XShm (shared memory extension)
1419 --without-xslt do not use XSLT
1420 --without-xxf86vm do not use XFree video mode extension
1421 --with-wine-tools=DIR use Wine tools from directory DIR
1422 --with-x use the X Window System
1424 Some influential environment variables:
1425 CC C compiler command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428 nonstandard directory <lib dir>
1429 LIBS libraries to pass to the linker, e.g. -l<library>
1430 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir>
1432 CXX C++ compiler command
1433 CXXFLAGS C++ compiler flags
1434 XMKMF Path to xmkmf, Makefile generator for X Window System
1437 Use these variables to override the choices made by `configure' or to
help
1438 it to
find libraries and programs with nonstandard names
/locations.
1440 Report bugs to
<wine-devel@winehq.org
>.
1445 if test "$ac_init_help" = "recursive"; then
1446 # If there are subdirs, report their specific --help.
1447 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1448 test -d "$ac_dir" ||
continue
1452 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1454 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1459 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir
=$ac_pwd
1463 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir
=$ac_top_build_prefix
1468 .
) # We are building in place.
1470 ac_top_srcdir
=$ac_top_builddir_sub
1471 ac_abs_top_srcdir
=$ac_pwd ;;
1472 [\\/]* | ?
:[\\/]* ) # Absolute name.
1473 ac_srcdir
=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir
=$srcdir
1475 ac_abs_top_srcdir
=$srcdir ;;
1477 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1501 Wine configure
1.1.0
1502 generated by GNU Autoconf
2.61
1504 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1505 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1506 This configure
script is free software
; the Free Software Foundation
1507 gives unlimited permission to copy
, distribute and modify it.
1511 cat >config.log
<<_ACEOF
1512 This file contains any messages produced by compilers while
1513 running configure, to aid debugging if configure makes a mistake.
1515 It was created by Wine $as_me 1.1.0, which was
1516 generated by GNU Autoconf 2.61. Invocation command line was
1528 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1529 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1530 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1531 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1532 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1534 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1535 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir
=.
1552 echo "PATH: $as_dir"
1568 # Keep a trace of the command line.
1569 # Strip out --no-create and --no-recursion so they do not pile up.
1570 # Strip out --silent because we don't want to record it for future runs.
1571 # Also quote any args containing shell meta-characters.
1572 # Make two passes to allow for proper duplicate-argument suppression.
1576 ac_must_keep_next
=false
1582 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1583 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1584 |
-silent |
--silent |
--silen |
--sile |
--sil)
1587 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1590 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1592 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1593 if test $ac_must_keep_next = true
; then
1594 ac_must_keep_next
=false
# Got value, back to normal.
1597 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1598 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1599 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1600 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1601 case "$ac_configure_args0 " in
1602 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1605 -* ) ac_must_keep_next
=true
;;
1608 ac_configure_args
="$ac_configure_args '$ac_arg'"
1613 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1614 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1616 # When interrupted or exit'd, cleanup temporary files, and complete
1617 # config.log. We remove comments because anyway the quotes in there
1618 # would cause problems or look ugly.
1619 # WARNING: Use '\'' to represent an apostrophe within the trap.
1620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1621 trap 'exit_status=$?
1622 # Save into config.log some information that might help in debugging.
1627 ## ---------------- ##
1628 ## Cache variables. ##
1629 ## ---------------- ##
1632 # The following way of writing the cache mishandles newlines in values,
1634 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1635 eval ac_val=\$$ac_var
1639 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1640 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1643 _ | IFS | as_nl) ;; #(
1644 *) $as_unset $ac_var ;;
1649 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1650 *${as_nl}ac_space=\ *)
1652 "s/'\''/'\''\\\\'\'''\''/g;
1653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1664 ## ----------------- ##
1665 ## Output variables. ##
1666 ## ----------------- ##
1669 for ac_var in $ac_subst_vars
1671 eval ac_val=\$$ac_var
1673 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1675 echo "$ac_var='\''$ac_val'\''"
1679 if test -n "$ac_subst_files"; then
1681 ## ------------------- ##
1682 ## File substitutions. ##
1683 ## ------------------- ##
1686 for ac_var
in $ac_subst_files
1688 eval ac_val
=\$
$ac_var
1690 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 echo "$ac_var='\''$ac_val'\''"
1697 if test -s confdefs.h; then
1707 test "$ac_signal" != 0 &&
1708 echo "$as_me: caught signal $ac_signal"
1709 echo "$as_me: exit $exit_status"
1711 rm -f core *.core core.conftest.* &&
1712 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1715 for ac_signal
in 1 2 13 15; do
1716 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1720 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1721 rm -f -r conftest
* confdefs.h
1723 # Predefined preprocessor variables.
1725 cat >>confdefs.h
<<_ACEOF
1726 #define PACKAGE_NAME "$PACKAGE_NAME"
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define PACKAGE_STRING "$PACKAGE_STRING"
1745 cat >>confdefs.h
<<_ACEOF
1746 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1750 # Let the site file select an alternate cache file if it wants to.
1751 # Prefer explicitly selected file to automatically selected ones.
1752 if test -n "$CONFIG_SITE"; then
1753 set x
"$CONFIG_SITE"
1754 elif test "x$prefix" != xNONE
; then
1755 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1757 set x
"$ac_default_prefix/share/config.site" \
1758 "$ac_default_prefix/etc/config.site"
1763 if test -r "$ac_site_file"; then
1764 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1765 echo "$as_me: loading site script $ac_site_file" >&6;}
1766 sed 's/^/| /' "$ac_site_file" >&5
1771 if test -r "$cache_file"; then
1772 # Some versions of bash will fail to source /dev/null (special
1773 # files actually), so we avoid doing that.
1774 if test -f "$cache_file"; then
1775 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1776 echo "$as_me: loading cache $cache_file" >&6;}
1778 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1779 *) .
"./$cache_file";;
1783 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1784 echo "$as_me: creating cache $cache_file" >&6;}
1788 # Check that the precious variables saved in the cache have kept the same
1790 ac_cache_corrupted
=false
1791 for ac_var
in $ac_precious_vars; do
1792 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1793 eval ac_new_set
=\
$ac_env_${ac_var}_set
1794 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1795 eval ac_new_val
=\
$ac_env_${ac_var}_value
1796 case $ac_old_set,$ac_new_set in
1798 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1799 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1800 ac_cache_corrupted
=: ;;
1802 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1803 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1804 ac_cache_corrupted
=: ;;
1807 if test "x$ac_old_val" != "x$ac_new_val"; then
1808 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1809 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1810 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1811 echo "$as_me: former value: $ac_old_val" >&2;}
1812 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1813 echo "$as_me: current value: $ac_new_val" >&2;}
1814 ac_cache_corrupted
=:
1817 # Pass precious variables to config.status.
1818 if test "$ac_new_set" = set; then
1820 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1821 *) ac_arg
=$ac_var=$ac_new_val ;;
1823 case " $ac_configure_args " in
1824 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1825 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1829 if $ac_cache_corrupted; then
1830 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1831 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1832 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1833 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1834 { (exit 1); exit 1; }; }
1862 ac_cpp
='$CPP $CPPFLAGS'
1863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1869 ac_config_headers
="$ac_config_headers include/config.h"
1872 for ac_dir
in tools
"$srcdir"/tools
; do
1873 if test -f "$ac_dir/install-sh"; then
1875 ac_install_sh
="$ac_aux_dir/install-sh -c"
1877 elif test -f "$ac_dir/install.sh"; then
1879 ac_install_sh
="$ac_aux_dir/install.sh -c"
1881 elif test -f "$ac_dir/shtool"; then
1883 ac_install_sh
="$ac_aux_dir/shtool install -c"
1887 if test -z "$ac_aux_dir"; then
1888 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1889 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1890 { (exit 1); exit 1; }; }
1893 # These three variables are undocumented and unsupported,
1894 # and are intended to be withdrawn in a future Autoconf release.
1895 # They can cause serious problems if a builder's source tree is in a directory
1896 # whose full name contains unusual characters.
1897 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1898 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1899 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1904 # Check whether --enable-win16 was given.
1905 if test "${enable_win16+set}" = set; then
1906 enableval
=$enable_win16;
1909 # Check whether --enable-win64 was given.
1910 if test "${enable_win64+set}" = set; then
1911 enableval
=$enable_win64;
1914 # Check whether --enable-maintainer-mode was given.
1915 if test "${enable_maintainer_mode+set}" = set; then
1916 enableval
=$enable_maintainer_mode;
1924 # Check whether --with-alsa was given.
1925 if test "${with_alsa+set}" = set; then
1926 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1930 # Check whether --with-audioio was given.
1931 if test "${with_audioio+set}" = set; then
1932 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1936 # Check whether --with-capi was given.
1937 if test "${with_capi+set}" = set; then
1938 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1942 # Check whether --with-cms was given.
1943 if test "${with_cms+set}" = set; then
1944 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1948 # Check whether --with-coreaudio was given.
1949 if test "${with_coreaudio+set}" = set; then
1950 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1954 # Check whether --with-cups was given.
1955 if test "${with_cups+set}" = set; then
1956 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1960 # Check whether --with-curses was given.
1961 if test "${with_curses+set}" = set; then
1962 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1966 # Check whether --with-esd was given.
1967 if test "${with_esd+set}" = set; then
1972 # Check whether --with-fontconfig was given.
1973 if test "${with_fontconfig+set}" = set; then
1974 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1978 # Check whether --with-freetype was given.
1979 if test "${with_freetype+set}" = set; then
1980 withval
=$with_freetype;
1984 # Check whether --with-gphoto was given.
1985 if test "${with_gphoto+set}" = set; then
1986 withval
=$with_gphoto;
1990 # Check whether --with-glu was given.
1991 if test "${with_glu+set}" = set; then
1992 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
1996 # Check whether --with-hal was given.
1997 if test "${with_hal+set}" = set; then
2002 # Check whether --with-jack was given.
2003 if test "${with_jack+set}" = set; then
2004 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2008 # Check whether --with-jpeg was given.
2009 if test "${with_jpeg+set}" = set; then
2010 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2014 # Check whether --with-ldap was given.
2015 if test "${with_ldap+set}" = set; then
2016 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2020 # Check whether --with-nas was given.
2021 if test "${with_nas+set}" = set; then
2022 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2026 # Check whether --with-opengl was given.
2027 if test "${with_opengl+set}" = set; then
2028 withval
=$with_opengl;
2032 # Check whether --with-openssl was given.
2033 if test "${with_openssl+set}" = set; then
2034 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2038 # Check whether --with-oss was given.
2039 if test "${with_oss+set}" = set; then
2040 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
2044 # Check whether --with-png was given.
2045 if test "${with_png+set}" = set; then
2046 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2050 # Check whether --with-sane was given.
2051 if test "${with_sane+set}" = set; then
2056 # Check whether --with-xcomposite was given.
2057 if test "${with_xcomposite+set}" = set; then
2058 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2062 # Check whether --with-xcursor was given.
2063 if test "${with_xcursor+set}" = set; then
2064 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2068 # Check whether --with-xinerama was given.
2069 if test "${with_xinerama+set}" = set; then
2070 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2074 # Check whether --with-xinput was given.
2075 if test "${with_xinput+set}" = set; then
2076 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2080 # Check whether --with-xml was given.
2081 if test "${with_xml+set}" = set; then
2086 # Check whether --with-xrandr was given.
2087 if test "${with_xrandr+set}" = set; then
2088 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2092 # Check whether --with-xrender was given.
2093 if test "${with_xrender+set}" = set; then
2094 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2098 # Check whether --with-xshape was given.
2099 if test "${with_xshape+set}" = set; then
2100 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2104 # Check whether --with-xshm was given.
2105 if test "${with_xshm+set}" = set; then
2106 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2110 # Check whether --with-xslt was given.
2111 if test "${with_xslt+set}" = set; then
2116 # Check whether --with-xxf86vm was given.
2117 if test "${with_xxf86vm+set}" = set; then
2118 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2123 # Check whether --with-wine-tools was given.
2124 if test "${with_wine_tools+set}" = set; then
2125 withval
=$with_wine_tools;
2128 # Check whether --enable-tests was given.
2129 if test "${enable_tests+set}" = set; then
2130 enableval
=$enable_tests;
2134 # Make sure we can run config.sub.
2135 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2136 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2137 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2138 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: checking build system type" >&5
2141 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2142 if test "${ac_cv_build+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 ac_build_alias
=$build_alias
2146 test "x$ac_build_alias" = x
&&
2147 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2148 test "x$ac_build_alias" = x
&&
2149 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2150 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2151 { (exit 1); exit 1; }; }
2152 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2153 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2154 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2155 { (exit 1); exit 1; }; }
2158 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2159 echo "${ECHO_T}$ac_cv_build" >&6; }
2160 case $ac_cv_build in
2162 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2163 echo "$as_me: error: invalid value of canonical build" >&2;}
2164 { (exit 1); exit 1; }; };;
2167 ac_save_IFS
=$IFS; IFS
='-'
2173 # Remember, the first character of IFS is used to create $*,
2174 # except with old shells:
2177 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2180 { echo "$as_me:$LINENO: checking host system type" >&5
2181 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2182 if test "${ac_cv_host+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 if test "x$host_alias" = x
; then
2186 ac_cv_host
=$ac_cv_build
2188 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2189 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2190 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2191 { (exit 1); exit 1; }; }
2195 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2196 echo "${ECHO_T}$ac_cv_host" >&6; }
2199 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2200 echo "$as_me: error: invalid value of canonical host" >&2;}
2201 { (exit 1); exit 1; }; };;
2204 ac_save_IFS
=$IFS; IFS
='-'
2210 # Remember, the first character of IFS is used to create $*,
2211 # except with old shells:
2214 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2219 if test "x$enable_win64" != "xyes"
2221 test -n "$CC" || CC
="gcc -m32"
2222 test -n "$CXX"|| CXX
="g++ -m32"
2223 test -n "$LD" || LD
="ld -m elf_i386"
2224 test -n "$AS" || AS
="as --32"
2232 if test "x$enable_win16" != "xno"
2239 WIN16_FILES
="\$(WIN16_FILES)"
2241 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2243 if test "x$enable_win16" != "xyes"
2249 if test "x$enable_tests" == "xno"
2256 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2264 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2265 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2266 You need to run 'make distclean' in the source tree first." >&5
2267 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2268 You need to run 'make distclean' in the source tree first." >&2;}
2269 { (exit 1); exit 1; }; }
2274 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2275 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2276 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2277 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 cat >conftest.
make <<\_ACEOF
2283 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2285 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2286 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2288 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2290 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2294 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2295 { echo "$as_me:$LINENO: result: yes" >&5
2296 echo "${ECHO_T}yes" >&6; }
2299 { echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6; }
2301 SET_MAKE
="MAKE=${MAKE-make}"
2305 ac_cpp
='$CPP $CPPFLAGS'
2306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2311 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2314 if test "${ac_cv_prog_CC+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 if test -n "$CC"; then
2318 ac_cv_prog_CC
="$CC" # Let the user override the test.
2320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir
=.
2325 for ac_exec_ext
in '' $ac_executable_extensions; do
2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 if test -n "$CC"; then
2339 { echo "$as_me:$LINENO: result: $CC" >&5
2340 echo "${ECHO_T}$CC" >&6; }
2342 { echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6; }
2348 if test -z "$ac_cv_prog_CC"; then
2350 # Extract the first word of "gcc", so it can be a program name with args.
2351 set dummy gcc
; ac_word
=$2
2352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir
=.
2365 for ac_exec_ext
in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 ac_cv_prog_ac_ct_CC
="gcc"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2378 if test -n "$ac_ct_CC"; then
2379 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2380 echo "${ECHO_T}$ac_ct_CC" >&6; }
2382 { echo "$as_me:$LINENO: result: no" >&5
2383 echo "${ECHO_T}no" >&6; }
2386 if test "x$ac_ct_CC" = x
; then
2389 case $cross_compiling:$ac_tool_warned in
2391 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&5
2394 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2395 whose name does not start with the host triplet. If you think this
2396 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2397 ac_tool_warned
=yes ;;
2405 if test -z "$CC"; then
2406 if test -n "$ac_tool_prefix"; then
2407 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2408 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2411 if test "${ac_cv_prog_CC+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 if test -n "$CC"; then
2415 ac_cv_prog_CC
="$CC" # Let the user override the test.
2417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir
=.
2422 for ac_exec_ext
in '' $ac_executable_extensions; do
2423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2424 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 if test -n "$CC"; then
2436 { echo "$as_me:$LINENO: result: $CC" >&5
2437 echo "${ECHO_T}$CC" >&6; }
2439 { echo "$as_me:$LINENO: result: no" >&5
2440 echo "${ECHO_T}no" >&6; }
2446 if test -z "$CC"; then
2447 # Extract the first word of "cc", so it can be a program name with args.
2448 set dummy cc
; ac_word
=$2
2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2451 if test "${ac_cv_prog_CC+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 if test -n "$CC"; then
2455 ac_cv_prog_CC
="$CC" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2466 ac_prog_rejected
=yes
2470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test $ac_prog_rejected = yes; then
2478 # We found a bogon in the path, so make sure we never use it.
2479 set dummy
$ac_cv_prog_CC
2481 if test $# != 0; then
2482 # We chose a different compiler from the bogus one.
2483 # However, it has the same basename, so the bogon will be chosen
2484 # first if we set CC to just the basename; use the full file name.
2486 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2492 if test -n "$CC"; then
2493 { echo "$as_me:$LINENO: result: $CC" >&5
2494 echo "${ECHO_T}$CC" >&6; }
2496 { echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6; }
2502 if test -z "$CC"; then
2503 if test -n "$ac_tool_prefix"; then
2504 for ac_prog
in cl.exe
2506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2507 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC
="$CC" # Let the user override the test.
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2523 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test -n "$CC"; then
2535 { echo "$as_me:$LINENO: result: $CC" >&5
2536 echo "${ECHO_T}$CC" >&6; }
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
2543 test -n "$CC" && break
2546 if test -z "$CC"; then
2548 for ac_prog
in cl.exe
2550 # Extract the first word of "$ac_prog", so it can be a program name with args.
2551 set dummy
$ac_prog; ac_word
=$2
2552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 if test -n "$ac_ct_CC"; then
2558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir
=.
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_ac_ct_CC
="$ac_prog"
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2578 if test -n "$ac_ct_CC"; then
2579 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2580 echo "${ECHO_T}$ac_ct_CC" >&6; }
2582 { echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6; }
2587 test -n "$ac_ct_CC" && break
2590 if test "x$ac_ct_CC" = x
; then
2593 case $cross_compiling:$ac_tool_warned in
2595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2596 whose name does not start with the host triplet. If you think this
2597 configuration is useful to you, please write to autoconf@gnu.org." >&5
2598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2599 whose name does not start with the host triplet. If you think this
2600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2601 ac_tool_warned
=yes ;;
2610 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2611 See \`config.log' for more details." >&5
2612 echo "$as_me: error: no acceptable C compiler found in \$PATH
2613 See \`config.log' for more details." >&2;}
2614 { (exit 1); exit 1; }; }
2616 # Provide some information about the compiler.
2617 echo "$as_me:$LINENO: checking for C compiler version" >&5
2618 ac_compiler
=`set X $ac_compile; echo $2`
2619 { (ac_try
="$ac_compiler --version >&5"
2621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler --version >&5") 2>&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2629 { (ac_try="$ac_compiler -v >&5"
2631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2632 *) ac_try_echo
=$ac_try;;
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_compiler -v >&5") 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }
2639 { (ac_try
="$ac_compiler -V >&5"
2641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645 (eval "$ac_compiler -V >&5") 2>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }
2650 cat >conftest.$ac_ext <<_ACEOF
2653 cat confdefs.h >>conftest.$ac_ext
2654 cat >>conftest.$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2665 ac_clean_files_save=$ac_clean_files
2666 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2667 # Try to create an executable without -o first, disregard a.out.
2668 # It will help us diagnose broken compilers, and finding out an intuition
2670 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2671 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2672 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2674 # List of possible output files, starting from the most likely.
2675 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2676 # only as a last resort. b.out is created by i960 compilers.
2677 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2679 # The IRIX 6 linker writes into existing files which may not be
2680 # executable, retaining their permissions. Remove them first so a
2681 # subsequent execution test works.
2683 for ac_file in $ac_files
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2692 if { (ac_try="$ac_link_default"
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2698 (eval "$ac_link_default") 2>&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; then
2702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2705 # so that the user can short-circuit this test for compilers unknown to
2707 for ac_file
in $ac_files ''
2709 test -f "$ac_file" ||
continue
2711 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2714 # We found the default executable, but exeext='' is most
2718 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2720 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2722 # We set ac_cv_exeext here because the later test for it is not
2723 # safe: cross compilers may not add the suffix if given an `-o'
2724 # argument, so we may need to know it at that point already.
2725 # Even if this section looks crufty: it has the advantage of
2732 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2738 { echo "$as_me:$LINENO: result: $ac_file" >&5
2739 echo "${ECHO_T}$ac_file" >&6; }
2740 if test -z "$ac_file"; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.
$ac_ext >&5
2744 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2745 See \`config.log' for more details." >&5
2746 echo "$as_me: error: C compiler cannot create executables
2747 See \`config.log' for more details." >&2;}
2748 { (exit 77); exit 77; }; }
2751 ac_exeext
=$ac_cv_exeext
2753 # Check that the compiler produces executables we can run. If not, either
2754 # the compiler is broken, or we cross compile.
2755 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2756 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2757 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2758 # If not cross compiling, check that we can run a simple program.
2759 if test "$cross_compiling" != yes; then
2760 if { ac_try
='./$ac_file'
2761 { (case "(($ac_try" in
2762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_try") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2772 if test "$cross_compiling" = maybe; then
2775 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details.
" >&5
2778 echo "$as_me: error
: cannot run C compiled programs.
2779 If you meant to cross compile
, use \
`--host'.
2780 See \`config.log
' for more details." >&2;}
2781 { (exit 1); exit 1; }; }
2785 { echo "$as_me:$LINENO: result: yes" >&5
2786 echo "${ECHO_T}yes" >&6; }
2788 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2789 ac_clean_files=$ac_clean_files_save
2790 # Check that the compiler produces executables we can run. If not, either
2791 # the compiler is broken, or we cross compile.
2792 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2793 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2794 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2795 echo "${ECHO_T}$cross_compiling" >&6; }
2797 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2798 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2799 if { (ac_try="$ac_link"
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2805 (eval "$ac_link") 2>&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; then
2809 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2810 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2811 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2813 for ac_file
in conftest.exe conftest conftest.
*; do
2814 test -f "$ac_file" ||
continue
2816 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2817 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2823 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." >&5
2825 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2826 See \`config.log' for more details." >&2;}
2827 { (exit 1); exit 1; }; }
2830 rm -f conftest
$ac_cv_exeext
2831 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2832 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2834 rm -f conftest.
$ac_ext
2835 EXEEXT
=$ac_cv_exeext
2837 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2838 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2839 if test "${ac_cv_objext+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 cat >conftest.
$ac_ext <<_ACEOF
2845 cat confdefs.h
>>conftest.
$ac_ext
2846 cat >>conftest.
$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2857 rm -f conftest.o conftest.obj
2858 if { (ac_try
="$ac_compile"
2860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2864 (eval "$ac_compile") 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; then
2868 for ac_file in conftest.o conftest.obj conftest.*; do
2869 test -f "$ac_file" || continue;
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2872 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2877 echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2880 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2881 See \`config.log
' for more details." >&5
2882 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2883 See \`config.log' for more details.
" >&2;}
2884 { (exit 1); exit 1; }; }
2887 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2889 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2890 echo "${ECHO_T}$ac_cv_objext" >&6; }
2891 OBJEXT=$ac_cv_objext
2893 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2894 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2895 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2896 echo $ECHO_N "(cached
) $ECHO_C" >&6
2898 cat >conftest.$ac_ext <<_ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2916 rm -f conftest.$ac_objext
2917 if { (ac_try="$ac_compile"
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2923 (eval "$ac_compile") 2>conftest.er1
2925 grep -v '^ *+' conftest.er1 >conftest.err
2927 cat conftest.err >&5
2928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2929 (exit $ac_status); } && {
2930 test -z "$ac_c_werror_flag" ||
2931 test ! -s conftest.err
2932 } && test -s conftest.$ac_objext; then
2935 echo "$as_me: failed program was
:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2945 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2946 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2947 GCC=`test $ac_compiler_gnu = yes && echo yes`
2948 ac_test_CFLAGS=${CFLAGS+set}
2949 ac_save_CFLAGS=$CFLAGS
2950 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2951 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2952 if test "${ac_cv_prog_cc_g+set}" = set; then
2953 echo $ECHO_N "(cached
) $ECHO_C" >&6
2955 ac_save_c_werror_flag=$ac_c_werror_flag
2956 ac_c_werror_flag=yes
2959 cat >conftest.$ac_ext <<_ACEOF
2962 cat confdefs.h >>conftest.$ac_ext
2963 cat >>conftest.$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2974 rm -f conftest.$ac_objext
2975 if { (ac_try="$ac_compile"
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2981 (eval "$ac_compile") 2>conftest.er1
2983 grep -v '^ *+' conftest.er1 >conftest.err
2985 cat conftest.err >&5
2986 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2987 (exit $ac_status); } && {
2988 test -z "$ac_c_werror_flag" ||
2989 test ! -s conftest.err
2990 } && test -s conftest.$ac_objext; then
2993 echo "$as_me: failed program was
:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3021 grep -v '^ *+' conftest.er1 >conftest.err
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3031 echo "$as_me: failed program was
:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3034 ac_c_werror_flag=$ac_save_c_werror_flag
3036 cat >conftest.$ac_ext <<_ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3051 rm -f conftest.$ac_objext
3052 if { (ac_try="$ac_compile"
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3058 (eval "$ac_compile") 2>conftest.er1
3060 grep -v '^ *+' conftest.er1 >conftest.err
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3064 (exit $ac_status); } && {
3065 test -z "$ac_c_werror_flag" ||
3066 test ! -s conftest.err
3067 } && test -s conftest.$ac_objext; then
3070 echo "$as_me: failed program was
:" >&5
3071 sed 's/^/| /' conftest.$ac_ext >&5
3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 ac_c_werror_flag=$ac_save_c_werror_flag
3085 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3087 if test "$ac_test_CFLAGS" = set; then
3088 CFLAGS=$ac_save_CFLAGS
3089 elif test $ac_cv_prog_cc_g = yes; then
3090 if test "$GCC" = yes; then
3096 if test "$GCC" = yes; then
3102 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3103 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3104 if test "${ac_cv_prog_cc_c89+set}" = set; then
3105 echo $ECHO_N "(cached
) $ECHO_C" >&6
3107 ac_cv_prog_cc_c89=no
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3117 #include <sys/types.h>
3118 #include <sys/stat.h>
3119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3120 struct buf { int x; };
3121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3122 static char *e (p, i)
3128 static char *f (char * (*g) (char **, int), char **p, ...)
3133 s = g (p, va_arg (v,int));
3138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3139 function prototypes and stuff, but not '\xHH' hex character constants.
3140 These don't provoke an error unfortunately, instead are silently treated
3141 as 'x'. The following induces an error, until -std is added to get
3142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3143 array size at least. It's necessary to write '\x00'==0 to get something
3144 that's true only with -std. */
3145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3147 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3148 inside strings and character constants. */
3150 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3152 int test (int i, double x);
3153 struct s1 {int (*f) (int a);};
3154 struct s2 {int (*f) (double a);};
3155 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3161 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3166 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3167 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3169 CC="$ac_save_CC $ac_arg"
3170 rm -f conftest.$ac_objext
3171 if { (ac_try="$ac_compile"
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3177 (eval "$ac_compile") 2>conftest.er1
3179 grep -v '^ *+' conftest.er1 >conftest.err
3181 cat conftest.err >&5
3182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3183 (exit $ac_status); } && {
3184 test -z "$ac_c_werror_flag" ||
3185 test ! -s conftest.err
3186 } && test -s conftest.$ac_objext; then
3187 ac_cv_prog_cc_c89=$ac_arg
3189 echo "$as_me: failed program was
:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3195 rm -f core conftest.err conftest.$ac_objext
3196 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3198 rm -f conftest.$ac_ext
3203 case "x
$ac_cv_prog_cc_c89" in
3205 { echo "$as_me:$LINENO: result
: none needed
" >&5
3206 echo "${ECHO_T}none needed
" >&6; } ;;
3208 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3209 echo "${ECHO_T}unsupported
" >&6; } ;;
3211 CC="$CC $ac_cv_prog_cc_c89"
3212 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3213 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 ac_cpp='$CXXCPP $CPPFLAGS'
3225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3228 if test -z "$CXX"; then
3229 if test -n "$CCC"; then
3232 if test -n "$ac_tool_prefix"; then
3233 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3236 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3237 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3238 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3239 if test "${ac_cv_prog_CXX+set}" = set; then
3240 echo $ECHO_N "(cached
) $ECHO_C" >&6
3242 if test -n "$CXX"; then
3243 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3252 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3253 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3263 if test -n "$CXX"; then
3264 { echo "$as_me:$LINENO: result
: $CXX" >&5
3265 echo "${ECHO_T}$CXX" >&6; }
3267 { echo "$as_me:$LINENO: result
: no
" >&5
3268 echo "${ECHO_T}no
" >&6; }
3272 test -n "$CXX" && break
3275 if test -z "$CXX"; then
3277 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3279 # Extract the first word of "$ac_prog", so it can be a program name with args.
3280 set dummy $ac_prog; ac_word=$2
3281 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3282 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3283 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3284 echo $ECHO_N "(cached
) $ECHO_C" >&6
3286 if test -n "$ac_ct_CXX"; then
3287 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir=.
3294 for ac_exec_ext in '' $ac_executable_extensions; do
3295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3296 ac_cv_prog_ac_ct_CXX="$ac_prog"
3297 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3306 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3307 if test -n "$ac_ct_CXX"; then
3308 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3309 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3311 { echo "$as_me:$LINENO: result
: no
" >&5
3312 echo "${ECHO_T}no
" >&6; }
3316 test -n "$ac_ct_CXX" && break
3319 if test "x
$ac_ct_CXX" = x; then
3322 case $cross_compiling:$ac_tool_warned in
3324 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3325 whose name does not start with the
host triplet. If you think this
3326 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3327 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3328 whose name does not start with the
host triplet. If you think this
3329 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3330 ac_tool_warned=yes ;;
3338 # Provide some information about the compiler.
3339 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3340 ac_compiler=`set X $ac_compile; echo $2`
3341 { (ac_try="$ac_compiler --version >&5"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler --version >&5") 2>&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); }
3351 { (ac_try="$ac_compiler -v >&5"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3357 (eval "$ac_compiler -v >&5") 2>&5
3359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3360 (exit $ac_status); }
3361 { (ac_try="$ac_compiler -V >&5"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_compiler -V >&5") 2>&5
3369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3370 (exit $ac_status); }
3372 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3373 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3374 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3375 echo $ECHO_N "(cached
) $ECHO_C" >&6
3377 cat >conftest.$ac_ext <<_ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_cxx_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3414 echo "$as_me: failed program was
:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3424 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3425 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3426 GXX=`test $ac_compiler_gnu = yes && echo yes`
3427 ac_test_CXXFLAGS=${CXXFLAGS+set}
3428 ac_save_CXXFLAGS=$CXXFLAGS
3429 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3430 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3431 if test "${ac_cv_prog_cxx_g+set}" = set; then
3432 echo $ECHO_N "(cached
) $ECHO_C" >&6
3434 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3435 ac_cxx_werror_flag=yes
3438 cat >conftest.$ac_ext <<_ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.$ac_objext
3454 if { (ac_try="$ac_compile"
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3460 (eval "$ac_compile") 2>conftest.er1
3462 grep -v '^ *+' conftest.er1 >conftest.err
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3466 (exit $ac_status); } && {
3467 test -z "$ac_cxx_werror_flag" ||
3468 test ! -s conftest.err
3469 } && test -s conftest.$ac_objext; then
3470 ac_cv_prog_cxx_g=yes
3472 echo "$as_me: failed program was
:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_cxx_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest.$ac_objext; then
3510 echo "$as_me: failed program was
:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3515 cat >conftest.$ac_ext <<_ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3530 rm -f conftest.$ac_objext
3531 if { (ac_try="$ac_compile"
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3537 (eval "$ac_compile") 2>conftest.er1
3539 grep -v '^ *+' conftest.er1 >conftest.err
3541 cat conftest.err >&5
3542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3543 (exit $ac_status); } && {
3544 test -z "$ac_cxx_werror_flag" ||
3545 test ! -s conftest.err
3546 } && test -s conftest.$ac_objext; then
3547 ac_cv_prog_cxx_g=yes
3549 echo "$as_me: failed program was
:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3564 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3565 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3566 if test "$ac_test_CXXFLAGS" = set; then
3567 CXXFLAGS=$ac_save_CXXFLAGS
3568 elif test $ac_cv_prog_cxx_g = yes; then
3569 if test "$GXX" = yes; then
3575 if test "$GXX" = yes; then
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587 if test -n "$ac_tool_prefix"; then
3588 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3589 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3590 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3591 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3592 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3593 echo $ECHO_N "(cached
) $ECHO_C" >&6
3595 if test -n "$CPPBIN"; then
3596 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3606 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3615 CPPBIN=$ac_cv_prog_CPPBIN
3616 if test -n "$CPPBIN"; then
3617 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3618 echo "${ECHO_T}$CPPBIN" >&6; }
3620 { echo "$as_me:$LINENO: result
: no
" >&5
3621 echo "${ECHO_T}no
" >&6; }
3626 if test -z "$ac_cv_prog_CPPBIN"; then
3627 ac_ct_CPPBIN=$CPPBIN
3628 # Extract the first word of "cpp
", so it can be a program name with args.
3629 set dummy cpp; ac_word=$2
3630 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3631 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3632 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3633 echo $ECHO_N "(cached
) $ECHO_C" >&6
3635 if test -n "$ac_ct_CPPBIN"; then
3636 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 test -z "$as_dir" && as_dir=.
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3645 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3646 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3655 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3656 if test -n "$ac_ct_CPPBIN"; then
3657 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3658 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3660 { echo "$as_me:$LINENO: result
: no
" >&5
3661 echo "${ECHO_T}no
" >&6; }
3664 if test "x
$ac_ct_CPPBIN" = x; then
3667 case $cross_compiling:$ac_tool_warned in
3669 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3670 whose name does not start with the
host triplet. If you think this
3671 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3672 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3673 whose name does not start with the
host triplet. If you think this
3674 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3675 ac_tool_warned=yes ;;
3677 CPPBIN=$ac_ct_CPPBIN
3680 CPPBIN="$ac_cv_prog_CPPBIN"
3684 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3685 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3686 if test "${wine_cv_toolsdir+set}" = set; then
3687 echo $ECHO_N "(cached
) $ECHO_C" >&6
3689 if test -z "$with_wine_tools"; then
3690 if test "$cross_compiling" = "yes"; then
3691 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3692 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3693 { (exit 1); exit 1; }; }
3695 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3697 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3698 case $with_wine_tools in
3699 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3700 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3703 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3704 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3705 { (exit 1); exit 1; }; }
3708 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3709 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3710 TOOLSDIR=$wine_cv_toolsdir
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3720 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3721 # On Suns, sometimes $CPP names a directory.
3722 if test -n "$CPP" && test -d "$CPP"; then
3725 if test -z "$CPP"; then
3726 if test "${ac_cv_prog_CPP+set}" = set; then
3727 echo $ECHO_N "(cached
) $ECHO_C" >&6
3729 # Double quotes because CPP needs to be expanded
3730 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3733 for ac_c_preproc_warn_flag in '' yes
3735 # Use a header file that comes with gcc, so configuring glibc
3736 # with a fresh cross-compiler works.
3737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3738 # <limits.h> exists even on freestanding compilers.
3739 # On the NeXT, cc -E runs the code through the compiler's parser,
3740 # not just through cpp. "Syntax error
" is here to catch this case.
3741 cat >conftest.$ac_ext <<_ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3748 # include <limits.h>
3750 # include <assert.h>
3754 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3760 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3762 grep -v '^ *+' conftest.er1 >conftest.err
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3766 (exit $ac_status); } >/dev/null && {
3767 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3768 test ! -s conftest.err
3772 echo "$as_me: failed program was
:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3775 # Broken: fails on valid input.
3779 rm -f conftest.err conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <ac_nonexistent.h>
3791 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3807 # Broken: success on invalid input.
3810 echo "$as_me: failed program was
:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Passes both tests.
3818 rm -f conftest.err conftest.$ac_ext
3821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822 rm -f conftest.err conftest.$ac_ext
3823 if $ac_preproc_ok; then
3835 { echo "$as_me:$LINENO: result
: $CPP" >&5
3836 echo "${ECHO_T}$CPP" >&6; }
3838 for ac_c_preproc_warn_flag in '' yes
3840 # Use a header file that comes with gcc, so configuring glibc
3841 # with a fresh cross-compiler works.
3842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3843 # <limits.h> exists even on freestanding compilers.
3844 # On the NeXT, cc -E runs the code through the compiler's parser,
3845 # not just through cpp. "Syntax error
" is here to catch this case.
3846 cat >conftest.$ac_ext <<_ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3853 # include <limits.h>
3855 # include <assert.h>
3859 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3865 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3867 grep -v '^ *+' conftest.er1 >conftest.err
3869 cat conftest.err >&5
3870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3871 (exit $ac_status); } >/dev/null && {
3872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3873 test ! -s conftest.err
3877 echo "$as_me: failed program was
:" >&5
3878 sed 's/^/| /' conftest.$ac_ext >&5
3880 # Broken: fails on valid input.
3884 rm -f conftest.err conftest.$ac_ext
3886 # OK, works on sane cases. Now check whether nonexistent headers
3887 # can be detected and how.
3888 cat >conftest.$ac_ext <<_ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3894 #include <ac_nonexistent.h>
3896 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3904 grep -v '^ *+' conftest.er1 >conftest.err
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3908 (exit $ac_status); } >/dev/null && {
3909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3912 # Broken: success on invalid input.
3915 echo "$as_me: failed program was
:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 # Passes both tests.
3923 rm -f conftest.err conftest.$ac_ext
3926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3927 rm -f conftest.err conftest.$ac_ext
3928 if $ac_preproc_ok; then
3931 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3932 See \
`config.log' for more details." >&5
3933 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3934 See \`config.log
' for more details." >&2;}
3935 { (exit 1); exit 1; }; }
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3941 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 { echo "$as_me:$LINENO: checking for X" >&5
3946 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3949 # Check whether --with-x was given.
3950 if test "${with_x+set}" = set; then
3954 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3955 if test "x$with_x" = xno; then
3956 # The user explicitly disabled X.
3959 case $x_includes,$x_libraries in #(
3960 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3961 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3962 { (exit 1); exit 1; }; };; #(
3963 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 # One or both of the vars are not set, and there is no cached value.
3967 ac_x_includes=no ac_x_libraries=no
3968 rm -f -r conftest.dir
3969 if mkdir conftest.dir; then
3971 cat >Imakefile <<'_ACEOF'
3973 @echo incroot='${INCROOT}'
3975 @echo usrlibdir='${USRLIBDIR}'
3977 @echo libdir='${LIBDIR}'
3979 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3980 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3981 for ac_var in incroot usrlibdir libdir; do
3982 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3984 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3985 for ac_extension in a so sl; do
3986 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3987 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3988 ac_im_usrlibdir=$ac_im_libdir; break
3991 # Screen out bogus values from the imake configuration. They are
3992 # bogus both because they are the default anyway, and because
3993 # using them would break gcc on systems where it needs fixed includes.
3994 case $ac_im_incroot in
3995 /usr/include) ac_x_includes= ;;
3996 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3998 case $ac_im_usrlibdir in
4000 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4004 rm -f -r conftest.dir
4007 # Standard set of common directories for X headers.
4008 # Check X11 before X11Rn because it is often a symlink to the current release.
4020 /usr
/local
/X11
/include
4021 /usr
/local
/X11R
6/include
4022 /usr
/local
/X11R
5/include
4023 /usr
/local
/X11R
4/include
4025 /usr
/local
/include
/X11
4026 /usr
/local
/include
/X11R6
4027 /usr
/local
/include
/X11R5
4028 /usr
/local
/include
/X11R4
4032 /usr
/XFree86
/include
/X11
4036 /usr
/unsupported
/include
4038 /usr
/local
/x11r
5/include
4039 /usr
/lpp
/Xamples
/include
4041 /usr
/openwin
/include
4042 /usr
/openwin
/share
/include
'
4044 if test "$ac_x_includes" = no; then
4045 # Guess where to find include files, by looking for Xlib.h.
4046 # First, try using that file with no special directory specified.
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 #include <X11/Xlib.h>
4055 if { (ac_try="$ac_cpp conftest.$ac_ext"
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4063 grep -v '^
*+' conftest.er1 >conftest.err
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev/null && {
4068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4069 test ! -s conftest.err
4071 # We can compile using X headers with no special include directory.
4074 echo "$as_me: failed program was:" >&5
4075 sed 's
/^
/|
/' conftest.$ac_ext >&5
4077 for ac_dir in $ac_x_header_dirs; do
4078 if test -r "$ac_dir/X11/Xlib.h"; then
4079 ac_x_includes=$ac_dir
4085 rm -f conftest.err conftest.$ac_ext
4086 fi # $ac_x_includes = no
4088 if test "$ac_x_libraries" = no; then
4089 # Check for the libraries.
4090 # See if we find them without any special options.
4091 # Don't add to
$LIBS permanently.
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4100 #include <X11/Xlib.h>
4109 rm -f conftest.
$ac_objext conftest
$ac_exeext
4110 if { (ac_try
="$ac_link"
4112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4116 (eval "$ac_link") 2>conftest.er1
4118 grep -v '^ *+' conftest.er1 >conftest.err
4120 cat conftest.err >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && {
4123 test -z "$ac_c_werror_flag" ||
4124 test ! -s conftest.err
4125 } && test -s conftest$ac_exeext &&
4126 $as_test_x conftest$ac_exeext; then
4128 # We can link X programs with no special library path.
4131 echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4135 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4137 # Don't even attempt the hair of trying to link an X program!
4138 for ac_extension in a so sl; do
4139 if test -r "$ac_dir/libX11.$ac_extension"; then
4140 ac_x_libraries=$ac_dir
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 fi # $ac_x_libraries = no
4151 case $ac_x_includes,$ac_x_libraries in #(
4153 # Didn't find X, or a directory has "'" in its name.
4154 ac_cv_have_x="have_x=no";; #(
4156 # Record where we found X for the cache.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$ac_x_includes'\
4159 ac_x_libraries='$ac_x_libraries'"
4165 eval "$ac_cv_have_x"
4168 if test "$have_x" != yes; then
4169 { echo "$as_me:$LINENO: result: $have_x" >&5
4170 echo "${ECHO_T}$have_x" >&6; }
4173 # If each of the values was on the command line, it overrides each guess.
4174 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4175 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4176 # Update the cache value to reflect the command line values.
4177 ac_cv_have_x="have_x=yes\
4178 ac_x_includes='$x_includes'\
4179 ac_x_libraries='$x_libraries'"
4180 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4181 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4184 if test "$no_x" = yes; then
4185 # Not all programs may use this symbol, but it does not hurt to define it.
4187 cat >>confdefs.h <<\_ACEOF
4188 #define X_DISPLAY_MISSING 1
4191 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4193 if test -n "$x_includes"; then
4194 X_CFLAGS="$X_CFLAGS -I$x_includes"
4197 # It would also be nice to do this for all -L options, not just this one.
4198 if test -n "$x_libraries"; then
4199 X_LIBS="$X_LIBS -L$x_libraries"
4200 # For Solaris; some versions of Sun CC require a space after -R and
4201 # others require no space. Words are not sufficient . . . .
4202 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4203 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4204 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4205 ac_xsave_c_werror_flag=$ac_c_werror_flag
4206 ac_c_werror_flag=yes
4207 cat >conftest.$ac_ext <<_ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4222 rm -f conftest.$ac_objext conftest$ac_exeext
4223 if { (ac_try="$ac_link"
4225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4226 *) ac_try_echo
=$ac_try;;
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_link") 2>conftest.er1
4231 grep -v '^ *+' conftest.er1
>conftest.err
4233 cat conftest.err
>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest
$ac_exeext &&
4239 $as_test_x conftest
$ac_exeext; then
4240 { echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6; }
4242 X_LIBS
="$X_LIBS -R$x_libraries"
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.
$ac_ext >&5
4247 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4248 cat >conftest.
$ac_ext <<_ACEOF
4251 cat confdefs.h
>>conftest.
$ac_ext
4252 cat >>conftest.
$ac_ext <<_ACEOF
4253 /* end confdefs.h. */
4263 rm -f conftest.
$ac_objext conftest
$ac_exeext
4264 if { (ac_try
="$ac_link"
4266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4267 *) ac_try_echo=$ac_try;;
4269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4270 (eval "$ac_link") 2>conftest.er1
4272 grep -v '^ *+' conftest.er1 >conftest.err
4274 cat conftest.err >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } && {
4277 test -z "$ac_c_werror_flag" ||
4278 test ! -s conftest.err
4279 } && test -s conftest$ac_exeext &&
4280 $as_test_x conftest$ac_exeext; then
4281 { echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6; }
4283 X_LIBS="$X_LIBS -R $x_libraries"
4285 echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 { echo "$as_me:$LINENO: result: neither works" >&5
4289 echo "${ECHO_T}neither works" >&6; }
4292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4293 conftest$ac_exeext conftest.$ac_ext
4296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4297 conftest$ac_exeext conftest.$ac_ext
4298 ac_c_werror_flag=$ac_xsave_c_werror_flag
4302 # Check for system-dependent libraries X programs must link with.
4303 # Do this before checking for the system-independent R6 libraries
4304 # (-lICE), since we may need -lsocket or whatever for X linking.
4306 if test "$ISC" = yes; then
4307 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4309 # Martyn Johnson says this is needed for Ultrix, if the X
4310 # libraries were built with DECnet support. And Karl Berry says
4311 # the Alpha needs dnet_stub (dnet does not exist).
4312 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4313 cat >conftest.$ac_ext <<_ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4320 /* Override any GCC internal prototype to avoid an error.
4321 Use char because int might match the return type of a GCC
4322 builtin and then its argument prototype would still apply. */
4326 char XOpenDisplay ();
4330 return XOpenDisplay ();
4335 rm -f conftest.$ac_objext conftest$ac_exeext
4336 if { (ac_try="$ac_link"
4338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4339 *) ac_try_echo
=$ac_try;;
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_link") 2>conftest.er1
4344 grep -v '^ *+' conftest.er1
>conftest.err
4346 cat conftest.err
>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && {
4349 test -z "$ac_c_werror_flag" ||
4350 test ! -s conftest.err
4351 } && test -s conftest
$ac_exeext &&
4352 $as_test_x conftest
$ac_exeext; then
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4358 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4359 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4360 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 ac_check_lib_save_LIBS
=$LIBS
4365 cat >conftest.
$ac_ext <<_ACEOF
4368 cat confdefs.h
>>conftest.
$ac_ext
4369 cat >>conftest.
$ac_ext <<_ACEOF
4370 /* end confdefs.h. */
4372 /* Override any GCC internal prototype to avoid an error.
4373 Use char because int might match the return type of a GCC
4374 builtin and then its argument prototype would still apply. */
4382 return dnet_ntoa ();
4387 rm -f conftest.
$ac_objext conftest
$ac_exeext
4388 if { (ac_try
="$ac_link"
4390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_link") 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } && {
4401 test -z "$ac_c_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest$ac_exeext &&
4404 $as_test_x conftest$ac_exeext; then
4405 ac_cv_lib_dnet_dnet_ntoa=yes
4407 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4410 ac_cv_lib_dnet_dnet_ntoa=no
4413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4414 conftest$ac_exeext conftest.$ac_ext
4415 LIBS=$ac_check_lib_save_LIBS
4417 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4418 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4419 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4420 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4423 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4424 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4425 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4426 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 ac_check_lib_save_LIBS=$LIBS
4430 LIBS="-ldnet_stub $LIBS"
4431 cat >conftest.$ac_ext <<_ACEOF
4434 cat confdefs.h >>conftest.$ac_ext
4435 cat >>conftest.$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4438 /* Override any GCC internal prototype to avoid an error.
4439 Use char because int might match the return type of a GCC
4440 builtin and then its argument prototype would still apply. */
4448 return dnet_ntoa ();
4453 rm -f conftest.$ac_objext conftest$ac_exeext
4454 if { (ac_try="$ac_link"
4456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4457 *) ac_try_echo
=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_link") 2>conftest.er1
4462 grep -v '^ *+' conftest.er1
>conftest.err
4464 cat conftest.err
>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } && {
4467 test -z "$ac_c_werror_flag" ||
4468 test ! -s conftest.err
4469 } && test -s conftest
$ac_exeext &&
4470 $as_test_x conftest
$ac_exeext; then
4471 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4473 echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.
$ac_ext >&5
4476 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4479 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4480 conftest
$ac_exeext conftest.
$ac_ext
4481 LIBS
=$ac_check_lib_save_LIBS
4483 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4484 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4485 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4486 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4493 conftest
$ac_exeext conftest.
$ac_ext
4494 LIBS
="$ac_xsave_LIBS"
4496 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4497 # to get the SysV transport functions.
4498 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4500 # The nsl library prevents programs from opening the X display
4501 # on Irix 5.2, according to T.E. Dickey.
4502 # The functions gethostbyname, getservbyname, and inet_addr are
4503 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4504 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4505 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4506 if test "${ac_cv_func_gethostbyname+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4517 #define gethostbyname innocuous_gethostbyname
4519 /* System header to define __stub macros and hopefully few prototypes,
4520 which can conflict with char gethostbyname (); below.
4521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4522 <limits.h> exists even on freestanding compilers. */
4525 # include <limits.h>
4527 # include <assert.h>
4530 #undef gethostbyname
4532 /* Override any GCC internal prototype to avoid an error.
4533 Use char because int might match the return type of a GCC
4534 builtin and then its argument prototype would still apply. */
4538 char gethostbyname ();
4539 /* The GNU C library defines this for functions which it implements
4540 to always fail with ENOSYS. Some functions are actually named
4541 something starting with __ and the normal name is an alias. */
4542 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4549 return gethostbyname ();
4554 rm -f conftest.
$ac_objext conftest
$ac_exeext
4555 if { (ac_try
="$ac_link"
4557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4558 *) ac_try_echo=$ac_try;;
4560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4561 (eval "$ac_link") 2>conftest.er1
4563 grep -v '^ *+' conftest.er1 >conftest.err
4565 cat conftest.err >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest$ac_exeext &&
4571 $as_test_x conftest$ac_exeext; then
4572 ac_cv_func_gethostbyname=yes
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.$ac_ext >&5
4577 ac_cv_func_gethostbyname=no
4580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4581 conftest$ac_exeext conftest.$ac_ext
4583 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4584 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4586 if test $ac_cv_func_gethostbyname = no; then
4587 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4588 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4589 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 ac_check_lib_save_LIBS=$LIBS
4594 cat >conftest.$ac_ext <<_ACEOF
4597 cat confdefs.h >>conftest.$ac_ext
4598 cat >>conftest.$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4601 /* Override any GCC internal prototype to avoid an error.
4602 Use char because int might match the return type of a GCC
4603 builtin and then its argument prototype would still apply. */
4607 char gethostbyname ();
4611 return gethostbyname ();
4616 rm -f conftest.$ac_objext conftest$ac_exeext
4617 if { (ac_try="$ac_link"
4619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4620 *) ac_try_echo
=$ac_try;;
4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4623 (eval "$ac_link") 2>conftest.er1
4625 grep -v '^ *+' conftest.er1
>conftest.err
4627 cat conftest.err
>&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } && {
4630 test -z "$ac_c_werror_flag" ||
4631 test ! -s conftest.err
4632 } && test -s conftest
$ac_exeext &&
4633 $as_test_x conftest
$ac_exeext; then
4634 ac_cv_lib_nsl_gethostbyname
=yes
4636 echo "$as_me: failed program was:" >&5
4637 sed 's/^/| /' conftest.
$ac_ext >&5
4639 ac_cv_lib_nsl_gethostbyname
=no
4642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4643 conftest
$ac_exeext conftest.
$ac_ext
4644 LIBS
=$ac_check_lib_save_LIBS
4646 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4647 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4648 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4649 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4652 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4653 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4654 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4655 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 ac_check_lib_save_LIBS
=$LIBS
4660 cat >conftest.
$ac_ext <<_ACEOF
4663 cat confdefs.h
>>conftest.
$ac_ext
4664 cat >>conftest.
$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4667 /* Override any GCC internal prototype to avoid an error.
4668 Use char because int might match the return type of a GCC
4669 builtin and then its argument prototype would still apply. */
4673 char gethostbyname ();
4677 return gethostbyname ();
4682 rm -f conftest.
$ac_objext conftest
$ac_exeext
4683 if { (ac_try
="$ac_link"
4685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4689 (eval "$ac_link") 2>conftest.er1
4691 grep -v '^ *+' conftest.er1 >conftest.err
4693 cat conftest.err >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && {
4696 test -z "$ac_c_werror_flag" ||
4697 test ! -s conftest.err
4698 } && test -s conftest$ac_exeext &&
4699 $as_test_x conftest$ac_exeext; then
4700 ac_cv_lib_bsd_gethostbyname=yes
4702 echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4705 ac_cv_lib_bsd_gethostbyname=no
4708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4709 conftest$ac_exeext conftest.$ac_ext
4710 LIBS=$ac_check_lib_save_LIBS
4712 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4713 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4714 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4715 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4721 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4722 # socket/setsockopt and other routines are undefined under SCO ODT
4723 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4724 # on later versions), says Simon Leinen: it contains gethostby*
4725 # variants that don't use the name server (or something). -lsocket
4726 # must be given before -lnsl if both are needed. We assume that
4727 # if connect needs -lnsl, so does gethostbyname.
4728 { echo "$as_me:$LINENO: checking for connect" >&5
4729 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4730 if test "${ac_cv_func_connect+set}" = set; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 cat >conftest.$ac_ext <<_ACEOF
4736 cat confdefs.h >>conftest.$ac_ext
4737 cat >>conftest.$ac_ext <<_ACEOF
4738 /* end confdefs.h. */
4739 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4741 #define connect innocuous_connect
4743 /* System header to define __stub macros and hopefully few prototypes,
4744 which can conflict with char connect (); below.
4745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4746 <limits.h> exists even on freestanding compilers. */
4749 # include <limits.h>
4751 # include <assert.h>
4756 /* Override any GCC internal prototype to avoid an error.
4757 Use char because int might match the return type of a GCC
4758 builtin and then its argument prototype would still apply. */
4763 /* The GNU C library defines this for functions which it implements
4764 to always fail with ENOSYS. Some functions are actually named
4765 something starting with __ and the normal name is an alias. */
4766 #if defined __stub_connect || defined __stub___connect
4778 rm -f conftest.$ac_objext conftest$ac_exeext
4779 if { (ac_try="$ac_link"
4781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4782 *) ac_try_echo
=$ac_try;;
4784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4785 (eval "$ac_link") 2>conftest.er1
4787 grep -v '^ *+' conftest.er1
>conftest.err
4789 cat conftest.err
>&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } && {
4792 test -z "$ac_c_werror_flag" ||
4793 test ! -s conftest.err
4794 } && test -s conftest
$ac_exeext &&
4795 $as_test_x conftest
$ac_exeext; then
4796 ac_cv_func_connect
=yes
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.
$ac_ext >&5
4801 ac_cv_func_connect
=no
4804 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4805 conftest
$ac_exeext conftest.
$ac_ext
4807 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4808 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4810 if test $ac_cv_func_connect = no
; then
4811 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4812 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4813 if test "${ac_cv_lib_socket_connect+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 ac_check_lib_save_LIBS
=$LIBS
4817 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4818 cat >conftest.
$ac_ext <<_ACEOF
4821 cat confdefs.h
>>conftest.
$ac_ext
4822 cat >>conftest.
$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4825 /* Override any GCC internal prototype to avoid an error.
4826 Use char because int might match the return type of a GCC
4827 builtin and then its argument prototype would still apply. */
4840 rm -f conftest.
$ac_objext conftest
$ac_exeext
4841 if { (ac_try
="$ac_link"
4843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4847 (eval "$ac_link") 2>conftest.er1
4849 grep -v '^ *+' conftest.er1 >conftest.err
4851 cat conftest.err >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } && {
4854 test -z "$ac_c_werror_flag" ||
4855 test ! -s conftest.err
4856 } && test -s conftest$ac_exeext &&
4857 $as_test_x conftest$ac_exeext; then
4858 ac_cv_lib_socket_connect=yes
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_lib_socket_connect=no
4866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4867 conftest$ac_exeext conftest.$ac_ext
4868 LIBS=$ac_check_lib_save_LIBS
4870 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4871 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4872 if test $ac_cv_lib_socket_connect = yes; then
4873 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4878 # Guillermo Gomez says -lposix is necessary on A/UX.
4879 { echo "$as_me:$LINENO: checking for remove" >&5
4880 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4881 if test "${ac_cv_func_remove+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 cat >conftest.$ac_ext <<_ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4892 #define remove innocuous_remove
4894 /* System header to define __stub macros and hopefully few prototypes,
4895 which can conflict with char remove (); below.
4896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4897 <limits.h> exists even on freestanding compilers. */
4900 # include <limits.h>
4902 # include <assert.h>
4907 /* Override any GCC internal prototype to avoid an error.
4908 Use char because int might match the return type of a GCC
4909 builtin and then its argument prototype would still apply. */
4914 /* The GNU C library defines this for functions which it implements
4915 to always fail with ENOSYS. Some functions are actually named
4916 something starting with __ and the normal name is an alias. */
4917 #if defined __stub_remove || defined __stub___remove
4929 rm -f conftest.$ac_objext conftest$ac_exeext
4930 if { (ac_try="$ac_link"
4932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4933 *) ac_try_echo
=$ac_try;;
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_link") 2>conftest.er1
4938 grep -v '^ *+' conftest.er1
>conftest.err
4940 cat conftest.err
>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } && {
4943 test -z "$ac_c_werror_flag" ||
4944 test ! -s conftest.err
4945 } && test -s conftest
$ac_exeext &&
4946 $as_test_x conftest
$ac_exeext; then
4947 ac_cv_func_remove
=yes
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.
$ac_ext >&5
4952 ac_cv_func_remove
=no
4955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4956 conftest
$ac_exeext conftest.
$ac_ext
4958 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4959 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4961 if test $ac_cv_func_remove = no
; then
4962 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4963 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4964 if test "${ac_cv_lib_posix_remove+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 ac_check_lib_save_LIBS
=$LIBS
4968 LIBS
="-lposix $LIBS"
4969 cat >conftest.
$ac_ext <<_ACEOF
4972 cat confdefs.h
>>conftest.
$ac_ext
4973 cat >>conftest.
$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4976 /* Override any GCC internal prototype to avoid an error.
4977 Use char because int might match the return type of a GCC
4978 builtin and then its argument prototype would still apply. */
4991 rm -f conftest.
$ac_objext conftest
$ac_exeext
4992 if { (ac_try
="$ac_link"
4994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_link") 2>conftest.er1
5000 grep -v '^ *+' conftest.er1 >conftest.err
5002 cat conftest.err >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } && {
5005 test -z "$ac_c_werror_flag" ||
5006 test ! -s conftest.err
5007 } && test -s conftest$ac_exeext &&
5008 $as_test_x conftest$ac_exeext; then
5009 ac_cv_lib_posix_remove=yes
5011 echo "$as_me: failed program was:" >&5
5012 sed 's/^/| /' conftest.$ac_ext >&5
5014 ac_cv_lib_posix_remove=no
5017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5018 conftest$ac_exeext conftest.$ac_ext
5019 LIBS=$ac_check_lib_save_LIBS
5021 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5022 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5023 if test $ac_cv_lib_posix_remove = yes; then
5024 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5029 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5030 { echo "$as_me:$LINENO: checking for shmat" >&5
5031 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5032 if test "${ac_cv_func_shmat+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 cat >conftest.$ac_ext <<_ACEOF
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5043 #define shmat innocuous_shmat
5045 /* System header to define __stub macros and hopefully few prototypes,
5046 which can conflict with char shmat (); below.
5047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 <limits.h> exists even on freestanding compilers. */
5051 # include <limits.h>
5053 # include <assert.h>
5058 /* Override any GCC internal prototype to avoid an error.
5059 Use char because int might match the return type of a GCC
5060 builtin and then its argument prototype would still apply. */
5065 /* The GNU C library defines this for functions which it implements
5066 to always fail with ENOSYS. Some functions are actually named
5067 something starting with __ and the normal name is an alias. */
5068 #if defined __stub_shmat || defined __stub___shmat
5080 rm -f conftest.$ac_objext conftest$ac_exeext
5081 if { (ac_try="$ac_link"
5083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5084 *) ac_try_echo
=$ac_try;;
5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5087 (eval "$ac_link") 2>conftest.er1
5089 grep -v '^ *+' conftest.er1
>conftest.err
5091 cat conftest.err
>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } && {
5094 test -z "$ac_c_werror_flag" ||
5095 test ! -s conftest.err
5096 } && test -s conftest
$ac_exeext &&
5097 $as_test_x conftest
$ac_exeext; then
5098 ac_cv_func_shmat
=yes
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5106 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5107 conftest
$ac_exeext conftest.
$ac_ext
5109 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5110 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5112 if test $ac_cv_func_shmat = no
; then
5113 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5114 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5115 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 ac_check_lib_save_LIBS
=$LIBS
5120 cat >conftest.
$ac_ext <<_ACEOF
5123 cat confdefs.h
>>conftest.
$ac_ext
5124 cat >>conftest.
$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5127 /* Override any GCC internal prototype to avoid an error.
5128 Use char because int might match the return type of a GCC
5129 builtin and then its argument prototype would still apply. */
5142 rm -f conftest.
$ac_objext conftest
$ac_exeext
5143 if { (ac_try
="$ac_link"
5145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5146 *) ac_try_echo=$ac_try;;
5148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5149 (eval "$ac_link") 2>conftest.er1
5151 grep -v '^ *+' conftest.er1 >conftest.err
5153 cat conftest.err >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } && {
5156 test -z "$ac_c_werror_flag" ||
5157 test ! -s conftest.err
5158 } && test -s conftest$ac_exeext &&
5159 $as_test_x conftest$ac_exeext; then
5160 ac_cv_lib_ipc_shmat=yes
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5165 ac_cv_lib_ipc_shmat=no
5168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5169 conftest$ac_exeext conftest.$ac_ext
5170 LIBS=$ac_check_lib_save_LIBS
5172 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5173 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5174 if test $ac_cv_lib_ipc_shmat = yes; then
5175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5181 # Check for libraries that X11R6 Xt/Xaw programs need.
5182 ac_save_LDFLAGS=$LDFLAGS
5183 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5184 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5185 # check for ICE first), but we must link in the order -lSM -lICE or
5186 # we get undefined symbols. So assume we have SM if we have ICE.
5187 # These have to be linked with before -lX11, unlike the other
5188 # libraries we check for below, so use a different variable.
5189 # John Interrante, Karl Berry
5190 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5191 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5192 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 ac_check_lib_save_LIBS=$LIBS
5196 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5197 cat >conftest.$ac_ext <<_ACEOF
5200 cat confdefs.h >>conftest.$ac_ext
5201 cat >>conftest.$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5204 /* Override any GCC internal prototype to avoid an error.
5205 Use char because int might match the return type of a GCC
5206 builtin and then its argument prototype would still apply. */
5210 char IceConnectionNumber ();
5214 return IceConnectionNumber ();
5219 rm -f conftest.$ac_objext conftest$ac_exeext
5220 if { (ac_try="$ac_link"
5222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5223 *) ac_try_echo
=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_link") 2>conftest.er1
5228 grep -v '^ *+' conftest.er1
>conftest.err
5230 cat conftest.err
>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } && {
5233 test -z "$ac_c_werror_flag" ||
5234 test ! -s conftest.err
5235 } && test -s conftest
$ac_exeext &&
5236 $as_test_x conftest
$ac_exeext; then
5237 ac_cv_lib_ICE_IceConnectionNumber
=yes
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.
$ac_ext >&5
5242 ac_cv_lib_ICE_IceConnectionNumber
=no
5245 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5246 conftest
$ac_exeext conftest.
$ac_ext
5247 LIBS
=$ac_check_lib_save_LIBS
5249 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5250 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5251 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5252 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5255 LDFLAGS
=$ac_save_LDFLAGS
5262 # Extract the first word of "$ac_prog", so it can be a program name with args.
5263 set dummy
$ac_prog; ac_word
=$2
5264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5266 if test "${ac_cv_prog_FLEX+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 if test -n "$FLEX"; then
5270 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_FLEX
="$ac_prog"
5280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 FLEX
=$ac_cv_prog_FLEX
5290 if test -n "$FLEX"; then
5291 { echo "$as_me:$LINENO: result: $FLEX" >&5
5292 echo "${ECHO_T}$FLEX" >&6; }
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5299 test -n "$FLEX" && break
5301 test -n "$FLEX" || FLEX
="none"
5303 if test "$FLEX" = "none"
5305 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5306 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5307 { (exit 1); exit 1; }; }
5310 for ac_prog
in bison
5312 # Extract the first word of "$ac_prog", so it can be a program name with args.
5313 set dummy
$ac_prog; ac_word
=$2
5314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5316 if test "${ac_cv_prog_BISON+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 if test -n "$BISON"; then
5320 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329 ac_cv_prog_BISON
="$ac_prog"
5330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 BISON
=$ac_cv_prog_BISON
5340 if test -n "$BISON"; then
5341 { echo "$as_me:$LINENO: result: $BISON" >&5
5342 echo "${ECHO_T}$BISON" >&6; }
5344 { echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6; }
5349 test -n "$BISON" && break
5351 test -n "$BISON" || BISON
="none"
5353 if test "$BISON" = "none"
5355 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5356 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5357 { (exit 1); exit 1; }; }
5360 if test -n "$ac_tool_prefix"; then
5361 for ac_prog
in gas as
5363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5367 if test "${ac_cv_prog_AS+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 if test -n "$AS"; then
5371 ac_cv_prog_AS
="$AS" # Let the user override the test.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 if test -n "$AS"; then
5392 { echo "$as_me:$LINENO: result: $AS" >&5
5393 echo "${ECHO_T}$AS" >&6; }
5395 { echo "$as_me:$LINENO: result: no" >&5
5396 echo "${ECHO_T}no" >&6; }
5400 test -n "$AS" && break
5403 if test -z "$AS"; then
5405 for ac_prog
in gas as
5407 # Extract the first word of "$ac_prog", so it can be a program name with args.
5408 set dummy
$ac_prog; ac_word
=$2
5409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5411 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 if test -n "$ac_ct_AS"; then
5415 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_exec_ext
in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_prog_ac_ct_AS
="$ac_prog"
5425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5435 if test -n "$ac_ct_AS"; then
5436 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5437 echo "${ECHO_T}$ac_ct_AS" >&6; }
5439 { echo "$as_me:$LINENO: result: no" >&5
5440 echo "${ECHO_T}no" >&6; }
5444 test -n "$ac_ct_AS" && break
5447 if test "x$ac_ct_AS" = x
; then
5450 case $cross_compiling:$ac_tool_warned in
5452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5453 whose name does not start with the host triplet. If you think this
5454 configuration is useful to you, please write to autoconf@gnu.org." >&5
5455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5456 whose name does not start with the host triplet. If you think this
5457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5458 ac_tool_warned
=yes ;;
5464 if test -n "$ac_tool_prefix"; then
5465 for ac_prog
in ld gld
5467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5468 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5471 if test "${ac_cv_prog_LD+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 if test -n "$LD"; then
5475 ac_cv_prog_LD
="$LD" # Let the user override the test.
5477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5481 test -z "$as_dir" && as_dir
=.
5482 for ac_exec_ext
in '' $ac_executable_extensions; do
5483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5484 ac_cv_prog_LD
="$ac_tool_prefix$ac_prog"
5485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 if test -n "$LD"; then
5496 { echo "$as_me:$LINENO: result: $LD" >&5
5497 echo "${ECHO_T}$LD" >&6; }
5499 { echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6; }
5504 test -n "$LD" && break
5507 if test -z "$LD"; then
5509 for ac_prog
in ld gld
5511 # Extract the first word of "$ac_prog", so it can be a program name with args.
5512 set dummy
$ac_prog; ac_word
=$2
5513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5515 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 if test -n "$ac_ct_LD"; then
5519 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir
=.
5526 for ac_exec_ext
in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_ac_ct_LD
="$ac_prog"
5529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5539 if test -n "$ac_ct_LD"; then
5540 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5541 echo "${ECHO_T}$ac_ct_LD" >&6; }
5543 { echo "$as_me:$LINENO: result: no" >&5
5544 echo "${ECHO_T}no" >&6; }
5548 test -n "$ac_ct_LD" && break
5551 if test "x$ac_ct_LD" = x
; then
5554 case $cross_compiling:$ac_tool_warned in
5556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5557 whose name does not start with the host triplet. If you think this
5558 configuration is useful to you, please write to autoconf@gnu.org." >&5
5559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5560 whose name does not start with the host triplet. If you think this
5561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5562 ac_tool_warned
=yes ;;
5568 if test -n "$ac_tool_prefix"; then
5569 for ac_prog
in nm gnm
5571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5572 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5575 if test "${ac_cv_prog_NM+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 if test -n "$NM"; then
5579 ac_cv_prog_NM
="$NM" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588 ac_cv_prog_NM
="$ac_tool_prefix$ac_prog"
5589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 if test -n "$NM"; then
5600 { echo "$as_me:$LINENO: result: $NM" >&5
5601 echo "${ECHO_T}$NM" >&6; }
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5608 test -n "$NM" && break
5611 if test -z "$NM"; then
5613 for ac_prog
in nm gnm
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy
$ac_prog; ac_word
=$2
5617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5619 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 if test -n "$ac_ct_NM"; then
5623 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir
=.
5630 for ac_exec_ext
in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_prog_ac_ct_NM
="$ac_prog"
5633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5643 if test -n "$ac_ct_NM"; then
5644 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5645 echo "${ECHO_T}$ac_ct_NM" >&6; }
5647 { echo "$as_me:$LINENO: result: no" >&5
5648 echo "${ECHO_T}no" >&6; }
5652 test -n "$ac_ct_NM" && break
5655 if test "x$ac_ct_NM" = x
; then
5658 case $cross_compiling:$ac_tool_warned in
5660 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5661 whose name does not start with the host triplet. If you think this
5662 configuration is useful to you, please write to autoconf@gnu.org." >&5
5663 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5664 whose name does not start with the host triplet. If you think this
5665 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5666 ac_tool_warned
=yes ;;
5672 if test -n "$ac_tool_prefix"; then
5673 for ac_prog
in ar gar
5675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5676 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5679 if test "${ac_cv_prog_AR+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 if test -n "$AR"; then
5683 ac_cv_prog_AR
="$AR" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5692 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 if test -n "$AR"; then
5704 { echo "$as_me:$LINENO: result: $AR" >&5
5705 echo "${ECHO_T}$AR" >&6; }
5707 { echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6; }
5712 test -n "$AR" && break
5715 if test -z "$AR"; then
5717 for ac_prog
in ar gar
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy
$ac_prog; ac_word
=$2
5721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 if test -n "$ac_ct_AR"; then
5727 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_prog_ac_ct_AR
="$ac_prog"
5737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5747 if test -n "$ac_ct_AR"; then
5748 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5749 echo "${ECHO_T}$ac_ct_AR" >&6; }
5751 { echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6; }
5756 test -n "$ac_ct_AR" && break
5759 if test "x$ac_ct_AR" = x
; then
5762 case $cross_compiling:$ac_tool_warned in
5764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5765 whose name does not start with the host triplet. If you think this
5766 configuration is useful to you, please write to autoconf@gnu.org." >&5
5767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5768 whose name does not start with the host triplet. If you think this
5769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5770 ac_tool_warned
=yes ;;
5778 if test -n "$ac_tool_prefix"; then
5779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5780 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5783 if test "${ac_cv_prog_RANLIB+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 if test -n "$RANLIB"; then
5787 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir
=.
5794 for ac_exec_ext
in '' $ac_executable_extensions; do
5795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 RANLIB
=$ac_cv_prog_RANLIB
5807 if test -n "$RANLIB"; then
5808 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5809 echo "${ECHO_T}$RANLIB" >&6; }
5811 { echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6; }
5817 if test -z "$ac_cv_prog_RANLIB"; then
5818 ac_ct_RANLIB
=$RANLIB
5819 # Extract the first word of "ranlib", so it can be a program name with args.
5820 set dummy ranlib
; ac_word
=$2
5821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5823 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 if test -n "$ac_ct_RANLIB"; then
5827 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir
=.
5834 for ac_exec_ext
in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5847 if test -n "$ac_ct_RANLIB"; then
5848 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5849 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5851 { echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6; }
5855 if test "x$ac_ct_RANLIB" = x
; then
5858 case $cross_compiling:$ac_tool_warned in
5860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5861 whose name does not start with the host triplet. If you think this
5862 configuration is useful to you, please write to autoconf@gnu.org." >&5
5863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5864 whose name does not start with the host triplet. If you think this
5865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5866 ac_tool_warned
=yes ;;
5868 RANLIB
=$ac_ct_RANLIB
5871 RANLIB
="$ac_cv_prog_RANLIB"
5874 if test -n "$ac_tool_prefix"; then
5875 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5876 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5879 if test "${ac_cv_prog_STRIP+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 if test -n "$STRIP"; then
5883 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir
=.
5890 for ac_exec_ext
in '' $ac_executable_extensions; do
5891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5892 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 STRIP
=$ac_cv_prog_STRIP
5903 if test -n "$STRIP"; then
5904 { echo "$as_me:$LINENO: result: $STRIP" >&5
5905 echo "${ECHO_T}$STRIP" >&6; }
5907 { echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6; }
5913 if test -z "$ac_cv_prog_STRIP"; then
5915 # Extract the first word of "strip", so it can be a program name with args.
5916 set dummy strip
; ac_word
=$2
5917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 if test -n "$ac_ct_STRIP"; then
5923 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir
=.
5930 for ac_exec_ext
in '' $ac_executable_extensions; do
5931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932 ac_cv_prog_ac_ct_STRIP
="strip"
5933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5943 if test -n "$ac_ct_STRIP"; then
5944 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5945 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5947 { echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6; }
5951 if test "x$ac_ct_STRIP" = x
; then
5954 case $cross_compiling:$ac_tool_warned in
5956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5957 whose name does not start with the host triplet. If you think this
5958 configuration is useful to you, please write to autoconf@gnu.org." >&5
5959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5960 whose name does not start with the host triplet. If you think this
5961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5962 ac_tool_warned
=yes ;;
5967 STRIP
="$ac_cv_prog_STRIP"
5970 if test -n "$ac_tool_prefix"; then
5971 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5972 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5975 if test "${ac_cv_prog_WINDRES+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 if test -n "$WINDRES"; then
5979 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir
=.
5986 for ac_exec_ext
in '' $ac_executable_extensions; do
5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5988 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 WINDRES
=$ac_cv_prog_WINDRES
5999 if test -n "$WINDRES"; then
6000 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6001 echo "${ECHO_T}$WINDRES" >&6; }
6003 { echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6; }
6009 if test -z "$ac_cv_prog_WINDRES"; then
6010 ac_ct_WINDRES
=$WINDRES
6011 # Extract the first word of "windres", so it can be a program name with args.
6012 set dummy windres
; ac_word
=$2
6013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6015 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 if test -n "$ac_ct_WINDRES"; then
6019 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir
=.
6026 for ac_exec_ext
in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_ac_ct_WINDRES
="windres"
6029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6039 if test -n "$ac_ct_WINDRES"; then
6040 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6041 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6043 { echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6; }
6047 if test "x$ac_ct_WINDRES" = x
; then
6050 case $cross_compiling:$ac_tool_warned in
6052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6053 whose name does not start with the host triplet. If you think this
6054 configuration is useful to you, please write to autoconf@gnu.org." >&5
6055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6056 whose name does not start with the host triplet. If you think this
6057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6058 ac_tool_warned
=yes ;;
6060 WINDRES
=$ac_ct_WINDRES
6063 WINDRES
="$ac_cv_prog_WINDRES"
6066 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6067 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6069 if test "$LN_S" = "ln -s"; then
6070 { echo "$as_me:$LINENO: result: yes" >&5
6071 echo "${ECHO_T}yes" >&6; }
6073 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6074 echo "${ECHO_T}no, using $LN_S" >&6; }
6077 { echo "$as_me:$LINENO: checking whether ln works" >&5
6078 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6079 rm -f conf$$ conf$$.
file
6081 if ln conf$$.
file conf$$
2>/dev
/null
; then
6084 { echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6; }
6089 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6090 echo "${ECHO_T}no, using $LN" >&6; }
6092 rm -f conf$$ conf$$.
file
6093 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6094 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6095 if test "${ac_cv_path_GREP+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 # Extract the first word of "grep ggrep" to use in msg output
6099 if test -z "$GREP"; then
6100 set dummy
grep ggrep
; ac_prog_name
=$2
6101 if test "${ac_cv_path_GREP+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 ac_path_GREP_found
=false
6105 # Loop through the user's path and test for each of PROGNAME-LIST
6106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6107 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6110 test -z "$as_dir" && as_dir
=.
6111 for ac_prog
in grep ggrep
; do
6112 for ac_exec_ext
in '' $ac_executable_extensions; do
6113 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6114 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6115 # Check for GNU ac_path_GREP and select it if it is found.
6116 # Check for GNU $ac_path_GREP
6117 case `"$ac_path_GREP" --version 2>&1` in
6119 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6122 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6125 cat "conftest.in" "conftest.in" >"conftest.tmp"
6126 mv "conftest.tmp" "conftest.in"
6127 cp "conftest.in" "conftest.nl"
6128 echo 'GREP' >> "conftest.nl"
6129 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6130 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6131 ac_count
=`expr $ac_count + 1`
6132 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6133 # Best one so far, save it but keep looking for a better one
6134 ac_cv_path_GREP
="$ac_path_GREP"
6135 ac_path_GREP_max
=$ac_count
6137 # 10*(2^10) chars as input seems more than enough
6138 test $ac_count -gt 10 && break
6140 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6144 $ac_path_GREP_found && break 3
6154 GREP
="$ac_cv_path_GREP"
6155 if test -z "$GREP"; then
6156 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6157 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6158 { (exit 1); exit 1; }; }
6162 ac_cv_path_GREP
=$GREP
6167 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6168 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6169 GREP
="$ac_cv_path_GREP"
6172 { echo "$as_me:$LINENO: checking for egrep" >&5
6173 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6174 if test "${ac_cv_path_EGREP+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6178 then ac_cv_path_EGREP
="$GREP -E"
6180 # Extract the first word of "egrep" to use in msg output
6181 if test -z "$EGREP"; then
6182 set dummy
egrep; ac_prog_name
=$2
6183 if test "${ac_cv_path_EGREP+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 ac_path_EGREP_found
=false
6187 # Loop through the user's path and test for each of PROGNAME-LIST
6188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6189 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6192 test -z "$as_dir" && as_dir
=.
6193 for ac_prog
in egrep; do
6194 for ac_exec_ext
in '' $ac_executable_extensions; do
6195 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6196 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6197 # Check for GNU ac_path_EGREP and select it if it is found.
6198 # Check for GNU $ac_path_EGREP
6199 case `"$ac_path_EGREP" --version 2>&1` in
6201 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6204 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6207 cat "conftest.in" "conftest.in" >"conftest.tmp"
6208 mv "conftest.tmp" "conftest.in"
6209 cp "conftest.in" "conftest.nl"
6210 echo 'EGREP' >> "conftest.nl"
6211 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6212 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6213 ac_count
=`expr $ac_count + 1`
6214 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6215 # Best one so far, save it but keep looking for a better one
6216 ac_cv_path_EGREP
="$ac_path_EGREP"
6217 ac_path_EGREP_max
=$ac_count
6219 # 10*(2^10) chars as input seems more than enough
6220 test $ac_count -gt 10 && break
6222 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6226 $ac_path_EGREP_found && break 3
6236 EGREP
="$ac_cv_path_EGREP"
6237 if test -z "$EGREP"; then
6238 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6239 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6240 { (exit 1); exit 1; }; }
6244 ac_cv_path_EGREP
=$EGREP
6250 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6251 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6252 EGREP
="$ac_cv_path_EGREP"
6255 # Extract the first word of "ldconfig", so it can be a program name with args.
6256 set dummy ldconfig
; ac_word
=$2
6257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6259 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6268 for as_dir
in /sbin
/usr
/sbin
$PATH
6271 test -z "$as_dir" && as_dir
=.
6272 for ac_exec_ext
in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6286 LDCONFIG
=$ac_cv_path_LDCONFIG
6287 if test -n "$LDCONFIG"; then
6288 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6289 echo "${ECHO_T}$LDCONFIG" >&6; }
6291 { echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6; }
6296 # Find a good install program. We prefer a C program (faster),
6297 # so one script is as good as another. But avoid the broken or
6298 # incompatible versions:
6299 # SysV /etc/install, /usr/sbin/install
6300 # SunOS /usr/etc/install
6301 # IRIX /sbin/install
6303 # AmigaOS /C/install, which installs bootblocks on floppy discs
6304 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6305 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6306 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6307 # OS/2's system install, which has a completely different semantic
6308 # ./install, which can be erroneously created by make from ./install.sh.
6309 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6310 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6311 if test -z "$INSTALL"; then
6312 if test "${ac_cv_path_install+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir
=.
6320 # Account for people who put trailing slashes in PATH elements.
6322 .
/ | .
// |
/cC
/* | \
6323 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6324 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6327 # OSF1 and SCO ODT 3.0 have their own names for install.
6328 # Don't use installbsd from OSF since it installs stuff as root
6330 for ac_prog
in ginstall scoinst
install; do
6331 for ac_exec_ext
in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6333 if test $ac_prog = install &&
6334 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6335 # AIX install. It has an incompatible calling convention.
6337 elif test $ac_prog = install &&
6338 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6339 # program-specific install script used by HP pwplus--don't use.
6342 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6355 if test "${ac_cv_path_install+set}" = set; then
6356 INSTALL
=$ac_cv_path_install
6358 # As a last resort, use the slow shell script. Don't cache a
6359 # value for INSTALL within a source directory, because that will
6360 # break other packages using the cache if that directory is
6361 # removed, or if the value is a relative name.
6362 INSTALL
=$ac_install_sh
6365 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6366 echo "${ECHO_T}$INSTALL" >&6; }
6368 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6369 # It thinks the first close brace ends the variable substitution.
6370 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6372 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6374 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6377 [\\/$
]* | ?
:[\\/]* ) ;;
6378 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6381 for ac_prog
in lclint lint
6383 # Extract the first word of "$ac_prog", so it can be a program name with args.
6384 set dummy
$ac_prog; ac_word
=$2
6385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6387 if test "${ac_cv_prog_LINT+set}" = set; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 if test -n "$LINT"; then
6391 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir
=.
6398 for ac_exec_ext
in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_LINT
="$ac_prog"
6401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 LINT
=$ac_cv_prog_LINT
6411 if test -n "$LINT"; then
6412 { echo "$as_me:$LINENO: result: $LINT" >&5
6413 echo "${ECHO_T}$LINT" >&6; }
6415 { echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6; }
6420 test -n "$LINT" && break
6423 if test "$LINT" = "lint"
6425 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6430 for ac_prog
in fontforge
6432 # Extract the first word of "$ac_prog", so it can be a program name with args.
6433 set dummy
$ac_prog; ac_word
=$2
6434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6436 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 if test -n "$FONTFORGE"; then
6440 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir
=.
6447 for ac_exec_ext
in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_FONTFORGE
="$ac_prog"
6450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 FONTFORGE
=$ac_cv_prog_FONTFORGE
6460 if test -n "$FONTFORGE"; then
6461 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6462 echo "${ECHO_T}$FONTFORGE" >&6; }
6464 { echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6; }
6469 test -n "$FONTFORGE" && break
6471 test -n "$FONTFORGE" || FONTFORGE
="false"
6473 for ac_prog
in pkg-config
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy
$ac_prog; ac_word
=$2
6477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6479 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 if test -n "$PKG_CONFIG"; then
6483 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir
=.
6490 for ac_exec_ext
in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6503 if test -n "$PKG_CONFIG"; then
6504 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6505 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6512 test -n "$PKG_CONFIG" && break
6514 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6518 # Extract the first word of "$ac_prog", so it can be a program name with args.
6519 set dummy
$ac_prog; ac_word
=$2
6520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6522 if test "${ac_cv_prog_RSVG+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 if test -n "$RSVG"; then
6526 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir
=.
6533 for ac_exec_ext
in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_RSVG
="$ac_prog"
6536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 RSVG
=$ac_cv_prog_RSVG
6546 if test -n "$RSVG"; then
6547 { echo "$as_me:$LINENO: result: $RSVG" >&5
6548 echo "${ECHO_T}$RSVG" >&6; }
6550 { echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6; }
6555 test -n "$RSVG" && break
6557 test -n "$RSVG" || RSVG
="false"
6559 for ac_prog
in icotool
6561 # Extract the first word of "$ac_prog", so it can be a program name with args.
6562 set dummy
$ac_prog; ac_word
=$2
6563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6565 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 if test -n "$ICOTOOL"; then
6569 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6575 test -z "$as_dir" && as_dir
=.
6576 for ac_exec_ext
in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_ICOTOOL
="$ac_prog"
6579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 ICOTOOL
=$ac_cv_prog_ICOTOOL
6589 if test -n "$ICOTOOL"; then
6590 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6591 echo "${ECHO_T}$ICOTOOL" >&6; }
6593 { echo "$as_me:$LINENO: result: no" >&5
6594 echo "${ECHO_T}no" >&6; }
6598 test -n "$ICOTOOL" && break
6600 test -n "$ICOTOOL" || ICOTOOL
="false"
6603 if test "${enable_maintainer_mode+set}" = set
6605 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6606 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6607 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6612 # Extract the first word of "prelink", so it can be a program name with args.
6613 set dummy prelink
; ac_word
=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_path_PRELINK+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6625 for as_dir
in /sbin
/usr
/sbin
$PATH
6628 test -z "$as_dir" && as_dir
=.
6629 for ac_exec_ext
in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6643 PRELINK
=$ac_cv_path_PRELINK
6644 if test -n "$PRELINK"; then
6645 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6646 echo "${ECHO_T}$PRELINK" >&6; }
6648 { echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6; }
6658 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6659 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6660 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 ac_check_lib_save_LIBS
=$LIBS
6665 cat >conftest.
$ac_ext <<_ACEOF
6668 cat confdefs.h
>>conftest.
$ac_ext
6669 cat >>conftest.
$ac_ext <<_ACEOF
6670 /* end confdefs.h. */
6672 /* Override any GCC internal prototype to avoid an error.
6673 Use char because int might match the return type of a GCC
6674 builtin and then its argument prototype would still apply. */
6678 char i386_set_ldt ();
6682 return i386_set_ldt ();
6687 rm -f conftest.
$ac_objext conftest
$ac_exeext
6688 if { (ac_try
="$ac_link"
6690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6691 *) ac_try_echo=$ac_try;;
6693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6694 (eval "$ac_link") 2>conftest.er1
6696 grep -v '^ *+' conftest.er1 >conftest.err
6698 cat conftest.err >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); } && {
6701 test -z "$ac_c_werror_flag" ||
6702 test ! -s conftest.err
6703 } && test -s conftest$ac_exeext &&
6704 $as_test_x conftest$ac_exeext; then
6705 ac_cv_lib_i386_i386_set_ldt=yes
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6710 ac_cv_lib_i386_i386_set_ldt=no
6713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6714 conftest$ac_exeext conftest.$ac_ext
6715 LIBS=$ac_check_lib_save_LIBS
6717 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6718 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6719 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6720 cat >>confdefs.h <<_ACEOF
6721 #define HAVE_LIBI386 1
6729 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6730 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6731 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 ac_check_lib_save_LIBS=$LIBS
6735 LIBS="-lossaudio $LIBS"
6736 cat >conftest.$ac_ext <<_ACEOF
6739 cat confdefs.h >>conftest.$ac_ext
6740 cat >>conftest.$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6743 /* Override any GCC internal prototype to avoid an error.
6744 Use char because int might match the return type of a GCC
6745 builtin and then its argument prototype would still apply. */
6753 return _oss_ioctl ();
6758 rm -f conftest.$ac_objext conftest$ac_exeext
6759 if { (ac_try="$ac_link"
6761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6762 *) ac_try_echo
=$ac_try;;
6764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6765 (eval "$ac_link") 2>conftest.er1
6767 grep -v '^ *+' conftest.er1
>conftest.err
6769 cat conftest.err
>&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); } && {
6772 test -z "$ac_c_werror_flag" ||
6773 test ! -s conftest.err
6774 } && test -s conftest
$ac_exeext &&
6775 $as_test_x conftest
$ac_exeext; then
6776 ac_cv_lib_ossaudio__oss_ioctl
=yes
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6781 ac_cv_lib_ossaudio__oss_ioctl
=no
6784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6785 conftest
$ac_exeext conftest.
$ac_ext
6786 LIBS
=$ac_check_lib_save_LIBS
6788 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6789 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6790 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6791 cat >>confdefs.h
<<_ACEOF
6792 #define HAVE_LIBOSSAUDIO 1
6795 LIBS
="-lossaudio $LIBS"
6799 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6800 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6801 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6802 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 ac_check_lib_save_LIBS
=$LIBS
6805 LIBS
="-lpthread $LIBS"
6806 cat >conftest.
$ac_ext <<_ACEOF
6809 cat confdefs.h
>>conftest.
$ac_ext
6810 cat >>conftest.
$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6813 /* Override any GCC internal prototype to avoid an error.
6814 Use char because int might match the return type of a GCC
6815 builtin and then its argument prototype would still apply. */
6819 char pthread_create ();
6823 return pthread_create ();
6828 rm -f conftest.
$ac_objext conftest
$ac_exeext
6829 if { (ac_try
="$ac_link"
6831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_link") 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } && {
6842 test -z "$ac_c_werror_flag" ||
6843 test ! -s conftest.err
6844 } && test -s conftest$ac_exeext &&
6845 $as_test_x conftest$ac_exeext; then
6846 ac_cv_lib_pthread_pthread_create=yes
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 ac_cv_lib_pthread_pthread_create=no
6854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6855 conftest$ac_exeext conftest.$ac_ext
6856 LIBS=$ac_check_lib_save_LIBS
6858 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6859 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6860 if test $ac_cv_lib_pthread_pthread_create = yes; then
6861 LIBPTHREAD="-lpthread"
6880 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6881 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6882 if test "${ac_cv_header_stdc+set}" = set; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 cat >conftest.$ac_ext <<_ACEOF
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6904 rm -f conftest.$ac_objext
6905 if { (ac_try="$ac_compile"
6907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6908 *) ac_try_echo
=$ac_try;;
6910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6911 (eval "$ac_compile") 2>conftest.er1
6913 grep -v '^ *+' conftest.er1
>conftest.err
6915 cat conftest.err
>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } && {
6918 test -z "$ac_c_werror_flag" ||
6919 test ! -s conftest.err
6920 } && test -s conftest.
$ac_objext; then
6921 ac_cv_header_stdc
=yes
6923 echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.
$ac_ext >&5
6926 ac_cv_header_stdc
=no
6929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6931 if test $ac_cv_header_stdc = yes; then
6932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6933 cat >conftest.
$ac_ext <<_ACEOF
6936 cat confdefs.h
>>conftest.
$ac_ext
6937 cat >>conftest.
$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6943 $EGREP "memchr" >/dev
/null
2>&1; then
6946 ac_cv_header_stdc
=no
6952 if test $ac_cv_header_stdc = yes; then
6953 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6954 cat >conftest.
$ac_ext <<_ACEOF
6957 cat confdefs.h
>>conftest.
$ac_ext
6958 cat >>conftest.
$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6964 $EGREP "free" >/dev
/null
2>&1; then
6967 ac_cv_header_stdc
=no
6973 if test $ac_cv_header_stdc = yes; then
6974 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6975 if test "$cross_compiling" = yes; then
6978 cat >conftest.
$ac_ext <<_ACEOF
6981 cat confdefs.h
>>conftest.
$ac_ext
6982 cat >>conftest.
$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6986 #if ((' ' & 0x0FF) == 0x020)
6987 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6988 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6990 # define ISLOWER(c) \
6991 (('a' <= (c) && (c) <= 'i') \
6992 || ('j' <= (c) && (c) <= 'r') \
6993 || ('s' <= (c) && (c) <= 'z'))
6994 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6997 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7002 for (i = 0; i < 256; i++)
7003 if (XOR (islower (i), ISLOWER (i))
7004 || toupper (i) != TOUPPER (i))
7009 rm -f conftest
$ac_exeext
7010 if { (ac_try
="$ac_link"
7012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7013 *) ac_try_echo=$ac_try;;
7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7016 (eval "$ac_link") 2>&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7020 { (case "(($ac_try" in
7021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7022 *) ac_try_echo
=$ac_try;;
7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7025 (eval "$ac_try") 2>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); }; }; then
7031 echo "$as_me: program exited with status $ac_status" >&5
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.
$ac_ext >&5
7036 ac_cv_header_stdc
=no
7038 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7044 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7045 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7046 if test $ac_cv_header_stdc = yes; then
7048 cat >>confdefs.h
<<\_ACEOF
7049 #define STDC_HEADERS 1
7054 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7064 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7065 inttypes.h stdint.h unistd.h
7067 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7070 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6
7073 cat >conftest.
$ac_ext <<_ACEOF
7076 cat confdefs.h
>>conftest.
$ac_ext
7077 cat >>conftest.
$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7079 $ac_includes_default
7081 #include <$ac_header>
7083 rm -f conftest.
$ac_objext
7084 if { (ac_try
="$ac_compile"
7086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7087 *) ac_try_echo=$ac_try;;
7089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7090 (eval "$ac_compile") 2>conftest.er1
7092 grep -v '^ *+' conftest.er1 >conftest.err
7094 cat conftest.err >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } && {
7097 test -z "$ac_c_werror_flag" ||
7098 test ! -s conftest.err
7099 } && test -s conftest.$ac_objext; then
7100 eval "$as_ac_Header=yes"
7102 echo "$as_me: failed program was:" >&5
7103 sed 's/^/| /' conftest.$ac_ext >&5
7105 eval "$as_ac_Header=no"
7108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7110 ac_res=`eval echo '${'$as_ac_Header'}'`
7111 { echo "$as_me:$LINENO: result: $ac_res" >&5
7112 echo "${ECHO_T}$ac_res" >&6; }
7113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7114 cat >>confdefs.h <<_ACEOF
7115 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7235 AudioUnit/AudioUnit.h \
7237 CoreAudio/CoreAudio.h \
7238 DiskArbitration/DiskArbitration.h \
7252 fontconfig/fontconfig.h \
7278 machine/soundcard.h \
7283 netinet/in_systm.h \
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 ac_res=`eval echo '${'$as_ac_Header'}'`
7356 { echo "$as_me:$LINENO: result: $ac_res" >&5
7357 echo "${ECHO_T}$ac_res" >&6; }
7359 # Is the header compilable?
7360 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7362 cat >conftest.$ac_ext <<_ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7368 $ac_includes_default
7369 #include <$ac_header>
7371 rm -f conftest.$ac_objext
7372 if { (ac_try="$ac_compile"
7374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7375 *) ac_try_echo
=$ac_try;;
7377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7378 (eval "$ac_compile") 2>conftest.er1
7380 grep -v '^ *+' conftest.er1
>conftest.err
7382 cat conftest.err
>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && {
7385 test -z "$ac_c_werror_flag" ||
7386 test ! -s conftest.err
7387 } && test -s conftest.
$ac_objext; then
7388 ac_header_compiler
=yes
7390 echo "$as_me: failed program was:" >&5
7391 sed 's/^/| /' conftest.
$ac_ext >&5
7393 ac_header_compiler
=no
7396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7397 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7398 echo "${ECHO_T}$ac_header_compiler" >&6; }
7400 # Is the header present?
7401 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7403 cat >conftest.
$ac_ext <<_ACEOF
7406 cat confdefs.h
>>conftest.
$ac_ext
7407 cat >>conftest.
$ac_ext <<_ACEOF
7408 /* end confdefs.h. */
7409 #include <$ac_header>
7411 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7414 *) ac_try_echo=$ac_try;;
7416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7419 grep -v '^ *+' conftest.er1 >conftest.err
7421 cat conftest.err >&5
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); } >/dev/null && {
7424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7425 test ! -s conftest.err
7427 ac_header_preproc=yes
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7432 ac_header_preproc=no
7435 rm -f conftest.err conftest.$ac_ext
7436 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7437 echo "${ECHO_T}$ac_header_preproc" >&6; }
7439 # So? What about this header?
7440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7446 ac_header_preproc=yes
7449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7462 ## ------------------------------------ ##
7463 ## Report this to wine-devel@winehq.org ##
7464 ## ------------------------------------ ##
7466 ) | sed "s/^/$as_me: WARNING: /" >&2
7469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 eval "$as_ac_Header=\$ac_header_preproc"
7476 ac_res=`eval echo '${'$as_ac_Header'}'`
7477 { echo "$as_me:$LINENO: result: $ac_res" >&5
7478 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7490 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7491 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7492 if test "${ac_cv_header_stat_broken+set}" = set; then
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 cat >conftest.$ac_ext <<_ACEOF
7498 cat confdefs.h >>conftest.$ac_ext
7499 cat >>conftest.$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7501 #include <sys/types.h>
7502 #include <sys/stat.h>
7504 #if defined S_ISBLK && defined S_IFDIR
7505 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7508 #if defined S_ISBLK && defined S_IFCHR
7509 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7512 #if defined S_ISLNK && defined S_IFREG
7513 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7516 #if defined S_ISSOCK && defined S_IFREG
7517 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7521 rm -f conftest.$ac_objext
7522 if { (ac_try="$ac_compile"
7524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7525 *) ac_try_echo
=$ac_try;;
7527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7528 (eval "$ac_compile") 2>conftest.er1
7530 grep -v '^ *+' conftest.er1
>conftest.err
7532 cat conftest.err
>&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } && {
7535 test -z "$ac_c_werror_flag" ||
7536 test ! -s conftest.err
7537 } && test -s conftest.
$ac_objext; then
7538 ac_cv_header_stat_broken
=no
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.
$ac_ext >&5
7543 ac_cv_header_stat_broken
=yes
7546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7548 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7549 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7550 if test $ac_cv_header_stat_broken = yes; then
7552 cat >>confdefs.h
<<\_ACEOF
7553 #define STAT_MACROS_BROKEN 1
7564 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7569 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 cat >conftest.
$ac_ext <<_ACEOF
7575 cat confdefs.h
>>conftest.
$ac_ext
7576 cat >>conftest.
$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #include <sys/types.h>
7579 #ifdef HAVE_SYS_PARAM_H
7580 # include <sys/param.h>
7583 #include <$ac_header>
7585 rm -f conftest.
$ac_objext
7586 if { (ac_try
="$ac_compile"
7588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7589 *) ac_try_echo=$ac_try;;
7591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7592 (eval "$ac_compile") 2>conftest.er1
7594 grep -v '^ *+' conftest.er1 >conftest.err
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest.$ac_objext; then
7602 eval "$as_ac_Header=yes"
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.$ac_ext >&5
7607 eval "$as_ac_Header=no"
7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612 ac_res=`eval echo '${'$as_ac_Header'}'`
7613 { echo "$as_me:$LINENO: result: $ac_res" >&5
7614 echo "${ECHO_T}$ac_res" >&6; }
7615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7616 cat >>confdefs.h <<_ACEOF
7617 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7644 netinet/if_ether.h \
7652 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7653 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7656 echo $ECHO_N "(cached) $ECHO_C" >&6
7658 cat >conftest.$ac_ext <<_ACEOF
7661 cat confdefs.h >>conftest.$ac_ext
7662 cat >>conftest.$ac_ext <<_ACEOF
7663 /* end confdefs.h. */
7664 #include <sys/types.h>
7665 #ifdef HAVE_SYS_SOCKET_H
7666 # include <sys/socket.h>
7668 #ifdef HAVE_SYS_SOCKETVAR_H
7669 # include <sys/socketvar.h>
7671 #ifdef HAVE_NETINET_IN_H
7672 # include <netinet/in.h>
7674 #ifdef HAVE_NETINET_IP_H
7675 # include <netinet/ip.h>
7678 #include <$ac_header>
7680 rm -f conftest.$ac_objext
7681 if { (ac_try="$ac_compile"
7683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7684 *) ac_try_echo
=$ac_try;;
7686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7687 (eval "$ac_compile") 2>conftest.er1
7689 grep -v '^ *+' conftest.er1
>conftest.err
7691 cat conftest.err
>&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } && {
7694 test -z "$ac_c_werror_flag" ||
7695 test ! -s conftest.err
7696 } && test -s conftest.
$ac_objext; then
7697 eval "$as_ac_Header=yes"
7699 echo "$as_me: failed program was:" >&5
7700 sed 's/^/| /' conftest.
$ac_ext >&5
7702 eval "$as_ac_Header=no"
7705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7707 ac_res
=`eval echo '${'$as_ac_Header'}'`
7708 { echo "$as_me:$LINENO: result: $ac_res" >&5
7709 echo "${ECHO_T}$ac_res" >&6; }
7710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7711 cat >>confdefs.h
<<_ACEOF
7712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7724 for ac_header
in netinet
/tcp_var.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_timer.h
7726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7729 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 cat >conftest.
$ac_ext <<_ACEOF
7735 cat confdefs.h
>>conftest.
$ac_ext
7736 cat >>conftest.
$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 #include <sys/types.h>
7742 #ifdef HAVE_SYS_SOCKET_H
7743 # include <sys/socket.h>
7745 #ifdef HAVE_SYS_SOCKETVAR_H
7746 # include <sys/socketvar.h>
7748 #ifdef HAVE_NETINET_IN_H
7749 # include <netinet/in.h>
7751 #ifdef HAVE_NETINET_IP_H
7752 # include <netinet/ip.h>
7754 #ifdef HAVE_NETINET_IP_VAR_H
7755 # include <netinet/ip_var.h>
7757 #ifdef HAVE_NETINET_IP_ICMP_H
7758 # include <netinet/ip_icmp.h>
7760 #ifdef HAVE_NETINET_UDP_H
7761 # include <netinet/udp.h>
7763 #ifdef HAVE_NETINET_TCP_H
7764 # include <netinet/tcp.h>
7767 #include <$ac_header>
7769 rm -f conftest.
$ac_objext
7770 if { (ac_try
="$ac_compile"
7772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7773 *) ac_try_echo=$ac_try;;
7775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7776 (eval "$ac_compile") 2>conftest.er1
7778 grep -v '^ *+' conftest.er1 >conftest.err
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && {
7783 test -z "$ac_c_werror_flag" ||
7784 test ! -s conftest.err
7785 } && test -s conftest.$ac_objext; then
7786 eval "$as_ac_Header=yes"
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7791 eval "$as_ac_Header=no"
7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7796 ac_res=`eval echo '${'$as_ac_Header'}'`
7797 { echo "$as_me:$LINENO: result: $ac_res" >&5
7798 echo "${ECHO_T}$ac_res" >&6; }
7799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7800 cat >>confdefs.h <<_ACEOF
7801 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7810 for ac_header in linux/ipx.h
7812 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 cat >conftest.$ac_ext <<_ACEOF
7821 cat confdefs.h >>conftest.$ac_ext
7822 cat >>conftest.$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7824 #include <sys/types.h>
7825 #ifdef HAVE_ASM_TYPES_H
7826 # include <asm/types.h>
7828 #ifdef HAVE_SYS_SOCKET_H
7829 # include <sys/socket.h>
7832 #include <$ac_header>
7834 rm -f conftest.$ac_objext
7835 if { (ac_try="$ac_compile"
7837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7838 *) ac_try_echo
=$ac_try;;
7840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7841 (eval "$ac_compile") 2>conftest.er1
7843 grep -v '^ *+' conftest.er1
>conftest.err
7845 cat conftest.err
>&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } && {
7848 test -z "$ac_c_werror_flag" ||
7849 test ! -s conftest.err
7850 } && test -s conftest.
$ac_objext; then
7851 eval "$as_ac_Header=yes"
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.
$ac_ext >&5
7856 eval "$as_ac_Header=no"
7859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7861 ac_res
=`eval echo '${'$as_ac_Header'}'`
7862 { echo "$as_me:$LINENO: result: $ac_res" >&5
7863 echo "${ECHO_T}$ac_res" >&6; }
7864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7865 cat >>confdefs.h
<<_ACEOF
7866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7875 for ac_header
in resolv.h
7877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7880 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 cat >conftest.
$ac_ext <<_ACEOF
7886 cat confdefs.h
>>conftest.
$ac_ext
7887 cat >>conftest.
$ac_ext <<_ACEOF
7888 /* end confdefs.h. */
7889 #include <sys/types.h>
7890 #ifdef HAVE_SYS_SOCKET_H
7891 # include <sys/socket.h>
7893 #ifdef HAVE_NETINET_IN_H
7894 # include <netinet/in.h>
7896 #ifdef HAVE_ARPA_NAMESER_H
7897 # include <arpa/nameser.h>
7900 #include <$ac_header>
7902 rm -f conftest.
$ac_objext
7903 if { (ac_try
="$ac_compile"
7905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7906 *) ac_try_echo=$ac_try;;
7908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7909 (eval "$ac_compile") 2>conftest.er1
7911 grep -v '^ *+' conftest.er1 >conftest.err
7913 cat conftest.err >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); } && {
7916 test -z "$ac_c_werror_flag" ||
7917 test ! -s conftest.err
7918 } && test -s conftest.$ac_objext; then
7919 eval "$as_ac_Header=yes"
7921 echo "$as_me: failed program was:" >&5
7922 sed 's/^/| /' conftest.$ac_ext >&5
7924 eval "$as_ac_Header=no"
7927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7929 ac_res=`eval echo '${'$as_ac_Header'}'`
7930 { echo "$as_me:$LINENO: result: $ac_res" >&5
7931 echo "${ECHO_T}$ac_res" >&6; }
7932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7933 cat >>confdefs.h <<_ACEOF
7934 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7943 for ac_header in ucontext.h
7945 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7951 cat >conftest.$ac_ext <<_ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7959 #include <$ac_header>
7961 rm -f conftest.$ac_objext
7962 if { (ac_try="$ac_compile"
7964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7965 *) ac_try_echo
=$ac_try;;
7967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7968 (eval "$ac_compile") 2>conftest.er1
7970 grep -v '^ *+' conftest.er1
>conftest.err
7972 cat conftest.err
>&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } && {
7975 test -z "$ac_c_werror_flag" ||
7976 test ! -s conftest.err
7977 } && test -s conftest.
$ac_objext; then
7978 eval "$as_ac_Header=yes"
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.
$ac_ext >&5
7983 eval "$as_ac_Header=no"
7986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7988 ac_res
=`eval echo '${'$as_ac_Header'}'`
7989 { echo "$as_me:$LINENO: result: $ac_res" >&5
7990 echo "${ECHO_T}$ac_res" >&6; }
7991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7992 cat >>confdefs.h
<<_ACEOF
7993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8002 for ac_header
in sys
/thr.h
8004 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8007 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6
8010 cat >conftest.
$ac_ext <<_ACEOF
8013 cat confdefs.h
>>conftest.
$ac_ext
8014 cat >>conftest.
$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 #include <sys/types.h>
8017 #ifdef HAVE_UCONTEXT_H
8018 #include <ucontext.h>
8021 #include <$ac_header>
8023 rm -f conftest.
$ac_objext
8024 if { (ac_try
="$ac_compile"
8026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8032 grep -v '^ *+' conftest.er1 >conftest.err
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 eval "$as_ac_Header=yes"
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 eval "$as_ac_Header=no"
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8050 ac_res=`eval echo '${'$as_ac_Header'}'`
8051 { echo "$as_me:$LINENO: result: $ac_res" >&5
8052 echo "${ECHO_T}$ac_res" >&6; }
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8064 for ac_header in pthread_np.h
8066 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 cat >conftest.$ac_ext <<_ACEOF
8075 cat confdefs.h >>conftest.$ac_ext
8076 cat >>conftest.$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078 #ifdef HAVE_PTHREAD_H
8079 #include <pthread.h>
8082 #include <$ac_header>
8084 rm -f conftest.$ac_objext
8085 if { (ac_try="$ac_compile"
8087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8088 *) ac_try_echo
=$ac_try;;
8090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8091 (eval "$ac_compile") 2>conftest.er1
8093 grep -v '^ *+' conftest.er1
>conftest.err
8095 cat conftest.err
>&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } && {
8098 test -z "$ac_c_werror_flag" ||
8099 test ! -s conftest.err
8100 } && test -s conftest.
$ac_objext; then
8101 eval "$as_ac_Header=yes"
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.
$ac_ext >&5
8106 eval "$as_ac_Header=no"
8109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8111 ac_res
=`eval echo '${'$as_ac_Header'}'`
8112 { echo "$as_me:$LINENO: result: $ac_res" >&5
8113 echo "${ECHO_T}$ac_res" >&6; }
8114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8115 cat >>confdefs.h
<<_ACEOF
8116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8125 for ac_header
in linux
/videodev.h
8127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8128 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8130 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 cat >conftest.
$ac_ext <<_ACEOF
8136 cat confdefs.h
>>conftest.
$ac_ext
8137 cat >>conftest.
$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8139 #ifdef HAVE_SYS_TIME_H
8140 #include <sys/time.h>
8142 #include <sys/types.h>
8143 #ifdef HAVE_ASM_TYPES_H
8144 #include <asm/types.h>
8147 #include <$ac_header>
8149 rm -f conftest.
$ac_objext
8150 if { (ac_try
="$ac_compile"
8152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8153 *) ac_try_echo=$ac_try;;
8155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8156 (eval "$ac_compile") 2>conftest.er1
8158 grep -v '^ *+' conftest.er1 >conftest.err
8160 cat conftest.err >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); } && {
8163 test -z "$ac_c_werror_flag" ||
8164 test ! -s conftest.err
8165 } && test -s conftest.$ac_objext; then
8166 eval "$as_ac_Header=yes"
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.$ac_ext >&5
8171 eval "$as_ac_Header=no"
8174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8176 ac_res=`eval echo '${'$as_ac_Header'}'`
8177 { echo "$as_me:$LINENO: result: $ac_res" >&5
8178 echo "${ECHO_T}$ac_res" >&6; }
8179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8180 cat >>confdefs.h <<_ACEOF
8181 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8190 for ac_header in linux/capi.h
8192 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8196 echo $ECHO_N "(cached) $ECHO_C" >&6
8198 cat >conftest.$ac_ext <<_ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8206 #include <$ac_header>
8208 rm -f conftest.$ac_objext
8209 if { (ac_try="$ac_compile"
8211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8212 *) ac_try_echo
=$ac_try;;
8214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8215 (eval "$ac_compile") 2>conftest.er1
8217 grep -v '^ *+' conftest.er1
>conftest.err
8219 cat conftest.err
>&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } && {
8222 test -z "$ac_c_werror_flag" ||
8223 test ! -s conftest.err
8224 } && test -s conftest.
$ac_objext; then
8225 eval "$as_ac_Header=yes"
8227 echo "$as_me: failed program was:" >&5
8228 sed 's/^/| /' conftest.
$ac_ext >&5
8230 eval "$as_ac_Header=no"
8233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8235 ac_res
=`eval echo '${'$as_ac_Header'}'`
8236 { echo "$as_me:$LINENO: result: $ac_res" >&5
8237 echo "${ECHO_T}$ac_res" >&6; }
8238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8239 cat >>confdefs.h
<<_ACEOF
8240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8251 DLLFLAGS
="-D_REENTRANT"
8265 # Extract the first word of "ldd", so it can be a program name with args.
8266 set dummy ldd
; ac_word
=$2
8267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8269 if test "${ac_cv_path_LDD+set}" = set; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8278 as_dummy
="/sbin:/usr/sbin:$PATH"
8279 for as_dir
in $as_dummy
8282 test -z "$as_dir" && as_dir
=.
8283 for ac_exec_ext
in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8293 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8298 if test -n "$LDD"; then
8299 { echo "$as_me:$LINENO: result: $LDD" >&5
8300 echo "${ECHO_T}$LDD" >&6; }
8302 { echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6; }
8310 if test -n "$ac_tool_prefix"; then
8311 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8312 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8315 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8316 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 if test -n "$DLLTOOL"; then
8319 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir
=.
8326 for ac_exec_ext
in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8338 DLLTOOL
=$ac_cv_prog_DLLTOOL
8339 if test -n "$DLLTOOL"; then
8340 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8341 echo "${ECHO_T}$DLLTOOL" >&6; }
8343 { echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6; }
8349 if test -z "$ac_cv_prog_DLLTOOL"; then
8350 ac_ct_DLLTOOL
=$DLLTOOL
8351 # Extract the first word of "dlltool", so it can be a program name with args.
8352 set dummy dlltool
; ac_word
=$2
8353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8355 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 if test -n "$ac_ct_DLLTOOL"; then
8359 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8365 test -z "$as_dir" && as_dir
=.
8366 for ac_exec_ext
in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8379 if test -n "$ac_ct_DLLTOOL"; then
8380 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8381 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8383 { echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6; }
8387 if test "x$ac_ct_DLLTOOL" = x
; then
8390 case $cross_compiling:$ac_tool_warned in
8392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8393 whose name does not start with the host triplet. If you think this
8394 configuration is useful to you, please write to autoconf@gnu.org." >&5
8395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8396 whose name does not start with the host triplet. If you think this
8397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8398 ac_tool_warned
=yes ;;
8400 DLLTOOL
=$ac_ct_DLLTOOL
8403 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8406 if test -n "$ac_tool_prefix"; then
8407 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8408 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8411 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 if test -n "$DLLWRAP"; then
8415 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8421 test -z "$as_dir" && as_dir
=.
8422 for ac_exec_ext
in '' $ac_executable_extensions; do
8423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8424 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 DLLWRAP
=$ac_cv_prog_DLLWRAP
8435 if test -n "$DLLWRAP"; then
8436 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8437 echo "${ECHO_T}$DLLWRAP" >&6; }
8439 { echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6; }
8445 if test -z "$ac_cv_prog_DLLWRAP"; then
8446 ac_ct_DLLWRAP
=$DLLWRAP
8447 # Extract the first word of "dllwrap", so it can be a program name with args.
8448 set dummy dllwrap
; ac_word
=$2
8449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8451 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8452 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 if test -n "$ac_ct_DLLWRAP"; then
8455 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8461 test -z "$as_dir" && as_dir
=.
8462 for ac_exec_ext
in '' $ac_executable_extensions; do
8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8464 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8474 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8475 if test -n "$ac_ct_DLLWRAP"; then
8476 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8477 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8479 { echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6; }
8483 if test "x$ac_ct_DLLWRAP" = x
; then
8486 case $cross_compiling:$ac_tool_warned in
8488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8489 whose name does not start with the host triplet. If you think this
8490 configuration is useful to you, please write to autoconf@gnu.org." >&5
8491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8492 whose name does not start with the host triplet. If you think this
8493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8494 ac_tool_warned
=yes ;;
8496 DLLWRAP
=$ac_ct_DLLWRAP
8499 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8502 if test -n "$ac_tool_prefix"; then
8503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8504 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8507 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8510 if test -n "$MINGWAR"; then
8511 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8517 test -z "$as_dir" && as_dir
=.
8518 for ac_exec_ext
in '' $ac_executable_extensions; do
8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8520 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8530 MINGWAR
=$ac_cv_prog_MINGWAR
8531 if test -n "$MINGWAR"; then
8532 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8533 echo "${ECHO_T}$MINGWAR" >&6; }
8535 { echo "$as_me:$LINENO: result: no" >&5
8536 echo "${ECHO_T}no" >&6; }
8541 if test -z "$ac_cv_prog_MINGWAR"; then
8542 ac_ct_MINGWAR
=$MINGWAR
8543 # Extract the first word of "ar", so it can be a program name with args.
8544 set dummy
ar; ac_word
=$2
8545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8547 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8548 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 if test -n "$ac_ct_MINGWAR"; then
8551 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8557 test -z "$as_dir" && as_dir
=.
8558 for ac_exec_ext
in '' $ac_executable_extensions; do
8559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8560 ac_cv_prog_ac_ct_MINGWAR
="ar"
8561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8570 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8571 if test -n "$ac_ct_MINGWAR"; then
8572 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8573 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8575 { echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6; }
8579 if test "x$ac_ct_MINGWAR" = x
; then
8582 case $cross_compiling:$ac_tool_warned in
8584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8585 whose name does not start with the host triplet. If you think this
8586 configuration is useful to you, please write to autoconf@gnu.org." >&5
8587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8588 whose name does not start with the host triplet. If you think this
8589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8590 ac_tool_warned
=yes ;;
8592 MINGWAR
=$ac_ct_MINGWAR
8595 MINGWAR
="$ac_cv_prog_MINGWAR"
8598 if test "$DLLWRAP" = "false"; then
8610 DLLFLAGS
="$DLLFLAGS -fPIC"
8611 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8612 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8613 LDSHARED
="\$(CC) -dynamiclib"
8615 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8616 SECURITYLIB
="-framework Security -framework CoreFoundation"
8618 COREFOUNDATIONLIB
="-framework CoreFoundation"
8620 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8622 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8624 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8626 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8629 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8631 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8636 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8638 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8640 CARBONLIB
="-framework Carbon"
8642 QUARTZFILES
='$(QUARTZFILES)'
8646 DLLFLAGS
="$DLLFLAGS -fPIC"
8648 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8649 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8650 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 ac_wine_try_cflags_saved
=$CFLAGS
8654 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8655 cat >conftest.
$ac_ext <<_ACEOF
8658 rm -f conftest.
$ac_objext conftest
$ac_exeext
8659 if { (ac_try
="$ac_link"
8661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8662 *) ac_try_echo=$ac_try;;
8664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8665 (eval "$ac_link") 2>conftest.er1
8667 grep -v '^ *+' conftest.er1 >conftest.err
8669 cat conftest.err >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); } && {
8672 test -z "$ac_c_werror_flag" ||
8673 test ! -s conftest.err
8674 } && test -s conftest$ac_exeext &&
8675 $as_test_x conftest$ac_exeext; then
8676 ac_cv_c_dll_gnuelf="yes"
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8681 ac_cv_c_dll_gnuelf="no"
8684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8689 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8690 if test "$ac_cv_c_dll_gnuelf" = "yes"
8692 LDSHARED="\$(CC) -shared"
8693 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8694 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8695 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8696 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8701 cat >conftest.$ac_ext <<_ACEOF
8704 cat confdefs.h >>conftest.$ac_ext
8705 cat >>conftest.$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8716 rm -f conftest.$ac_objext conftest$ac_exeext
8717 if { (ac_try="$ac_link"
8719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8720 *) ac_try_echo
=$ac_try;;
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_link") 2>conftest.er1
8725 grep -v '^ *+' conftest.er1
>conftest.err
8727 cat conftest.err
>&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); } && {
8730 test -z "$ac_c_werror_flag" ||
8731 test ! -s conftest.err
8732 } && test -s conftest
$ac_exeext &&
8733 $as_test_x conftest
$ac_exeext; then
8734 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.
$ac_ext >&5
8739 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8743 conftest
$ac_exeext conftest.
$ac_ext
8744 CFLAGS
=$ac_wine_try_cflags_saved
8746 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8747 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8748 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8749 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8751 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8752 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8753 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 ac_wine_try_cflags_saved
=$CFLAGS
8757 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8758 cat >conftest.
$ac_ext <<_ACEOF
8761 cat confdefs.h
>>conftest.
$ac_ext
8762 cat >>conftest.
$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8773 rm -f conftest.
$ac_objext conftest
$ac_exeext
8774 if { (ac_try
="$ac_link"
8776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8777 *) ac_try_echo=$ac_try;;
8779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8780 (eval "$ac_link") 2>conftest.er1
8782 grep -v '^ *+' conftest.er1 >conftest.err
8784 cat conftest.err >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } && {
8787 test -z "$ac_c_werror_flag" ||
8788 test ! -s conftest.err
8789 } && test -s conftest$ac_exeext &&
8790 $as_test_x conftest$ac_exeext; then
8791 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8793 echo "$as_me: failed program was:" >&5
8794 sed 's/^/| /' conftest.$ac_ext >&5
8796 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8804 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8805 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8806 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8812 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8813 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8814 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8819 cat >conftest.$ac_ext <<_ACEOF
8822 cat confdefs.h >>conftest.$ac_ext
8823 cat >>conftest.$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8834 rm -f conftest.$ac_objext conftest$ac_exeext
8835 if { (ac_try="$ac_link"
8837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8838 *) ac_try_echo
=$ac_try;;
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_link") 2>conftest.er1
8843 grep -v '^ *+' conftest.er1
>conftest.err
8845 cat conftest.err
>&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && {
8848 test -z "$ac_c_werror_flag" ||
8849 test ! -s conftest.err
8850 } && test -s conftest
$ac_exeext &&
8851 $as_test_x conftest
$ac_exeext; then
8852 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.
$ac_ext >&5
8857 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8861 conftest
$ac_exeext conftest.
$ac_ext
8862 CFLAGS
=$ac_wine_try_cflags_saved
8864 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8865 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8866 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8867 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8871 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8872 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8873 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 ac_wine_try_cflags_saved
=$CFLAGS
8877 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8878 cat >conftest.
$ac_ext <<_ACEOF
8881 cat confdefs.h
>>conftest.
$ac_ext
8882 cat >>conftest.
$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8893 rm -f conftest.
$ac_objext conftest
$ac_exeext
8894 if { (ac_try
="$ac_link"
8896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_link") 2>conftest.er1
8902 grep -v '^ *+' conftest.er1 >conftest.err
8904 cat conftest.err >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } && {
8907 test -z "$ac_c_werror_flag" ||
8908 test ! -s conftest.err
8909 } && test -s conftest$ac_exeext &&
8910 $as_test_x conftest$ac_exeext; then
8911 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8920 conftest$ac_exeext conftest.$ac_ext
8921 CFLAGS=$ac_wine_try_cflags_saved
8923 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8924 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8925 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8926 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8930 echo '{ global: *; };' >conftest.map
8931 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8932 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8933 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 ac_wine_try_cflags_saved=$CFLAGS
8937 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8938 cat >conftest.$ac_ext <<_ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8953 rm -f conftest.$ac_objext conftest$ac_exeext
8954 if { (ac_try="$ac_link"
8956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8957 *) ac_try_echo
=$ac_try;;
8959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8960 (eval "$ac_link") 2>conftest.er1
8962 grep -v '^ *+' conftest.er1
>conftest.err
8964 cat conftest.err
>&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); } && {
8967 test -z "$ac_c_werror_flag" ||
8968 test ! -s conftest.err
8969 } && test -s conftest
$ac_exeext &&
8970 $as_test_x conftest
$ac_exeext; then
8971 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.
$ac_ext >&5
8976 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8980 conftest
$ac_exeext conftest.
$ac_ext
8981 CFLAGS
=$ac_wine_try_cflags_saved
8983 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8984 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8985 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8986 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8991 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8992 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8993 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 ac_wine_try_cflags_saved
=$CFLAGS
8997 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8998 cat >conftest.
$ac_ext <<_ACEOF
9001 cat confdefs.h
>>conftest.
$ac_ext
9002 cat >>conftest.
$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9013 rm -f conftest.
$ac_objext conftest
$ac_exeext
9014 if { (ac_try
="$ac_link"
9016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9017 *) ac_try_echo=$ac_try;;
9019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9020 (eval "$ac_link") 2>conftest.er1
9022 grep -v '^ *+' conftest.er1 >conftest.err
9024 cat conftest.err >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } && {
9027 test -z "$ac_c_werror_flag" ||
9028 test ! -s conftest.err
9029 } && test -s conftest$ac_exeext &&
9030 $as_test_x conftest$ac_exeext; then
9031 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9040 conftest$ac_exeext conftest.$ac_ext
9041 CFLAGS=$ac_wine_try_cflags_saved
9043 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9044 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9045 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9046 LDEXECFLAGS="-Wl,--export-dynamic"
9051 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
9052 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9053 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9054 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 ac_wine_try_cflags_saved=$CFLAGS
9058 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9059 cat >conftest.$ac_ext <<_ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9074 rm -f conftest.$ac_objext conftest$ac_exeext
9075 if { (ac_try="$ac_link"
9077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9078 *) ac_try_echo
=$ac_try;;
9080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9081 (eval "$ac_link") 2>conftest.er1
9083 grep -v '^ *+' conftest.er1
>conftest.err
9085 cat conftest.err
>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); } && {
9088 test -z "$ac_c_werror_flag" ||
9089 test ! -s conftest.err
9090 } && test -s conftest
$ac_exeext &&
9091 $as_test_x conftest
$ac_exeext; then
9092 eval "$as_ac_var=yes"
9094 echo "$as_me: failed program was:" >&5
9095 sed 's/^/| /' conftest.
$ac_ext >&5
9097 eval "$as_ac_var=no"
9100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9101 conftest
$ac_exeext conftest.
$ac_ext
9102 CFLAGS
=$ac_wine_try_cflags_saved
9104 ac_res
=`eval echo '${'$as_ac_var'}'`
9105 { echo "$as_me:$LINENO: result: $ac_res" >&5
9106 echo "${ECHO_T}$ac_res" >&6; }
9107 if test `eval echo '${'$as_ac_var'}'` = yes; then
9108 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9109 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9111 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9112 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9113 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9114 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 ac_wine_try_cflags_saved
=$CFLAGS
9118 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext
9135 if { (ac_try
="$ac_link"
9137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9138 *) ac_try_echo=$ac_try;;
9140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9141 (eval "$ac_link") 2>conftest.er1
9143 grep -v '^ *+' conftest.er1 >conftest.err
9145 cat conftest.err >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } && {
9148 test -z "$ac_c_werror_flag" ||
9149 test ! -s conftest.err
9150 } && test -s conftest$ac_exeext &&
9151 $as_test_x conftest$ac_exeext; then
9152 eval "$as_ac_var=yes"
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 eval "$as_ac_var=no"
9160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9161 conftest$ac_exeext conftest.$ac_ext
9162 CFLAGS=$ac_wine_try_cflags_saved
9164 ac_res=`eval echo '${'$as_ac_var'}'`
9165 { echo "$as_me:$LINENO: result: $ac_res" >&5
9166 echo "${ECHO_T}$ac_res" >&6; }
9167 if test `eval echo '${'$as_ac_var'}'` = yes; then
9168 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
9169 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9175 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9176 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9177 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 ac_wine_try_cflags_saved=$CFLAGS
9181 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9182 cat >conftest.$ac_ext <<_ACEOF
9185 cat confdefs.h >>conftest.$ac_ext
9186 cat >>conftest.$ac_ext <<_ACEOF
9187 /* end confdefs.h. */
9197 rm -f conftest.$ac_objext conftest$ac_exeext
9198 if { (ac_try="$ac_link"
9200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9201 *) ac_try_echo
=$ac_try;;
9203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9204 (eval "$ac_link") 2>conftest.er1
9206 grep -v '^ *+' conftest.er1
>conftest.err
9208 cat conftest.err
>&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } && {
9211 test -z "$ac_c_werror_flag" ||
9212 test ! -s conftest.err
9213 } && test -s conftest
$ac_exeext &&
9214 $as_test_x conftest
$ac_exeext; then
9215 ac_cv_cflags__Wl___enable_new_dtags
=yes
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.
$ac_ext >&5
9220 ac_cv_cflags__Wl___enable_new_dtags
=no
9223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9224 conftest
$ac_exeext conftest.
$ac_ext
9225 CFLAGS
=$ac_wine_try_cflags_saved
9227 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9228 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9229 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9230 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9235 *i
[3456789]86* | x86_64
)
9236 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9237 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9238 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 ac_wine_try_cflags_saved
=$CFLAGS
9242 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9243 cat >conftest.
$ac_ext <<_ACEOF
9246 cat confdefs.h
>>conftest.
$ac_ext
9247 cat >>conftest.
$ac_ext <<_ACEOF
9248 /* end confdefs.h. */
9258 rm -f conftest.
$ac_objext conftest
$ac_exeext
9259 if { (ac_try
="$ac_link"
9261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9262 *) ac_try_echo=$ac_try;;
9264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9265 (eval "$ac_link") 2>conftest.er1
9267 grep -v '^ *+' conftest.er1 >conftest.err
9269 cat conftest.err >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); } && {
9272 test -z "$ac_c_werror_flag" ||
9273 test ! -s conftest.err
9274 } && test -s conftest$ac_exeext &&
9275 $as_test_x conftest$ac_exeext; then
9276 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9278 echo "$as_me: failed program was:" >&5
9279 sed 's/^/| /' conftest.$ac_ext >&5
9281 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9285 conftest$ac_exeext conftest.$ac_ext
9286 CFLAGS=$ac_wine_try_cflags_saved
9288 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9289 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9290 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9291 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9298 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9299 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9300 if test "${ac_cv_c_dll_unixware+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 ac_wine_try_cflags_saved=$CFLAGS
9304 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9305 cat >conftest.$ac_ext <<_ACEOF
9308 rm -f conftest.$ac_objext conftest$ac_exeext
9309 if { (ac_try="$ac_link"
9311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9312 *) ac_try_echo
=$ac_try;;
9314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_link") 2>conftest.er1
9317 grep -v '^ *+' conftest.er1
>conftest.err
9319 cat conftest.err
>&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); } && {
9322 test -z "$ac_c_werror_flag" ||
9323 test ! -s conftest.err
9324 } && test -s conftest
$ac_exeext &&
9325 $as_test_x conftest
$ac_exeext; then
9326 ac_cv_c_dll_unixware
="yes"
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.
$ac_ext >&5
9331 ac_cv_c_dll_unixware
="no"
9334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9335 conftest
$ac_exeext conftest.
$ac_ext
9336 CFLAGS
=$ac_wine_try_cflags_saved
9338 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9339 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9340 if test "$ac_cv_c_dll_unixware" = "yes"
9342 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9343 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9346 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9347 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9348 if test "${ac_cv_c_dll_hpux+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 ac_wine_try_cflags_saved
=$CFLAGS
9352 CFLAGS
="$CFLAGS -shared"
9353 cat >conftest.
$ac_ext <<_ACEOF
9356 rm -f conftest.
$ac_objext conftest
$ac_exeext
9357 if { (ac_try
="$ac_link"
9359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9360 *) ac_try_echo=$ac_try;;
9362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9363 (eval "$ac_link") 2>conftest.er1
9365 grep -v '^ *+' conftest.er1 >conftest.err
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } && {
9370 test -z "$ac_c_werror_flag" ||
9371 test ! -s conftest.err
9372 } && test -s conftest$ac_exeext &&
9373 $as_test_x conftest$ac_exeext; then
9374 ac_cv_c_dll_hpux="yes"
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9379 ac_cv_c_dll_hpux="no"
9382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9383 conftest$ac_exeext conftest.$ac_ext
9384 CFLAGS=$ac_wine_try_cflags_saved
9386 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9387 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9388 if test "$ac_cv_c_dll_hpux" = "yes"
9392 LDDLLFLAGS="-shared -fPIC"
9393 LDSHARED="\$(CC) -shared"
9400 if test "$cross_compiling" = "no"
9402 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9404 # Extract the first word of "$ac_prog", so it can be a program name with args.
9405 set dummy $ac_prog; ac_word=$2
9406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9408 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9411 if test -n "$CROSSCC"; then
9412 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_prog_CROSSCC="$ac_prog"
9422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9431 CROSSCC=$ac_cv_prog_CROSSCC
9432 if test -n "$CROSSCC"; then
9433 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9434 echo "${ECHO_T}$CROSSCC" >&6; }
9436 { echo "$as_me:$LINENO: result: no" >&5
9437 echo "${ECHO_T}no" >&6; }
9441 test -n "$CROSSCC" && break
9443 test -n "$CROSSCC" || CROSSCC="false"
9445 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9447 # Extract the first word of "$ac_prog", so it can be a program name with args.
9448 set dummy $ac_prog; ac_word=$2
9449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9451 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 if test -n "$DLLTOOL"; then
9455 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9461 test -z "$as_dir" && as_dir=.
9462 for ac_exec_ext in '' $ac_executable_extensions; do
9463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9464 ac_cv_prog_DLLTOOL="$ac_prog"
9465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 DLLTOOL=$ac_cv_prog_DLLTOOL
9475 if test -n "$DLLTOOL"; then
9476 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9477 echo "${ECHO_T}$DLLTOOL" >&6; }
9479 { echo "$as_me:$LINENO: result: no" >&5
9480 echo "${ECHO_T}no" >&6; }
9484 test -n "$DLLTOOL" && break
9486 test -n "$DLLTOOL" || DLLTOOL="false"
9488 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9490 # Extract the first word of "$ac_prog", so it can be a program name with args.
9491 set dummy $ac_prog; ac_word=$2
9492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9494 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 if test -n "$CROSSWINDRES"; then
9498 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 test -z "$as_dir" && as_dir=.
9505 for ac_exec_ext in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_prog_CROSSWINDRES="$ac_prog"
9508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9518 if test -n "$CROSSWINDRES"; then
9519 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9520 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9522 { echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6; }
9527 test -n "$CROSSWINDRES" && break
9529 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9531 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9533 # Extract the first word of "$ac_prog", so it can be a program name with args.
9534 set dummy $ac_prog; ac_word=$2
9535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9537 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 if test -n "$MINGWAR"; then
9541 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 test -z "$as_dir" && as_dir=.
9548 for ac_exec_ext in '' $ac_executable_extensions; do
9549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9550 ac_cv_prog_MINGWAR="$ac_prog"
9551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9560 MINGWAR=$ac_cv_prog_MINGWAR
9561 if test -n "$MINGWAR"; then
9562 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9563 echo "${ECHO_T}$MINGWAR" >&6; }
9565 { echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6; }
9570 test -n "$MINGWAR" && break
9572 test -n "$MINGWAR" || MINGWAR="false"
9574 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9579 if test "$LIBEXT" = "a"; then
9580 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9581 It is currently not possible to build Wine without shared library
9582 (.so) support to allow transparent switch between .so and .dll files.
9583 If you are using Linux, you will need a newer binutils.
9585 echo "$as_me: error: could not find a way to build shared libraries.
9586 It is currently not possible to build Wine without shared library
9587 (.so) support to allow transparent switch between .so and .dll files.
9588 If you are using Linux, you will need a newer binutils.
9590 { (exit 1); exit 1; }; }
9594 if test "$have_x" = "yes"
9597 ac_save_CPPFLAGS="$CPPFLAGS"
9598 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9600 { echo "$as_me:$LINENO: checking for -lX11" >&5
9601 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9602 if test "${ac_cv_lib_soname_X11+set}" = set; then
9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9605 ac_check_soname_save_LIBS=$LIBS
9606 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9607 cat >conftest.$ac_ext <<_ACEOF
9610 cat confdefs.h >>conftest.$ac_ext
9611 cat >>conftest.$ac_ext <<_ACEOF
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9620 char XCreateWindow ();
9624 return XCreateWindow ();
9629 rm -f conftest.$ac_objext conftest$ac_exeext
9630 if { (ac_try="$ac_link"
9632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9633 *) ac_try_echo
=$ac_try;;
9635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9636 (eval "$ac_link") 2>conftest.er1
9638 grep -v '^ *+' conftest.er1
>conftest.err
9640 cat conftest.err
>&5
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); } && {
9643 test -z "$ac_c_werror_flag" ||
9644 test ! -s conftest.err
9645 } && test -s conftest
$ac_exeext &&
9646 $as_test_x conftest
$ac_exeext; then
9649 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'` ;;
9650 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9653 echo "$as_me: failed program was:" >&5
9654 sed 's/^/| /' conftest.
$ac_ext >&5
9659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9660 conftest
$ac_exeext conftest.
$ac_ext
9661 LIBS
=$ac_check_soname_save_LIBS
9663 if test "x$ac_cv_lib_soname_X11" = "x"; then
9664 { echo "$as_me:$LINENO: result: not found" >&5
9665 echo "${ECHO_T}not found" >&6; }
9668 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9669 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9671 cat >>confdefs.h
<<_ACEOF
9672 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9678 { echo "$as_me:$LINENO: checking for -lXext" >&5
9679 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9680 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 ac_check_soname_save_LIBS
=$LIBS
9684 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9685 cat >conftest.
$ac_ext <<_ACEOF
9688 cat confdefs.h
>>conftest.
$ac_ext
9689 cat >>conftest.
$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9698 char XextCreateExtension ();
9702 return XextCreateExtension ();
9707 rm -f conftest.
$ac_objext conftest
$ac_exeext
9708 if { (ac_try
="$ac_link"
9710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9711 *) ac_try_echo=$ac_try;;
9713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9714 (eval "$ac_link") 2>conftest.er1
9716 grep -v '^ *+' conftest.er1 >conftest.err
9718 cat conftest.err >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } && {
9721 test -z "$ac_c_werror_flag" ||
9722 test ! -s conftest.err
9723 } && test -s conftest$ac_exeext &&
9724 $as_test_x conftest$ac_exeext; then
9727 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'` ;;
9728 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_soname_save_LIBS
9741 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9742 { echo "$as_me:$LINENO: result: not found" >&5
9743 echo "${ECHO_T}not found" >&6; }
9746 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9747 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9749 cat >>confdefs.h <<_ACEOF
9750 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9769 for ac_header in X11/Xlib.h \
9772 X11/Xcursor/Xcursor.h \
9773 X11/extensions/shape.h \
9774 X11/extensions/XInput.h \
9775 X11/extensions/XShm.h \
9776 X11/extensions/Xcomposite.h \
9777 X11/extensions/Xinerama.h \
9778 X11/extensions/Xrandr.h \
9779 X11/extensions/Xrender.h \
9780 X11/extensions/xf86vmode.h
9782 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 cat >conftest.$ac_ext <<_ACEOF
9791 cat confdefs.h >>conftest.$ac_ext
9792 cat >>conftest.$ac_ext <<_ACEOF
9793 /* end confdefs.h. */
9794 #ifdef HAVE_X11_XLIB_H
9795 # include <X11/Xlib.h>
9797 #ifdef HAVE_X11_XUTIL_H
9798 # include <X11/Xutil.h>
9801 #include <$ac_header>
9803 rm -f conftest.$ac_objext
9804 if { (ac_try="$ac_compile"
9806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9807 *) ac_try_echo
=$ac_try;;
9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_compile") 2>conftest.er1
9812 grep -v '^ *+' conftest.er1
>conftest.err
9814 cat conftest.err
>&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); } && {
9817 test -z "$ac_c_werror_flag" ||
9818 test ! -s conftest.err
9819 } && test -s conftest.
$ac_objext; then
9820 eval "$as_ac_Header=yes"
9822 echo "$as_me: failed program was:" >&5
9823 sed 's/^/| /' conftest.
$ac_ext >&5
9825 eval "$as_ac_Header=no"
9828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9830 ac_res
=`eval echo '${'$as_ac_Header'}'`
9831 { echo "$as_me:$LINENO: result: $ac_res" >&5
9832 echo "${ECHO_T}$ac_res" >&6; }
9833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9834 cat >>confdefs.h
<<_ACEOF
9835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9843 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9845 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9846 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9847 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9850 ac_check_lib_save_LIBS
=$LIBS
9851 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9852 cat >conftest.
$ac_ext <<_ACEOF
9855 cat confdefs.h
>>conftest.
$ac_ext
9856 cat >>conftest.
$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9865 char XkbQueryExtension ();
9869 return XkbQueryExtension ();
9874 rm -f conftest.
$ac_objext conftest
$ac_exeext
9875 if { (ac_try
="$ac_link"
9877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9881 (eval "$ac_link") 2>conftest.er1
9883 grep -v '^ *+' conftest.er1 >conftest.err
9885 cat conftest.err >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } && {
9888 test -z "$ac_c_werror_flag" ||
9889 test ! -s conftest.err
9890 } && test -s conftest$ac_exeext &&
9891 $as_test_x conftest$ac_exeext; then
9892 ac_cv_lib_X11_XkbQueryExtension=yes
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9897 ac_cv_lib_X11_XkbQueryExtension=no
9900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9905 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9906 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9908 cat >>confdefs.h <<\_ACEOF
9916 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9918 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9919 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9920 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 ac_check_soname_save_LIBS=$LIBS
9924 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9925 cat >conftest.$ac_ext <<_ACEOF
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9938 char XcursorImageLoadCursor ();
9942 return XcursorImageLoadCursor ();
9947 rm -f conftest.$ac_objext conftest$ac_exeext
9948 if { (ac_try="$ac_link"
9950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9951 *) ac_try_echo
=$ac_try;;
9953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9954 (eval "$ac_link") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1
>conftest.err
9958 cat conftest.err
>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest
$ac_exeext &&
9964 $as_test_x conftest
$ac_exeext; then
9967 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'` ;;
9968 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9971 echo "$as_me: failed program was:" >&5
9972 sed 's/^/| /' conftest.
$ac_ext >&5
9977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9978 conftest
$ac_exeext conftest.
$ac_ext
9979 LIBS
=$ac_check_soname_save_LIBS
9981 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9982 { echo "$as_me:$LINENO: result: not found" >&5
9983 echo "${ECHO_T}not found" >&6; }
9986 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9987 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9989 cat >>confdefs.h
<<_ACEOF
9990 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9997 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9998 case "x$with_xcursor" in
9999 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
10001 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
10002 This is an error since --with-xcursor was requested." >&5
10003 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
10004 This is an error since --with-xcursor was requested." >&2;}
10005 { (exit 1); exit 1; }; } ;;
10010 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10012 { echo "$as_me:$LINENO: checking for -lXi" >&5
10013 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_soname_Xi+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 ac_check_soname_save_LIBS
=$LIBS
10018 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10032 char XOpenDevice ();
10036 return XOpenDevice ();
10041 rm -f conftest.
$ac_objext conftest
$ac_exeext
10042 if { (ac_try
="$ac_link"
10043 case "(($ac_try" in
10044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10045 *) ac_try_echo=$ac_try;;
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10050 grep -v '^ *+' conftest.er1 >conftest.err
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest$ac_exeext &&
10058 $as_test_x conftest$ac_exeext; then
10061 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'` ;;
10062 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.$ac_ext >&5
10071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_soname_save_LIBS
10075 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10076 { echo "$as_me:$LINENO: result: not found" >&5
10077 echo "${ECHO_T}not found" >&6; }
10080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10081 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10083 cat >>confdefs.h <<_ACEOF
10084 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10091 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10092 case "x$with_xinput" in
10093 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10095 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10096 This is an error since --with-xinput was requested." >&5
10097 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10098 This is an error since --with-xinput was requested." >&2;}
10099 { (exit 1); exit 1; }; } ;;
10104 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10106 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10107 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10108 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10109 echo $ECHO_N "(cached) $ECHO_C" >&6
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10113 cat >conftest.$ac_ext <<_ACEOF
10116 cat confdefs.h >>conftest.$ac_ext
10117 cat >>conftest.$ac_ext <<_ACEOF
10118 /* end confdefs.h. */
10120 /* Override any GCC internal prototype to avoid an error.
10121 Use char because int might match the return type of a GCC
10122 builtin and then its argument prototype would still apply. */
10126 char XShmQueryExtension ();
10130 return XShmQueryExtension ();
10135 rm -f conftest.$ac_objext conftest$ac_exeext
10136 if { (ac_try="$ac_link"
10137 case "(($ac_try" in
10138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10139 *) ac_try_echo
=$ac_try;;
10141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10142 (eval "$ac_link") 2>conftest.er1
10144 grep -v '^ *+' conftest.er1
>conftest.err
10146 cat conftest.err
>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && {
10149 test -z "$ac_c_werror_flag" ||
10150 test ! -s conftest.err
10151 } && test -s conftest
$ac_exeext &&
10152 $as_test_x conftest
$ac_exeext; then
10153 ac_cv_lib_Xext_XShmQueryExtension
=yes
10155 echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.
$ac_ext >&5
10158 ac_cv_lib_Xext_XShmQueryExtension
=no
10161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10162 conftest
$ac_exeext conftest.
$ac_ext
10163 LIBS
=$ac_check_lib_save_LIBS
10165 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10166 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10167 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10169 cat >>confdefs.h
<<\_ACEOF
10170 #define HAVE_LIBXXSHM 1
10176 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10177 case "x$with_xshm" in
10178 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10180 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10181 This is an error since --with-xshm was requested." >&5
10182 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10183 This is an error since --with-xshm was requested." >&2;}
10184 { (exit 1); exit 1; }; } ;;
10189 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10191 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10192 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10193 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 ac_check_lib_save_LIBS
=$LIBS
10197 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10198 cat >conftest.
$ac_ext <<_ACEOF
10201 cat confdefs.h
>>conftest.
$ac_ext
10202 cat >>conftest.
$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10211 char XShapeQueryExtension ();
10215 return XShapeQueryExtension ();
10220 rm -f conftest.
$ac_objext conftest
$ac_exeext
10221 if { (ac_try
="$ac_link"
10222 case "(($ac_try" in
10223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10224 *) ac_try_echo=$ac_try;;
10226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10227 (eval "$ac_link") 2>conftest.er1
10229 grep -v '^ *+' conftest.er1 >conftest.err
10231 cat conftest.err >&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } && {
10234 test -z "$ac_c_werror_flag" ||
10235 test ! -s conftest.err
10236 } && test -s conftest$ac_exeext &&
10237 $as_test_x conftest$ac_exeext; then
10238 ac_cv_lib_Xext_XShapeQueryExtension=yes
10240 echo "$as_me: failed program was:" >&5
10241 sed 's/^/| /' conftest.$ac_ext >&5
10243 ac_cv_lib_Xext_XShapeQueryExtension=no
10246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10247 conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10251 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10252 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10254 cat >>confdefs.h <<\_ACEOF
10255 #define HAVE_LIBXSHAPE 1
10261 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10262 case "x$with_xshape" in
10263 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10265 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10266 This is an error since --with-xshape was requested." >&5
10267 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10268 This is an error since --with-xshape was requested." >&2;}
10269 { (exit 1); exit 1; }; } ;;
10274 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10276 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10277 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10278 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 ac_check_soname_save_LIBS=$LIBS
10282 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10283 cat >conftest.$ac_ext <<_ACEOF
10286 cat confdefs.h >>conftest.$ac_ext
10287 cat >>conftest.$ac_ext <<_ACEOF
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10296 char XF86VidModeQueryExtension ();
10300 return XF86VidModeQueryExtension ();
10305 rm -f conftest.$ac_objext conftest$ac_exeext
10306 if { (ac_try="$ac_link"
10307 case "(($ac_try" in
10308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10309 *) ac_try_echo
=$ac_try;;
10311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10312 (eval "$ac_link") 2>conftest.er1
10314 grep -v '^ *+' conftest.er1
>conftest.err
10316 cat conftest.err
>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } && {
10319 test -z "$ac_c_werror_flag" ||
10320 test ! -s conftest.err
10321 } && test -s conftest
$ac_exeext &&
10322 $as_test_x conftest
$ac_exeext; then
10325 dylib
) ac_cv_lib_soname_Xxf86vm
=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10326 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10329 echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.
$ac_ext >&5
10335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LIBS
=$ac_check_soname_save_LIBS
10339 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10340 { echo "$as_me:$LINENO: result: not found" >&5
10341 echo "${ECHO_T}not found" >&6; }
10344 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10345 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10347 cat >>confdefs.h
<<_ACEOF
10348 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10355 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10356 case "x$with_xxf86vm" in
10357 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10359 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10360 This is an error since --with-xxf86vm was requested." >&5
10361 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10362 This is an error since --with-xxf86vm was requested." >&2;}
10363 { (exit 1); exit 1; }; } ;;
10368 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"
10370 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10371 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10372 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 ac_check_soname_save_LIBS
=$LIBS
10376 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10377 cat >conftest.
$ac_ext <<_ACEOF
10380 cat confdefs.h
>>conftest.
$ac_ext
10381 cat >>conftest.
$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10390 char XRenderQueryExtension ();
10394 return XRenderQueryExtension ();
10399 rm -f conftest.
$ac_objext conftest
$ac_exeext
10400 if { (ac_try
="$ac_link"
10401 case "(($ac_try" in
10402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10403 *) ac_try_echo=$ac_try;;
10405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10406 (eval "$ac_link") 2>conftest.er1
10408 grep -v '^ *+' conftest.er1 >conftest.err
10410 cat conftest.err >&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } && {
10413 test -z "$ac_c_werror_flag" ||
10414 test ! -s conftest.err
10415 } && test -s conftest$ac_exeext &&
10416 $as_test_x conftest$ac_exeext; then
10419 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'` ;;
10420 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_soname_save_LIBS
10433 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10434 { echo "$as_me:$LINENO: result: not found" >&5
10435 echo "${ECHO_T}not found" >&6; }
10438 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10439 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10441 cat >>confdefs.h <<_ACEOF
10442 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10445 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10446 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10447 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 ac_check_lib_save_LIBS=$LIBS
10451 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10452 cat >conftest.$ac_ext <<_ACEOF
10455 cat confdefs.h >>conftest.$ac_ext
10456 cat >>conftest.$ac_ext <<_ACEOF
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10465 char XRenderSetPictureTransform ();
10469 return XRenderSetPictureTransform ();
10474 rm -f conftest.$ac_objext conftest$ac_exeext
10475 if { (ac_try="$ac_link"
10476 case "(($ac_try" in
10477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10478 *) ac_try_echo
=$ac_try;;
10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10481 (eval "$ac_link") 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } && {
10488 test -z "$ac_c_werror_flag" ||
10489 test ! -s conftest.err
10490 } && test -s conftest
$ac_exeext &&
10491 $as_test_x conftest
$ac_exeext; then
10492 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.
$ac_ext >&5
10497 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10500 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10505 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10506 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10508 cat >>confdefs.h
<<\_ACEOF
10509 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10518 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10519 case "x$with_xrender" in
10520 x
) wine_warnings
="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10522 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10523 This is an error since --with-xrender was requested." >&5
10524 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10525 This is an error since --with-xrender was requested." >&2;}
10526 { (exit 1); exit 1; }; } ;;
10531 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10533 cat >conftest.
$ac_ext <<_ACEOF
10536 cat confdefs.h
>>conftest.
$ac_ext
10537 cat >>conftest.
$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10539 #include <X11/Xlib.h>
10540 #include <X11/extensions/Xrandr.h>
10544 static typeof(XRRSetScreenConfigAndRate) * func;
10549 rm -f conftest.
$ac_objext
10550 if { (ac_try
="$ac_compile"
10551 case "(($ac_try" in
10552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10553 *) ac_try_echo=$ac_try;;
10555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10556 (eval "$ac_compile") 2>conftest.er1
10558 grep -v '^ *+' conftest.er1 >conftest.err
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } && {
10563 test -z "$ac_c_werror_flag" ||
10564 test ! -s conftest.err
10565 } && test -s conftest.$ac_objext; then
10566 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10567 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10568 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10586 char XRRQueryExtension ();
10590 return XRRQueryExtension ();
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (ac_try="$ac_link"
10597 case "(($ac_try" in
10598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10599 *) ac_try_echo
=$ac_try;;
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_link") 2>conftest.er1
10604 grep -v '^ *+' conftest.er1
>conftest.err
10606 cat conftest.err
>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } && {
10609 test -z "$ac_c_werror_flag" ||
10610 test ! -s conftest.err
10611 } && test -s conftest
$ac_exeext &&
10612 $as_test_x conftest
$ac_exeext; then
10615 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'` ;;
10616 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.
$ac_ext >&5
10625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10626 conftest
$ac_exeext conftest.
$ac_ext
10627 LIBS
=$ac_check_soname_save_LIBS
10629 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10630 { echo "$as_me:$LINENO: result: not found" >&5
10631 echo "${ECHO_T}not found" >&6; }
10634 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10635 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10637 cat >>confdefs.h
<<_ACEOF
10638 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10645 echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.
$ac_ext >&5
10651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10653 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10654 case "x$with_xrandr" in
10655 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10657 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10658 This is an error since --with-xrandr was requested." >&5
10659 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10660 This is an error since --with-xrandr was requested." >&2;}
10661 { (exit 1); exit 1; }; } ;;
10666 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10668 cat >conftest.
$ac_ext <<_ACEOF
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10674 #include <X11/Xlib.h>
10675 #include <X11/extensions/Xinerama.h>
10679 static typeof(XineramaQueryScreens) * func;
10684 rm -f conftest.
$ac_objext
10685 if { (ac_try
="$ac_compile"
10686 case "(($ac_try" in
10687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10688 *) ac_try_echo=$ac_try;;
10690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10691 (eval "$ac_compile") 2>conftest.er1
10693 grep -v '^ *+' conftest.er1 >conftest.err
10695 cat conftest.err >&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } && {
10698 test -z "$ac_c_werror_flag" ||
10699 test ! -s conftest.err
10700 } && test -s conftest.$ac_objext; then
10701 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10702 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10703 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 ac_check_soname_save_LIBS=$LIBS
10707 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10708 cat >conftest.$ac_ext <<_ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char XineramaQueryScreens ();
10725 return XineramaQueryScreens ();
10730 rm -f conftest.$ac_objext conftest$ac_exeext
10731 if { (ac_try="$ac_link"
10732 case "(($ac_try" in
10733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10734 *) ac_try_echo
=$ac_try;;
10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 (eval "$ac_link") 2>conftest.er1
10739 grep -v '^ *+' conftest.er1
>conftest.err
10741 cat conftest.err
>&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } && {
10744 test -z "$ac_c_werror_flag" ||
10745 test ! -s conftest.err
10746 } && test -s conftest
$ac_exeext &&
10747 $as_test_x conftest
$ac_exeext; then
10750 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'` ;;
10751 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.
$ac_ext >&5
10760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10761 conftest
$ac_exeext conftest.
$ac_ext
10762 LIBS
=$ac_check_soname_save_LIBS
10764 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10765 { echo "$as_me:$LINENO: result: not found" >&5
10766 echo "${ECHO_T}not found" >&6; }
10769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10770 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10772 cat >>confdefs.h
<<_ACEOF
10773 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10788 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10789 case "x$with_xinerama" in
10790 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10792 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10793 This is an error since --with-xinerama was requested." >&5
10794 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10795 This is an error since --with-xinerama was requested." >&2;}
10796 { (exit 1); exit 1; }; } ;;
10801 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10803 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10804 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10805 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 ac_check_soname_save_LIBS
=$LIBS
10809 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10810 cat >conftest.
$ac_ext <<_ACEOF
10813 cat confdefs.h
>>conftest.
$ac_ext
10814 cat >>conftest.
$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10823 char XCompositeRedirectWindow ();
10827 return XCompositeRedirectWindow ();
10832 rm -f conftest.
$ac_objext conftest
$ac_exeext
10833 if { (ac_try
="$ac_link"
10834 case "(($ac_try" in
10835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_link") 2>conftest.er1
10841 grep -v '^ *+' conftest.er1 >conftest.err
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest$ac_exeext &&
10849 $as_test_x conftest$ac_exeext; then
10852 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'` ;;
10853 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10856 echo "$as_me: failed program was:" >&5
10857 sed 's/^/| /' conftest.$ac_ext >&5
10862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_soname_save_LIBS
10866 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10867 { echo "$as_me:$LINENO: result: not found" >&5
10868 echo "${ECHO_T}not found" >&6; }
10871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10872 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10874 cat >>confdefs.h <<_ACEOF
10875 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10882 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10883 case "x$with_xcomposite" in
10884 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10886 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10887 This is an error since --with-xcomposite was requested." >&5
10888 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10889 This is an error since --with-xcomposite was requested." >&2;}
10890 { (exit 1); exit 1; }; } ;;
10895 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10896 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10897 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 cat >conftest.$ac_ext <<_ACEOF
10903 cat confdefs.h >>conftest.$ac_ext
10904 cat >>conftest.$ac_ext <<_ACEOF
10905 /* end confdefs.h. */
10906 #ifdef HAVE_X11_XLIB_H
10907 #include <X11/Xlib.h>
10913 static XICCallback ac_aggr;
10914 if (ac_aggr.callback)
10920 rm -f conftest.$ac_objext
10921 if { (ac_try="$ac_compile"
10922 case "(($ac_try" in
10923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10924 *) ac_try_echo
=$ac_try;;
10926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 (eval "$ac_compile") 2>conftest.er1
10929 grep -v '^ *+' conftest.er1
>conftest.err
10931 cat conftest.err
>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } && {
10934 test -z "$ac_c_werror_flag" ||
10935 test ! -s conftest.err
10936 } && test -s conftest.
$ac_objext; then
10937 ac_cv_member_XICCallback_callback
=yes
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.
$ac_ext >&5
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 #ifdef HAVE_X11_XLIB_H
10949 #include <X11/Xlib.h>
10955 static XICCallback ac_aggr;
10956 if (sizeof ac_aggr.callback)
10962 rm -f conftest.
$ac_objext
10963 if { (ac_try
="$ac_compile"
10964 case "(($ac_try" in
10965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_compile") 2>conftest.er1
10971 grep -v '^ *+' conftest.er1 >conftest.err
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } && {
10976 test -z "$ac_c_werror_flag" ||
10977 test ! -s conftest.err
10978 } && test -s conftest.$ac_objext; then
10979 ac_cv_member_XICCallback_callback=yes
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10984 ac_cv_member_XICCallback_callback=no
10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10992 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10993 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10994 if test $ac_cv_member_XICCallback_callback = yes; then
10996 cat >>confdefs.h <<_ACEOF
10997 #define HAVE_XICCALLBACK_CALLBACK 1
11006 if test "x$with_opengl" != "xno"
11012 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
11014 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 cat >conftest.$ac_ext <<_ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 #ifdef HAVE_GL_GLX_H
11027 # include <GL/glx.h>
11030 #include <$ac_header>
11032 rm -f conftest.$ac_objext
11033 if { (ac_try="$ac_compile"
11034 case "(($ac_try" in
11035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11036 *) ac_try_echo
=$ac_try;;
11038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11039 (eval "$ac_compile") 2>conftest.er1
11041 grep -v '^ *+' conftest.er1
>conftest.err
11043 cat conftest.err
>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); } && {
11046 test -z "$ac_c_werror_flag" ||
11047 test ! -s conftest.err
11048 } && test -s conftest.
$ac_objext; then
11049 eval "$as_ac_Header=yes"
11051 echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.
$ac_ext >&5
11054 eval "$as_ac_Header=no"
11057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11059 ac_res
=`eval echo '${'$as_ac_Header'}'`
11060 { echo "$as_me:$LINENO: result: $ac_res" >&5
11061 echo "${ECHO_T}$ac_res" >&6; }
11062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11063 cat >>confdefs.h
<<_ACEOF
11064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11071 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11073 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11074 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11075 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 cat >conftest.
$ac_ext <<_ACEOF
11081 cat confdefs.h
>>conftest.
$ac_ext
11082 cat >>conftest.
$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11088 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11093 rm -f conftest.
$ac_objext
11094 if { (ac_try
="$ac_compile"
11095 case "(($ac_try" in
11096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11097 *) ac_try_echo=$ac_try;;
11099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11100 (eval "$ac_compile") 2>conftest.er1
11102 grep -v '^ *+' conftest.er1 >conftest.err
11104 cat conftest.err >&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); } && {
11107 test -z "$ac_c_werror_flag" ||
11108 test ! -s conftest.err
11109 } && test -s conftest.$ac_objext; then
11110 wine_cv_opengl_header_version_OK="yes"
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.$ac_ext >&5
11115 wine_cv_opengl_header_version_OK="no"
11118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11120 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11121 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11123 if test "$wine_cv_opengl_header_version_OK" = "yes"
11125 { echo "$as_me:$LINENO: checking for -lGL" >&5
11126 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11127 if test "${ac_cv_lib_soname_GL+set}" = set; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 ac_check_soname_save_LIBS=$LIBS
11131 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11132 cat >conftest.$ac_ext <<_ACEOF
11135 cat confdefs.h >>conftest.$ac_ext
11136 cat >>conftest.$ac_ext <<_ACEOF
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11145 char glXCreateContext ();
11149 return glXCreateContext ();
11154 rm -f conftest.$ac_objext conftest$ac_exeext
11155 if { (ac_try="$ac_link"
11156 case "(($ac_try" in
11157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11158 *) ac_try_echo
=$ac_try;;
11160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11161 (eval "$ac_link") 2>conftest.er1
11163 grep -v '^ *+' conftest.er1
>conftest.err
11165 cat conftest.err
>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } && {
11168 test -z "$ac_c_werror_flag" ||
11169 test ! -s conftest.err
11170 } && test -s conftest
$ac_exeext &&
11171 $as_test_x conftest
$ac_exeext; then
11174 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'` ;;
11175 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.
$ac_ext >&5
11184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 LIBS
=$ac_check_soname_save_LIBS
11188 if test "x$ac_cv_lib_soname_GL" = "x"; then
11189 { echo "$as_me:$LINENO: result: not found" >&5
11190 echo "${ECHO_T}not found" >&6; }
11191 { echo "$as_me:$LINENO: checking for -lGL" >&5
11192 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11193 if test "${ac_cv_lib_soname_GL+set}" = set; then
11194 echo $ECHO_N "(cached) $ECHO_C" >&6
11196 ac_check_soname_save_LIBS
=$LIBS
11197 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"
11198 cat >conftest.
$ac_ext <<_ACEOF
11201 cat confdefs.h
>>conftest.
$ac_ext
11202 cat >>conftest.
$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11211 char glXCreateContext ();
11215 return glXCreateContext ();
11220 rm -f conftest.
$ac_objext conftest
$ac_exeext
11221 if { (ac_try
="$ac_link"
11222 case "(($ac_try" in
11223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11224 *) ac_try_echo=$ac_try;;
11226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11227 (eval "$ac_link") 2>conftest.er1
11229 grep -v '^ *+' conftest.er1 >conftest.err
11231 cat conftest.err >&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } && {
11234 test -z "$ac_c_werror_flag" ||
11235 test ! -s conftest.err
11236 } && test -s conftest$ac_exeext &&
11237 $as_test_x conftest$ac_exeext; then
11240 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'` ;;
11241 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11244 echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_soname_save_LIBS
11254 if test "x$ac_cv_lib_soname_GL" = "x"; then
11255 { echo "$as_me:$LINENO: result: not found" >&5
11256 echo "${ECHO_T}not found" >&6; }
11257 if test -f /usr/X11R6/lib/libGL.a
11259 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11260 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11262 opengl_msg="No OpenGL library found on this system."
11265 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11266 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11268 cat >>confdefs.h <<_ACEOF
11269 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11272 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"
11273 OPENGLFILES='$(OPENGLFILES)'
11275 cat >>confdefs.h <<\_ACEOF
11276 #define HAVE_OPENGL 1
11282 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11283 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11285 cat >>confdefs.h <<_ACEOF
11286 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11290 OPENGLFILES='$(OPENGLFILES)'
11292 cat >>confdefs.h <<\_ACEOF
11293 #define HAVE_OPENGL 1
11298 if test "$ac_cv_header_GL_glu_h" = "yes"
11300 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11301 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11302 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 ac_check_soname_save_LIBS=$LIBS
11306 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11307 cat >conftest.$ac_ext <<_ACEOF
11310 cat confdefs.h >>conftest.$ac_ext
11311 cat >>conftest.$ac_ext <<_ACEOF
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11324 return gluLookAt ();
11329 rm -f conftest.$ac_objext conftest$ac_exeext
11330 if { (ac_try="$ac_link"
11331 case "(($ac_try" in
11332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11333 *) ac_try_echo
=$ac_try;;
11335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11336 (eval "$ac_link") 2>conftest.er1
11338 grep -v '^ *+' conftest.er1
>conftest.err
11340 cat conftest.err
>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } && {
11343 test -z "$ac_c_werror_flag" ||
11344 test ! -s conftest.err
11345 } && test -s conftest
$ac_exeext &&
11346 $as_test_x conftest
$ac_exeext; then
11349 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'` ;;
11350 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.
$ac_ext >&5
11359 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11360 conftest
$ac_exeext conftest.
$ac_ext
11361 LIBS
=$ac_check_soname_save_LIBS
11363 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11364 { echo "$as_me:$LINENO: result: not found" >&5
11365 echo "${ECHO_T}not found" >&6; }
11368 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11369 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11371 cat >>confdefs.h
<<_ACEOF
11372 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11375 GLU32FILES
='$(GLU32FILES)'
11379 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11380 case "x$with_glu" in
11381 x
) wine_notices
="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11383 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11384 This is an error since --with-glu was requested." >&5
11385 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11386 This is an error since --with-glu was requested." >&2;}
11387 { (exit 1); exit 1; }; } ;;
11392 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11395 opengl_msg
="OpenGL development headers not found."
11398 if test -n "$opengl_msg"; then
11399 case "x$with_opengl" in
11400 x
) wine_warnings
="$wine_warnings|$opengl_msg
11401 OpenGL and Direct3D won't be supported." ;;
11403 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11404 OpenGL and Direct3D won't be supported.
11405 This is an error since --with-opengl was requested." >&5
11406 echo "$as_me: error: $opengl_msg
11407 OpenGL and Direct3D won't be supported.
11408 This is an error since --with-opengl was requested." >&2;}
11409 { (exit 1); exit 1; }; } ;;
11417 for ac_header
in audio
/audiolib.h
11419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11420 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11421 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11423 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 ac_res
=`eval echo '${'$as_ac_Header'}'`
11427 { echo "$as_me:$LINENO: result: $ac_res" >&5
11428 echo "${ECHO_T}$ac_res" >&6; }
11430 # Is the header compilable?
11431 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11433 cat >conftest.
$ac_ext <<_ACEOF
11436 cat confdefs.h
>>conftest.
$ac_ext
11437 cat >>conftest.
$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11439 $ac_includes_default
11440 #include <$ac_header>
11442 rm -f conftest.
$ac_objext
11443 if { (ac_try
="$ac_compile"
11444 case "(($ac_try" in
11445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_compile") 2>conftest.er1
11451 grep -v '^ *+' conftest.er1 >conftest.err
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } && {
11456 test -z "$ac_c_werror_flag" ||
11457 test ! -s conftest.err
11458 } && test -s conftest.$ac_objext; then
11459 ac_header_compiler=yes
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_header_compiler=no
11467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11468 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11469 echo "${ECHO_T}$ac_header_compiler" >&6; }
11471 # Is the header present?
11472 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11474 cat >conftest.$ac_ext <<_ACEOF
11477 cat confdefs.h >>conftest.$ac_ext
11478 cat >>conftest.$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11480 #include <$ac_header>
11482 if { (ac_try="$ac_cpp conftest.$ac_ext"
11483 case "(($ac_try" in
11484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11485 *) ac_try_echo
=$ac_try;;
11487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11490 grep -v '^ *+' conftest.er1
>conftest.err
11492 cat conftest.err
>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } >/dev
/null
&& {
11495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11496 test ! -s conftest.err
11498 ac_header_preproc
=yes
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.
$ac_ext >&5
11503 ac_header_preproc
=no
11506 rm -f conftest.err conftest.
$ac_ext
11507 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11508 echo "${ECHO_T}$ac_header_preproc" >&6; }
11510 # So? What about this header?
11511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11517 ac_header_preproc
=yes
11520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11533 ## ------------------------------------ ##
11534 ## Report this to wine-devel@winehq.org ##
11535 ## ------------------------------------ ##
11537 ) |
sed "s/^/$as_me: WARNING: /" >&2
11540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11542 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11545 eval "$as_ac_Header=\$ac_header_preproc"
11547 ac_res
=`eval echo '${'$as_ac_Header'}'`
11548 { echo "$as_me:$LINENO: result: $ac_res" >&5
11549 echo "${ECHO_T}$ac_res" >&6; }
11552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11553 cat >>confdefs.h
<<_ACEOF
11554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11557 for ac_header
in audio
/soundlib.h
11559 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 cat >conftest.
$ac_ext <<_ACEOF
11568 cat confdefs.h
>>conftest.
$ac_ext
11569 cat >>conftest.
$ac_ext <<_ACEOF
11570 /* end confdefs.h. */
11571 #include <audio/audiolib.h>
11573 #include <$ac_header>
11575 rm -f conftest.
$ac_objext
11576 if { (ac_try
="$ac_compile"
11577 case "(($ac_try" in
11578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11579 *) ac_try_echo=$ac_try;;
11581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11582 (eval "$ac_compile") 2>conftest.er1
11584 grep -v '^ *+' conftest.er1 >conftest.err
11586 cat conftest.err >&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); } && {
11589 test -z "$ac_c_werror_flag" ||
11590 test ! -s conftest.err
11591 } && test -s conftest.$ac_objext; then
11592 eval "$as_ac_Header=yes"
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11597 eval "$as_ac_Header=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11602 ac_res=`eval echo '${'$as_ac_Header'}'`
11603 { echo "$as_me:$LINENO: result: $ac_res" >&5
11604 echo "${ECHO_T}$ac_res" >&6; }
11605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11606 cat >>confdefs.h <<_ACEOF
11607 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11614 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11615 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11616 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 ac_check_lib_save_LIBS=$LIBS
11620 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11621 cat >conftest.$ac_ext <<_ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11634 char AuCreateFlow ();
11638 return AuCreateFlow ();
11643 rm -f conftest.$ac_objext conftest$ac_exeext
11644 if { (ac_try="$ac_link"
11645 case "(($ac_try" in
11646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11647 *) ac_try_echo
=$ac_try;;
11649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11650 (eval "$ac_link") 2>conftest.er1
11652 grep -v '^ *+' conftest.er1
>conftest.err
11654 cat conftest.err
>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } && {
11657 test -z "$ac_c_werror_flag" ||
11658 test ! -s conftest.err
11659 } && test -s conftest
$ac_exeext &&
11660 $as_test_x conftest
$ac_exeext; then
11661 ac_cv_lib_audio_AuCreateFlow
=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11666 ac_cv_lib_audio_AuCreateFlow
=no
11669 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11670 conftest
$ac_exeext conftest.
$ac_ext
11671 LIBS
=$ac_check_lib_save_LIBS
11673 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11674 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11675 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11677 cat >>confdefs.h
<<\_ACEOF
11681 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11682 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11683 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 ac_check_lib_save_LIBS
=$LIBS
11687 LIBS
="-lXau $X_LIBS $LIBS"
11688 cat >conftest.
$ac_ext <<_ACEOF
11691 cat confdefs.h
>>conftest.
$ac_ext
11692 cat >>conftest.
$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11701 char XauGetBestAuthByAddr ();
11705 return XauGetBestAuthByAddr ();
11710 rm -f conftest.
$ac_objext conftest
$ac_exeext
11711 if { (ac_try
="$ac_link"
11712 case "(($ac_try" in
11713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11717 (eval "$ac_link") 2>conftest.er1
11719 grep -v '^ *+' conftest.er1 >conftest.err
11721 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } && {
11724 test -z "$ac_c_werror_flag" ||
11725 test ! -s conftest.err
11726 } && test -s conftest$ac_exeext &&
11727 $as_test_x conftest$ac_exeext; then
11728 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11733 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11741 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11742 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11743 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11745 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11756 CPPFLAGS="$ac_save_CPPFLAGS"
11763 if test "x$XLIB" = "x"; then
11766 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11767 without X support, which probably isn't what you want. You will need to install
11768 development packages of Xlib/Xfree86 at the very least.
11769 Use the --without-x option if you really want this." >&5
11770 echo "$as_me: error: X development files not found. Wine will be built
11771 without X support, which probably isn't what you want. You will need to install
11772 development packages of Xlib/Xfree86 at the very least.
11773 Use the --without-x option if you really want this." >&2;}
11774 { (exit 1); exit 1; }; } ;;
11788 if test "x$with_xml" != "xno"
11790 ac_save_CPPFLAGS="$CPPFLAGS"
11791 if test "$PKG_CONFIG" != "false"
11793 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11794 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11796 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11797 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11799 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11801 for ac_header in libxml/parser.h
11803 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_res=`eval echo '${'$as_ac_Header'}'`
11811 { echo "$as_me:$LINENO: result: $ac_res" >&5
11812 echo "${ECHO_T}$ac_res" >&6; }
11814 # Is the header compilable?
11815 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11817 cat >conftest.$ac_ext <<_ACEOF
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11823 $ac_includes_default
11824 #include <$ac_header>
11826 rm -f conftest.$ac_objext
11827 if { (ac_try="$ac_compile"
11828 case "(($ac_try" in
11829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11830 *) ac_try_echo
=$ac_try;;
11832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11833 (eval "$ac_compile") 2>conftest.er1
11835 grep -v '^ *+' conftest.er1
>conftest.err
11837 cat conftest.err
>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } && {
11840 test -z "$ac_c_werror_flag" ||
11841 test ! -s conftest.err
11842 } && test -s conftest.
$ac_objext; then
11843 ac_header_compiler
=yes
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.
$ac_ext >&5
11848 ac_header_compiler
=no
11851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11852 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11853 echo "${ECHO_T}$ac_header_compiler" >&6; }
11855 # Is the header present?
11856 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11858 cat >conftest.
$ac_ext <<_ACEOF
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 #include <$ac_header>
11866 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11867 case "(($ac_try" in
11868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11869 *) ac_try_echo=$ac_try;;
11871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11874 grep -v '^ *+' conftest.er1 >conftest.err
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } >/dev/null && {
11879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11880 test ! -s conftest.err
11882 ac_header_preproc=yes
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5
11887 ac_header_preproc=no
11890 rm -f conftest.err conftest.$ac_ext
11891 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11892 echo "${ECHO_T}$ac_header_preproc" >&6; }
11894 # So? What about this header?
11895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11900 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11901 ac_header_preproc=yes
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11909 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11911 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11915 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11917 ## ------------------------------------ ##
11918 ## Report this to wine-devel@winehq.org ##
11919 ## ------------------------------------ ##
11921 ) | sed "s/^/$as_me: WARNING: /" >&2
11924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 eval "$as_ac_Header=\$ac_header_preproc"
11931 ac_res=`eval echo '${'$as_ac_Header'}'`
11932 { echo "$as_me:$LINENO: result: $ac_res" >&5
11933 echo "${ECHO_T}$ac_res" >&6; }
11936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11937 cat >>confdefs.h <<_ACEOF
11938 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11940 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11941 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11942 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lxml2 $ac_xml_libs $LIBS"
11947 cat >conftest.$ac_ext <<_ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11960 char xmlParseMemory ();
11964 return xmlParseMemory ();
11969 rm -f conftest.$ac_objext conftest$ac_exeext
11970 if { (ac_try="$ac_link"
11971 case "(($ac_try" in
11972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11973 *) ac_try_echo
=$ac_try;;
11975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11976 (eval "$ac_link") 2>conftest.er1
11978 grep -v '^ *+' conftest.er1
>conftest.err
11980 cat conftest.err
>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } && {
11983 test -z "$ac_c_werror_flag" ||
11984 test ! -s conftest.err
11985 } && test -s conftest
$ac_exeext &&
11986 $as_test_x conftest
$ac_exeext; then
11987 ac_cv_lib_xml2_xmlParseMemory
=yes
11989 echo "$as_me: failed program was:" >&5
11990 sed 's/^/| /' conftest.
$ac_ext >&5
11992 ac_cv_lib_xml2_xmlParseMemory
=no
11995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11996 conftest
$ac_exeext conftest.
$ac_ext
11997 LIBS
=$ac_check_lib_save_LIBS
11999 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12000 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12001 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
12003 cat >>confdefs.h
<<\_ACEOF
12004 #define HAVE_LIBXML2 1
12007 XML2LIBS
="$ac_xml_libs"
12008 XML2INCL
="$ac_xml_cflags"
12011 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
12012 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
12013 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 ac_check_lib_save_LIBS
=$LIBS
12017 LIBS
="-lxml2 $ac_xml_libs $LIBS"
12018 cat >conftest.
$ac_ext <<_ACEOF
12021 cat confdefs.h
>>conftest.
$ac_ext
12022 cat >>conftest.
$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12031 char xmlReadMemory ();
12035 return xmlReadMemory ();
12040 rm -f conftest.
$ac_objext conftest
$ac_exeext
12041 if { (ac_try
="$ac_link"
12042 case "(($ac_try" in
12043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12044 *) ac_try_echo=$ac_try;;
12046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12047 (eval "$ac_link") 2>conftest.er1
12049 grep -v '^ *+' conftest.er1 >conftest.err
12051 cat conftest.err >&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } && {
12054 test -z "$ac_c_werror_flag" ||
12055 test ! -s conftest.err
12056 } && test -s conftest$ac_exeext &&
12057 $as_test_x conftest$ac_exeext; then
12058 ac_cv_lib_xml2_xmlReadMemory=yes
12060 echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.$ac_ext >&5
12063 ac_cv_lib_xml2_xmlReadMemory=no
12066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12071 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12072 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12074 cat >>confdefs.h <<\_ACEOF
12075 #define HAVE_XMLREADMEMORY 1
12080 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12081 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12082 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 ac_check_lib_save_LIBS=$LIBS
12086 LIBS="-lxml2 $ac_xml_libs $LIBS"
12087 cat >conftest.$ac_ext <<_ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12100 char xmlNewDocPI ();
12104 return xmlNewDocPI ();
12109 rm -f conftest.$ac_objext conftest$ac_exeext
12110 if { (ac_try="$ac_link"
12111 case "(($ac_try" in
12112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12113 *) ac_try_echo
=$ac_try;;
12115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12116 (eval "$ac_link") 2>conftest.er1
12118 grep -v '^ *+' conftest.er1
>conftest.err
12120 cat conftest.err
>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); } && {
12123 test -z "$ac_c_werror_flag" ||
12124 test ! -s conftest.err
12125 } && test -s conftest
$ac_exeext &&
12126 $as_test_x conftest
$ac_exeext; then
12127 ac_cv_lib_xml2_xmlNewDocPI
=yes
12129 echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.
$ac_ext >&5
12132 ac_cv_lib_xml2_xmlNewDocPI
=no
12135 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12136 conftest
$ac_exeext conftest.
$ac_ext
12137 LIBS
=$ac_check_lib_save_LIBS
12139 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12140 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12141 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12143 cat >>confdefs.h
<<\_ACEOF
12144 #define HAVE_XMLNEWDOCPI 1
12154 CPPFLAGS
="$ac_save_CPPFLAGS"
12156 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12157 case "x$with_xml" in
12158 x
) wine_warnings
="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12160 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12161 This is an error since --with-xml was requested." >&5
12162 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12163 This is an error since --with-xml was requested." >&2;}
12164 { (exit 1); exit 1; }; } ;;
12169 if test "x$with_xslt" != "xno"
12171 if test "$PKG_CONFIG" != "false"
12173 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12174 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12176 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
12177 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
12179 ac_save_CPPFLAGS
="$CPPFLAGS"
12180 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
12183 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
12185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12188 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 cat >conftest.
$ac_ext <<_ACEOF
12194 cat confdefs.h
>>conftest.
$ac_ext
12195 cat >>conftest.
$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12197 #ifdef HAVE_LIBXSLT_PATTERN_H
12198 # include <libxslt/pattern.h>
12201 #include <$ac_header>
12203 rm -f conftest.
$ac_objext
12204 if { (ac_try
="$ac_compile"
12205 case "(($ac_try" in
12206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_compile") 2>conftest.er1
12212 grep -v '^ *+' conftest.er1 >conftest.err
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } && {
12217 test -z "$ac_c_werror_flag" ||
12218 test ! -s conftest.err
12219 } && test -s conftest.$ac_objext; then
12220 eval "$as_ac_Header=yes"
12222 echo "$as_me: failed program was:" >&5
12223 sed 's/^/| /' conftest.$ac_ext >&5
12225 eval "$as_ac_Header=no"
12228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12230 ac_res=`eval echo '${'$as_ac_Header'}'`
12231 { echo "$as_me:$LINENO: result: $ac_res" >&5
12232 echo "${ECHO_T}$ac_res" >&6; }
12233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12242 CPPFLAGS="$ac_save_CPPFLAGS"
12243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12245 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12246 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12247 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lxslt $ac_xslt_libs $LIBS"
12252 cat >conftest.$ac_ext <<_ACEOF
12255 cat confdefs.h >>conftest.$ac_ext
12256 cat >>conftest.$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12265 char xsltCompilePattern ();
12269 return xsltCompilePattern ();
12274 rm -f conftest.$ac_objext conftest$ac_exeext
12275 if { (ac_try="$ac_link"
12276 case "(($ac_try" in
12277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12278 *) ac_try_echo
=$ac_try;;
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_link") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1
>conftest.err
12285 cat conftest.err
>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } && {
12288 test -z "$ac_c_werror_flag" ||
12289 test ! -s conftest.err
12290 } && test -s conftest
$ac_exeext &&
12291 $as_test_x conftest
$ac_exeext; then
12292 ac_cv_lib_xslt_xsltCompilePattern
=yes
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.
$ac_ext >&5
12297 ac_cv_lib_xslt_xsltCompilePattern
=no
12300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12301 conftest
$ac_exeext conftest.
$ac_ext
12302 LIBS
=$ac_check_lib_save_LIBS
12304 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12305 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12306 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12308 cat >>confdefs.h
<<\_ACEOF
12309 #define HAVE_LIBXSLT 1
12312 XSLTLIBS
="$ac_xslt_libs"
12313 XSLTINCL
="$ac_xslt_cflags"
12314 ac_save_LIBS
="$LIBS"
12315 LIBS
="$LIBS $ac_xslt_libs"
12317 for ac_func
in xsltInit
12319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12320 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12322 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 cat >conftest.
$ac_ext <<_ACEOF
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12333 #define $ac_func innocuous_$ac_func
12335 /* System header to define __stub macros and hopefully few prototypes,
12336 which can conflict with char $ac_func (); below.
12337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12338 <limits.h> exists even on freestanding compilers. */
12341 # include <limits.h>
12343 # include <assert.h>
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12355 /* The GNU C library defines this for functions which it implements
12356 to always fail with ENOSYS. Some functions are actually named
12357 something starting with __ and the normal name is an alias. */
12358 #if defined __stub_$ac_func || defined __stub___$ac_func
12365 return $ac_func ();
12370 rm -f conftest.
$ac_objext conftest
$ac_exeext
12371 if { (ac_try
="$ac_link"
12372 case "(($ac_try" in
12373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12374 *) ac_try_echo=$ac_try;;
12376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12377 (eval "$ac_link") 2>conftest.er1
12379 grep -v '^ *+' conftest.er1 >conftest.err
12381 cat conftest.err >&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } && {
12384 test -z "$ac_c_werror_flag" ||
12385 test ! -s conftest.err
12386 } && test -s conftest$ac_exeext &&
12387 $as_test_x conftest$ac_exeext; then
12388 eval "$as_ac_var=yes"
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12393 eval "$as_ac_var=no"
12396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12397 conftest$ac_exeext conftest.$ac_ext
12399 ac_res=`eval echo '${'$as_ac_var'}'`
12400 { echo "$as_me:$LINENO: result: $ac_res" >&5
12401 echo "${ECHO_T}$ac_res" >&6; }
12402 if test `eval echo '${'$as_ac_var'}'` = yes; then
12403 cat >>confdefs.h <<_ACEOF
12404 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12410 LIBS="$ac_save_LIBS"
12415 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12416 case "x$with_xslt" in
12417 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12419 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12420 This is an error since --with-xslt was requested." >&5
12421 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12422 This is an error since --with-xslt was requested." >&2;}
12423 { (exit 1); exit 1; }; } ;;
12430 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12432 ac_save_CPPFLAGS="$CPPFLAGS"
12433 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12434 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12435 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12438 for ac_header in dbus/dbus.h hal/libhal.h
12440 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12445 echo $ECHO_N "(cached) $ECHO_C" >&6
12447 ac_res=`eval echo '${'$as_ac_Header'}'`
12448 { echo "$as_me:$LINENO: result: $ac_res" >&5
12449 echo "${ECHO_T}$ac_res" >&6; }
12451 # Is the header compilable?
12452 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12454 cat >conftest.$ac_ext <<_ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12460 $ac_includes_default
12461 #include <$ac_header>
12463 rm -f conftest.$ac_objext
12464 if { (ac_try="$ac_compile"
12465 case "(($ac_try" in
12466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12467 *) ac_try_echo
=$ac_try;;
12469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12470 (eval "$ac_compile") 2>conftest.er1
12472 grep -v '^ *+' conftest.er1
>conftest.err
12474 cat conftest.err
>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } && {
12477 test -z "$ac_c_werror_flag" ||
12478 test ! -s conftest.err
12479 } && test -s conftest.
$ac_objext; then
12480 ac_header_compiler
=yes
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12485 ac_header_compiler
=no
12488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12489 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12490 echo "${ECHO_T}$ac_header_compiler" >&6; }
12492 # Is the header present?
12493 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12495 cat >conftest.
$ac_ext <<_ACEOF
12498 cat confdefs.h
>>conftest.
$ac_ext
12499 cat >>conftest.
$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 #include <$ac_header>
12503 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12504 case "(($ac_try" in
12505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12506 *) ac_try_echo=$ac_try;;
12508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12511 grep -v '^ *+' conftest.er1 >conftest.err
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } >/dev/null && {
12516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12517 test ! -s conftest.err
12519 ac_header_preproc=yes
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.$ac_ext >&5
12524 ac_header_preproc=no
12527 rm -f conftest.err conftest.$ac_ext
12528 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12529 echo "${ECHO_T}$ac_header_preproc" >&6; }
12531 # So? What about this header?
12532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12538 ac_header_preproc=yes
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12554 ## ------------------------------------ ##
12555 ## Report this to wine-devel@winehq.org ##
12556 ## ------------------------------------ ##
12558 ) | sed "s/^/$as_me: WARNING: /" >&2
12561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 eval "$as_ac_Header=\$ac_header_preproc"
12568 ac_res=`eval echo '${'$as_ac_Header'}'`
12569 { echo "$as_me:$LINENO: result: $ac_res" >&5
12570 echo "${ECHO_T}$ac_res" >&6; }
12573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12574 cat >>confdefs.h <<_ACEOF
12575 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12582 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12584 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12585 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12586 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 ac_check_lib_save_LIBS=$LIBS
12590 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12591 cat >conftest.$ac_ext <<_ACEOF
12594 cat confdefs.h >>conftest.$ac_ext
12595 cat >>conftest.$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12604 char dbus_connection_close ();
12608 return dbus_connection_close ();
12613 rm -f conftest.$ac_objext conftest$ac_exeext
12614 if { (ac_try="$ac_link"
12615 case "(($ac_try" in
12616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12617 *) ac_try_echo
=$ac_try;;
12619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12620 (eval "$ac_link") 2>conftest.er1
12622 grep -v '^ *+' conftest.er1
>conftest.err
12624 cat conftest.err
>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } && {
12627 test -z "$ac_c_werror_flag" ||
12628 test ! -s conftest.err
12629 } && test -s conftest
$ac_exeext &&
12630 $as_test_x conftest
$ac_exeext; then
12631 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.
$ac_ext >&5
12636 ac_cv_lib_dbus_1_dbus_connection_close
=no
12639 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12640 conftest
$ac_exeext conftest.
$ac_ext
12641 LIBS
=$ac_check_lib_save_LIBS
12643 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12644 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12645 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12646 { echo "$as_me:$LINENO: checking for -lhal" >&5
12647 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12648 if test "${ac_cv_lib_soname_hal+set}" = set; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 ac_check_soname_save_LIBS
=$LIBS
12652 LIBS
="-lhal $ac_hal_libs $LIBS"
12653 cat >conftest.
$ac_ext <<_ACEOF
12656 cat confdefs.h
>>conftest.
$ac_ext
12657 cat >>conftest.
$ac_ext <<_ACEOF
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12666 char libhal_ctx_new ();
12670 return libhal_ctx_new ();
12675 rm -f conftest.
$ac_objext conftest
$ac_exeext
12676 if { (ac_try
="$ac_link"
12677 case "(($ac_try" in
12678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12679 *) ac_try_echo=$ac_try;;
12681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12682 (eval "$ac_link") 2>conftest.er1
12684 grep -v '^ *+' conftest.er1 >conftest.err
12686 cat conftest.err >&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); } && {
12689 test -z "$ac_c_werror_flag" ||
12690 test ! -s conftest.err
12691 } && test -s conftest$ac_exeext &&
12692 $as_test_x conftest$ac_exeext; then
12695 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'` ;;
12696 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.$ac_ext >&5
12705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12706 conftest$ac_exeext conftest.$ac_ext
12707 LIBS=$ac_check_soname_save_LIBS
12709 if test "x$ac_cv_lib_soname_hal" = "x"; then
12710 { echo "$as_me:$LINENO: result: not found" >&5
12711 echo "${ECHO_T}not found" >&6; }
12714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12715 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12717 cat >>confdefs.h <<_ACEOF
12718 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12721 HALINCL="$ac_hal_cflags"
12727 CPPFLAGS="$ac_save_CPPFLAGS"
12729 if test "x$ac_cv_lib_soname_hal" = "x"; then
12730 case "x$with_hal" in
12731 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12733 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12734 This is an error since --with-hal was requested." >&5
12735 echo "$as_me: error: libhal development files not found, no dynamic device support.
12736 This is an error since --with-hal was requested." >&2;}
12737 { (exit 1); exit 1; }; } ;;
12743 if test "$ac_cv_header_ncurses_h" = "yes"
12745 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12746 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12747 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12750 ac_check_soname_save_LIBS=$LIBS
12751 LIBS="-lncurses $LIBS"
12752 cat >conftest.$ac_ext <<_ACEOF
12755 cat confdefs.h >>conftest.$ac_ext
12756 cat >>conftest.$ac_ext <<_ACEOF
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12774 rm -f conftest.$ac_objext conftest$ac_exeext
12775 if { (ac_try="$ac_link"
12776 case "(($ac_try" in
12777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12778 *) ac_try_echo
=$ac_try;;
12780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12781 (eval "$ac_link") 2>conftest.er1
12783 grep -v '^ *+' conftest.er1
>conftest.err
12785 cat conftest.err
>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); } && {
12788 test -z "$ac_c_werror_flag" ||
12789 test ! -s conftest.err
12790 } && test -s conftest
$ac_exeext &&
12791 $as_test_x conftest
$ac_exeext; then
12794 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'` ;;
12795 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.
$ac_ext >&5
12804 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12805 conftest
$ac_exeext conftest.
$ac_ext
12806 LIBS
=$ac_check_soname_save_LIBS
12808 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12809 { echo "$as_me:$LINENO: result: not found" >&5
12810 echo "${ECHO_T}not found" >&6; }
12813 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12814 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12816 cat >>confdefs.h
<<_ACEOF
12817 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12820 CURSESLIBS
="-lncurses"
12823 elif test "$ac_cv_header_curses_h" = "yes"
12825 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12826 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12827 if test "${ac_cv_lib_soname_curses+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 ac_check_soname_save_LIBS
=$LIBS
12831 LIBS
="-lcurses $LIBS"
12832 cat >conftest.
$ac_ext <<_ACEOF
12835 cat confdefs.h
>>conftest.
$ac_ext
12836 cat >>conftest.
$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12854 rm -f conftest.
$ac_objext conftest
$ac_exeext
12855 if { (ac_try
="$ac_link"
12856 case "(($ac_try" in
12857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12858 *) ac_try_echo=$ac_try;;
12860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 (eval "$ac_link") 2>conftest.er1
12863 grep -v '^ *+' conftest.er1 >conftest.err
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } && {
12868 test -z "$ac_c_werror_flag" ||
12869 test ! -s conftest.err
12870 } && test -s conftest$ac_exeext &&
12871 $as_test_x conftest$ac_exeext; then
12874 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'` ;;
12875 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.$ac_ext >&5
12884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12885 conftest$ac_exeext conftest.$ac_ext
12886 LIBS=$ac_check_soname_save_LIBS
12888 if test "x$ac_cv_lib_soname_curses" = "x"; then
12889 { echo "$as_me:$LINENO: result: not found" >&5
12890 echo "${ECHO_T}not found" >&6; }
12893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12894 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12896 cat >>confdefs.h <<_ACEOF
12897 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12900 CURSESLIBS="-lcurses"
12904 ac_save_LIBS="$LIBS"
12905 LIBS="$LIBS $CURSESLIBS"
12907 for ac_func in mousemask
12909 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 cat >conftest.$ac_ext <<_ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12923 #define $ac_func innocuous_$ac_func
12925 /* System header to define __stub macros and hopefully few prototypes,
12926 which can conflict with char $ac_func (); below.
12927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12928 <limits.h> exists even on freestanding compilers. */
12931 # include <limits.h>
12933 # include <assert.h>
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined __stub_$ac_func || defined __stub___$ac_func
12955 return $ac_func ();
12960 rm -f conftest.$ac_objext conftest$ac_exeext
12961 if { (ac_try="$ac_link"
12962 case "(($ac_try" in
12963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12964 *) ac_try_echo
=$ac_try;;
12966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12967 (eval "$ac_link") 2>conftest.er1
12969 grep -v '^ *+' conftest.er1
>conftest.err
12971 cat conftest.err
>&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } && {
12974 test -z "$ac_c_werror_flag" ||
12975 test ! -s conftest.err
12976 } && test -s conftest
$ac_exeext &&
12977 $as_test_x conftest
$ac_exeext; then
12978 eval "$as_ac_var=yes"
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 eval "$as_ac_var=no"
12986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12987 conftest
$ac_exeext conftest.
$ac_ext
12989 ac_res
=`eval echo '${'$as_ac_var'}'`
12990 { echo "$as_me:$LINENO: result: $ac_res" >&5
12991 echo "${ECHO_T}$ac_res" >&6; }
12992 if test `eval echo '${'$as_ac_var'}'` = yes; then
12993 cat >>confdefs.h
<<_ACEOF
12994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13000 LIBS
="$ac_save_LIBS"
13001 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
13002 case "x$with_curses" in
13003 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
13005 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
13006 This is an error since --with-curses was requested." >&5
13007 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
13008 This is an error since --with-curses was requested." >&2;}
13009 { (exit 1); exit 1; }; } ;;
13014 # Extract the first word of "sane-config", so it can be a program name with args.
13015 set dummy sane-config
; ac_word
=$2
13016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13018 if test "${ac_cv_prog_sane_devel+set}" = set; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 if test -n "$sane_devel"; then
13022 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
13024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13025 for as_dir
in $PATH
13028 test -z "$as_dir" && as_dir
=.
13029 for ac_exec_ext
in '' $ac_executable_extensions; do
13030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13031 ac_cv_prog_sane_devel
="sane-config"
13032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13039 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
13042 sane_devel
=$ac_cv_prog_sane_devel
13043 if test -n "$sane_devel"; then
13044 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13045 echo "${ECHO_T}$sane_devel" >&6; }
13047 { echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6; }
13052 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13054 ac_sane_incl
="`$sane_devel --cflags`"
13055 ac_save_CPPFLAGS
="$CPPFLAGS"
13056 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
13057 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13058 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13059 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13060 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13064 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13066 # Is the header compilable?
13067 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13068 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13069 cat >conftest.
$ac_ext <<_ACEOF
13072 cat confdefs.h
>>conftest.
$ac_ext
13073 cat >>conftest.
$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 $ac_includes_default
13076 #include <sane/sane.h>
13078 rm -f conftest.
$ac_objext
13079 if { (ac_try
="$ac_compile"
13080 case "(($ac_try" in
13081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13082 *) ac_try_echo=$ac_try;;
13084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13085 (eval "$ac_compile") 2>conftest.er1
13087 grep -v '^ *+' conftest.er1 >conftest.err
13089 cat conftest.err >&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); } && {
13092 test -z "$ac_c_werror_flag" ||
13093 test ! -s conftest.err
13094 } && test -s conftest.$ac_objext; then
13095 ac_header_compiler=yes
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.$ac_ext >&5
13100 ac_header_compiler=no
13103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13105 echo "${ECHO_T}$ac_header_compiler" >&6; }
13107 # Is the header present?
13108 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13109 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13110 cat >conftest.$ac_ext <<_ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116 #include <sane/sane.h>
13118 if { (ac_try="$ac_cpp conftest.$ac_ext"
13119 case "(($ac_try" in
13120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13121 *) ac_try_echo
=$ac_try;;
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13126 grep -v '^ *+' conftest.er1
>conftest.err
13128 cat conftest.err
>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } >/dev
/null
&& {
13131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13132 test ! -s conftest.err
13134 ac_header_preproc
=yes
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.
$ac_ext >&5
13139 ac_header_preproc
=no
13142 rm -f conftest.err conftest.
$ac_ext
13143 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13144 echo "${ECHO_T}$ac_header_preproc" >&6; }
13146 # So? What about this header?
13147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13149 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13150 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13152 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13153 ac_header_preproc
=yes
13156 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13157 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13159 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13161 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13163 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13165 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13167 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13169 ## ------------------------------------ ##
13170 ## Report this to wine-devel@winehq.org ##
13171 ## ------------------------------------ ##
13173 ) |
sed "s/^/$as_me: WARNING: /" >&2
13176 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13177 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13178 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 ac_cv_header_sane_sane_h
=$ac_header_preproc
13183 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13184 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13187 if test $ac_cv_header_sane_sane_h = yes; then
13188 { echo "$as_me:$LINENO: checking for -lsane" >&5
13189 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13190 if test "${ac_cv_lib_soname_sane+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 ac_check_soname_save_LIBS
=$LIBS
13194 LIBS
="-lsane $LIBS"
13195 cat >conftest.
$ac_ext <<_ACEOF
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13212 return sane_init ();
13217 rm -f conftest.
$ac_objext conftest
$ac_exeext
13218 if { (ac_try
="$ac_link"
13219 case "(($ac_try" in
13220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_link") 2>conftest.er1
13226 grep -v '^ *+' conftest.er1 >conftest.err
13228 cat conftest.err >&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } && {
13231 test -z "$ac_c_werror_flag" ||
13232 test ! -s conftest.err
13233 } && test -s conftest$ac_exeext &&
13234 $as_test_x conftest$ac_exeext; then
13237 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'` ;;
13238 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13248 conftest$ac_exeext conftest.$ac_ext
13249 LIBS=$ac_check_soname_save_LIBS
13251 if test "x$ac_cv_lib_soname_sane" = "x"; then
13252 { echo "$as_me:$LINENO: result: not found" >&5
13253 echo "${ECHO_T}not found" >&6; }
13256 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13257 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13259 cat >>confdefs.h <<_ACEOF
13260 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13263 SANEINCL="$ac_sane_incl"
13270 CPPFLAGS="$ac_save_CPPFLAGS"
13272 if test "x$ac_cv_lib_soname_sane" = "x"; then
13273 case "x$with_sane" in
13274 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13276 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13277 This is an error since --with-sane was requested." >&5
13278 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13279 This is an error since --with-sane was requested." >&2;}
13280 { (exit 1); exit 1; }; } ;;
13285 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13286 set dummy gphoto2-config; ac_word=$2
13287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13289 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 if test -n "$gphoto2_devel"; then
13293 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13296 for as_dir in $PATH
13299 test -z "$as_dir" && as_dir=.
13300 for ac_exec_ext in '' $ac_executable_extensions; do
13301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13302 ac_cv_prog_gphoto2_devel="gphoto2-config"
13303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13310 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13313 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13314 if test -n "$gphoto2_devel"; then
13315 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13316 echo "${ECHO_T}$gphoto2_devel" >&6; }
13318 { echo "$as_me:$LINENO: result: no" >&5
13319 echo "${ECHO_T}no" >&6; }
13323 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13324 set dummy gphoto2-port-config; ac_word=$2
13325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13327 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 if test -n "$gphoto2port_devel"; then
13331 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13334 for as_dir in $PATH
13337 test -z "$as_dir" && as_dir=.
13338 for ac_exec_ext in '' $ac_executable_extensions; do
13339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13340 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13348 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13351 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13352 if test -n "$gphoto2port_devel"; then
13353 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13354 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13356 { echo "$as_me:$LINENO: result: no" >&5
13357 echo "${ECHO_T}no" >&6; }
13361 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13363 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13365 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13368 -L/usr/lib|-L/usr/lib64) ;;
13369 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13372 ac_save_CPPFLAGS="$CPPFLAGS"
13373 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13374 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13375 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13376 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13377 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13381 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13383 # Is the header compilable?
13384 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13385 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13386 cat >conftest.$ac_ext <<_ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 $ac_includes_default
13393 #include <gphoto2-camera.h>
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13399 *) ac_try_echo
=$ac_try;;
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13404 grep -v '^ *+' conftest.er1
>conftest.err
13406 cat conftest.err
>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.
$ac_objext; then
13412 ac_header_compiler
=yes
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13417 ac_header_compiler
=no
13420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13421 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13422 echo "${ECHO_T}$ac_header_compiler" >&6; }
13424 # Is the header present?
13425 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13426 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13427 cat >conftest.
$ac_ext <<_ACEOF
13430 cat confdefs.h
>>conftest.
$ac_ext
13431 cat >>conftest.
$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <gphoto2-camera.h>
13435 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13436 case "(($ac_try" in
13437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13443 grep -v '^ *+' conftest.er1 >conftest.err
13445 cat conftest.err >&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } >/dev/null && {
13448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13449 test ! -s conftest.err
13451 ac_header_preproc=yes
13453 echo "$as_me: failed program was:" >&5
13454 sed 's/^/| /' conftest.$ac_ext >&5
13456 ac_header_preproc=no
13459 rm -f conftest.err conftest.$ac_ext
13460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13461 echo "${ECHO_T}$ac_header_preproc" >&6; }
13463 # So? What about this header?
13464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13466 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13467 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13468 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13469 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13470 ac_header_preproc=yes
13473 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13474 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13475 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13476 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13477 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13478 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13480 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13481 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13482 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13484 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13486 ## ------------------------------------ ##
13487 ## Report this to wine-devel@winehq.org ##
13488 ## ------------------------------------ ##
13490 ) | sed "s/^/$as_me: WARNING: /" >&2
13493 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13494 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13495 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6
13498 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13500 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13501 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13504 if test $ac_cv_header_gphoto2_camera_h = yes; then
13505 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13506 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13507 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-lgphoto2 $GPHOTO2LIBS $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 gp_camera_new ();
13529 return gp_camera_new ();
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_gphoto2_gp_camera_new
=yes
13554 echo "$as_me: failed program was:" >&5
13555 sed 's/^/| /' conftest.
$ac_ext >&5
13557 ac_cv_lib_gphoto2_gp_camera_new
=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_gphoto2_gp_camera_new" >&5
13565 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13566 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13568 cat >>confdefs.h
<<\_ACEOF
13569 #define HAVE_GPHOTO2 1
13572 GPHOTO2LIBS
="$ac_gphoto2_libs"
13574 GPHOTO2INCL
="$ac_gphoto2_incl"
13581 CPPFLAGS
="$ac_save_CPPFLAGS"
13583 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13584 case "x$with_gphoto" in
13585 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13587 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13588 This is an error since --with-gphoto was requested." >&5
13589 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13590 This is an error since --with-gphoto was requested." >&2;}
13591 { (exit 1); exit 1; }; } ;;
13599 if test "$ac_cv_header_resolv_h" = "yes"
13601 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13602 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13603 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 ac_check_lib_save_LIBS
=$LIBS
13607 LIBS
="-lresolv $LIBS"
13608 cat >conftest.
$ac_ext <<_ACEOF
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13615 /* Override any GCC internal prototype to avoid an error.
13616 Use char because int might match the return type of a GCC
13617 builtin and then its argument prototype would still apply. */
13625 return res_query ();
13630 rm -f conftest.
$ac_objext conftest
$ac_exeext
13631 if { (ac_try
="$ac_link"
13632 case "(($ac_try" in
13633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13634 *) ac_try_echo=$ac_try;;
13636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13637 (eval "$ac_link") 2>conftest.er1
13639 grep -v '^ *+' conftest.er1 >conftest.err
13641 cat conftest.err >&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } && {
13644 test -z "$ac_c_werror_flag" ||
13645 test ! -s conftest.err
13646 } && test -s conftest$ac_exeext &&
13647 $as_test_x conftest$ac_exeext; then
13648 ac_cv_lib_resolv_res_query=yes
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.$ac_ext >&5
13653 ac_cv_lib_resolv_res_query=no
13656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_check_lib_save_LIBS
13660 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13661 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13662 if test $ac_cv_lib_resolv_res_query = yes; then
13664 cat >>confdefs.h <<\_ACEOF
13665 #define HAVE_RESOLV 1
13668 RESOLVLIBS="-lresolv"
13675 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13677 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13678 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13679 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13680 echo $ECHO_N "(cached) $ECHO_C" >&6
13682 ac_check_lib_save_LIBS=$LIBS
13683 LIBS="-llcms $LIBS"
13684 cat >conftest.$ac_ext <<_ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13691 /* Override any GCC internal prototype to avoid an error.
13692 Use char because int might match the return type of a GCC
13693 builtin and then its argument prototype would still apply. */
13697 char cmsOpenProfileFromFile ();
13701 return cmsOpenProfileFromFile ();
13706 rm -f conftest.$ac_objext conftest$ac_exeext
13707 if { (ac_try="$ac_link"
13708 case "(($ac_try" in
13709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13710 *) ac_try_echo
=$ac_try;;
13712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13713 (eval "$ac_link") 2>conftest.er1
13715 grep -v '^ *+' conftest.er1
>conftest.err
13717 cat conftest.err
>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } && {
13720 test -z "$ac_c_werror_flag" ||
13721 test ! -s conftest.err
13722 } && test -s conftest
$ac_exeext &&
13723 $as_test_x conftest
$ac_exeext; then
13724 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.
$ac_ext >&5
13729 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13733 conftest
$ac_exeext conftest.
$ac_ext
13734 LIBS
=$ac_check_lib_save_LIBS
13736 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13737 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13738 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13740 cat >>confdefs.h
<<\_ACEOF
13741 #define HAVE_LCMS 1
13748 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13749 case "x$with_cms" in
13750 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13752 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13753 This is an error since --with-cms was requested." >&5
13754 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13755 This is an error since --with-cms was requested." >&2;}
13756 { (exit 1); exit 1; }; } ;;
13763 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13765 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13766 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13767 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13770 ac_check_lib_save_LIBS
=$LIBS
13771 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13772 cat >conftest.
$ac_ext <<_ACEOF
13775 cat confdefs.h
>>conftest.
$ac_ext
13776 cat >>conftest.
$ac_ext <<_ACEOF
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13785 char ldap_initialize ();
13789 return ldap_initialize ();
13794 rm -f conftest.
$ac_objext conftest
$ac_exeext
13795 if { (ac_try
="$ac_link"
13796 case "(($ac_try" in
13797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13798 *) ac_try_echo=$ac_try;;
13800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13801 (eval "$ac_link") 2>conftest.er1
13803 grep -v '^ *+' conftest.er1 >conftest.err
13805 cat conftest.err >&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } && {
13808 test -z "$ac_c_werror_flag" ||
13809 test ! -s conftest.err
13810 } && test -s conftest$ac_exeext &&
13811 $as_test_x conftest$ac_exeext; then
13812 ac_cv_lib_ldap_r_ldap_initialize=yes
13814 echo "$as_me: failed program was:" >&5
13815 sed 's/^/| /' conftest.$ac_ext >&5
13817 ac_cv_lib_ldap_r_ldap_initialize=no
13820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13825 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13826 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13827 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13828 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13829 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 ac_check_lib_save_LIBS=$LIBS
13833 LIBS="-llber $LIBPTHREAD $LIBS"
13834 cat >conftest.$ac_ext <<_ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13851 return ber_init ();
13856 rm -f conftest.$ac_objext conftest$ac_exeext
13857 if { (ac_try="$ac_link"
13858 case "(($ac_try" in
13859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13860 *) ac_try_echo
=$ac_try;;
13862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_link") 2>conftest.er1
13865 grep -v '^ *+' conftest.er1
>conftest.err
13867 cat conftest.err
>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } && {
13870 test -z "$ac_c_werror_flag" ||
13871 test ! -s conftest.err
13872 } && test -s conftest
$ac_exeext &&
13873 $as_test_x conftest
$ac_exeext; then
13874 ac_cv_lib_lber_ber_init
=yes
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.
$ac_ext >&5
13879 ac_cv_lib_lber_ber_init
=no
13882 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13883 conftest
$ac_exeext conftest.
$ac_ext
13884 LIBS
=$ac_check_lib_save_LIBS
13886 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13887 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13888 if test $ac_cv_lib_lber_ber_init = yes; then
13890 cat >>confdefs.h
<<\_ACEOF
13891 #define HAVE_LDAP 1
13894 LDAPLIBS
="-lldap_r -llber"
13899 ac_wine_check_funcs_save_LIBS
="$LIBS"
13900 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13910 ldap_count_references \
13911 ldap_first_reference \
13912 ldap_next_reference \
13913 ldap_parse_reference \
13914 ldap_parse_sort_control \
13915 ldap_parse_sortresponse_control \
13916 ldap_parse_vlv_control \
13917 ldap_parse_vlvresponse_control
13919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13922 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 cat >conftest.
$ac_ext <<_ACEOF
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13933 #define $ac_func innocuous_$ac_func
13935 /* System header to define __stub macros and hopefully few prototypes,
13936 which can conflict with char $ac_func (); below.
13937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13938 <limits.h> exists even on freestanding compilers. */
13941 # include <limits.h>
13943 # include <assert.h>
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13955 /* The GNU C library defines this for functions which it implements
13956 to always fail with ENOSYS. Some functions are actually named
13957 something starting with __ and the normal name is an alias. */
13958 #if defined __stub_$ac_func || defined __stub___$ac_func
13965 return $ac_func ();
13970 rm -f conftest.
$ac_objext conftest
$ac_exeext
13971 if { (ac_try
="$ac_link"
13972 case "(($ac_try" in
13973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13974 *) ac_try_echo=$ac_try;;
13976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13977 (eval "$ac_link") 2>conftest.er1
13979 grep -v '^ *+' conftest.er1 >conftest.err
13981 cat conftest.err >&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && {
13984 test -z "$ac_c_werror_flag" ||
13985 test ! -s conftest.err
13986 } && test -s conftest$ac_exeext &&
13987 $as_test_x conftest$ac_exeext; then
13988 eval "$as_ac_var=yes"
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13993 eval "$as_ac_var=no"
13996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13997 conftest$ac_exeext conftest.$ac_ext
13999 ac_res=`eval echo '${'$as_ac_var'}'`
14000 { echo "$as_me:$LINENO: result: $ac_res" >&5
14001 echo "${ECHO_T}$ac_res" >&6; }
14002 if test `eval echo '${'$as_ac_var'}'` = yes; then
14003 cat >>confdefs.h <<_ACEOF
14004 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14010 LIBS="$ac_wine_check_funcs_save_LIBS"
14012 if test "x$LDAPLIBS" = "x"; then
14013 case "x$with_ldap" in
14014 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
14016 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
14017 This is an error since --with-ldap was requested." >&5
14018 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
14019 This is an error since --with-ldap was requested." >&2;}
14020 { (exit 1); exit 1; }; } ;;
14025 for ac_prog in freetype-config freetype2-config
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy $ac_prog; ac_word=$2
14029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14031 if test "${ac_cv_prog_ft_devel+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 if test -n "$ft_devel"; then
14035 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 ac_cv_prog_ft_devel="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 ft_devel=$ac_cv_prog_ft_devel
14055 if test -n "$ft_devel"; then
14056 { echo "$as_me:$LINENO: result: $ft_devel" >&5
14057 echo "${ECHO_T}$ft_devel" >&6; }
14059 { echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6; }
14064 test -n "$ft_devel" && break
14066 test -n "$ft_devel" || ft_devel="false"
14068 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14070 ac_freetype_libs=`$ft_devel --libs`
14071 ac_freetype_incl=`$ft_devel --cflags`
14072 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14073 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14074 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 ac_check_soname_save_LIBS=$LIBS
14078 LIBS="-lfreetype $ac_freetype_libs $LIBS"
14079 cat >conftest.$ac_ext <<_ACEOF
14082 cat confdefs.h >>conftest.$ac_ext
14083 cat >>conftest.$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14092 char FT_Init_FreeType ();
14096 return FT_Init_FreeType ();
14101 rm -f conftest.$ac_objext conftest$ac_exeext
14102 if { (ac_try="$ac_link"
14103 case "(($ac_try" in
14104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14105 *) ac_try_echo
=$ac_try;;
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_link") 2>conftest.er1
14110 grep -v '^ *+' conftest.er1
>conftest.err
14112 cat conftest.err
>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest
$ac_exeext &&
14118 $as_test_x conftest
$ac_exeext; then
14121 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'` ;;
14122 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14125 echo "$as_me: failed program was:" >&5
14126 sed 's/^/| /' conftest.
$ac_ext >&5
14131 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 LIBS
=$ac_check_soname_save_LIBS
14135 if test "x$ac_cv_lib_soname_freetype" = "x"; then
14136 { echo "$as_me:$LINENO: result: not found" >&5
14137 echo "${ECHO_T}not found" >&6; }
14140 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14141 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14143 cat >>confdefs.h
<<_ACEOF
14144 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14150 if test "$ft_lib" = "yes"
14152 ac_save_CPPFLAGS
="$CPPFLAGS"
14153 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
14166 for ac_header
in ft2build.h \
14167 freetype
/freetype.h \
14168 freetype
/ftglyph.h \
14169 freetype
/fttypes.h \
14170 freetype
/tttables.h \
14171 freetype
/ftnames.h \
14172 freetype
/ftsnames.h \
14173 freetype
/ttnameid.h \
14174 freetype
/ftoutln.h \
14175 freetype
/ftwinfnt.h \
14176 freetype
/ftmodapi.h \
14177 freetype
/internal
/sfnt.h
14179 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14182 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 cat >conftest.
$ac_ext <<_ACEOF
14188 cat confdefs.h
>>conftest.
$ac_ext
14189 cat >>conftest.
$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 #ifdef HAVE_FT2BUILD_H
14192 # include <ft2build.h>
14195 #include <$ac_header>
14197 rm -f conftest.
$ac_objext
14198 if { (ac_try
="$ac_compile"
14199 case "(($ac_try" in
14200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_compile") 2>conftest.er1
14206 grep -v '^ *+' conftest.er1 >conftest.err
14208 cat conftest.err >&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } && {
14211 test -z "$ac_c_werror_flag" ||
14212 test ! -s conftest.err
14213 } && test -s conftest.$ac_objext; then
14214 eval "$as_ac_Header=yes"
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.$ac_ext >&5
14219 eval "$as_ac_Header=no"
14222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14224 ac_res=`eval echo '${'$as_ac_Header'}'`
14225 { echo "$as_me:$LINENO: result: $ac_res" >&5
14226 echo "${ECHO_T}$ac_res" >&6; }
14227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14228 cat >>confdefs.h <<_ACEOF
14229 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14236 cat >conftest.$ac_ext <<_ACEOF
14239 cat confdefs.h >>conftest.$ac_ext
14240 cat >>conftest.$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14242 #include <ft2build.h>
14243 #include <freetype/fttrigon.h>
14245 if { (ac_try="$ac_cpp conftest.$ac_ext"
14246 case "(($ac_try" in
14247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14248 *) ac_try_echo
=$ac_try;;
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14253 grep -v '^ *+' conftest.er1
>conftest.err
14255 cat conftest.err
>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } >/dev
/null
&& {
14258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14259 test ! -s conftest.err
14262 cat >>confdefs.h
<<\_ACEOF
14263 #define HAVE_FREETYPE_FTTRIGON_H 1
14266 wine_cv_fttrigon
=yes
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14271 wine_cv_fttrigon
=no
14274 rm -f conftest.err conftest.
$ac_ext
14275 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14276 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14277 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14280 cat >conftest.
$ac_ext <<_ACEOF
14283 cat confdefs.h
>>conftest.
$ac_ext
14284 cat >>conftest.
$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14286 #include <freetype/ftmodapi.h>
14288 typedef FT_TrueTypeEngineType ac__type_new_;
14292 if ((ac__type_new_ *) 0)
14294 if (sizeof (ac__type_new_))
14300 rm -f conftest.
$ac_objext
14301 if { (ac_try
="$ac_compile"
14302 case "(($ac_try" in
14303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14304 *) ac_try_echo=$ac_try;;
14306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14307 (eval "$ac_compile") 2>conftest.er1
14309 grep -v '^ *+' conftest.er1 >conftest.err
14311 cat conftest.err >&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } && {
14314 test -z "$ac_c_werror_flag" ||
14315 test ! -s conftest.err
14316 } && test -s conftest.$ac_objext; then
14317 ac_cv_type_FT_TrueTypeEngineType=yes
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14322 ac_cv_type_FT_TrueTypeEngineType=no
14325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14327 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14328 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14329 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14331 cat >>confdefs.h <<_ACEOF
14332 #define HAVE_FT_TRUETYPEENGINETYPE 1
14338 ac_save_CFLAGS="$CFLAGS"
14339 CFLAGS="$CFLAGS $ac_freetype_libs"
14341 for ac_func in FT_Load_Sfnt_Table
14343 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14344 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14346 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 cat >conftest.$ac_ext <<_ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14357 #define $ac_func innocuous_$ac_func
14359 /* System header to define __stub macros and hopefully few prototypes,
14360 which can conflict with char $ac_func (); below.
14361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14362 <limits.h> exists even on freestanding compilers. */
14365 # include <limits.h>
14367 # include <assert.h>
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14379 /* The GNU C library defines this for functions which it implements
14380 to always fail with ENOSYS. Some functions are actually named
14381 something starting with __ and the normal name is an alias. */
14382 #if defined __stub_$ac_func || defined __stub___$ac_func
14389 return $ac_func ();
14394 rm -f conftest.$ac_objext conftest$ac_exeext
14395 if { (ac_try="$ac_link"
14396 case "(($ac_try" in
14397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14398 *) ac_try_echo
=$ac_try;;
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_link") 2>conftest.er1
14403 grep -v '^ *+' conftest.er1
>conftest.err
14405 cat conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } && {
14408 test -z "$ac_c_werror_flag" ||
14409 test ! -s conftest.err
14410 } && test -s conftest
$ac_exeext &&
14411 $as_test_x conftest
$ac_exeext; then
14412 eval "$as_ac_var=yes"
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.
$ac_ext >&5
14417 eval "$as_ac_var=no"
14420 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14421 conftest
$ac_exeext conftest.
$ac_ext
14423 ac_res
=`eval echo '${'$as_ac_var'}'`
14424 { echo "$as_me:$LINENO: result: $ac_res" >&5
14425 echo "${ECHO_T}$ac_res" >&6; }
14426 if test `eval echo '${'$as_ac_var'}'` = yes; then
14427 cat >>confdefs.h
<<_ACEOF
14428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 CFLAGS
="$ac_save_CFLAGS"
14435 CPPFLAGS
="$ac_save_CPPFLAGS"
14436 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14439 cat >>confdefs.h
<<\_ACEOF
14440 #define HAVE_FREETYPE 1
14443 FREETYPELIBS
="$ac_freetype_libs"
14445 FREETYPEINCL
="$ac_freetype_incl"
14447 FONTSSUBDIRS
="fonts"
14452 if test "x$FREETYPELIBS" = "x"; then
14453 case "x$with_freetype" in
14455 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14456 Fonts will not be built. Dialog text may be invisible or unaligned.
14457 Use the --without-freetype option if you really want this." >&5
14458 echo "$as_me: error: FreeType development files not found.
14459 Fonts will not be built. Dialog text may be invisible or unaligned.
14460 Use the --without-freetype option if you really want this." >&2;}
14461 { (exit 1); exit 1; }; } ;;
14466 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14467 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14468 if test "${ac_cv_c_ppdev+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 cat >conftest.
$ac_ext <<_ACEOF
14474 cat confdefs.h
>>conftest.
$ac_ext
14475 cat >>conftest.
$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 #include <linux/ppdev.h>
14481 ioctl (1,PPCLAIM,0)
14486 rm -f conftest.
$ac_objext
14487 if { (ac_try
="$ac_compile"
14488 case "(($ac_try" in
14489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_compile") 2>conftest.er1
14495 grep -v '^ *+' conftest.er1 >conftest.err
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } && {
14500 test -z "$ac_c_werror_flag" ||
14501 test ! -s conftest.err
14502 } && test -s conftest.$ac_objext; then
14503 ac_cv_c_ppdev="yes"
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14513 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14514 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14515 if test "$ac_cv_c_ppdev" = "yes"
14518 cat >>confdefs.h <<\_ACEOF
14519 #define HAVE_PPDEV 1
14524 { echo "$as_me:$LINENO: checking for va_copy" >&5
14525 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14526 if test "${ac_cv_c_va_copy+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 cat >conftest.$ac_ext <<_ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 #include <stdarg.h>
14539 va_list ap1, ap2; va_copy(ap1,ap2);
14544 rm -f conftest.$ac_objext conftest$ac_exeext
14545 if { (ac_try="$ac_link"
14546 case "(($ac_try" in
14547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14548 *) ac_try_echo
=$ac_try;;
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_link") 2>conftest.er1
14553 grep -v '^ *+' conftest.er1
>conftest.err
14555 cat conftest.err
>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } && {
14558 test -z "$ac_c_werror_flag" ||
14559 test ! -s conftest.err
14560 } && test -s conftest
$ac_exeext &&
14561 $as_test_x conftest
$ac_exeext; then
14562 ac_cv_c_va_copy
="yes"
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.
$ac_ext >&5
14567 ac_cv_c_va_copy
="no"
14570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14571 conftest
$ac_exeext conftest.
$ac_ext
14574 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14575 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14576 if test "$ac_cv_c_va_copy" = "yes"
14579 cat >>confdefs.h
<<\_ACEOF
14580 #define HAVE_VA_COPY 1
14584 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14585 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14586 if test "${ac_cv_c___va_copy+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14589 cat >conftest.
$ac_ext <<_ACEOF
14592 cat confdefs.h
>>conftest.
$ac_ext
14593 cat >>conftest.
$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #include <stdarg.h>
14599 va_list ap1, ap2; __va_copy(ap1,ap2);
14604 rm -f conftest.
$ac_objext conftest
$ac_exeext
14605 if { (ac_try
="$ac_link"
14606 case "(($ac_try" in
14607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14608 *) ac_try_echo=$ac_try;;
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_link") 2>conftest.er1
14613 grep -v '^ *+' conftest.er1 >conftest.err
14615 cat conftest.err >&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } && {
14618 test -z "$ac_c_werror_flag" ||
14619 test ! -s conftest.err
14620 } && test -s conftest$ac_exeext &&
14621 $as_test_x conftest$ac_exeext; then
14622 ac_cv_c___va_copy="yes"
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14627 ac_cv_c___va_copy="no"
14630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14631 conftest$ac_exeext conftest.$ac_ext
14634 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14635 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14636 if test "$ac_cv_c___va_copy" = "yes"
14639 cat >>confdefs.h <<\_ACEOF
14640 #define HAVE___VA_COPY 1
14645 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14646 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14647 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 cat >conftest.$ac_ext <<_ACEOF
14653 cat confdefs.h >>conftest.$ac_ext
14654 cat >>conftest.$ac_ext <<_ACEOF
14655 /* end confdefs.h. */
14656 #define _GNU_SOURCE
14657 #include <pthread.h>
14659 typedef pthread_rwlock_t ac__type_new_;
14663 if ((ac__type_new_ *) 0)
14665 if (sizeof (ac__type_new_))
14671 rm -f conftest.$ac_objext
14672 if { (ac_try="$ac_compile"
14673 case "(($ac_try" in
14674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14675 *) ac_try_echo
=$ac_try;;
14677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14678 (eval "$ac_compile") 2>conftest.er1
14680 grep -v '^ *+' conftest.er1
>conftest.err
14682 cat conftest.err
>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); } && {
14685 test -z "$ac_c_werror_flag" ||
14686 test ! -s conftest.err
14687 } && test -s conftest.
$ac_objext; then
14688 ac_cv_type_pthread_rwlock_t
=yes
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.
$ac_ext >&5
14693 ac_cv_type_pthread_rwlock_t
=no
14696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14698 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14699 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14700 if test $ac_cv_type_pthread_rwlock_t = yes; then
14702 cat >>confdefs.h
<<_ACEOF
14703 #define HAVE_PTHREAD_RWLOCK_T 1
14708 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14709 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14710 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 cat >conftest.
$ac_ext <<_ACEOF
14716 cat confdefs.h
>>conftest.
$ac_ext
14717 cat >>conftest.
$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 #define _GNU_SOURCE
14720 #include <pthread.h>
14722 typedef pthread_rwlockattr_t ac__type_new_;
14726 if ((ac__type_new_ *) 0)
14728 if (sizeof (ac__type_new_))
14734 rm -f conftest.
$ac_objext
14735 if { (ac_try
="$ac_compile"
14736 case "(($ac_try" in
14737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14741 (eval "$ac_compile") 2>conftest.er1
14743 grep -v '^ *+' conftest.er1 >conftest.err
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest.$ac_objext; then
14751 ac_cv_type_pthread_rwlockattr_t=yes
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 ac_cv_type_pthread_rwlockattr_t=no
14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14762 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14763 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14765 cat >>confdefs.h <<_ACEOF
14766 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14773 ac_wine_check_funcs_save_LIBS="$LIBS"
14774 LIBS="$LIBS $LIBPTHREAD"
14780 pthread_attr_get_np \
14781 pthread_getattr_np \
14782 pthread_get_stackaddr_np \
14783 pthread_get_stacksize_np
14785 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 cat >conftest.$ac_ext <<_ACEOF
14794 cat confdefs.h >>conftest.$ac_ext
14795 cat >>conftest.$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14799 #define $ac_func innocuous_$ac_func
14801 /* System header to define __stub macros and hopefully few prototypes,
14802 which can conflict with char $ac_func (); below.
14803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14804 <limits.h> exists even on freestanding compilers. */
14807 # include <limits.h>
14809 # include <assert.h>
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14821 /* The GNU C library defines this for functions which it implements
14822 to always fail with ENOSYS. Some functions are actually named
14823 something starting with __ and the normal name is an alias. */
14824 #if defined __stub_$ac_func || defined __stub___$ac_func
14831 return $ac_func ();
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (ac_try="$ac_link"
14838 case "(($ac_try" in
14839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14840 *) ac_try_echo
=$ac_try;;
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_link") 2>conftest.er1
14845 grep -v '^ *+' conftest.er1
>conftest.err
14847 cat conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } && {
14850 test -z "$ac_c_werror_flag" ||
14851 test ! -s conftest.err
14852 } && test -s conftest
$ac_exeext &&
14853 $as_test_x conftest
$ac_exeext; then
14854 eval "$as_ac_var=yes"
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.
$ac_ext >&5
14859 eval "$as_ac_var=no"
14862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14863 conftest
$ac_exeext conftest.
$ac_ext
14865 ac_res
=`eval echo '${'$as_ac_var'}'`
14866 { echo "$as_me:$LINENO: result: $ac_res" >&5
14867 echo "${ECHO_T}$ac_res" >&6; }
14868 if test `eval echo '${'$as_ac_var'}'` = yes; then
14869 cat >>confdefs.h
<<_ACEOF
14870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14876 LIBS
="$ac_wine_check_funcs_save_LIBS"
14878 # Extract the first word of "esd-config", so it can be a program name with args.
14879 set dummy esd-config
; ac_word
=$2
14880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14882 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14883 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14891 for as_dir
in $PATH
14894 test -z "$as_dir" && as_dir
=.
14895 for ac_exec_ext
in '' $ac_executable_extensions; do
14896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14897 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14908 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14909 if test -n "$ESDCONFIG"; then
14910 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14911 echo "${ECHO_T}$ESDCONFIG" >&6; }
14913 { echo "$as_me:$LINENO: result: no" >&5
14914 echo "${ECHO_T}no" >&6; }
14918 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14921 for i
in `$ESDCONFIG --cflags`
14924 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14927 ESD_LIBS
=`$ESDCONFIG --libs`
14928 save_CFLAGS
="$CFLAGS"
14929 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14930 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14931 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14932 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 ac_check_lib_save_LIBS
=$LIBS
14937 cat >conftest.
$ac_ext <<_ACEOF
14940 cat confdefs.h
>>conftest.
$ac_ext
14941 cat >>conftest.
$ac_ext <<_ACEOF
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14950 char esd_open_sound ();
14954 return esd_open_sound ();
14959 rm -f conftest.
$ac_objext conftest
$ac_exeext
14960 if { (ac_try
="$ac_link"
14961 case "(($ac_try" in
14962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_link") 2>conftest.er1
14968 grep -v '^ *+' conftest.er1 >conftest.err
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } && {
14973 test -z "$ac_c_werror_flag" ||
14974 test ! -s conftest.err
14975 } && test -s conftest$ac_exeext &&
14976 $as_test_x conftest$ac_exeext; then
14977 ac_cv_lib_esd_esd_open_sound=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 ac_cv_lib_esd_esd_open_sound=no
14985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_lib_save_LIBS
14989 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14990 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14991 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14994 ESDINCL=$ESD_CFLAGS
14997 cat >>confdefs.h <<\_ACEOF
15003 CFLAGS="$save_CFLAGS"
15008 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
15010 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
15011 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
15012 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 ac_check_lib_save_LIBS=$LIBS
15016 LIBS="-lasound $LIBS"
15017 cat >conftest.$ac_ext <<_ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15024 /* Override any GCC internal prototype to avoid an error.
15025 Use char because int might match the return type of a GCC
15026 builtin and then its argument prototype would still apply. */
15030 char snd_pcm_hw_params_get_access ();
15034 return snd_pcm_hw_params_get_access ();
15039 rm -f conftest.$ac_objext conftest$ac_exeext
15040 if { (ac_try="$ac_link"
15041 case "(($ac_try" in
15042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15043 *) ac_try_echo
=$ac_try;;
15045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15046 (eval "$ac_link") 2>conftest.er1
15048 grep -v '^ *+' conftest.er1
>conftest.err
15050 cat conftest.err
>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } && {
15053 test -z "$ac_c_werror_flag" ||
15054 test ! -s conftest.err
15055 } && test -s conftest
$ac_exeext &&
15056 $as_test_x conftest
$ac_exeext; then
15057 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
15065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15066 conftest
$ac_exeext conftest.
$ac_ext
15067 LIBS
=$ac_check_lib_save_LIBS
15069 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
15070 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
15071 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
15072 cat >conftest.
$ac_ext <<_ACEOF
15075 cat confdefs.h
>>conftest.
$ac_ext
15076 cat >>conftest.
$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15078 #ifdef HAVE_ALSA_ASOUNDLIB_H
15079 #include <alsa/asoundlib.h>
15080 #elif defined(HAVE_SYS_ASOUNDLIB_H)
15081 #include <sys/asoundlib.h>
15086 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15091 rm -f conftest.
$ac_objext
15092 if { (ac_try
="$ac_compile"
15093 case "(($ac_try" in
15094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15095 *) ac_try_echo=$ac_try;;
15097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15098 (eval "$ac_compile") 2>conftest.er1
15100 grep -v '^ *+' conftest.er1 >conftest.err
15102 cat conftest.err >&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } && {
15105 test -z "$ac_c_werror_flag" ||
15106 test ! -s conftest.err
15107 } && test -s conftest.$ac_objext; then
15109 cat >>confdefs.h <<\_ACEOF
15110 #define HAVE_ALSA 1
15113 ALSALIBS="-lasound"
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.$ac_ext >&5
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 if test "$ac_cv_header_libaudioio_h" = "yes"
15130 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15131 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15132 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 ac_check_lib_save_LIBS=$LIBS
15136 LIBS="-laudioio $LIBS"
15137 cat >conftest.$ac_ext <<_ACEOF
15140 cat confdefs.h >>conftest.$ac_ext
15141 cat >>conftest.$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15150 char AudioIOGetVersion ();
15154 return AudioIOGetVersion ();
15159 rm -f conftest.$ac_objext conftest$ac_exeext
15160 if { (ac_try="$ac_link"
15161 case "(($ac_try" in
15162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15163 *) ac_try_echo
=$ac_try;;
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_link") 2>conftest.er1
15168 grep -v '^ *+' conftest.er1
>conftest.err
15170 cat conftest.err
>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest
$ac_exeext &&
15176 $as_test_x conftest
$ac_exeext; then
15177 ac_cv_lib_audioio_AudioIOGetVersion
=yes
15179 echo "$as_me: failed program was:" >&5
15180 sed 's/^/| /' conftest.
$ac_ext >&5
15182 ac_cv_lib_audioio_AudioIOGetVersion
=no
15185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15186 conftest
$ac_exeext conftest.
$ac_ext
15187 LIBS
=$ac_check_lib_save_LIBS
15189 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15190 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15191 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15192 AUDIOIOLIBS
="-laudioio"
15194 cat >>confdefs.h
<<\_ACEOF
15195 #define HAVE_LIBAUDIOIO 1
15203 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15205 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15206 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15207 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15210 ac_check_soname_save_LIBS
=$LIBS
15211 LIBS
="-lcapi20 $LIBS"
15212 cat >conftest.
$ac_ext <<_ACEOF
15215 cat confdefs.h
>>conftest.
$ac_ext
15216 cat >>conftest.
$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15225 char capi20_register ();
15229 return capi20_register ();
15234 rm -f conftest.
$ac_objext conftest
$ac_exeext
15235 if { (ac_try
="$ac_link"
15236 case "(($ac_try" in
15237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_link") 2>conftest.er1
15243 grep -v '^ *+' conftest.er1 >conftest.err
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest$ac_exeext &&
15251 $as_test_x conftest$ac_exeext; then
15254 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'` ;;
15255 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.$ac_ext >&5
15264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15269 { echo "$as_me:$LINENO: result: not found" >&5
15270 echo "${ECHO_T}not found" >&6; }
15273 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15274 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15276 cat >>confdefs.h <<_ACEOF
15277 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15284 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15285 case "x$with_capi" in
15286 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15288 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15289 This is an error since --with-capi was requested." >&5
15290 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15291 This is an error since --with-capi was requested." >&2;}
15292 { (exit 1); exit 1; }; } ;;
15297 if test "$ac_cv_header_cups_cups_h" = "yes"
15299 { echo "$as_me:$LINENO: checking for -lcups" >&5
15300 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15301 if test "${ac_cv_lib_soname_cups+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 ac_check_soname_save_LIBS=$LIBS
15305 LIBS="-lcups $LIBS"
15306 cat >conftest.$ac_ext <<_ACEOF
15309 cat confdefs.h >>conftest.$ac_ext
15310 cat >>conftest.$ac_ext <<_ACEOF
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15319 char cupsGetDefault ();
15323 return cupsGetDefault ();
15328 rm -f conftest.$ac_objext conftest$ac_exeext
15329 if { (ac_try="$ac_link"
15330 case "(($ac_try" in
15331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15332 *) ac_try_echo
=$ac_try;;
15334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15335 (eval "$ac_link") 2>conftest.er1
15337 grep -v '^ *+' conftest.er1
>conftest.err
15339 cat conftest.err
>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } && {
15342 test -z "$ac_c_werror_flag" ||
15343 test ! -s conftest.err
15344 } && test -s conftest
$ac_exeext &&
15345 $as_test_x conftest
$ac_exeext; then
15348 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'` ;;
15349 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.
$ac_ext >&5
15358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15359 conftest
$ac_exeext conftest.
$ac_ext
15360 LIBS
=$ac_check_soname_save_LIBS
15362 if test "x$ac_cv_lib_soname_cups" = "x"; then
15363 { echo "$as_me:$LINENO: result: not found" >&5
15364 echo "${ECHO_T}not found" >&6; }
15367 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15368 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15370 cat >>confdefs.h
<<_ACEOF
15371 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15378 if test "x$ac_cv_lib_soname_cups" = "x"; then
15379 case "x$with_cups" in
15380 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15382 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15383 This is an error since --with-cups was requested." >&5
15384 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15385 This is an error since --with-cups was requested." >&2;}
15386 { (exit 1); exit 1; }; } ;;
15391 if test "$ac_cv_header_jack_jack_h" = "yes"
15393 { echo "$as_me:$LINENO: checking for -ljack" >&5
15394 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15395 if test "${ac_cv_lib_soname_jack+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 ac_check_soname_save_LIBS
=$LIBS
15399 LIBS
="-ljack $LIBS"
15400 cat >conftest.
$ac_ext <<_ACEOF
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15413 char jack_client_new ();
15417 return jack_client_new ();
15422 rm -f conftest.
$ac_objext conftest
$ac_exeext
15423 if { (ac_try
="$ac_link"
15424 case "(($ac_try" in
15425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_link") 2>conftest.er1
15431 grep -v '^ *+' conftest.er1 >conftest.err
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest$ac_exeext &&
15439 $as_test_x conftest$ac_exeext; then
15442 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'` ;;
15443 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.$ac_ext >&5
15452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15453 conftest$ac_exeext conftest.$ac_ext
15454 LIBS=$ac_check_soname_save_LIBS
15456 if test "x$ac_cv_lib_soname_jack" = "x"; then
15457 { echo "$as_me:$LINENO: result: not found" >&5
15458 echo "${ECHO_T}not found" >&6; }
15461 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15462 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15464 cat >>confdefs.h <<_ACEOF
15465 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15473 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15475 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15476 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15477 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15478 echo $ECHO_N "(cached) $ECHO_C" >&6
15480 ac_check_soname_save_LIBS=$LIBS
15481 LIBS="-lfontconfig $LIBS"
15482 cat >conftest.$ac_ext <<_ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15504 rm -f conftest.$ac_objext conftest$ac_exeext
15505 if { (ac_try="$ac_link"
15506 case "(($ac_try" in
15507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15508 *) ac_try_echo
=$ac_try;;
15510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15511 (eval "$ac_link") 2>conftest.er1
15513 grep -v '^ *+' conftest.er1
>conftest.err
15515 cat conftest.err
>&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } && {
15518 test -z "$ac_c_werror_flag" ||
15519 test ! -s conftest.err
15520 } && test -s conftest
$ac_exeext &&
15521 $as_test_x conftest
$ac_exeext; then
15524 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'` ;;
15525 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.
$ac_ext >&5
15534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15535 conftest
$ac_exeext conftest.
$ac_ext
15536 LIBS
=$ac_check_soname_save_LIBS
15538 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15539 { echo "$as_me:$LINENO: result: not found" >&5
15540 echo "${ECHO_T}not found" >&6; }
15543 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15544 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15546 cat >>confdefs.h
<<_ACEOF
15547 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15553 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15555 ac_save_CPPFLAGS
="$CPPFLAGS"
15556 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15557 $as_unset ac_cv_header_fontconfig_fontconfig_h
15559 for ac_header
in fontconfig
/fontconfig.h
15561 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 ac_res
=`eval echo '${'$as_ac_Header'}'`
15569 { echo "$as_me:$LINENO: result: $ac_res" >&5
15570 echo "${ECHO_T}$ac_res" >&6; }
15572 # Is the header compilable?
15573 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15575 cat >conftest.
$ac_ext <<_ACEOF
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15582 #include <$ac_header>
15584 rm -f conftest.
$ac_objext
15585 if { (ac_try
="$ac_compile"
15586 case "(($ac_try" in
15587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15588 *) ac_try_echo=$ac_try;;
15590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15591 (eval "$ac_compile") 2>conftest.er1
15593 grep -v '^ *+' conftest.er1 >conftest.err
15595 cat conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } && {
15598 test -z "$ac_c_werror_flag" ||
15599 test ! -s conftest.err
15600 } && test -s conftest.$ac_objext; then
15601 ac_header_compiler=yes
15603 echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.$ac_ext >&5
15606 ac_header_compiler=no
15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15611 echo "${ECHO_T}$ac_header_compiler" >&6; }
15613 # Is the header present?
15614 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15616 cat >conftest.$ac_ext <<_ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15622 #include <$ac_header>
15624 if { (ac_try="$ac_cpp conftest.$ac_ext"
15625 case "(($ac_try" in
15626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15627 *) ac_try_echo
=$ac_try;;
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15632 grep -v '^ *+' conftest.er1
>conftest.err
15634 cat conftest.err
>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } >/dev
/null
&& {
15637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15640 ac_header_preproc
=yes
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.
$ac_ext >&5
15645 ac_header_preproc
=no
15648 rm -f conftest.err conftest.
$ac_ext
15649 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15650 echo "${ECHO_T}$ac_header_preproc" >&6; }
15652 # So? What about this header?
15653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15659 ac_header_preproc
=yes
15662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15675 ## ------------------------------------ ##
15676 ## Report this to wine-devel@winehq.org ##
15677 ## ------------------------------------ ##
15679 ) |
sed "s/^/$as_me: WARNING: /" >&2
15682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15684 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15687 eval "$as_ac_Header=\$ac_header_preproc"
15689 ac_res
=`eval echo '${'$as_ac_Header'}'`
15690 { echo "$as_me:$LINENO: result: $ac_res" >&5
15691 echo "${ECHO_T}$ac_res" >&6; }
15694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15695 cat >>confdefs.h
<<_ACEOF
15696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15703 CPPFLAGS
="$ac_save_CPPFLAGS"
15704 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15706 FONTCONFIGINCL
="$X_CFLAGS"
15708 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15709 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15710 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15711 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 ac_check_soname_save_LIBS
=$LIBS
15714 LIBS
="-lfontconfig $X_LIBS $LIBS"
15715 cat >conftest.
$ac_ext <<_ACEOF
15718 cat confdefs.h
>>conftest.
$ac_ext
15719 cat >>conftest.
$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15722 /* Override any GCC internal prototype to avoid an error.
15723 Use char because int might match the return type of a GCC
15724 builtin and then its argument prototype would still apply. */
15737 rm -f conftest.
$ac_objext conftest
$ac_exeext
15738 if { (ac_try
="$ac_link"
15739 case "(($ac_try" in
15740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15741 *) ac_try_echo=$ac_try;;
15743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15744 (eval "$ac_link") 2>conftest.er1
15746 grep -v '^ *+' conftest.er1 >conftest.err
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } && {
15751 test -z "$ac_c_werror_flag" ||
15752 test ! -s conftest.err
15753 } && test -s conftest$ac_exeext &&
15754 $as_test_x conftest$ac_exeext; then
15757 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'` ;;
15758 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15761 echo "$as_me: failed program was:" >&5
15762 sed 's/^/| /' conftest.$ac_ext >&5
15767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15768 conftest$ac_exeext conftest.$ac_ext
15769 LIBS=$ac_check_soname_save_LIBS
15771 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15772 { echo "$as_me:$LINENO: result: not found" >&5
15773 echo "${ECHO_T}not found" >&6; }
15776 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15777 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15779 cat >>confdefs.h <<_ACEOF
15780 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15788 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15789 case "x$with_fontconfig" in
15790 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15792 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15793 This is an error since --with-fontconfig was requested." >&5
15794 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15795 This is an error since --with-fontconfig was requested." >&2;}
15796 { (exit 1); exit 1; }; } ;;
15801 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15803 { echo "$as_me:$LINENO: checking for -lssl" >&5
15804 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15805 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 ac_check_soname_save_LIBS=$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 SSL_library_init ();
15827 return SSL_library_init ();
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_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'` ;;
15853 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$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_ssl" = "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_ssl" >&5
15872 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15874 cat >>confdefs.h
<<_ACEOF
15875 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15881 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15882 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15883 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15884 echo $ECHO_N "(cached) $ECHO_C" >&6
15886 ac_check_soname_save_LIBS
=$LIBS
15887 LIBS
="-lcrypto $LIBS"
15888 cat >conftest.
$ac_ext <<_ACEOF
15891 cat confdefs.h
>>conftest.
$ac_ext
15892 cat >>conftest.
$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15901 char BIO_new_socket ();
15905 return BIO_new_socket ();
15910 rm -f conftest.
$ac_objext conftest
$ac_exeext
15911 if { (ac_try
="$ac_link"
15912 case "(($ac_try" in
15913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_link") 2>conftest.er1
15919 grep -v '^ *+' conftest.er1 >conftest.err
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } && {
15924 test -z "$ac_c_werror_flag" ||
15925 test ! -s conftest.err
15926 } && test -s conftest$ac_exeext &&
15927 $as_test_x conftest$ac_exeext; then
15930 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'` ;;
15931 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15941 conftest$ac_exeext conftest.$ac_ext
15942 LIBS=$ac_check_soname_save_LIBS
15944 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15945 { echo "$as_me:$LINENO: result: not found" >&5
15946 echo "${ECHO_T}not found" >&6; }
15949 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15950 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15952 cat >>confdefs.h <<_ACEOF
15953 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15960 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15961 case "x$with_openssl" in
15962 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15964 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15965 This is an error since --with-openssl was requested." >&5
15966 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15967 This is an error since --with-openssl was requested." >&2;}
15968 { (exit 1); exit 1; }; } ;;
15973 if test "$ac_cv_header_jpeglib_h" = "yes"
15975 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15976 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15977 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 ac_check_soname_save_LIBS=$LIBS
15981 LIBS="-ljpeg $LIBS"
15982 cat >conftest.$ac_ext <<_ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15989 /* Override any GCC internal prototype to avoid an error.
15990 Use char because int might match the return type of a GCC
15991 builtin and then its argument prototype would still apply. */
15995 char jpeg_start_decompress ();
15999 return jpeg_start_decompress ();
16004 rm -f conftest.$ac_objext conftest$ac_exeext
16005 if { (ac_try="$ac_link"
16006 case "(($ac_try" in
16007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16008 *) ac_try_echo
=$ac_try;;
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_link") 2>conftest.er1
16013 grep -v '^ *+' conftest.er1
>conftest.err
16015 cat conftest.err
>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } && {
16018 test -z "$ac_c_werror_flag" ||
16019 test ! -s conftest.err
16020 } && test -s conftest
$ac_exeext &&
16021 $as_test_x conftest
$ac_exeext; then
16024 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'` ;;
16025 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16034 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16035 conftest
$ac_exeext conftest.
$ac_ext
16036 LIBS
=$ac_check_soname_save_LIBS
16038 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16039 { echo "$as_me:$LINENO: result: not found" >&5
16040 echo "${ECHO_T}not found" >&6; }
16043 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16044 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16046 cat >>confdefs.h
<<_ACEOF
16047 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16054 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16055 case "x$with_jpeg" in
16056 x
) wine_warnings
="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
16058 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
16059 This is an error since --with-jpeg was requested." >&5
16060 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
16061 This is an error since --with-jpeg was requested." >&2;}
16062 { (exit 1); exit 1; }; } ;;
16067 if test "$ac_cv_header_png_h" = "yes"
16069 { echo "$as_me:$LINENO: checking for -lpng" >&5
16070 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
16071 if test "${ac_cv_lib_soname_png+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 ac_check_soname_save_LIBS
=$LIBS
16075 LIBS
="-lpng -lm $LIBS"
16076 cat >conftest.
$ac_ext <<_ACEOF
16079 cat confdefs.h
>>conftest.
$ac_ext
16080 cat >>conftest.
$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16083 /* Override any GCC internal prototype to avoid an error.
16084 Use char because int might match the return type of a GCC
16085 builtin and then its argument prototype would still apply. */
16089 char png_create_read_struct ();
16093 return png_create_read_struct ();
16098 rm -f conftest.
$ac_objext conftest
$ac_exeext
16099 if { (ac_try
="$ac_link"
16100 case "(($ac_try" in
16101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16102 *) ac_try_echo=$ac_try;;
16104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16105 (eval "$ac_link") 2>conftest.er1
16107 grep -v '^ *+' conftest.er1 >conftest.err
16109 cat conftest.err >&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } && {
16112 test -z "$ac_c_werror_flag" ||
16113 test ! -s conftest.err
16114 } && test -s conftest$ac_exeext &&
16115 $as_test_x conftest$ac_exeext; then
16118 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'` ;;
16119 *) 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'` ;;
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.$ac_ext >&5
16128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16129 conftest$ac_exeext conftest.$ac_ext
16130 LIBS=$ac_check_soname_save_LIBS
16132 if test "x$ac_cv_lib_soname_png" = "x"; then
16133 { echo "$as_me:$LINENO: result: not found" >&5
16134 echo "${ECHO_T}not found" >&6; }
16137 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16138 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16140 cat >>confdefs.h <<_ACEOF
16141 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16148 if test "x$ac_cv_lib_soname_png" = "x"; then
16149 case "x$with_png" in
16150 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16152 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16153 This is an error since --with-png was requested." >&5
16154 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16155 This is an error since --with-png was requested." >&2;}
16156 { (exit 1); exit 1; }; } ;;
16161 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16162 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16163 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16166 ac_check_soname_save_LIBS=$LIBS
16167 LIBS="-lodbc $LIBS"
16168 cat >conftest.$ac_ext <<_ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16175 /* Override any GCC internal prototype to avoid an error.
16176 Use char because int might match the return type of a GCC
16177 builtin and then its argument prototype would still apply. */
16181 char SQLConnect ();
16185 return SQLConnect ();
16190 rm -f conftest.$ac_objext conftest$ac_exeext
16191 if { (ac_try="$ac_link"
16192 case "(($ac_try" in
16193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16194 *) ac_try_echo
=$ac_try;;
16196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16197 (eval "$ac_link") 2>conftest.er1
16199 grep -v '^ *+' conftest.er1
>conftest.err
16201 cat conftest.err
>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && {
16204 test -z "$ac_c_werror_flag" ||
16205 test ! -s conftest.err
16206 } && test -s conftest
$ac_exeext &&
16207 $as_test_x conftest
$ac_exeext; then
16210 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'` ;;
16211 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16221 conftest
$ac_exeext conftest.
$ac_ext
16222 LIBS
=$ac_check_soname_save_LIBS
16224 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16225 { echo "$as_me:$LINENO: result: not found" >&5
16226 echo "${ECHO_T}not found" >&6; }
16227 cat >>confdefs.h
<<_ACEOF
16228 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16233 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16235 cat >>confdefs.h
<<_ACEOF
16236 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16243 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16244 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16245 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16246 "$ac_cv_header_soundcard_h" != "yes" -a \
16247 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16249 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
16255 if test "x${GCC}" = "xyes"
16257 EXTRACFLAGS
="-Wall -pipe"
16259 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16260 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16261 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 if test "$cross_compiling" = yes; then
16265 ac_cv_c_gcc_strength_bug
="yes"
16267 cat >conftest.
$ac_ext <<_ACEOF
16270 cat confdefs.h
>>conftest.
$ac_ext
16271 cat >>conftest.
$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16273 int L[4] = {0,1,2,3};
16277 static int Array[3];
16278 unsigned int B = 3;
16280 for(i=0; i<B; i++) Array[i] = i - 3;
16281 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16283 exit( Array[1] != -2 || L[2] != 3)
16288 rm -f conftest
$ac_exeext
16289 if { (ac_try
="$ac_link"
16290 case "(($ac_try" in
16291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16292 *) ac_try_echo=$ac_try;;
16294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16295 (eval "$ac_link") 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16299 { (case "(($ac_try" in
16300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16301 *) ac_try_echo
=$ac_try;;
16303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16304 (eval "$ac_try") 2>&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; }; then
16308 ac_cv_c_gcc_strength_bug
="no"
16310 echo "$as_me: program exited with status $ac_status" >&5
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.
$ac_ext >&5
16314 ( exit $ac_status )
16315 ac_cv_c_gcc_strength_bug
="yes"
16317 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16322 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16323 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16324 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16326 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
16330 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16331 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16332 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16335 ac_wine_try_cflags_saved
=$CFLAGS
16336 CFLAGS
="$CFLAGS -fshort-wchar"
16337 cat >conftest.
$ac_ext <<_ACEOF
16340 cat confdefs.h
>>conftest.
$ac_ext
16341 cat >>conftest.
$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16352 rm -f conftest.
$ac_objext conftest
$ac_exeext
16353 if { (ac_try
="$ac_link"
16354 case "(($ac_try" in
16355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_link") 2>conftest.er1
16361 grep -v '^ *+' conftest.er1 >conftest.err
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest$ac_exeext &&
16369 $as_test_x conftest$ac_exeext; then
16370 ac_cv_cflags__fshort_wchar=yes
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16375 ac_cv_cflags__fshort_wchar=no
16378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16379 conftest$ac_exeext conftest.$ac_ext
16380 CFLAGS=$ac_wine_try_cflags_saved
16382 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16383 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16384 if test $ac_cv_cflags__fshort_wchar = yes; then
16386 cat >>confdefs.h <<\_ACEOF
16387 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16392 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16393 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16394 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 ac_wine_try_cflags_saved=$CFLAGS
16398 CFLAGS="$CFLAGS -fno-strict-aliasing"
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16414 rm -f conftest.$ac_objext conftest$ac_exeext
16415 if { (ac_try="$ac_link"
16416 case "(($ac_try" in
16417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16418 *) ac_try_echo
=$ac_try;;
16420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16421 (eval "$ac_link") 2>conftest.er1
16423 grep -v '^ *+' conftest.er1
>conftest.err
16425 cat conftest.err
>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } && {
16428 test -z "$ac_c_werror_flag" ||
16429 test ! -s conftest.err
16430 } && test -s conftest
$ac_exeext &&
16431 $as_test_x conftest
$ac_exeext; then
16432 ac_cv_cflags__fno_strict_aliasing
=yes
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.
$ac_ext >&5
16437 ac_cv_cflags__fno_strict_aliasing
=no
16440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16441 conftest
$ac_exeext conftest.
$ac_ext
16442 CFLAGS
=$ac_wine_try_cflags_saved
16444 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16445 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16446 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16447 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
16450 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16451 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16452 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16455 ac_wine_try_cflags_saved
=$CFLAGS
16456 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16457 cat >conftest.
$ac_ext <<_ACEOF
16460 cat confdefs.h
>>conftest.
$ac_ext
16461 cat >>conftest.
$ac_ext <<_ACEOF
16462 /* end confdefs.h. */
16472 rm -f conftest.
$ac_objext conftest
$ac_exeext
16473 if { (ac_try
="$ac_link"
16474 case "(($ac_try" in
16475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;;
16478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16479 (eval "$ac_link") 2>conftest.er1
16481 grep -v '^ *+' conftest.er1 >conftest.err
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } && {
16486 test -z "$ac_c_werror_flag" ||
16487 test ! -s conftest.err
16488 } && test -s conftest$ac_exeext &&
16489 $as_test_x conftest$ac_exeext; then
16490 ac_cv_cflags__Wdeclaration_after_statement=yes
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 ac_cv_cflags__Wdeclaration_after_statement=no
16498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16499 conftest$ac_exeext conftest.$ac_ext
16500 CFLAGS=$ac_wine_try_cflags_saved
16502 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16503 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16504 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16505 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16508 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16509 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16510 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 ac_wine_try_cflags_saved=$CFLAGS
16514 CFLAGS="$CFLAGS -Wwrite-strings"
16515 cat >conftest.$ac_ext <<_ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16530 rm -f conftest.$ac_objext conftest$ac_exeext
16531 if { (ac_try="$ac_link"
16532 case "(($ac_try" in
16533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16534 *) ac_try_echo
=$ac_try;;
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_link") 2>conftest.er1
16539 grep -v '^ *+' conftest.er1
>conftest.err
16541 cat conftest.err
>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_c_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest
$ac_exeext &&
16547 $as_test_x conftest
$ac_exeext; then
16548 ac_cv_cflags__Wwrite_strings
=yes
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.
$ac_ext >&5
16553 ac_cv_cflags__Wwrite_strings
=no
16556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16557 conftest
$ac_exeext conftest.
$ac_ext
16558 CFLAGS
=$ac_wine_try_cflags_saved
16560 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16561 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16562 if test $ac_cv_cflags__Wwrite_strings = yes; then
16563 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16566 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16567 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16568 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 ac_wine_try_cflags_saved
=$CFLAGS
16572 CFLAGS
="$CFLAGS -Wtype-limits"
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16588 rm -f conftest.
$ac_objext conftest
$ac_exeext
16589 if { (ac_try
="$ac_link"
16590 case "(($ac_try" in
16591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16592 *) ac_try_echo=$ac_try;;
16594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16595 (eval "$ac_link") 2>conftest.er1
16597 grep -v '^ *+' conftest.er1 >conftest.err
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } && {
16602 test -z "$ac_c_werror_flag" ||
16603 test ! -s conftest.err
16604 } && test -s conftest$ac_exeext &&
16605 $as_test_x conftest$ac_exeext; then
16606 ac_cv_cflags__Wtype_limits=yes
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16611 ac_cv_cflags__Wtype_limits=no
16614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16615 conftest$ac_exeext conftest.$ac_ext
16616 CFLAGS=$ac_wine_try_cflags_saved
16618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16619 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16620 if test $ac_cv_cflags__Wtype_limits = yes; then
16621 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16625 saved_CFLAGS="$CFLAGS"
16626 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16627 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16628 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16629 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 cat >conftest.$ac_ext <<_ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 #include <string.h>
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16651 *) ac_try_echo
=$ac_try;;
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16656 grep -v '^ *+' conftest.er1
>conftest.err
16658 cat conftest.err
>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.
$ac_objext; then
16664 ac_cv_c_string_h_warnings
=no
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16669 ac_cv_c_string_h_warnings
=yes
16672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16675 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16676 CFLAGS
="$saved_CFLAGS"
16677 if test "$ac_cv_c_string_h_warnings" = "no"
16679 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16684 saved_CFLAGS
="$CFLAGS"
16685 CFLAGS
="$CFLAGS -Werror"
16686 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16687 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16688 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 cat >conftest.
$ac_ext <<_ACEOF
16694 cat confdefs.h
>>conftest.
$ac_ext
16695 cat >>conftest.
$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16701 int iswlower(unsigned short);
16706 rm -f conftest.
$ac_objext
16707 if { (ac_try
="$ac_compile"
16708 case "(($ac_try" in
16709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16713 (eval "$ac_compile") 2>conftest.er1
16715 grep -v '^ *+' conftest.er1 >conftest.err
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } && {
16720 test -z "$ac_c_werror_flag" ||
16721 test ! -s conftest.err
16722 } && test -s conftest.$ac_objext; then
16723 ac_cv_c_builtin_wchar_ctype=no
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 ac_cv_c_builtin_wchar_ctype=yes
16731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16734 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16735 CFLAGS="$saved_CFLAGS"
16736 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16738 BUILTINFLAG="-fno-builtin"
16743 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16744 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16745 if test "${ac_cv_asm_func_def+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 cat >conftest.$ac_ext <<_ACEOF
16751 cat confdefs.h >>conftest.$ac_ext
16752 cat >>conftest.$ac_ext <<_ACEOF
16753 /* end confdefs.h. */
16758 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16763 rm -f conftest.$ac_objext conftest$ac_exeext
16764 if { (ac_try="$ac_link"
16765 case "(($ac_try" in
16766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16767 *) ac_try_echo
=$ac_try;;
16769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16770 (eval "$ac_link") 2>conftest.er1
16772 grep -v '^ *+' conftest.er1
>conftest.err
16774 cat conftest.err
>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } && {
16777 test -z "$ac_c_werror_flag" ||
16778 test ! -s conftest.err
16779 } && test -s conftest
$ac_exeext &&
16780 $as_test_x conftest
$ac_exeext; then
16781 ac_cv_asm_func_def
=".def"
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 cat >conftest.
$ac_ext <<_ACEOF
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16796 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16801 rm -f conftest.
$ac_objext conftest
$ac_exeext
16802 if { (ac_try
="$ac_link"
16803 case "(($ac_try" in
16804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16805 *) ac_try_echo=$ac_try;;
16807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16808 (eval "$ac_link") 2>conftest.er1
16810 grep -v '^ *+' conftest.er1 >conftest.err
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } && {
16815 test -z "$ac_c_werror_flag" ||
16816 test ! -s conftest.err
16817 } && test -s conftest$ac_exeext &&
16818 $as_test_x conftest$ac_exeext; then
16819 ac_cv_asm_func_def=".type @function"
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16824 cat >conftest.$ac_ext <<_ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16834 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16839 rm -f conftest.$ac_objext conftest$ac_exeext
16840 if { (ac_try="$ac_link"
16841 case "(($ac_try" in
16842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16843 *) ac_try_echo
=$ac_try;;
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_link") 2>conftest.er1
16848 grep -v '^ *+' conftest.er1
>conftest.err
16850 cat conftest.err
>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && {
16853 test -z "$ac_c_werror_flag" ||
16854 test ! -s conftest.err
16855 } && test -s conftest
$ac_exeext &&
16856 $as_test_x conftest
$ac_exeext; then
16857 ac_cv_asm_func_def
=".type 2"
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16862 ac_cv_asm_func_def
="unknown"
16865 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16866 conftest
$ac_exeext conftest.
$ac_ext
16869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16870 conftest
$ac_exeext conftest.
$ac_ext
16873 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16874 conftest
$ac_exeext conftest.
$ac_ext
16876 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16877 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16881 case "$ac_cv_asm_func_def" in
16883 cat >>confdefs.h
<<\_ACEOF
16884 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16888 cat >>confdefs.h
<<\_ACEOF
16889 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16893 cat >>confdefs.h
<<\_ACEOF
16894 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16898 cat >>confdefs.h
<<\_ACEOF
16899 #define __ASM_FUNC(name) ""
16905 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16906 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16907 if test "${ac_cv_c_extern_prefix+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 cat >conftest.
$ac_ext <<_ACEOF
16913 cat confdefs.h
>>conftest.
$ac_ext
16914 cat >>conftest.
$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 extern int ac_test;
16920 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16925 rm -f conftest.
$ac_objext conftest
$ac_exeext
16926 if { (ac_try
="$ac_link"
16927 case "(($ac_try" in
16928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16929 *) ac_try_echo=$ac_try;;
16931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16932 (eval "$ac_link") 2>conftest.er1
16934 grep -v '^ *+' conftest.er1 >conftest.err
16936 cat conftest.err >&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } && {
16939 test -z "$ac_c_werror_flag" ||
16940 test ! -s conftest.err
16941 } && test -s conftest$ac_exeext &&
16942 $as_test_x conftest$ac_exeext; then
16943 ac_cv_c_extern_prefix="yes"
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16948 ac_cv_c_extern_prefix="no"
16951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16952 conftest$ac_exeext conftest.$ac_ext
16954 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16955 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16959 if test "$ac_cv_c_extern_prefix" = "yes"
16961 cat >>confdefs.h <<\_ACEOF
16962 #define __ASM_NAME(name) "_" name
16966 cat >>confdefs.h <<\_ACEOF
16967 #define __ASM_NAME(name) name
16977 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16981 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16983 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16987 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16995 SOCKETLIBS="-lws2_32"
17000 MAIN_BINARY="wine-pthread"
17004 linux* | k*bsd*-gnu)
17005 MAIN_BINARY="wine-glibc"
17007 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17010 MAIN_BINARY="wine-freebsd"
17012 EXTRA_BINARIES="wine-pthread"
17160 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 cat >conftest.$ac_ext <<_ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17174 #define $ac_func innocuous_$ac_func
17176 /* System header to define __stub macros and hopefully few prototypes,
17177 which can conflict with char $ac_func (); below.
17178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17179 <limits.h> exists even on freestanding compilers. */
17182 # include <limits.h>
17184 # include <assert.h>
17189 /* Override any GCC internal prototype to avoid an error.
17190 Use char because int might match the return type of a GCC
17191 builtin and then its argument prototype would still apply. */
17196 /* The GNU C library defines this for functions which it implements
17197 to always fail with ENOSYS. Some functions are actually named
17198 something starting with __ and the normal name is an alias. */
17199 #if defined __stub_$ac_func || defined __stub___$ac_func
17206 return $ac_func ();
17211 rm -f conftest.$ac_objext conftest$ac_exeext
17212 if { (ac_try="$ac_link"
17213 case "(($ac_try" in
17214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17215 *) ac_try_echo
=$ac_try;;
17217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17218 (eval "$ac_link") 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } && {
17225 test -z "$ac_c_werror_flag" ||
17226 test ! -s conftest.err
17227 } && test -s conftest
$ac_exeext &&
17228 $as_test_x conftest
$ac_exeext; then
17229 eval "$as_ac_var=yes"
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.
$ac_ext >&5
17234 eval "$as_ac_var=no"
17237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17238 conftest
$ac_exeext conftest.
$ac_ext
17240 ac_res
=`eval echo '${'$as_ac_var'}'`
17241 { echo "$as_me:$LINENO: result: $ac_res" >&5
17242 echo "${ECHO_T}$ac_res" >&6; }
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244 cat >>confdefs.h
<<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17252 if test "$ac_cv_func_dlopen" = no
17254 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17255 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17257 echo $ECHO_N "(cached) $ECHO_C" >&6
17259 ac_check_lib_save_LIBS
=$LIBS
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17268 /* Override any GCC internal prototype to avoid an error.
17269 Use char because int might match the return type of a GCC
17270 builtin and then its argument prototype would still apply. */
17283 rm -f conftest.
$ac_objext conftest
$ac_exeext
17284 if { (ac_try
="$ac_link"
17285 case "(($ac_try" in
17286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_link") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest$ac_exeext &&
17300 $as_test_x conftest$ac_exeext; then
17301 ac_cv_lib_dl_dlopen=yes
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.$ac_ext >&5
17306 ac_cv_lib_dl_dlopen=no
17309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17310 conftest$ac_exeext conftest.$ac_ext
17311 LIBS=$ac_check_lib_save_LIBS
17313 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17314 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17315 if test $ac_cv_lib_dl_dlopen = yes; then
17316 cat >>confdefs.h <<\_ACEOF
17317 #define HAVE_DLOPEN 1
17324 ac_wine_check_funcs_save_LIBS="$LIBS"
17325 LIBS="$LIBS $LIBDL"
17327 for ac_func in dladdr
17329 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17330 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17332 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 cat >conftest.$ac_ext <<_ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17343 #define $ac_func innocuous_$ac_func
17345 /* System header to define __stub macros and hopefully few prototypes,
17346 which can conflict with char $ac_func (); below.
17347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17348 <limits.h> exists even on freestanding compilers. */
17351 # include <limits.h>
17353 # include <assert.h>
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17365 /* The GNU C library defines this for functions which it implements
17366 to always fail with ENOSYS. Some functions are actually named
17367 something starting with __ and the normal name is an alias. */
17368 #if defined __stub_$ac_func || defined __stub___$ac_func
17375 return $ac_func ();
17380 rm -f conftest.$ac_objext conftest$ac_exeext
17381 if { (ac_try="$ac_link"
17382 case "(($ac_try" in
17383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17384 *) ac_try_echo
=$ac_try;;
17386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17387 (eval "$ac_link") 2>conftest.er1
17389 grep -v '^ *+' conftest.er1
>conftest.err
17391 cat conftest.err
>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } && {
17394 test -z "$ac_c_werror_flag" ||
17395 test ! -s conftest.err
17396 } && test -s conftest
$ac_exeext &&
17397 $as_test_x conftest
$ac_exeext; then
17398 eval "$as_ac_var=yes"
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.
$ac_ext >&5
17403 eval "$as_ac_var=no"
17406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17407 conftest
$ac_exeext conftest.
$ac_ext
17409 ac_res
=`eval echo '${'$as_ac_var'}'`
17410 { echo "$as_me:$LINENO: result: $ac_res" >&5
17411 echo "${ECHO_T}$ac_res" >&6; }
17412 if test `eval echo '${'$as_ac_var'}'` = yes; then
17413 cat >>confdefs.h
<<_ACEOF
17414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17420 LIBS
="$ac_wine_check_funcs_save_LIBS"
17422 if test "$ac_cv_func_poll" = no
17424 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17425 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17426 if test "${ac_cv_lib_poll_poll+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 ac_check_lib_save_LIBS
=$LIBS
17430 LIBS
="-lpoll $LIBS"
17431 cat >conftest.
$ac_ext <<_ACEOF
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17438 /* Override any GCC internal prototype to avoid an error.
17439 Use char because int might match the return type of a GCC
17440 builtin and then its argument prototype would still apply. */
17453 rm -f conftest.
$ac_objext conftest
$ac_exeext
17454 if { (ac_try
="$ac_link"
17455 case "(($ac_try" in
17456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17457 *) ac_try_echo=$ac_try;;
17459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17460 (eval "$ac_link") 2>conftest.er1
17462 grep -v '^ *+' conftest.er1 >conftest.err
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } && {
17467 test -z "$ac_c_werror_flag" ||
17468 test ! -s conftest.err
17469 } && test -s conftest$ac_exeext &&
17470 $as_test_x conftest$ac_exeext; then
17471 ac_cv_lib_poll_poll=yes
17473 echo "$as_me: failed program was:" >&5
17474 sed 's/^/| /' conftest.$ac_ext >&5
17476 ac_cv_lib_poll_poll=no
17479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17480 conftest$ac_exeext conftest.$ac_ext
17481 LIBS=$ac_check_lib_save_LIBS
17483 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17484 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17485 if test $ac_cv_lib_poll_poll = yes; then
17486 cat >>confdefs.h <<\_ACEOF
17487 #define HAVE_POLL 1
17495 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17496 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17497 if test "${ac_cv_search_gethostbyname+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 ac_func_search_save_LIBS=$LIBS
17501 cat >conftest.$ac_ext <<_ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17508 /* Override any GCC internal prototype to avoid an error.
17509 Use char because int might match the return type of a GCC
17510 builtin and then its argument prototype would still apply. */
17514 char gethostbyname ();
17518 return gethostbyname ();
17523 for ac_lib in '' nsl; do
17524 if test -z "$ac_lib"; then
17525 ac_res="none required"
17528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17530 rm -f conftest.$ac_objext conftest$ac_exeext
17531 if { (ac_try="$ac_link"
17532 case "(($ac_try" in
17533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17534 *) ac_try_echo
=$ac_try;;
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_link") 2>conftest.er1
17539 grep -v '^ *+' conftest.er1
>conftest.err
17541 cat conftest.err
>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } && {
17544 test -z "$ac_c_werror_flag" ||
17545 test ! -s conftest.err
17546 } && test -s conftest
$ac_exeext &&
17547 $as_test_x conftest
$ac_exeext; then
17548 ac_cv_search_gethostbyname
=$ac_res
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17558 if test "${ac_cv_search_gethostbyname+set}" = set; then
17562 if test "${ac_cv_search_gethostbyname+set}" = set; then
17565 ac_cv_search_gethostbyname
=no
17567 rm conftest.
$ac_ext
17568 LIBS
=$ac_func_search_save_LIBS
17570 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17571 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17572 ac_res
=$ac_cv_search_gethostbyname
17573 if test "$ac_res" != no
; then
17574 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17579 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17580 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17581 if test "${ac_cv_search_connect+set}" = set; then
17582 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 ac_func_search_save_LIBS
=$LIBS
17585 cat >conftest.
$ac_ext <<_ACEOF
17588 cat confdefs.h
>>conftest.
$ac_ext
17589 cat >>conftest.
$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17592 /* Override any GCC internal prototype to avoid an error.
17593 Use char because int might match the return type of a GCC
17594 builtin and then its argument prototype would still apply. */
17607 for ac_lib
in '' socket
; do
17608 if test -z "$ac_lib"; then
17609 ac_res
="none required"
17612 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17614 rm -f conftest.
$ac_objext conftest
$ac_exeext
17615 if { (ac_try
="$ac_link"
17616 case "(($ac_try" in
17617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17618 *) ac_try_echo=$ac_try;;
17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17621 (eval "$ac_link") 2>conftest.er1
17623 grep -v '^ *+' conftest.er1 >conftest.err
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } && {
17628 test -z "$ac_c_werror_flag" ||
17629 test ! -s conftest.err
17630 } && test -s conftest$ac_exeext &&
17631 $as_test_x conftest$ac_exeext; then
17632 ac_cv_search_connect=$ac_res
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.$ac_ext >&5
17640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 if test "${ac_cv_search_connect+set}" = set; then
17646 if test "${ac_cv_search_connect+set}" = set; then
17649 ac_cv_search_connect=no
17651 rm conftest.$ac_ext
17652 LIBS=$ac_func_search_save_LIBS
17654 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17655 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17656 ac_res=$ac_cv_search_connect
17657 if test "$ac_res" != no; then
17658 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17663 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17664 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17665 if test "${ac_cv_search_inet_aton+set}" = set; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17668 ac_func_search_save_LIBS=$LIBS
17669 cat >conftest.$ac_ext <<_ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17676 /* Override any GCC internal prototype to avoid an error.
17677 Use char because int might match the return type of a GCC
17678 builtin and then its argument prototype would still apply. */
17686 return inet_aton ();
17691 for ac_lib in '' resolv; do
17692 if test -z "$ac_lib"; then
17693 ac_res="none required"
17696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17698 rm -f conftest.$ac_objext conftest$ac_exeext
17699 if { (ac_try="$ac_link"
17700 case "(($ac_try" in
17701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17702 *) ac_try_echo
=$ac_try;;
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_link") 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && {
17712 test -z "$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 } && test -s conftest
$ac_exeext &&
17715 $as_test_x conftest
$ac_exeext; then
17716 ac_cv_search_inet_aton
=$ac_res
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.
$ac_ext >&5
17724 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17726 if test "${ac_cv_search_inet_aton+set}" = set; then
17730 if test "${ac_cv_search_inet_aton+set}" = set; then
17733 ac_cv_search_inet_aton
=no
17735 rm conftest.
$ac_ext
17736 LIBS
=$ac_func_search_save_LIBS
17738 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17739 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17740 ac_res
=$ac_cv_search_inet_aton
17741 if test "$ac_res" != no
; then
17742 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17767 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17769 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17772 cat >conftest.
$ac_ext <<_ACEOF
17775 cat confdefs.h
>>conftest.
$ac_ext
17776 cat >>conftest.
$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17780 #define $ac_func innocuous_$ac_func
17782 /* System header to define __stub macros and hopefully few prototypes,
17783 which can conflict with char $ac_func (); below.
17784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17785 <limits.h> exists even on freestanding compilers. */
17788 # include <limits.h>
17790 # include <assert.h>
17795 /* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17802 /* The GNU C library defines this for functions which it implements
17803 to always fail with ENOSYS. Some functions are actually named
17804 something starting with __ and the normal name is an alias. */
17805 #if defined __stub_$ac_func || defined __stub___$ac_func
17812 return $ac_func ();
17817 rm -f conftest.
$ac_objext conftest
$ac_exeext
17818 if { (ac_try
="$ac_link"
17819 case "(($ac_try" in
17820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17821 *) ac_try_echo=$ac_try;;
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_link") 2>conftest.er1
17826 grep -v '^ *+' conftest.er1 >conftest.err
17828 cat conftest.err >&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } && {
17831 test -z "$ac_c_werror_flag" ||
17832 test ! -s conftest.err
17833 } && test -s conftest$ac_exeext &&
17834 $as_test_x conftest$ac_exeext; then
17835 eval "$as_ac_var=yes"
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17840 eval "$as_ac_var=no"
17843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17844 conftest$ac_exeext conftest.$ac_ext
17846 ac_res=`eval echo '${'$as_ac_var'}'`
17847 { echo "$as_me:$LINENO: result: $ac_res" >&5
17848 echo "${ECHO_T}$ac_res" >&6; }
17849 if test `eval echo '${'$as_ac_var'}'` = yes; then
17850 cat >>confdefs.h <<_ACEOF
17851 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17859 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17860 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17861 if test "${ac_cv_c_const+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 cat >conftest.$ac_ext <<_ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17874 /* FIXME: Include the comments suggested by Paul. */
17875 #ifndef __cplusplus
17876 /* Ultrix mips cc rejects this. */
17877 typedef int charset[2];
17879 /* SunOS 4.1.1 cc rejects this. */
17880 char const *const *pcpcc;
17882 /* NEC SVR4.0.2 mips cc rejects this. */
17883 struct point {int x, y;};
17884 static struct point const zero = {0,0};
17885 /* AIX XL C 1.02.0.0 rejects this.
17886 It does not let you subtract one const X* pointer from another in
17887 an arm of an if-expression whose if-part is not a constant
17889 const char *g = "string";
17890 pcpcc = &g + (g ? g-g : 0);
17891 /* HPUX 7.0 cc rejects these. */
17893 ppc = (char**) pcpcc;
17894 pcpcc = (char const *const *) ppc;
17895 { /* SCO 3.2v4 cc rejects this. */
17897 char const *s = 0 ? (char *) 0 : (char const *) 0;
17902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17903 int x[] = {25, 17};
17904 const int *foo = &x[0];
17907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17908 typedef const int *iptr;
17912 { /* AIX XL C 1.02.0.0 rejects this saying
17913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17914 struct s { int j; const int *ap[3]; };
17915 struct s *b; b->j = 5;
17917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17918 const int foo = 10;
17919 if (!foo) return 0;
17921 return !cs[0] && !zero.x;
17928 rm -f conftest.$ac_objext
17929 if { (ac_try="$ac_compile"
17930 case "(($ac_try" in
17931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17932 *) ac_try_echo
=$ac_try;;
17934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17935 (eval "$ac_compile") 2>conftest.er1
17937 grep -v '^ *+' conftest.er1
>conftest.err
17939 cat conftest.err
>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } && {
17942 test -z "$ac_c_werror_flag" ||
17943 test ! -s conftest.err
17944 } && test -s conftest.
$ac_objext; then
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.
$ac_ext >&5
17953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17955 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17956 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17957 if test $ac_cv_c_const = no
; then
17959 cat >>confdefs.h
<<\_ACEOF
17965 { echo "$as_me:$LINENO: checking for inline" >&5
17966 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17967 if test "${ac_cv_c_inline+set}" = set; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 for ac_kw
in inline __inline__ __inline
; do
17972 cat >conftest.
$ac_ext <<_ACEOF
17975 cat confdefs.h
>>conftest.
$ac_ext
17976 cat >>conftest.
$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 #ifndef __cplusplus
17980 static $ac_kw foo_t static_foo () {return 0; }
17981 $ac_kw foo_t foo () {return 0; }
17985 rm -f conftest.
$ac_objext
17986 if { (ac_try
="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17994 grep -v '^ *+' conftest.er1 >conftest.err
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 ac_cv_c_inline=$ac_kw
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011 test "$ac_cv_c_inline" != no && break
18015 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18016 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18019 case $ac_cv_c_inline in
18022 case $ac_cv_c_inline in
18024 *) ac_val=$ac_cv_c_inline;;
18026 cat >>confdefs.h <<_ACEOF
18027 #ifndef __cplusplus
18028 #define inline $ac_val
18034 { echo "$as_me:$LINENO: checking for mode_t" >&5
18035 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18036 if test "${ac_cv_type_mode_t+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 cat >conftest.$ac_ext <<_ACEOF
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18045 $ac_includes_default
18046 typedef mode_t ac__type_new_;
18050 if ((ac__type_new_ *) 0)
18052 if (sizeof (ac__type_new_))
18058 rm -f conftest.$ac_objext
18059 if { (ac_try="$ac_compile"
18060 case "(($ac_try" in
18061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18062 *) ac_try_echo
=$ac_try;;
18064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18065 (eval "$ac_compile") 2>conftest.er1
18067 grep -v '^ *+' conftest.er1
>conftest.err
18069 cat conftest.err
>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } && {
18072 test -z "$ac_c_werror_flag" ||
18073 test ! -s conftest.err
18074 } && test -s conftest.
$ac_objext; then
18075 ac_cv_type_mode_t
=yes
18077 echo "$as_me: failed program was:" >&5
18078 sed 's/^/| /' conftest.
$ac_ext >&5
18080 ac_cv_type_mode_t
=no
18083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18085 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18086 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18087 if test $ac_cv_type_mode_t = yes; then
18089 cat >>confdefs.h
<<_ACEOF
18090 #define HAVE_MODE_T 1
18095 { echo "$as_me:$LINENO: checking for off_t" >&5
18096 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18097 if test "${ac_cv_type_off_t+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18100 cat >conftest.
$ac_ext <<_ACEOF
18103 cat confdefs.h
>>conftest.
$ac_ext
18104 cat >>conftest.
$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18107 typedef off_t ac__type_new_;
18111 if ((ac__type_new_ *) 0)
18113 if (sizeof (ac__type_new_))
18119 rm -f conftest.
$ac_objext
18120 if { (ac_try
="$ac_compile"
18121 case "(($ac_try" in
18122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18123 *) ac_try_echo=$ac_try;;
18125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_compile") 2>conftest.er1
18128 grep -v '^ *+' conftest.er1 >conftest.err
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } && {
18133 test -z "$ac_c_werror_flag" ||
18134 test ! -s conftest.err
18135 } && test -s conftest.$ac_objext; then
18136 ac_cv_type_off_t=yes
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.$ac_ext >&5
18141 ac_cv_type_off_t=no
18144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18147 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18148 if test $ac_cv_type_off_t = yes; then
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_OFF_T 1
18156 { echo "$as_me:$LINENO: checking for pid_t" >&5
18157 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18158 if test "${ac_cv_type_pid_t+set}" = set; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18161 cat >conftest.$ac_ext <<_ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 $ac_includes_default
18168 typedef pid_t ac__type_new_;
18172 if ((ac__type_new_ *) 0)
18174 if (sizeof (ac__type_new_))
18180 rm -f conftest.$ac_objext
18181 if { (ac_try="$ac_compile"
18182 case "(($ac_try" in
18183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18184 *) ac_try_echo
=$ac_try;;
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_compile") 2>conftest.er1
18189 grep -v '^ *+' conftest.er1
>conftest.err
18191 cat conftest.err
>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && {
18194 test -z "$ac_c_werror_flag" ||
18195 test ! -s conftest.err
18196 } && test -s conftest.
$ac_objext; then
18197 ac_cv_type_pid_t
=yes
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.
$ac_ext >&5
18202 ac_cv_type_pid_t
=no
18205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18207 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18208 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18209 if test $ac_cv_type_pid_t = yes; then
18211 cat >>confdefs.h
<<_ACEOF
18212 #define HAVE_PID_T 1
18217 { echo "$as_me:$LINENO: checking for size_t" >&5
18218 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18219 if test "${ac_cv_type_size_t+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 cat >conftest.
$ac_ext <<_ACEOF
18225 cat confdefs.h
>>conftest.
$ac_ext
18226 cat >>conftest.
$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 $ac_includes_default
18229 typedef size_t ac__type_new_;
18233 if ((ac__type_new_ *) 0)
18235 if (sizeof (ac__type_new_))
18241 rm -f conftest.
$ac_objext
18242 if { (ac_try
="$ac_compile"
18243 case "(($ac_try" in
18244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18245 *) ac_try_echo=$ac_try;;
18247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18248 (eval "$ac_compile") 2>conftest.er1
18250 grep -v '^ *+' conftest.er1 >conftest.err
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } && {
18255 test -z "$ac_c_werror_flag" ||
18256 test ! -s conftest.err
18257 } && test -s conftest.$ac_objext; then
18258 ac_cv_type_size_t=yes
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18263 ac_cv_type_size_t=no
18266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18269 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18270 if test $ac_cv_type_size_t = yes; then
18272 cat >>confdefs.h <<_ACEOF
18273 #define HAVE_SIZE_T 1
18278 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18279 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18280 if test "${ac_cv_type_ssize_t+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 cat >conftest.$ac_ext <<_ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18289 $ac_includes_default
18290 typedef ssize_t ac__type_new_;
18294 if ((ac__type_new_ *) 0)
18296 if (sizeof (ac__type_new_))
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18306 *) ac_try_echo
=$ac_try;;
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18311 grep -v '^ *+' conftest.er1
>conftest.err
18313 cat conftest.err
>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_c_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.
$ac_objext; then
18319 ac_cv_type_ssize_t
=yes
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.
$ac_ext >&5
18324 ac_cv_type_ssize_t
=no
18327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18329 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18330 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18331 if test $ac_cv_type_ssize_t = yes; then
18333 cat >>confdefs.h
<<_ACEOF
18334 #define HAVE_SSIZE_T 1
18339 { echo "$as_me:$LINENO: checking for long long" >&5
18340 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18341 if test "${ac_cv_type_long_long+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18344 cat >conftest.
$ac_ext <<_ACEOF
18347 cat confdefs.h
>>conftest.
$ac_ext
18348 cat >>conftest.
$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 $ac_includes_default
18351 typedef long long ac__type_new_;
18355 if ((ac__type_new_ *) 0)
18357 if (sizeof (ac__type_new_))
18363 rm -f conftest.
$ac_objext
18364 if { (ac_try
="$ac_compile"
18365 case "(($ac_try" in
18366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18367 *) ac_try_echo=$ac_try;;
18369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18370 (eval "$ac_compile") 2>conftest.er1
18372 grep -v '^ *+' conftest.er1 >conftest.err
18374 cat conftest.err >&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } && {
18377 test -z "$ac_c_werror_flag" ||
18378 test ! -s conftest.err
18379 } && test -s conftest.$ac_objext; then
18380 ac_cv_type_long_long=yes
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18385 ac_cv_type_long_long=no
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18391 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18392 if test $ac_cv_type_long_long = yes; then
18394 cat >>confdefs.h <<_ACEOF
18395 #define HAVE_LONG_LONG 1
18400 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18401 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18402 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 cat >conftest.$ac_ext <<_ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 $ac_includes_default
18412 typedef fsblkcnt_t ac__type_new_;
18416 if ((ac__type_new_ *) 0)
18418 if (sizeof (ac__type_new_))
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18428 *) ac_try_echo
=$ac_try;;
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18433 grep -v '^ *+' conftest.er1
>conftest.err
18435 cat conftest.err
>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_c_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.
$ac_objext; then
18441 ac_cv_type_fsblkcnt_t
=yes
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.
$ac_ext >&5
18446 ac_cv_type_fsblkcnt_t
=no
18449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18451 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18452 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18453 if test $ac_cv_type_fsblkcnt_t = yes; then
18455 cat >>confdefs.h
<<_ACEOF
18456 #define HAVE_FSBLKCNT_T 1
18461 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18462 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18463 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 cat >conftest.
$ac_ext <<_ACEOF
18469 cat confdefs.h
>>conftest.
$ac_ext
18470 cat >>conftest.
$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 $ac_includes_default
18473 typedef fsfilcnt_t ac__type_new_;
18477 if ((ac__type_new_ *) 0)
18479 if (sizeof (ac__type_new_))
18485 rm -f conftest.
$ac_objext
18486 if { (ac_try
="$ac_compile"
18487 case "(($ac_try" in
18488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_compile") 2>conftest.er1
18494 grep -v '^ *+' conftest.er1 >conftest.err
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest.$ac_objext; then
18502 ac_cv_type_fsfilcnt_t=yes
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 ac_cv_type_fsfilcnt_t=no
18510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18512 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18513 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18514 if test $ac_cv_type_fsfilcnt_t = yes; then
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_FSFILCNT_T 1
18523 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18524 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18525 if test "${ac_cv_type_sigset_t+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 cat >conftest.$ac_ext <<_ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 #include <signal.h>
18536 typedef sigset_t ac__type_new_;
18540 if ((ac__type_new_ *) 0)
18542 if (sizeof (ac__type_new_))
18548 rm -f conftest.$ac_objext
18549 if { (ac_try="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18552 *) ac_try_echo
=$ac_try;;
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18557 grep -v '^ *+' conftest.er1
>conftest.err
18559 cat conftest.err
>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_c_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.
$ac_objext; then
18565 ac_cv_type_sigset_t
=yes
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.
$ac_ext >&5
18570 ac_cv_type_sigset_t
=no
18573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18575 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18576 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18577 if test $ac_cv_type_sigset_t = yes; then
18579 cat >>confdefs.h
<<_ACEOF
18580 #define HAVE_SIGSET_T 1
18586 { echo "$as_me:$LINENO: checking for request_sense" >&5
18587 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18588 if test "${ac_cv_type_request_sense+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 cat >conftest.
$ac_ext <<_ACEOF
18594 cat confdefs.h
>>conftest.
$ac_ext
18595 cat >>conftest.
$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 #include <linux/cdrom.h>
18599 typedef request_sense ac__type_new_;
18603 if ((ac__type_new_ *) 0)
18605 if (sizeof (ac__type_new_))
18611 rm -f conftest.
$ac_objext
18612 if { (ac_try
="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18620 grep -v '^ *+' conftest.er1 >conftest.err
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 ac_cv_type_request_sense=yes
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 ac_cv_type_request_sense=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18639 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18640 if test $ac_cv_type_request_sense = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define HAVE_REQUEST_SENSE 1
18650 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18651 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18652 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 cat >conftest.$ac_ext <<_ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 #ifdef HAVE_LINUX_INPUT_H
18662 #include <linux/input.h>
18668 static struct ff_effect ac_aggr;
18669 if (ac_aggr.direction)
18675 rm -f conftest.$ac_objext
18676 if { (ac_try="$ac_compile"
18677 case "(($ac_try" in
18678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18679 *) ac_try_echo
=$ac_try;;
18681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18682 (eval "$ac_compile") 2>conftest.er1
18684 grep -v '^ *+' conftest.er1
>conftest.err
18686 cat conftest.err
>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } && {
18689 test -z "$ac_c_werror_flag" ||
18690 test ! -s conftest.err
18691 } && test -s conftest.
$ac_objext; then
18692 ac_cv_member_struct_ff_effect_direction
=yes
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.
$ac_ext >&5
18697 cat >conftest.
$ac_ext <<_ACEOF
18700 cat confdefs.h
>>conftest.
$ac_ext
18701 cat >>conftest.
$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 #ifdef HAVE_LINUX_INPUT_H
18704 #include <linux/input.h>
18710 static struct ff_effect ac_aggr;
18711 if (sizeof ac_aggr.direction)
18717 rm -f conftest.
$ac_objext
18718 if { (ac_try
="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18726 grep -v '^ *+' conftest.er1 >conftest.err
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 ac_cv_member_struct_ff_effect_direction=yes
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 ac_cv_member_struct_ff_effect_direction=no
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18748 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18749 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18759 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18760 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18761 if test "${wine_cv_have_sigaddset+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 cat >conftest.$ac_ext <<_ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 #include <signal.h>
18774 sigset_t set; sigaddset(&set,SIGTERM);
18779 rm -f conftest.$ac_objext conftest$ac_exeext
18780 if { (ac_try="$ac_link"
18781 case "(($ac_try" in
18782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18783 *) ac_try_echo
=$ac_try;;
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_link") 2>conftest.er1
18788 grep -v '^ *+' conftest.er1
>conftest.err
18790 cat conftest.err
>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && {
18793 test -z "$ac_c_werror_flag" ||
18794 test ! -s conftest.err
18795 } && test -s conftest
$ac_exeext &&
18796 $as_test_x conftest
$ac_exeext; then
18797 wine_cv_have_sigaddset
=yes
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.
$ac_ext >&5
18802 wine_cv_have_sigaddset
=no
18805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18806 conftest
$ac_exeext conftest.
$ac_ext
18808 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18809 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18810 if test "$wine_cv_have_sigaddset" = "yes"
18813 cat >>confdefs.h
<<\_ACEOF
18814 #define HAVE_SIGADDSET 1
18820 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18821 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18822 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 cat >conftest.
$ac_ext <<_ACEOF
18828 cat confdefs.h
>>conftest.
$ac_ext
18829 cat >>conftest.
$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18838 struct hostent *result;
18845 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18846 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18852 rm -f conftest.
$ac_objext conftest
$ac_exeext
18853 if { (ac_try
="$ac_link"
18854 case "(($ac_try" in
18855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18856 *) ac_try_echo=$ac_try;;
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_link") 2>conftest.er1
18861 grep -v '^ *+' conftest.er1 >conftest.err
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } && {
18866 test -z "$ac_c_werror_flag" ||
18867 test ! -s conftest.err
18868 } && test -s conftest$ac_exeext &&
18869 $as_test_x conftest$ac_exeext; then
18870 wine_cv_linux_gethostbyname_r_6=yes
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 wine_cv_linux_gethostbyname_r_6=no
18879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18880 conftest$ac_exeext conftest.$ac_ext
18883 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18884 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18885 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18888 cat >>confdefs.h <<\_ACEOF
18889 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18894 if test "$ac_cv_header_linux_joystick_h" = "yes"
18896 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18897 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18898 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 cat >conftest.$ac_ext <<_ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18908 #include <sys/ioctl.h>
18909 #include <sys/types.h>
18910 #include <linux/joystick.h>
18912 struct js_event blub;
18913 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18914 #error "no 2.2 header"
18925 rm -f conftest.$ac_objext
18926 if { (ac_try="$ac_compile"
18927 case "(($ac_try" in
18928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18929 *) ac_try_echo
=$ac_try;;
18931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18932 (eval "$ac_compile") 2>conftest.er1
18934 grep -v '^ *+' conftest.er1
>conftest.err
18936 cat conftest.err
>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } && {
18939 test -z "$ac_c_werror_flag" ||
18940 test ! -s conftest.err
18941 } && test -s conftest.
$ac_objext; then
18942 wine_cv_linux_joystick_22_api
=yes
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.
$ac_ext >&5
18947 wine_cv_linux_joystick_22_api
=no
18950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18953 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18954 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18955 if test "$wine_cv_linux_joystick_22_api" = "yes"
18958 cat >>confdefs.h
<<\_ACEOF
18959 #define HAVE_LINUX_22_JOYSTICK_API 1
18966 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18967 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18968 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18971 cat >conftest.
$ac_ext <<_ACEOF
18974 cat confdefs.h
>>conftest.
$ac_ext
18975 cat >>conftest.
$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <sys/types.h>
18978 #ifdef HAVE_SYS_PARAM_H
18979 # include <sys/param.h>
18981 #ifdef HAVE_SYS_MOUNT_H
18982 # include <sys/mount.h>
18984 #ifdef HAVE_SYS_VFS_H
18985 # include <sys/vfs.h>
18987 #ifdef HAVE_SYS_STATFS_H
18988 # include <sys/statfs.h>
18994 static struct statfs ac_aggr;
18995 if (ac_aggr.f_bfree)
19001 rm -f conftest.
$ac_objext
19002 if { (ac_try
="$ac_compile"
19003 case "(($ac_try" in
19004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compile") 2>conftest.er1
19010 grep -v '^ *+' conftest.er1 >conftest.err
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_c_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest.$ac_objext; then
19018 ac_cv_member_struct_statfs_f_bfree=yes
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 cat >conftest.$ac_ext <<_ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029 #include <sys/types.h>
19030 #ifdef HAVE_SYS_PARAM_H
19031 # include <sys/param.h>
19033 #ifdef HAVE_SYS_MOUNT_H
19034 # include <sys/mount.h>
19036 #ifdef HAVE_SYS_VFS_H
19037 # include <sys/vfs.h>
19039 #ifdef HAVE_SYS_STATFS_H
19040 # include <sys/statfs.h>
19046 static struct statfs ac_aggr;
19047 if (sizeof ac_aggr.f_bfree)
19053 rm -f conftest.$ac_objext
19054 if { (ac_try="$ac_compile"
19055 case "(($ac_try" in
19056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19057 *) ac_try_echo
=$ac_try;;
19059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19060 (eval "$ac_compile") 2>conftest.er1
19062 grep -v '^ *+' conftest.er1
>conftest.err
19064 cat conftest.err
>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } && {
19067 test -z "$ac_c_werror_flag" ||
19068 test ! -s conftest.err
19069 } && test -s conftest.
$ac_objext; then
19070 ac_cv_member_struct_statfs_f_bfree
=yes
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.
$ac_ext >&5
19075 ac_cv_member_struct_statfs_f_bfree
=no
19078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19083 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19084 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19085 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19087 cat >>confdefs.h
<<_ACEOF
19088 #define HAVE_STRUCT_STATFS_F_BFREE 1
19093 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19094 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19095 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SYS_PARAM_H
19106 # include <sys/param.h>
19108 #ifdef HAVE_SYS_MOUNT_H
19109 # include <sys/mount.h>
19111 #ifdef HAVE_SYS_VFS_H
19112 # include <sys/vfs.h>
19114 #ifdef HAVE_SYS_STATFS_H
19115 # include <sys/statfs.h>
19121 static struct statfs ac_aggr;
19122 if (ac_aggr.f_bavail)
19128 rm -f conftest.
$ac_objext
19129 if { (ac_try
="$ac_compile"
19130 case "(($ac_try" in
19131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19135 (eval "$ac_compile") 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } && {
19142 test -z "$ac_c_werror_flag" ||
19143 test ! -s conftest.err
19144 } && test -s conftest.$ac_objext; then
19145 ac_cv_member_struct_statfs_f_bavail=yes
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 cat >conftest.$ac_ext <<_ACEOF
19153 cat confdefs.h >>conftest.$ac_ext
19154 cat >>conftest.$ac_ext <<_ACEOF
19155 /* end confdefs.h. */
19156 #include <sys/types.h>
19157 #ifdef HAVE_SYS_PARAM_H
19158 # include <sys/param.h>
19160 #ifdef HAVE_SYS_MOUNT_H
19161 # include <sys/mount.h>
19163 #ifdef HAVE_SYS_VFS_H
19164 # include <sys/vfs.h>
19166 #ifdef HAVE_SYS_STATFS_H
19167 # include <sys/statfs.h>
19173 static struct statfs ac_aggr;
19174 if (sizeof ac_aggr.f_bavail)
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19184 *) ac_try_echo
=$ac_try;;
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19189 grep -v '^ *+' conftest.er1
>conftest.err
19191 cat conftest.err
>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.
$ac_objext; then
19197 ac_cv_member_struct_statfs_f_bavail
=yes
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.
$ac_ext >&5
19202 ac_cv_member_struct_statfs_f_bavail
=no
19205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19210 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19211 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19212 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19214 cat >>confdefs.h
<<_ACEOF
19215 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19220 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19221 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19222 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 cat >conftest.
$ac_ext <<_ACEOF
19228 cat confdefs.h
>>conftest.
$ac_ext
19229 cat >>conftest.
$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 #include <sys/types.h>
19232 #ifdef HAVE_SYS_PARAM_H
19233 # include <sys/param.h>
19235 #ifdef HAVE_SYS_MOUNT_H
19236 # include <sys/mount.h>
19238 #ifdef HAVE_SYS_VFS_H
19239 # include <sys/vfs.h>
19241 #ifdef HAVE_SYS_STATFS_H
19242 # include <sys/statfs.h>
19248 static struct statfs ac_aggr;
19249 if (ac_aggr.f_frsize)
19255 rm -f conftest.
$ac_objext
19256 if { (ac_try
="$ac_compile"
19257 case "(($ac_try" in
19258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19259 *) ac_try_echo=$ac_try;;
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_compile") 2>conftest.er1
19264 grep -v '^ *+' conftest.er1 >conftest.err
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && {
19269 test -z "$ac_c_werror_flag" ||
19270 test ! -s conftest.err
19271 } && test -s conftest.$ac_objext; then
19272 ac_cv_member_struct_statfs_f_frsize=yes
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #include <sys/types.h>
19284 #ifdef HAVE_SYS_PARAM_H
19285 # include <sys/param.h>
19287 #ifdef HAVE_SYS_MOUNT_H
19288 # include <sys/mount.h>
19290 #ifdef HAVE_SYS_VFS_H
19291 # include <sys/vfs.h>
19293 #ifdef HAVE_SYS_STATFS_H
19294 # include <sys/statfs.h>
19300 static struct statfs ac_aggr;
19301 if (sizeof ac_aggr.f_frsize)
19307 rm -f conftest.$ac_objext
19308 if { (ac_try="$ac_compile"
19309 case "(($ac_try" in
19310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19311 *) ac_try_echo
=$ac_try;;
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_compile") 2>conftest.er1
19316 grep -v '^ *+' conftest.er1
>conftest.err
19318 cat conftest.err
>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } && {
19321 test -z "$ac_c_werror_flag" ||
19322 test ! -s conftest.err
19323 } && test -s conftest.
$ac_objext; then
19324 ac_cv_member_struct_statfs_f_frsize
=yes
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.
$ac_ext >&5
19329 ac_cv_member_struct_statfs_f_frsize
=no
19332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19337 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19338 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19339 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19341 cat >>confdefs.h
<<_ACEOF
19342 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19347 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19348 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19349 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19350 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 cat >conftest.
$ac_ext <<_ACEOF
19355 cat confdefs.h
>>conftest.
$ac_ext
19356 cat >>conftest.
$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <sys/types.h>
19359 #ifdef HAVE_SYS_PARAM_H
19360 # include <sys/param.h>
19362 #ifdef HAVE_SYS_MOUNT_H
19363 # include <sys/mount.h>
19365 #ifdef HAVE_SYS_VFS_H
19366 # include <sys/vfs.h>
19368 #ifdef HAVE_SYS_STATFS_H
19369 # include <sys/statfs.h>
19375 static struct statfs ac_aggr;
19376 if (ac_aggr.f_ffree)
19382 rm -f conftest.
$ac_objext
19383 if { (ac_try
="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19391 grep -v '^ *+' conftest.er1 >conftest.err
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 ac_cv_member_struct_statfs_f_ffree=yes
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 cat >conftest.$ac_ext <<_ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 #include <sys/types.h>
19411 #ifdef HAVE_SYS_PARAM_H
19412 # include <sys/param.h>
19414 #ifdef HAVE_SYS_MOUNT_H
19415 # include <sys/mount.h>
19417 #ifdef HAVE_SYS_VFS_H
19418 # include <sys/vfs.h>
19420 #ifdef HAVE_SYS_STATFS_H
19421 # include <sys/statfs.h>
19427 static struct statfs ac_aggr;
19428 if (sizeof ac_aggr.f_ffree)
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19438 *) ac_try_echo
=$ac_try;;
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19443 grep -v '^ *+' conftest.er1
>conftest.err
19445 cat conftest.err
>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.
$ac_objext; then
19451 ac_cv_member_struct_statfs_f_ffree
=yes
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.
$ac_ext >&5
19456 ac_cv_member_struct_statfs_f_ffree
=no
19459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19465 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19466 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19468 cat >>confdefs.h
<<_ACEOF
19469 #define HAVE_STRUCT_STATFS_F_FFREE 1
19474 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19475 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19476 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 cat >conftest.
$ac_ext <<_ACEOF
19482 cat confdefs.h
>>conftest.
$ac_ext
19483 cat >>conftest.
$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 #include <sys/types.h>
19486 #ifdef HAVE_SYS_PARAM_H
19487 # include <sys/param.h>
19489 #ifdef HAVE_SYS_MOUNT_H
19490 # include <sys/mount.h>
19492 #ifdef HAVE_SYS_VFS_H
19493 # include <sys/vfs.h>
19495 #ifdef HAVE_SYS_STATFS_H
19496 # include <sys/statfs.h>
19502 static struct statfs ac_aggr;
19503 if (ac_aggr.f_favail)
19509 rm -f conftest.
$ac_objext
19510 if { (ac_try
="$ac_compile"
19511 case "(($ac_try" in
19512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19513 *) ac_try_echo=$ac_try;;
19515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19516 (eval "$ac_compile") 2>conftest.er1
19518 grep -v '^ *+' conftest.er1 >conftest.err
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } && {
19523 test -z "$ac_c_werror_flag" ||
19524 test ! -s conftest.err
19525 } && test -s conftest.$ac_objext; then
19526 ac_cv_member_struct_statfs_f_favail=yes
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19531 cat >conftest.$ac_ext <<_ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <sys/types.h>
19538 #ifdef HAVE_SYS_PARAM_H
19539 # include <sys/param.h>
19541 #ifdef HAVE_SYS_MOUNT_H
19542 # include <sys/mount.h>
19544 #ifdef HAVE_SYS_VFS_H
19545 # include <sys/vfs.h>
19547 #ifdef HAVE_SYS_STATFS_H
19548 # include <sys/statfs.h>
19554 static struct statfs ac_aggr;
19555 if (sizeof ac_aggr.f_favail)
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19565 *) ac_try_echo
=$ac_try;;
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19570 grep -v '^ *+' conftest.er1
>conftest.err
19572 cat conftest.err
>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.
$ac_objext; then
19578 ac_cv_member_struct_statfs_f_favail
=yes
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.
$ac_ext >&5
19583 ac_cv_member_struct_statfs_f_favail
=no
19586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19591 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19592 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19593 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19595 cat >>confdefs.h
<<_ACEOF
19596 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19601 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19602 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19603 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19606 cat >conftest.
$ac_ext <<_ACEOF
19609 cat confdefs.h
>>conftest.
$ac_ext
19610 cat >>conftest.
$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #include <sys/types.h>
19613 #ifdef HAVE_SYS_PARAM_H
19614 # include <sys/param.h>
19616 #ifdef HAVE_SYS_MOUNT_H
19617 # include <sys/mount.h>
19619 #ifdef HAVE_SYS_VFS_H
19620 # include <sys/vfs.h>
19622 #ifdef HAVE_SYS_STATFS_H
19623 # include <sys/statfs.h>
19629 static struct statfs ac_aggr;
19630 if (ac_aggr.f_namelen)
19636 rm -f conftest.
$ac_objext
19637 if { (ac_try
="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_statfs_f_namelen=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <sys/types.h>
19665 #ifdef HAVE_SYS_PARAM_H
19666 # include <sys/param.h>
19668 #ifdef HAVE_SYS_MOUNT_H
19669 # include <sys/mount.h>
19671 #ifdef HAVE_SYS_VFS_H
19672 # include <sys/vfs.h>
19674 #ifdef HAVE_SYS_STATFS_H
19675 # include <sys/statfs.h>
19681 static struct statfs ac_aggr;
19682 if (sizeof ac_aggr.f_namelen)
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19692 *) ac_try_echo
=$ac_try;;
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19697 grep -v '^ *+' conftest.er1
>conftest.err
19699 cat conftest.err
>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_c_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.
$ac_objext; then
19705 ac_cv_member_struct_statfs_f_namelen
=yes
19707 echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.
$ac_ext >&5
19710 ac_cv_member_struct_statfs_f_namelen
=no
19713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19718 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19719 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19720 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19722 cat >>confdefs.h
<<_ACEOF
19723 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19730 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19731 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19732 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19733 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 cat >conftest.
$ac_ext <<_ACEOF
19738 cat confdefs.h
>>conftest.
$ac_ext
19739 cat >>conftest.
$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 #ifdef HAVE_SYS_STATVFS_H
19742 #include <sys/statvfs.h>
19748 static struct statvfs ac_aggr;
19749 if (ac_aggr.f_blocks)
19755 rm -f conftest.
$ac_objext
19756 if { (ac_try
="$ac_compile"
19757 case "(($ac_try" in
19758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_compile") 2>conftest.er1
19764 grep -v '^ *+' conftest.er1 >conftest.err
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } && {
19769 test -z "$ac_c_werror_flag" ||
19770 test ! -s conftest.err
19771 } && test -s conftest.$ac_objext; then
19772 ac_cv_member_struct_statvfs_f_blocks=yes
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19777 cat >conftest.$ac_ext <<_ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 #ifdef HAVE_SYS_STATVFS_H
19784 #include <sys/statvfs.h>
19790 static struct statvfs ac_aggr;
19791 if (sizeof ac_aggr.f_blocks)
19797 rm -f conftest.$ac_objext
19798 if { (ac_try="$ac_compile"
19799 case "(($ac_try" in
19800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19801 *) ac_try_echo
=$ac_try;;
19803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 (eval "$ac_compile") 2>conftest.er1
19806 grep -v '^ *+' conftest.er1
>conftest.err
19808 cat conftest.err
>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } && {
19811 test -z "$ac_c_werror_flag" ||
19812 test ! -s conftest.err
19813 } && test -s conftest.
$ac_objext; then
19814 ac_cv_member_struct_statvfs_f_blocks
=yes
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19819 ac_cv_member_struct_statvfs_f_blocks
=no
19822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19827 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19828 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19829 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19831 cat >>confdefs.h
<<_ACEOF
19832 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19839 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19840 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19841 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 cat >conftest.
$ac_ext <<_ACEOF
19847 cat confdefs.h
>>conftest.
$ac_ext
19848 cat >>conftest.
$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 #include <sys/types.h>
19851 #ifdef HAVE_SYS_SOCKET_H
19852 # include <sys/socket.h>
19854 #ifdef HAVE_SYS_UN_H
19855 # include <sys/un.h>
19861 static struct msghdr ac_aggr;
19862 if (ac_aggr.msg_accrights)
19868 rm -f conftest.
$ac_objext
19869 if { (ac_try
="$ac_compile"
19870 case "(($ac_try" in
19871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_compile") 2>conftest.er1
19877 grep -v '^ *+' conftest.er1 >conftest.err
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } && {
19882 test -z "$ac_c_werror_flag" ||
19883 test ! -s conftest.err
19884 } && test -s conftest.$ac_objext; then
19885 ac_cv_member_struct_msghdr_msg_accrights=yes
19887 echo "$as_me: failed program was:" >&5
19888 sed 's/^/| /' conftest.$ac_ext >&5
19890 cat >conftest.$ac_ext <<_ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <sys/types.h>
19897 #ifdef HAVE_SYS_SOCKET_H
19898 # include <sys/socket.h>
19900 #ifdef HAVE_SYS_UN_H
19901 # include <sys/un.h>
19907 static struct msghdr ac_aggr;
19908 if (sizeof ac_aggr.msg_accrights)
19914 rm -f conftest.$ac_objext
19915 if { (ac_try="$ac_compile"
19916 case "(($ac_try" in
19917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19918 *) ac_try_echo
=$ac_try;;
19920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19921 (eval "$ac_compile") 2>conftest.er1
19923 grep -v '^ *+' conftest.er1
>conftest.err
19925 cat conftest.err
>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } && {
19928 test -z "$ac_c_werror_flag" ||
19929 test ! -s conftest.err
19930 } && test -s conftest.
$ac_objext; then
19931 ac_cv_member_struct_msghdr_msg_accrights
=yes
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19936 ac_cv_member_struct_msghdr_msg_accrights
=no
19939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19945 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19946 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19948 cat >>confdefs.h
<<_ACEOF
19949 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19954 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19955 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19956 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 cat >conftest.
$ac_ext <<_ACEOF
19962 cat confdefs.h
>>conftest.
$ac_ext
19963 cat >>conftest.
$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <sys/types.h>
19966 #ifdef HAVE_SYS_SOCKET_H
19967 # include <sys/socket.h>
19969 #ifdef HAVE_SYS_UN_H
19970 # include <sys/un.h>
19976 static struct sockaddr ac_aggr;
19977 if (ac_aggr.sa_len)
19983 rm -f conftest.
$ac_objext
19984 if { (ac_try
="$ac_compile"
19985 case "(($ac_try" in
19986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19987 *) ac_try_echo=$ac_try;;
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990 (eval "$ac_compile") 2>conftest.er1
19992 grep -v '^ *+' conftest.er1 >conftest.err
19994 cat conftest.err >&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && {
19997 test -z "$ac_c_werror_flag" ||
19998 test ! -s conftest.err
19999 } && test -s conftest.$ac_objext; then
20000 ac_cv_member_struct_sockaddr_sa_len=yes
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20005 cat >conftest.$ac_ext <<_ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <sys/types.h>
20012 #ifdef HAVE_SYS_SOCKET_H
20013 # include <sys/socket.h>
20015 #ifdef HAVE_SYS_UN_H
20016 # include <sys/un.h>
20022 static struct sockaddr ac_aggr;
20023 if (sizeof ac_aggr.sa_len)
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20033 *) ac_try_echo
=$ac_try;;
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20038 grep -v '^ *+' conftest.er1
>conftest.err
20040 cat conftest.err
>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest.
$ac_objext; then
20046 ac_cv_member_struct_sockaddr_sa_len
=yes
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.
$ac_ext >&5
20051 ac_cv_member_struct_sockaddr_sa_len
=no
20054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20059 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20060 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20061 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20063 cat >>confdefs.h
<<_ACEOF
20064 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20069 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20070 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20071 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 cat >conftest.
$ac_ext <<_ACEOF
20077 cat confdefs.h
>>conftest.
$ac_ext
20078 cat >>conftest.
$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 #include <sys/types.h>
20081 #ifdef HAVE_SYS_SOCKET_H
20082 # include <sys/socket.h>
20084 #ifdef HAVE_SYS_UN_H
20085 # include <sys/un.h>
20091 static struct sockaddr_un ac_aggr;
20092 if (ac_aggr.sun_len)
20098 rm -f conftest.
$ac_objext
20099 if { (ac_try
="$ac_compile"
20100 case "(($ac_try" in
20101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_compile") 2>conftest.er1
20107 grep -v '^ *+' conftest.er1 >conftest.err
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } && {
20112 test -z "$ac_c_werror_flag" ||
20113 test ! -s conftest.err
20114 } && test -s conftest.$ac_objext; then
20115 ac_cv_member_struct_sockaddr_un_sun_len=yes
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20120 cat >conftest.$ac_ext <<_ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 #include <sys/types.h>
20127 #ifdef HAVE_SYS_SOCKET_H
20128 # include <sys/socket.h>
20130 #ifdef HAVE_SYS_UN_H
20131 # include <sys/un.h>
20137 static struct sockaddr_un ac_aggr;
20138 if (sizeof ac_aggr.sun_len)
20144 rm -f conftest.$ac_objext
20145 if { (ac_try="$ac_compile"
20146 case "(($ac_try" in
20147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20148 *) ac_try_echo
=$ac_try;;
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_compile") 2>conftest.er1
20153 grep -v '^ *+' conftest.er1
>conftest.err
20155 cat conftest.err
>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } && {
20158 test -z "$ac_c_werror_flag" ||
20159 test ! -s conftest.err
20160 } && test -s conftest.
$ac_objext; then
20161 ac_cv_member_struct_sockaddr_un_sun_len
=yes
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20166 ac_cv_member_struct_sockaddr_un_sun_len
=no
20169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20174 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20175 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20176 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20178 cat >>confdefs.h
<<_ACEOF
20179 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20186 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20187 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20188 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20189 echo $ECHO_N "(cached) $ECHO_C" >&6
20191 cat >conftest.
$ac_ext <<_ACEOF
20194 cat confdefs.h
>>conftest.
$ac_ext
20195 cat >>conftest.
$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 #include <sys/types.h>
20198 #ifdef HAVE_SCSI_SG_H
20199 #include <scsi/sg.h>
20205 static scsireq_t ac_aggr;
20212 rm -f conftest.
$ac_objext
20213 if { (ac_try
="$ac_compile"
20214 case "(($ac_try" in
20215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20216 *) ac_try_echo=$ac_try;;
20218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20219 (eval "$ac_compile") 2>conftest.er1
20221 grep -v '^ *+' conftest.er1 >conftest.err
20223 cat conftest.err >&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } && {
20226 test -z "$ac_c_werror_flag" ||
20227 test ! -s conftest.err
20228 } && test -s conftest.$ac_objext; then
20229 ac_cv_member_scsireq_t_cmd=yes
20231 echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20234 cat >conftest.$ac_ext <<_ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 #include <sys/types.h>
20241 #ifdef HAVE_SCSI_SG_H
20242 #include <scsi/sg.h>
20248 static scsireq_t ac_aggr;
20249 if (sizeof ac_aggr.cmd)
20255 rm -f conftest.$ac_objext
20256 if { (ac_try="$ac_compile"
20257 case "(($ac_try" in
20258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20259 *) ac_try_echo
=$ac_try;;
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_compile") 2>conftest.er1
20264 grep -v '^ *+' conftest.er1
>conftest.err
20266 cat conftest.err
>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } && {
20269 test -z "$ac_c_werror_flag" ||
20270 test ! -s conftest.err
20271 } && test -s conftest.
$ac_objext; then
20272 ac_cv_member_scsireq_t_cmd
=yes
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.
$ac_ext >&5
20277 ac_cv_member_scsireq_t_cmd
=no
20280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20285 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20286 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20287 if test $ac_cv_member_scsireq_t_cmd = yes; then
20289 cat >>confdefs.h
<<_ACEOF
20290 #define HAVE_SCSIREQ_T_CMD 1
20295 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20296 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20297 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20300 cat >conftest.
$ac_ext <<_ACEOF
20303 cat confdefs.h
>>conftest.
$ac_ext
20304 cat >>conftest.
$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 #include <sys/types.h>
20307 #ifdef HAVE_SCSI_SG_H
20308 #include <scsi/sg.h>
20314 static sg_io_hdr_t ac_aggr;
20315 if (ac_aggr.interface_id)
20321 rm -f conftest.
$ac_objext
20322 if { (ac_try
="$ac_compile"
20323 case "(($ac_try" in
20324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_compile") 2>conftest.er1
20330 grep -v '^ *+' conftest.er1 >conftest.err
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } && {
20335 test -z "$ac_c_werror_flag" ||
20336 test ! -s conftest.err
20337 } && test -s conftest.$ac_objext; then
20338 ac_cv_member_sg_io_hdr_t_interface_id=yes
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20343 cat >conftest.$ac_ext <<_ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 #include <sys/types.h>
20350 #ifdef HAVE_SCSI_SG_H
20351 #include <scsi/sg.h>
20357 static sg_io_hdr_t ac_aggr;
20358 if (sizeof ac_aggr.interface_id)
20364 rm -f conftest.$ac_objext
20365 if { (ac_try="$ac_compile"
20366 case "(($ac_try" in
20367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20368 *) ac_try_echo
=$ac_try;;
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_compile") 2>conftest.er1
20373 grep -v '^ *+' conftest.er1
>conftest.err
20375 cat conftest.err
>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err
20380 } && test -s conftest.
$ac_objext; then
20381 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.
$ac_ext >&5
20386 ac_cv_member_sg_io_hdr_t_interface_id
=no
20389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20394 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20395 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20396 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20398 cat >>confdefs.h
<<_ACEOF
20399 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20406 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20407 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20408 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 cat >conftest.
$ac_ext <<_ACEOF
20414 cat confdefs.h
>>conftest.
$ac_ext
20415 cat >>conftest.
$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 #include <signal.h>
20422 static siginfo_t ac_aggr;
20429 rm -f conftest.
$ac_objext
20430 if { (ac_try
="$ac_compile"
20431 case "(($ac_try" in
20432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_compile") 2>conftest.er1
20438 grep -v '^ *+' conftest.er1 >conftest.err
20440 cat conftest.err >&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } && {
20443 test -z "$ac_c_werror_flag" ||
20444 test ! -s conftest.err
20445 } && test -s conftest.$ac_objext; then
20446 ac_cv_member_siginfo_t_si_fd=yes
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 cat >conftest.$ac_ext <<_ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 #include <signal.h>
20462 static siginfo_t ac_aggr;
20463 if (sizeof ac_aggr.si_fd)
20469 rm -f conftest.$ac_objext
20470 if { (ac_try="$ac_compile"
20471 case "(($ac_try" in
20472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20473 *) ac_try_echo
=$ac_try;;
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_compile") 2>conftest.er1
20478 grep -v '^ *+' conftest.er1
>conftest.err
20480 cat conftest.err
>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } && {
20483 test -z "$ac_c_werror_flag" ||
20484 test ! -s conftest.err
20485 } && test -s conftest.
$ac_objext; then
20486 ac_cv_member_siginfo_t_si_fd
=yes
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.
$ac_ext >&5
20491 ac_cv_member_siginfo_t_si_fd
=no
20494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20500 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20501 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20503 cat >>confdefs.h
<<_ACEOF
20504 #define HAVE_SIGINFO_T_SI_FD 1
20511 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20512 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20513 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20516 cat >conftest.
$ac_ext <<_ACEOF
20519 cat confdefs.h
>>conftest.
$ac_ext
20520 cat >>conftest.
$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 #include <sys/types.h>
20523 #ifdef HAVE_SYS_MTIO_H
20524 #include <sys/mtio.h>
20530 static struct mtget ac_aggr;
20531 if (ac_aggr.mt_blksiz)
20537 rm -f conftest.
$ac_objext
20538 if { (ac_try
="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20546 grep -v '^ *+' conftest.er1 >conftest.err
20548 cat conftest.err >&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.$ac_objext; then
20554 ac_cv_member_struct_mtget_mt_blksiz=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 cat >conftest.$ac_ext <<_ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 #include <sys/types.h>
20566 #ifdef HAVE_SYS_MTIO_H
20567 #include <sys/mtio.h>
20573 static struct mtget ac_aggr;
20574 if (sizeof ac_aggr.mt_blksiz)
20580 rm -f conftest.$ac_objext
20581 if { (ac_try="$ac_compile"
20582 case "(($ac_try" in
20583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20584 *) ac_try_echo
=$ac_try;;
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_compile") 2>conftest.er1
20589 grep -v '^ *+' conftest.er1
>conftest.err
20591 cat conftest.err
>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } && {
20594 test -z "$ac_c_werror_flag" ||
20595 test ! -s conftest.err
20596 } && test -s conftest.
$ac_objext; then
20597 ac_cv_member_struct_mtget_mt_blksiz
=yes
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.
$ac_ext >&5
20602 ac_cv_member_struct_mtget_mt_blksiz
=no
20605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20611 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20612 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20614 cat >>confdefs.h
<<_ACEOF
20615 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20620 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20621 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20622 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 #include <sys/types.h>
20632 #ifdef HAVE_SYS_MTIO_H
20633 #include <sys/mtio.h>
20639 static struct mtget ac_aggr;
20640 if (ac_aggr.mt_gstat)
20646 rm -f conftest.
$ac_objext
20647 if { (ac_try
="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20655 grep -v '^ *+' conftest.er1 >conftest.err
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } && {
20660 test -z "$ac_c_werror_flag" ||
20661 test ! -s conftest.err
20662 } && test -s conftest.$ac_objext; then
20663 ac_cv_member_struct_mtget_mt_gstat=yes
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.$ac_ext >&5
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 #include <sys/types.h>
20675 #ifdef HAVE_SYS_MTIO_H
20676 #include <sys/mtio.h>
20682 static struct mtget ac_aggr;
20683 if (sizeof ac_aggr.mt_gstat)
20689 rm -f conftest.$ac_objext
20690 if { (ac_try="$ac_compile"
20691 case "(($ac_try" in
20692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20693 *) ac_try_echo
=$ac_try;;
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_compile") 2>conftest.er1
20698 grep -v '^ *+' conftest.er1
>conftest.err
20700 cat conftest.err
>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } && {
20703 test -z "$ac_c_werror_flag" ||
20704 test ! -s conftest.err
20705 } && test -s conftest.
$ac_objext; then
20706 ac_cv_member_struct_mtget_mt_gstat
=yes
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.
$ac_ext >&5
20711 ac_cv_member_struct_mtget_mt_gstat
=no
20714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20720 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20721 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20723 cat >>confdefs.h
<<_ACEOF
20724 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20729 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20730 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20731 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 #include <sys/types.h>
20741 #ifdef HAVE_SYS_MTIO_H
20742 #include <sys/mtio.h>
20748 static struct mtget ac_aggr;
20749 if (ac_aggr.mt_blkno)
20755 rm -f conftest.
$ac_objext
20756 if { (ac_try
="$ac_compile"
20757 case "(($ac_try" in
20758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_compile") 2>conftest.er1
20764 grep -v '^ *+' conftest.er1 >conftest.err
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } && {
20769 test -z "$ac_c_werror_flag" ||
20770 test ! -s conftest.err
20771 } && test -s conftest.$ac_objext; then
20772 ac_cv_member_struct_mtget_mt_blkno=yes
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20777 cat >conftest.$ac_ext <<_ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783 #include <sys/types.h>
20784 #ifdef HAVE_SYS_MTIO_H
20785 #include <sys/mtio.h>
20791 static struct mtget ac_aggr;
20792 if (sizeof ac_aggr.mt_blkno)
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20802 *) ac_try_echo
=$ac_try;;
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.
$ac_objext; then
20815 ac_cv_member_struct_mtget_mt_blkno
=yes
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.
$ac_ext >&5
20820 ac_cv_member_struct_mtget_mt_blkno
=no
20823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20828 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20829 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20830 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20832 cat >>confdefs.h
<<_ACEOF
20833 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20840 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20841 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20842 if test "${ac_cv_member_struct_option_name+set}" = set; then
20843 echo $ECHO_N "(cached) $ECHO_C" >&6
20845 cat >conftest.
$ac_ext <<_ACEOF
20848 cat confdefs.h
>>conftest.
$ac_ext
20849 cat >>conftest.
$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20851 #ifdef HAVE_GETOPT_H
20852 #include <getopt.h>
20858 static struct option ac_aggr;
20865 rm -f conftest.
$ac_objext
20866 if { (ac_try
="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20874 grep -v '^ *+' conftest.er1 >conftest.err
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then
20882 ac_cv_member_struct_option_name=yes
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20887 cat >conftest.$ac_ext <<_ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 #ifdef HAVE_GETOPT_H
20894 #include <getopt.h>
20900 static struct option ac_aggr;
20901 if (sizeof ac_aggr.name)
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20911 *) ac_try_echo
=$ac_try;;
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20916 grep -v '^ *+' conftest.er1
>conftest.err
20918 cat conftest.err
>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.
$ac_objext; then
20924 ac_cv_member_struct_option_name
=yes
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.
$ac_ext >&5
20929 ac_cv_member_struct_option_name
=no
20932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20937 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20938 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20939 if test $ac_cv_member_struct_option_name = yes; then
20941 cat >>confdefs.h
<<_ACEOF
20942 #define HAVE_STRUCT_OPTION_NAME 1
20949 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20950 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20951 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20952 echo $ECHO_N "(cached) $ECHO_C" >&6
20954 cat >conftest.
$ac_ext <<_ACEOF
20957 cat confdefs.h
>>conftest.
$ac_ext
20958 cat >>conftest.
$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 $ac_includes_default
20964 static struct stat ac_aggr;
20965 if (ac_aggr.st_blocks)
20971 rm -f conftest.
$ac_objext
20972 if { (ac_try
="$ac_compile"
20973 case "(($ac_try" in
20974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20975 *) ac_try_echo=$ac_try;;
20977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20978 (eval "$ac_compile") 2>conftest.er1
20980 grep -v '^ *+' conftest.er1 >conftest.err
20982 cat conftest.err >&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } && {
20985 test -z "$ac_c_werror_flag" ||
20986 test ! -s conftest.err
20987 } && test -s conftest.$ac_objext; then
20988 ac_cv_member_struct_stat_st_blocks=yes
20990 echo "$as_me: failed program was:" >&5
20991 sed 's/^/| /' conftest.$ac_ext >&5
20993 cat >conftest.$ac_ext <<_ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21003 static struct stat ac_aggr;
21004 if (sizeof ac_aggr.st_blocks)
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21014 *) ac_try_echo
=$ac_try;;
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21019 grep -v '^ *+' conftest.er1
>conftest.err
21021 cat conftest.err
>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.
$ac_objext; then
21027 ac_cv_member_struct_stat_st_blocks
=yes
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.
$ac_ext >&5
21032 ac_cv_member_struct_stat_st_blocks
=no
21035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21040 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21041 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21042 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21044 cat >>confdefs.h
<<_ACEOF
21045 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21052 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21053 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21054 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21057 cat >conftest.
$ac_ext <<_ACEOF
21060 cat confdefs.h
>>conftest.
$ac_ext
21061 cat >>conftest.
$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #ifdef HAVE_SYS_TYPES_H
21064 #include <sys/types.h>
21066 #ifdef HAVE_NETINET_IN_H
21067 #include <netinet/in.h>
21073 static struct sockaddr_in6 ac_aggr;
21074 if (ac_aggr.sin6_scope_id)
21080 rm -f conftest.
$ac_objext
21081 if { (ac_try
="$ac_compile"
21082 case "(($ac_try" in
21083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_compile") 2>conftest.er1
21089 grep -v '^ *+' conftest.er1 >conftest.err
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest.$ac_objext; then
21097 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 cat >conftest.$ac_ext <<_ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 #ifdef HAVE_SYS_TYPES_H
21109 #include <sys/types.h>
21111 #ifdef HAVE_NETINET_IN_H
21112 #include <netinet/in.h>
21118 static struct sockaddr_in6 ac_aggr;
21119 if (sizeof ac_aggr.sin6_scope_id)
21125 rm -f conftest.$ac_objext
21126 if { (ac_try="$ac_compile"
21127 case "(($ac_try" in
21128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21129 *) ac_try_echo
=$ac_try;;
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_compile") 2>conftest.er1
21134 grep -v '^ *+' conftest.er1
>conftest.err
21136 cat conftest.err
>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest.
$ac_objext; then
21142 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.
$ac_ext >&5
21147 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
21150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21155 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21156 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21157 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21159 cat >>confdefs.h
<<_ACEOF
21160 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21167 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21168 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21169 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 cat >conftest.
$ac_ext <<_ACEOF
21175 cat confdefs.h
>>conftest.
$ac_ext
21176 cat >>conftest.
$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178 #ifdef HAVE_SYS_TYPES_H
21179 #include <sys/types.h>
21181 #ifdef HAVE_NETINET_IN_H
21182 # include <netinet/in.h>
21184 #ifdef HAVE_ARPA_NAMESER_H
21185 # include <arpa/nameser.h>
21191 static ns_msg ac_aggr;
21192 if (ac_aggr._msg_ptr)
21198 rm -f conftest.
$ac_objext
21199 if { (ac_try
="$ac_compile"
21200 case "(($ac_try" in
21201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21202 *) ac_try_echo=$ac_try;;
21204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21205 (eval "$ac_compile") 2>conftest.er1
21207 grep -v '^ *+' conftest.er1 >conftest.err
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } && {
21212 test -z "$ac_c_werror_flag" ||
21213 test ! -s conftest.err
21214 } && test -s conftest.$ac_objext; then
21215 ac_cv_member_ns_msg__msg_ptr=yes
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21220 cat >conftest.$ac_ext <<_ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #ifdef HAVE_SYS_TYPES_H
21227 #include <sys/types.h>
21229 #ifdef HAVE_NETINET_IN_H
21230 # include <netinet/in.h>
21232 #ifdef HAVE_ARPA_NAMESER_H
21233 # include <arpa/nameser.h>
21239 static ns_msg ac_aggr;
21240 if (sizeof ac_aggr._msg_ptr)
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21250 *) ac_try_echo
=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1
>conftest.err
21257 cat conftest.err
>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.
$ac_objext; then
21263 ac_cv_member_ns_msg__msg_ptr
=yes
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 ac_cv_member_ns_msg__msg_ptr
=no
21271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21276 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21277 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21278 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21280 cat >>confdefs.h
<<_ACEOF
21281 #define HAVE_NS_MSG__MSG_PTR 1
21288 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21289 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21290 if test "${ac_cv_have_timezone+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 cat >conftest.
$ac_ext <<_ACEOF
21296 cat confdefs.h
>>conftest.
$ac_ext
21297 cat >>conftest.
$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21308 rm -f conftest.
$ac_objext conftest
$ac_exeext
21309 if { (ac_try
="$ac_link"
21310 case "(($ac_try" in
21311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21312 *) ac_try_echo=$ac_try;;
21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21315 (eval "$ac_link") 2>conftest.er1
21317 grep -v '^ *+' conftest.er1 >conftest.err
21319 cat conftest.err >&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } && {
21322 test -z "$ac_c_werror_flag" ||
21323 test ! -s conftest.err
21324 } && test -s conftest$ac_exeext &&
21325 $as_test_x conftest$ac_exeext; then
21326 ac_cv_have_timezone="yes"
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.$ac_ext >&5
21331 ac_cv_have_timezone="no"
21334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21335 conftest$ac_exeext conftest.$ac_ext
21337 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21338 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21339 if test "$ac_cv_have_timezone" = "yes"
21342 cat >>confdefs.h <<\_ACEOF
21343 #define HAVE_TIMEZONE 1
21347 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21348 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21349 if test "${ac_cv_have_daylight+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 cat >conftest.$ac_ext <<_ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21367 rm -f conftest.$ac_objext conftest$ac_exeext
21368 if { (ac_try="$ac_link"
21369 case "(($ac_try" in
21370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21371 *) ac_try_echo
=$ac_try;;
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_link") 2>conftest.er1
21376 grep -v '^ *+' conftest.er1
>conftest.err
21378 cat conftest.err
>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest
$ac_exeext &&
21384 $as_test_x conftest
$ac_exeext; then
21385 ac_cv_have_daylight
="yes"
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.
$ac_ext >&5
21390 ac_cv_have_daylight
="no"
21393 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21394 conftest
$ac_exeext conftest.
$ac_ext
21396 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21397 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21398 if test "$ac_cv_have_daylight" = "yes"
21401 cat >>confdefs.h
<<\_ACEOF
21402 #define HAVE_DAYLIGHT 1
21407 { echo "$as_me:$LINENO: checking for isinf" >&5
21408 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21409 if test "${ac_cv_have_isinf+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 cat >conftest.
$ac_ext <<_ACEOF
21415 cat confdefs.h
>>conftest.
$ac_ext
21416 cat >>conftest.
$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21422 float f = 0.0; int i=isinf(f)
21427 rm -f conftest.
$ac_objext conftest
$ac_exeext
21428 if { (ac_try
="$ac_link"
21429 case "(($ac_try" in
21430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434 (eval "$ac_link") 2>conftest.er1
21436 grep -v '^ *+' conftest.er1 >conftest.err
21438 cat conftest.err >&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } && {
21441 test -z "$ac_c_werror_flag" ||
21442 test ! -s conftest.err
21443 } && test -s conftest$ac_exeext &&
21444 $as_test_x conftest$ac_exeext; then
21445 ac_cv_have_isinf="yes"
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 ac_cv_have_isinf="no"
21453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21454 conftest$ac_exeext conftest.$ac_ext
21456 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21457 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21458 if test "$ac_cv_have_isinf" = "yes"
21461 cat >>confdefs.h <<\_ACEOF
21462 #define HAVE_ISINF 1
21469 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21470 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21471 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 cat >conftest.$ac_ext <<_ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21485 $EGREP "yes" >/dev/null 2>&1; then
21486 ac_cv_cpp_def___i386__=yes
21488 ac_cv_cpp_def___i386__=no
21493 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21494 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21495 if test $ac_cv_cpp_def___i386__ = yes; then
21496 CFLAGS="$CFLAGS -D__i386__"
21497 LINTFLAGS="$LINTFLAGS -D__i386__"
21500 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21501 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21502 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 cat >conftest.$ac_ext <<_ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21516 $EGREP "yes" >/dev/null 2>&1; then
21517 ac_cv_cpp_def___x86_64__=yes
21519 ac_cv_cpp_def___x86_64__=no
21524 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21525 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21526 if test $ac_cv_cpp_def___x86_64__ = yes; then
21527 CFLAGS="$CFLAGS -D__x86_64__"
21528 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21531 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21532 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21533 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21534 echo $ECHO_N "(cached) $ECHO_C" >&6
21536 cat >conftest.$ac_ext <<_ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21547 $EGREP "yes" >/dev/null 2>&1; then
21548 ac_cv_cpp_def___ALPHA__=yes
21550 ac_cv_cpp_def___ALPHA__=no
21555 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21556 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21557 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21558 CFLAGS="$CFLAGS -D__ALPHA__"
21559 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21562 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21563 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21564 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 cat >conftest.$ac_ext <<_ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21578 $EGREP "yes" >/dev/null 2>&1; then
21579 ac_cv_cpp_def___sparc__=yes
21581 ac_cv_cpp_def___sparc__=no
21586 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21587 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21588 if test $ac_cv_cpp_def___sparc__ = yes; then
21589 CFLAGS="$CFLAGS -D__sparc__"
21590 LINTFLAGS="$LINTFLAGS -D__sparc__"
21593 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21594 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21595 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21596 echo $ECHO_N "(cached) $ECHO_C" >&6
21598 cat >conftest.$ac_ext <<_ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 #ifndef __powerpc__
21608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21609 $EGREP "yes" >/dev/null 2>&1; then
21610 ac_cv_cpp_def___powerpc__=yes
21612 ac_cv_cpp_def___powerpc__=no
21617 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21618 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21619 if test $ac_cv_cpp_def___powerpc__ = yes; then
21620 CFLAGS="$CFLAGS -D__powerpc__"
21621 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21626 case $host_vendor in
21627 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21628 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21629 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 cat >conftest.$ac_ext <<_ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21643 $EGREP "yes" >/dev/null 2>&1; then
21644 ac_cv_cpp_def___sun__=yes
21646 ac_cv_cpp_def___sun__=no
21651 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21652 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21653 if test $ac_cv_cpp_def___sun__ = yes; then
21654 CFLAGS="$CFLAGS -D__sun__"
21655 LINTFLAGS="$LINTFLAGS -D__sun__"
21661 DEPENDENCIES="### Dependencies:
21666 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21668 \$(OBJS): \$(IDL_GEN_HEADERS)
21669 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21670 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21671 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21672 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21678 ac_config_commands="$ac_config_commands include/stamp-h"
21681 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21683 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21685 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21687 ac_config_commands="$ac_config_commands dlls/user32/resources"
21689 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21691 ac_config_commands="$ac_config_commands include/wine"
21694 MAKE_RULES=Make.rules
21697 MAKE_DLL_RULES=dlls/Makedll.rules
21700 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21703 MAKE_TEST_RULES=dlls/Maketest.rules
21706 MAKE_PROG_RULES=programs/Makeprog.rules
21709 ac_config_files="$ac_config_files Make.rules"
21711 ac_config_files="$ac_config_files dlls/Makedll.rules"
21713 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21715 ac_config_files="$ac_config_files dlls/Maketest.rules"
21717 ac_config_files="$ac_config_files programs/Makeprog.rules"
21719 ac_config_files="$ac_config_files Makefile"
21721 ac_config_files="$ac_config_files dlls/Makefile"
21723 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21725 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21727 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21729 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21731 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21733 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21735 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21737 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21741 ac_config_files="$ac_config_files dlls/atl/Makefile"
21743 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21745 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21747 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21749 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21751 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21753 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21755 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21757 ac_config_files="$ac_config_files dlls/cards/Makefile"
21759 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21761 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21763 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21765 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21769 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21771 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21773 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21775 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21777 ac_config_files="$ac_config_files dlls/credui/Makefile"
21779 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21781 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21783 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21785 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21789 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21791 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21793 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21795 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21797 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21799 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21801 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21803 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21805 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21809 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21811 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21813 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21815 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21817 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21819 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21821 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21823 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21825 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21827 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21829 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21831 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21833 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21835 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21837 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21839 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21841 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21843 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21845 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21847 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21849 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21851 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21853 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21855 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21857 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21859 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21861 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21863 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21865 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21867 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21869 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21871 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21873 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21875 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21877 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21879 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21881 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21883 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21885 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21887 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21889 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21891 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21893 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21895 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21897 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21899 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21901 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21903 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21905 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21907 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21909 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21911 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21913 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21915 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21917 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21919 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21921 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21923 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21925 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21927 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21929 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21931 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21933 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21935 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21937 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21939 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21941 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21943 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21945 ac_config_files="$ac_config_files dlls/hal/Makefile"
21947 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21949 ac_config_files="$ac_config_files dlls/hid/Makefile"
21951 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21953 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21955 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21957 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21959 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21961 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21963 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21965 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21967 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21969 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21971 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21973 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21975 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21977 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21981 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21983 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21985 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21987 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21989 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21991 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21993 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21995 ac_config_files="$ac_config_files dlls/itss/Makefile"
21997 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21999 ac_config_files="$ac_config_files dlls/jscript/Makefile"
22001 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
22003 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
22005 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
22007 ac_config_files="$ac_config_files dlls/localspl/Makefile"
22009 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
22011 ac_config_files="$ac_config_files dlls/localui/Makefile"
22013 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
22015 ac_config_files="$ac_config_files dlls/lz32/Makefile"
22017 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
22019 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
22021 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
22023 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
22025 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
22027 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22029 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22031 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22033 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22035 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22037 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22039 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22041 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22043 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22045 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22047 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22049 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22051 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22053 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22055 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22057 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22059 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22061 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22063 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22065 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22067 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22069 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22071 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22073 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22075 ac_config_files="$ac_config_files dlls/msi/Makefile"
22077 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22079 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22081 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22083 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22085 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22087 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22089 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22091 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22093 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22095 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22097 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22099 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22101 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22103 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22105 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22107 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22109 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22111 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22113 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22115 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22117 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22119 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22121 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22123 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22125 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22127 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22129 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22131 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22133 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22135 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22137 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22139 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22141 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22143 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22145 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22147 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22149 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22151 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22153 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22155 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22157 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22159 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22161 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22163 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22165 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22167 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22169 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22171 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22173 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22175 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22177 ac_config_files="$ac_config_files dlls/printui/Makefile"
22179 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22181 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22183 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22185 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22187 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22189 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22191 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22193 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22195 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22197 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22199 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22201 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22203 ac_config_files="$ac_config_files dlls/query/Makefile"
22205 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22207 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22209 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22211 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22213 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22215 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22217 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22219 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22221 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22223 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22225 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22227 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22229 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22231 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22233 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22235 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22237 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22239 ac_config_files="$ac_config_files dlls/security/Makefile"
22241 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22243 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22245 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22247 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22249 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22251 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22253 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22255 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22257 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22259 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22261 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22263 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22265 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22267 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22269 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22271 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22273 ac_config_files="$ac_config_files dlls/slc/Makefile"
22275 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22277 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22279 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22281 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22283 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22285 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22287 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22289 ac_config_files="$ac_config_files dlls/sti/Makefile"
22291 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22293 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22295 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22297 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22299 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22301 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22303 ac_config_files="$ac_config_files dlls/url/Makefile"
22305 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22307 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22309 ac_config_files="$ac_config_files dlls/user32/Makefile"
22311 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22313 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22315 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22317 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22319 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22321 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22323 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22325 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22327 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22329 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22331 ac_config_files="$ac_config_files dlls/version/Makefile"
22333 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22335 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22337 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22339 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22341 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22343 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22345 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22347 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22349 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22351 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22353 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22355 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22357 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22359 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22361 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22363 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22365 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22367 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22369 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22371 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22373 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22375 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22377 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22379 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22381 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22383 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22385 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22387 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22389 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22391 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22393 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22395 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22397 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22399 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22401 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22403 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22405 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22407 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22409 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22411 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22413 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22415 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22417 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22419 ac_config_files="$ac_config_files documentation/Makefile"
22421 ac_config_files="$ac_config_files fonts/Makefile"
22423 ac_config_files="$ac_config_files include/Makefile"
22425 ac_config_files="$ac_config_files libs/Makefile"
22427 ac_config_files="$ac_config_files libs/port/Makefile"
22429 ac_config_files="$ac_config_files libs/wine/Makefile"
22431 ac_config_files="$ac_config_files libs/wpp/Makefile"
22433 ac_config_files="$ac_config_files loader/Makefile"
22435 ac_config_files="$ac_config_files programs/Makefile"
22437 ac_config_files="$ac_config_files programs/clock/Makefile"
22439 ac_config_files="$ac_config_files programs/cmd/Makefile"
22441 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22443 ac_config_files="$ac_config_files programs/control/Makefile"
22445 ac_config_files="$ac_config_files programs/eject/Makefile"
22447 ac_config_files="$ac_config_files programs/expand/Makefile"
22449 ac_config_files="$ac_config_files programs/explorer/Makefile"
22451 ac_config_files="$ac_config_files programs/hh/Makefile"
22453 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22455 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22457 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22459 ac_config_files="$ac_config_files programs/net/Makefile"
22461 ac_config_files="$ac_config_files programs/notepad/Makefile"
22463 ac_config_files="$ac_config_files programs/oleview/Makefile"
22465 ac_config_files="$ac_config_files programs/progman/Makefile"
22467 ac_config_files="$ac_config_files programs/reg/Makefile"
22469 ac_config_files="$ac_config_files programs/regedit/Makefile"
22471 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22473 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22475 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22477 ac_config_files="$ac_config_files programs/secedit/Makefile"
22479 ac_config_files="$ac_config_files programs/services/Makefile"
22481 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22483 ac_config_files="$ac_config_files programs/start/Makefile"
22485 ac_config_files="$ac_config_files programs/svchost/Makefile"
22487 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22489 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22491 ac_config_files="$ac_config_files programs/view/Makefile"
22493 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22495 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22497 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22499 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22501 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22503 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22505 ac_config_files="$ac_config_files programs/winefile/Makefile"
22507 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22509 ac_config_files="$ac_config_files programs/winemine/Makefile"
22511 ac_config_files="$ac_config_files programs/winepath/Makefile"
22513 ac_config_files="$ac_config_files programs/winetest/Makefile"
22515 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22517 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22519 ac_config_files="$ac_config_files programs/winver/Makefile"
22521 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22523 ac_config_files="$ac_config_files programs/write/Makefile"
22525 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22527 ac_config_files="$ac_config_files server/Makefile"
22529 ac_config_files="$ac_config_files tools/Makefile"
22531 ac_config_files="$ac_config_files tools/widl/Makefile"
22533 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22535 ac_config_files="$ac_config_files tools/winedump/Makefile"
22537 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22539 ac_config_files="$ac_config_files tools/wmc/Makefile"
22541 ac_config_files="$ac_config_files tools/wrc/Makefile"
22544 cat >confcache <<\_ACEOF
22545 # This file is a shell script that caches the results of configure
22546 # tests run on this system so they can be shared between configure
22547 # scripts and configure runs, see configure's option --config-cache.
22548 # It is not useful on other systems. If it contains results you don't
22549 # want to keep, you may remove or edit it.
22551 # config.status only pays attention to the cache file if you give it
22552 # the --recheck option to rerun configure.
22554 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22556 # following values.
22560 # The following way of writing the cache mishandles newlines in values,
22561 # but we know of no workaround that is simple, portable, and efficient.
22562 # So, we kill variables containing newlines.
22563 # Ultrix sh set writes to stderr and can't be redirected directly,
22564 # and sets the high bit in the cache file unless we assign to the vars.
22566 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22567 eval ac_val
=\$
$ac_var
22571 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22572 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22575 _ | IFS | as_nl
) ;; #(
22576 *) $as_unset $ac_var ;;
22582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22583 *${as_nl}ac_space
=\
*)
22584 # `set' does not quote correctly, so add quotes (double-quote
22585 # substitution turns \\\\ into \\, and sed turns \\ into \).
22588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22591 # `set' quotes correctly as required by POSIX, so do not add quotes.
22592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22605 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22606 if test -w "$cache_file"; then
22607 test "x$cache_file" != "x/dev/null" &&
22608 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22609 echo "$as_me: updating cache $cache_file" >&6;}
22610 cat confcache
>$cache_file
22612 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22613 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22618 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22619 # Let make expand exec_prefix.
22620 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22622 DEFS
=-DHAVE_CONFIG_H
22626 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22627 # 1. Remove the extension, and $U if already installed.
22628 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22629 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22631 # will be set to the directory where LIBOBJS objects are built.
22632 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22633 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22635 LIBOBJS
=$ac_libobjs
22637 LTLIBOBJS
=$ac_ltlibobjs
22641 : ${CONFIG_STATUS=./config.status}
22642 ac_clean_files_save
=$ac_clean_files
22643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22646 cat >$CONFIG_STATUS <<_ACEOF
22648 # Generated by $as_me.
22649 # Run this file to recreate the current configuration.
22650 # Compiler output produced by configure, useful for debugging
22651 # configure, is in config.log if it exists.
22654 ac_cs_recheck=false
22656 SHELL=\${CONFIG_SHELL-$SHELL}
22659 cat >>$CONFIG_STATUS <<\_ACEOF
22660 ## --------------------- ##
22661 ## M4sh Initialization. ##
22662 ## --------------------- ##
22664 # Be more Bourne compatible
22665 DUALCASE
=1; export DUALCASE
# for MKS sh
22666 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22669 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22670 # is contrary to our usage. Disable this feature.
22671 alias -g '${1+"$@"}'='"$@"'
22672 setopt NO_GLOB_SUBST
22674 case `(set -o) 2>/dev/null` in
22675 *posix
*) set -o posix
;;
22684 # Avoid depending upon Character Ranges.
22685 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22686 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22687 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22688 as_cr_digits
='0123456789'
22689 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22691 # The user is always right.
22692 if test "${PATH_SEPARATOR+set}" != set; then
22693 echo "#! /bin/sh" >conf$$.sh
22694 echo "exit 0" >>conf$$.sh
22696 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22704 # Support unset when possible.
22705 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22713 # We need space, tab and new line, in precisely that order. Quoting is
22714 # there to prevent editors from complaining about space-tab.
22715 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22716 # splitting by setting IFS to empty value.)
22721 # Find who we are. Look in the path if we contain no directory separator.
22723 *[\\/]* ) as_myself
=$0 ;;
22724 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22725 for as_dir
in $PATH
22728 test -z "$as_dir" && as_dir
=.
22729 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22735 # We did not find ourselves, most probably we were run as `sh COMMAND'
22736 # in which case we are not to be found in the path.
22737 if test "x$as_myself" = x
; then
22740 if test ! -f "$as_myself"; then
22741 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22742 { (exit 1); exit 1; }
22745 # Work around bugs in pre-3.0 UWIN ksh.
22746 for as_var
in ENV MAIL MAILPATH
22747 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22755 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22756 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22757 LC_TELEPHONE LC_TIME
22759 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22760 eval $as_var=C
; export $as_var
22762 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22766 # Required to use basename.
22767 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22768 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22774 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22775 as_basename
=basename
22781 # Name of the executable.
22782 as_me
=`$as_basename -- "$0" ||
22783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22784 X"$0" : 'X\(//\)$' \| \
22785 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22787 sed '/^.*\/\([^/][^/]*\)\/*$/{
22806 as_lineno_1
=$LINENO
22807 as_lineno_2
=$LINENO
22808 test "x$as_lineno_1" != "x$as_lineno_2" &&
22809 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22811 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22812 # uniformly replaced by the line number. The first 'sed' inserts a
22813 # line-number line after each line using $LINENO; the second 'sed'
22814 # does the real work. The second script uses 'N' to pair each
22815 # line-number line with the line containing $LINENO, and appends
22816 # trailing '-' during substitution so that $LINENO is not a special
22817 # case at line end.
22818 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22819 # scripts with optimization help from Paolo Bonzini. Blame Lee
22820 # E. McMahon (1931-1989) for sed's syntax. :-)
22832 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22835 ' >$as_me.lineno
&&
22836 chmod +x
"$as_me.lineno" ||
22837 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22838 { (exit 1); exit 1; }; }
22840 # Don't try to exec as it changes $[0], causing all sort of problems
22841 # (the dirname of $[0] is not the place where we might find the
22842 # original and so on. Autoconf is especially sensitive to this).
22843 .
"./$as_me.lineno"
22844 # Exit status is that of the last command.
22849 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22855 ECHO_C
= ECHO_N
= ECHO_T
=
22856 case `echo -n x` in
22858 case `echo 'x\c'` in
22859 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22873 rm -f conf$$ conf$$.exe conf$$.
file
22874 if test -d conf$$.dir
; then
22875 rm -f conf$$.dir
/conf$$.
file
22881 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22883 # ... but there are two gotchas:
22884 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22885 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22886 # In both cases, we have to default to `cp -p'.
22887 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22889 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22894 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22895 rmdir conf$$.dir
2>/dev
/null
22897 if mkdir
-p .
2>/dev
/null
; then
22900 test -d .
/-p && rmdir .
/-p
22904 if test -x / >/dev
/null
2>&1; then
22905 as_test_x
='test -x'
22907 if ls -dL / >/dev
/null
2>&1; then
22914 if test -d "$1"; then
22920 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22921 ???[sx]*):;;*)false;;esac;fi
22925 as_executable_p
=$as_test_x
22927 # Sed expression to map a string onto a valid CPP name.
22928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22930 # Sed expression to map a string onto a valid variable name.
22931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22936 # Save the log message, to keep $[0] and so on meaningful, and to
22937 # report actual input values of CONFIG_FILES etc. instead of their
22938 # values after options handling.
22940 This file was extended by Wine $as_me 1.1.0, which was
22941 generated by GNU Autoconf 2.61. Invocation command line was
22943 CONFIG_FILES = $CONFIG_FILES
22944 CONFIG_HEADERS = $CONFIG_HEADERS
22945 CONFIG_LINKS = $CONFIG_LINKS
22946 CONFIG_COMMANDS = $CONFIG_COMMANDS
22949 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22954 cat >>$CONFIG_STATUS <<_ACEOF
22955 # Files that config.status was made for.
22956 config_files="$ac_config_files"
22957 config_headers="$ac_config_headers"
22958 config_commands="$ac_config_commands"
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22964 \`$as_me' instantiates files from templates according to the
22965 current configuration.
22967 Usage: $0 [OPTIONS] [FILE]...
22969 -h, --help print this help, then exit
22970 -V, --version print version number and configuration settings, then exit
22971 -q, --quiet do not print progress messages
22972 -d, --debug don't remove temporary files
22973 --recheck update $as_me by reconfiguring in the same conditions
22974 --file=FILE[:TEMPLATE]
22975 instantiate the configuration file FILE
22976 --header=FILE[:TEMPLATE]
22977 instantiate the configuration header FILE
22979 Configuration files:
22982 Configuration headers:
22985 Configuration commands:
22988 Report bugs to <bug-autoconf@gnu.org>."
22991 cat >>$CONFIG_STATUS <<_ACEOF
22993 Wine config.status 1.1.0
22994 configured by $0, generated by GNU Autoconf 2.61,
22995 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22997 Copyright (C) 2006 Free Software Foundation, Inc.
22998 This config.status script is free software; the Free Software Foundation
22999 gives unlimited permission to copy, distribute and modify it."
23006 cat >>$CONFIG_STATUS <<\_ACEOF
23007 # If no file are specified by the user, then we need to provide default
23008 # value. By we need to know if files were specified by the user.
23014 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23015 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23026 # Handling of the options.
23027 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23029 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23030 echo "$ac_cs_version"; exit ;;
23031 --debug |
--debu |
--deb |
--de |
--d |
-d )
23033 --file |
--fil |
--fi |
--f )
23035 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23036 ac_need_defaults
=false
;;
23037 --header |
--heade |
--head |
--hea )
23039 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23040 ac_need_defaults
=false
;;
23042 # Conflict between --help and --header
23043 { echo "$as_me: error: ambiguous option: $1
23044 Try \`$0 --help' for more information." >&2
23045 { (exit 1); exit 1; }; };;
23046 --help |
--hel |
-h )
23047 echo "$ac_cs_usage"; exit ;;
23048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23049 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23052 # This is an error.
23053 -*) { echo "$as_me: error: unrecognized option: $1
23054 Try \`$0 --help' for more information." >&2
23055 { (exit 1); exit 1; }; } ;;
23057 *) ac_config_targets
="$ac_config_targets $1"
23058 ac_need_defaults
=false
;;
23064 ac_configure_extra_args
=
23066 if $ac_cs_silent; then
23068 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23072 cat >>$CONFIG_STATUS <<_ACEOF
23073 if \$ac_cs_recheck; then
23074 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23075 CONFIG_SHELL=$SHELL
23076 export CONFIG_SHELL
23077 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23081 cat >>$CONFIG_STATUS <<\_ACEOF
23085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23086 ## Running $as_me. ##
23092 cat >>$CONFIG_STATUS <<_ACEOF
23095 cat >>$CONFIG_STATUS <<\_ACEOF
23097 # Handling of arguments.
23098 for ac_config_target
in $ac_config_targets
23100 case $ac_config_target in
23101 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23102 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23103 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23104 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23105 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23106 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
23107 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23108 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
23109 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
23110 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
23111 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23112 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
23113 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
23114 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23115 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
23116 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
23117 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
23118 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23119 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23120 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23121 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23122 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
23123 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23124 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
23125 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
23126 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23127 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23128 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
23129 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23130 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23131 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23132 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23133 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
23134 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23135 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23136 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
23137 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23138 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23139 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23140 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23141 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23142 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
23143 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
23144 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23145 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23146 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23147 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23148 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23149 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23150 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23151 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23152 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23153 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23154 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23155 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23156 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23157 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23158 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23159 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23160 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23161 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23162 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23163 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23164 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23165 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23166 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23167 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23168 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23169 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23170 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23171 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23172 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23173 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23174 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23175 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23176 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23177 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23178 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23179 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23180 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23181 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23182 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23183 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23184 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23185 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23186 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
23187 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
23188 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23189 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23190 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
23191 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23192 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
23193 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23194 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23195 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23196 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23197 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23198 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23199 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23200 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23201 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
23202 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23203 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23204 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23205 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23206 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23207 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23208 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
23209 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23210 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23211 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
23212 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23213 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23214 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23215 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23216 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23217 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23218 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23219 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23220 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23221 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23222 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23223 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23224 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23225 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23226 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23227 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23228 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23229 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23230 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23231 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23232 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23233 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23234 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23235 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23236 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23237 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23238 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23239 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23240 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23241 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23242 "dlls/inetmib1/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23243 "dlls/inetmib1/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23244 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23245 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23246 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23247 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23248 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23249 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23250 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23251 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23252 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23253 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23254 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23255 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23256 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23257 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23258 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23259 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23260 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23261 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23262 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23263 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23264 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23265 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23266 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23267 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23268 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23269 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23270 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23271 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23272 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23273 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23274 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23275 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23276 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23277 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23278 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23279 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23280 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23281 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23282 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23283 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23284 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23285 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23286 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23287 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23288 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23289 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23290 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23291 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23292 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23293 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23294 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23295 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23296 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23297 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23298 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23299 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23300 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23301 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23302 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23303 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23304 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23305 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23306 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23307 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23308 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23309 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23310 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23311 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23312 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23313 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23314 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23315 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23316 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23317 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23318 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23319 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23320 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23321 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23322 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23323 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23324 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23325 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23326 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23327 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23328 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23329 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23330 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23331 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23332 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23333 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23334 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23335 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23336 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23337 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23338 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23339 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23340 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23341 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23342 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23343 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23344 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23345 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23346 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23347 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23348 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23349 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23350 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23351 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23352 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23353 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23354 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23355 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23356 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23357 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23358 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23359 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23360 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23361 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23362 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23363 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23364 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23365 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23366 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23367 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23368 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23369 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23370 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23371 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23372 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23373 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23374 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23375 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23376 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23377 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23378 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23379 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23380 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23381 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23382 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23383 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23384 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23385 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23386 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23387 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23388 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23389 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23390 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23391 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23392 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23393 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23394 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23395 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23396 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23397 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23398 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23399 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23400 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23401 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23402 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23403 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23404 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23405 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23406 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23407 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23408 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23409 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23410 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23411 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23412 "dlls/userenv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23413 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23414 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23415 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23416 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23417 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23418 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23419 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23420 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23421 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23422 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23423 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23424 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23425 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23426 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23427 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23428 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23429 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23430 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23431 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23432 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23433 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23434 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23435 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23436 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23437 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23438 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23439 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23440 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23441 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23442 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23443 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23444 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23445 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23446 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23447 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23448 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23449 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23450 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23451 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23452 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23453 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23454 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23455 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23456 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23457 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23458 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23459 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23460 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23461 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23462 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23463 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23464 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23465 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23466 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23467 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23468 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23469 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23470 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23471 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23472 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23473 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23474 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23475 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23476 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23477 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23478 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23479 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23480 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23481 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23482 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23483 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23484 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23485 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23486 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23487 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23488 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23489 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23490 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23491 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23492 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23493 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23494 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23495 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23496 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23497 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23498 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23499 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23500 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23501 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23502 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23503 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23504 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23505 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23506 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23507 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23508 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23509 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23510 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23511 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23512 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23513 "programs/winhlp32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23514 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23515 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23516 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23517 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23518 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23519 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23520 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23521 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23522 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23523 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23524 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23525 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23527 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23528 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23529 { (exit 1); exit 1; }; };;
23534 # If the user did not use the arguments to specify the items to instantiate,
23535 # then the envvar interface is used. Set only those that are not.
23536 # We use the long form for the default assignment because of an extremely
23537 # bizarre bug on SunOS 4.1.3.
23538 if $ac_need_defaults; then
23539 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23540 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23544 # Have a temporary directory for convenience. Make it in the build tree
23545 # simply because there is no reason against having it here, and in addition,
23546 # creating and moving files from /tmp can sometimes cause problems.
23547 # Hook for its removal unless debugging.
23548 # Note that there is a small window in which the directory will not be cleaned:
23549 # after its creation but before its name has been assigned to `$tmp'.
23553 trap 'exit_status=$?
23554 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23556 trap '{ (exit 1); exit 1; }' 1 2 13 15
23558 # Create a (secure) tmp directory for tmp files.
23561 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23562 test -n "$tmp" && test -d "$tmp"
23565 tmp
=.
/conf$$
-$RANDOM
23566 (umask 077 && mkdir
"$tmp")
23569 echo "$me: cannot create a temporary directory in ." >&2
23570 { (exit 1); exit 1; }
23574 # Set up the sed scripts for CONFIG_FILES section.
23577 # No need to generate the scripts if there are no CONFIG_FILES.
23578 # This happens for instance when ./config.status config.h
23579 if test -n "$CONFIG_FILES"; then
23583 # Create sed commands to just substitute file output variables.
23585 # Remaining file output variables are in a fragment that also has non-file
23591 for ac_last_try
in false false false false false
:; do
23592 cat >conf$
$subs.
sed <<_ACEOF
23593 SHELL!$SHELL$ac_delim
23594 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23595 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23596 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23597 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23598 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23599 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23600 exec_prefix!$exec_prefix$ac_delim
23601 prefix!$prefix$ac_delim
23602 program_transform_name!$program_transform_name$ac_delim
23603 bindir!$bindir$ac_delim
23604 sbindir!$sbindir$ac_delim
23605 libexecdir!$libexecdir$ac_delim
23606 datarootdir!$datarootdir$ac_delim
23607 datadir!$datadir$ac_delim
23608 sysconfdir!$sysconfdir$ac_delim
23609 sharedstatedir!$sharedstatedir$ac_delim
23610 localstatedir!$localstatedir$ac_delim
23611 includedir!$includedir$ac_delim
23612 oldincludedir!$oldincludedir$ac_delim
23613 docdir!$docdir$ac_delim
23614 infodir!$infodir$ac_delim
23615 htmldir!$htmldir$ac_delim
23616 dvidir!$dvidir$ac_delim
23617 pdfdir!$pdfdir$ac_delim
23618 psdir!$psdir$ac_delim
23619 libdir!$libdir$ac_delim
23620 localedir!$localedir$ac_delim
23621 mandir!$mandir$ac_delim
23622 DEFS!$DEFS$ac_delim
23623 ECHO_C!$ECHO_C$ac_delim
23624 ECHO_N!$ECHO_N$ac_delim
23625 ECHO_T!$ECHO_T$ac_delim
23626 LIBS!$LIBS$ac_delim
23627 build_alias!$build_alias$ac_delim
23628 host_alias!$host_alias$ac_delim
23629 target_alias!$target_alias$ac_delim
23630 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23631 build!$build$ac_delim
23632 build_cpu!$build_cpu$ac_delim
23633 build_vendor!$build_vendor$ac_delim
23634 build_os!$build_os$ac_delim
23635 host!$host$ac_delim
23636 host_cpu!$host_cpu$ac_delim
23637 host_vendor!$host_vendor$ac_delim
23638 host_os!$host_os$ac_delim
23639 WIN16_FILES!$WIN16_FILES$ac_delim
23640 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23641 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23642 WINETEST!$WINETEST$ac_delim
23643 SET_MAKE!$SET_MAKE$ac_delim
23645 CFLAGS!$CFLAGS$ac_delim
23646 LDFLAGS!$LDFLAGS$ac_delim
23647 CPPFLAGS!$CPPFLAGS$ac_delim
23648 ac_ct_CC!$ac_ct_CC$ac_delim
23649 EXEEXT!$EXEEXT$ac_delim
23650 OBJEXT!$OBJEXT$ac_delim
23652 CXXFLAGS!$CXXFLAGS$ac_delim
23653 ac_ct_CXX!$ac_ct_CXX$ac_delim
23654 CPPBIN!$CPPBIN$ac_delim
23655 TOOLSDIR!$TOOLSDIR$ac_delim
23656 XMKMF!$XMKMF$ac_delim
23658 X_CFLAGS!$X_CFLAGS$ac_delim
23659 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23660 X_LIBS!$X_LIBS$ac_delim
23661 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23662 FLEX!$FLEX$ac_delim
23663 BISON!$BISON$ac_delim
23665 ac_ct_AS!$ac_ct_AS$ac_delim
23667 ac_ct_LD!$ac_ct_LD$ac_delim
23669 ac_ct_NM!$ac_ct_NM$ac_delim
23671 ac_ct_AR!$ac_ct_AR$ac_delim
23672 ARFLAGS!$ARFLAGS$ac_delim
23673 RANLIB!$RANLIB$ac_delim
23674 STRIP!$STRIP$ac_delim
23677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23679 elif $ac_last_try; then
23680 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23681 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23682 { (exit 1); exit 1; }; }
23684 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23688 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23689 if test -n "$ac_eof"; then
23690 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23691 ac_eof
=`expr $ac_eof + 1`
23694 cat >>$CONFIG_STATUS <<_ACEOF
23695 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23697 /^[ ]*@MAKE_RULES@[ ]*$/{
23701 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23705 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23706 r $MAKE_IMPLIB_RULES
23709 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23713 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23720 s/^/s,@/; s/!/@,|#_!!_#|/
23723 s/'"$ac_delim"'$/,g/; t
23725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23726 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23727 rm -f conf$
$subs.
sed
23728 cat >>$CONFIG_STATUS <<_ACEOF
23734 for ac_last_try
in false false false false false
:; do
23735 cat >conf$
$subs.
sed <<_ACEOF
23736 WINDRES!$WINDRES$ac_delim
23737 LN_S!$LN_S$ac_delim
23739 GREP!$GREP$ac_delim
23740 EGREP!$EGREP$ac_delim
23741 LDCONFIG!$LDCONFIG$ac_delim
23742 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23743 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23744 INSTALL_DATA!$INSTALL_DATA$ac_delim
23745 LINT!$LINT$ac_delim
23746 LINTFLAGS!$LINTFLAGS$ac_delim
23747 FONTFORGE!$FONTFORGE$ac_delim
23748 PKG_CONFIG!$PKG_CONFIG$ac_delim
23749 RSVG!$RSVG$ac_delim
23750 ICOTOOL!$ICOTOOL$ac_delim
23751 PRELINK!$PRELINK$ac_delim
23752 LIBPTHREAD!$LIBPTHREAD$ac_delim
23753 XLIB!$XLIB$ac_delim
23754 XFILES!$XFILES$ac_delim
23755 OPENGLFILES!$OPENGLFILES$ac_delim
23756 GLU32FILES!$GLU32FILES$ac_delim
23757 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23758 QUARTZFILES!$QUARTZFILES$ac_delim
23759 DLLEXT!$DLLEXT$ac_delim
23760 DLLFLAGS!$DLLFLAGS$ac_delim
23761 LDSHARED!$LDSHARED$ac_delim
23762 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23763 LIBEXT!$LIBEXT$ac_delim
23764 IMPLIBEXT!$IMPLIBEXT$ac_delim
23765 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23766 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23768 DLLTOOL!$DLLTOOL$ac_delim
23769 DLLWRAP!$DLLWRAP$ac_delim
23770 MINGWAR!$MINGWAR$ac_delim
23771 SECURITYLIB!$SECURITYLIB$ac_delim
23772 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23773 IOKITLIB!$IOKITLIB$ac_delim
23774 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23775 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23776 COREAUDIO!$COREAUDIO$ac_delim
23777 CARBONLIB!$CARBONLIB$ac_delim
23778 CROSSTEST!$CROSSTEST$ac_delim
23779 CROSSCC!$CROSSCC$ac_delim
23780 CROSSWINDRES!$CROSSWINDRES$ac_delim
23781 NASLIBS!$NASLIBS$ac_delim
23782 XML2LIBS!$XML2LIBS$ac_delim
23783 XML2INCL!$XML2INCL$ac_delim
23784 XSLTLIBS!$XSLTLIBS$ac_delim
23785 XSLTINCL!$XSLTINCL$ac_delim
23786 HALINCL!$HALINCL$ac_delim
23787 sane_devel!$sane_devel$ac_delim
23788 SANEINCL!$SANEINCL$ac_delim
23789 gphoto2_devel!$gphoto2_devel$ac_delim
23790 gphoto2port_devel!$gphoto2port_devel$ac_delim
23791 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23792 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23793 RESOLVLIBS!$RESOLVLIBS$ac_delim
23794 LCMSLIBS!$LCMSLIBS$ac_delim
23795 LDAPLIBS!$LDAPLIBS$ac_delim
23796 ft_devel!$ft_devel$ac_delim
23797 FREETYPELIBS!$FREETYPELIBS$ac_delim
23798 FREETYPEINCL!$FREETYPEINCL$ac_delim
23799 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23800 ESDCONFIG!$ESDCONFIG$ac_delim
23801 ESDLIBS!$ESDLIBS$ac_delim
23802 ESDINCL!$ESDINCL$ac_delim
23803 ALSALIBS!$ALSALIBS$ac_delim
23804 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23805 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23806 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23807 BUILTINFLAG!$BUILTINFLAG$ac_delim
23808 LDPATH!$LDPATH$ac_delim
23809 CRTLIBS!$CRTLIBS$ac_delim
23810 SOCKETLIBS!$SOCKETLIBS$ac_delim
23811 MAIN_BINARY!$MAIN_BINARY$ac_delim
23812 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23813 LIBDL!$LIBDL$ac_delim
23814 LIBPOLL!$LIBPOLL$ac_delim
23815 DEPENDENCIES!$DEPENDENCIES$ac_delim
23816 LIBOBJS!$LIBOBJS$ac_delim
23817 LTLIBOBJS!$LTLIBOBJS$ac_delim
23820 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23822 elif $ac_last_try; then
23823 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23824 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23825 { (exit 1); exit 1; }; }
23827 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23831 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23832 if test -n "$ac_eof"; then
23833 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23834 ac_eof
=`expr $ac_eof + 1`
23837 cat >>$CONFIG_STATUS <<_ACEOF
23838 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23842 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23843 s/^/s,@/; s/!/@,|#_!!_#|/
23846 s/'"$ac_delim"'$/,g/; t
23848 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23849 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23850 rm -f conf$
$subs.
sed
23851 cat >>$CONFIG_STATUS <<_ACEOF
23858 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23859 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23860 # trailing colons and then remove the whole line if VPATH becomes empty
23861 # (actually we leave an empty line to preserve line numbers).
23862 if test "x$srcdir" = x.
; then
23863 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23864 s/:*\$(srcdir):*/:/
23865 s/:*\${srcdir}:*/:/
23867 s/^\([^=]*=[ ]*\):*/\1/
23873 cat >>$CONFIG_STATUS <<\_ACEOF
23874 fi # test -n "$CONFIG_FILES"
23877 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23880 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23882 case $ac_mode$ac_tag in
23884 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23885 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23886 { (exit 1); exit 1; }; };;
23887 :[FH
]-) ac_tag
=-:-;;
23888 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23905 -) ac_f
="$tmp/stdin";;
23906 *) # Look for the file first in the build tree, then in the source tree
23907 # (if the path is not absolute). The absolute path cannot be DOS-style,
23908 # because $ac_f cannot contain `:'.
23912 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23914 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23915 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23916 { (exit 1); exit 1; }; };;
23918 ac_file_inputs
="$ac_file_inputs $ac_f"
23921 # Let's still pretend it is `configure' which instantiates (i.e., don't
23922 # use $as_me), people would be surprised to read:
23923 # /* config.h. Generated by config.status. */
23924 configure_input
="Generated from "`IFS=:
23925 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23926 if test x
"$ac_file" != x-
; then
23927 configure_input
="$ac_file. $configure_input"
23928 { echo "$as_me:$LINENO: creating $ac_file" >&5
23929 echo "$as_me: creating $ac_file" >&6;}
23933 *:-:* |
*:-) cat >"$tmp/stdin";;
23938 ac_dir
=`$as_dirname -- "$ac_file" ||
23939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23940 X"$ac_file" : 'X\(//\)[^/]' \| \
23941 X"$ac_file" : 'X\(//\)$' \| \
23942 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23948 /^X\(\/\/\)[^/].*/{
23963 -*) as_dir
=.
/$as_dir;;
23965 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23969 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23970 *) as_qdir
=$as_dir;;
23972 as_dirs
="'$as_qdir' $as_dirs"
23973 as_dir
=`$as_dirname -- "$as_dir" ||
23974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23975 X"$as_dir" : 'X\(//\)[^/]' \| \
23976 X"$as_dir" : 'X\(//\)$' \| \
23977 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23983 /^X\(\/\/\)[^/].*/{
23996 test -d "$as_dir" && break
23998 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23999 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24000 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24001 { (exit 1); exit 1; }; }; }
24005 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24007 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24008 # A ".." for each directory in $ac_dir_suffix.
24009 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24010 case $ac_top_builddir_sub in
24011 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24012 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24015 ac_abs_top_builddir
=$ac_pwd
24016 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24017 # for backward compatibility:
24018 ac_top_builddir
=$ac_top_build_prefix
24021 .
) # We are building in place.
24023 ac_top_srcdir
=$ac_top_builddir_sub
24024 ac_abs_top_srcdir
=$ac_pwd ;;
24025 [\\/]* | ?
:[\\/]* ) # Absolute name.
24026 ac_srcdir
=$srcdir$ac_dir_suffix;
24027 ac_top_srcdir
=$srcdir
24028 ac_abs_top_srcdir
=$srcdir ;;
24029 *) # Relative name.
24030 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24031 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24032 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24034 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24044 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24045 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24049 cat >>$CONFIG_STATUS <<\_ACEOF
24050 # If the template does not know about datarootdir, expand it.
24051 # FIXME: This hack should be removed a few years after 2.60.
24052 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24054 case `sed -n '/datarootdir/ {
24063 ' $ac_file_inputs` in
24064 *datarootdir
*) ac_datarootdir_seen
=yes;;
24065 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24066 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24067 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24069 cat >>$CONFIG_STATUS <<_ACEOF
24070 ac_datarootdir_hack='
24071 s&@datadir@&$datadir&g
24072 s&@docdir@&$docdir&g
24073 s&@infodir@&$infodir&g
24074 s&@localedir@&$localedir&g
24075 s&@mandir@&$mandir&g
24076 s&\\\${datarootdir}&$datarootdir&g' ;;
24080 # Neutralize VPATH when `$srcdir' = `.'.
24081 # Shell code in configure.ac might set extrasub.
24082 # FIXME: do we really want to maintain this feature?
24083 cat >>$CONFIG_STATUS <<_ACEOF
24087 cat >>$CONFIG_STATUS <<\_ACEOF
24089 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24090 s
&@configure_input@
&$configure_input&;t t
24091 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24092 s
&@srcdir@
&$ac_srcdir&;t t
24093 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24094 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24095 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24096 s
&@builddir@
&$ac_builddir&;t t
24097 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24098 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24099 s
&@INSTALL@
&$ac_INSTALL&;t t
24100 $ac_datarootdir_hack
24101 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24103 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24104 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24105 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24106 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24107 which seems to be undefined. Please make sure it is defined." >&5
24108 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24109 which seems to be undefined. Please make sure it is defined." >&2;}
24113 -) cat "$tmp/out"; rm -f "$tmp/out";;
24114 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24123 # Transform confdefs.h into a sed script `conftest.defines', that
24124 # substitutes the proper values into config.h.in to produce config.h.
24125 rm -f conftest.defines conftest.
tail
24126 # First, append a space to every undef/define line, to ease matching.
24127 echo 's/$/ /' >conftest.defines
24128 # Then, protect against being on the right side of a sed subst, or in
24129 # an unquoted here document, in config.status. If some macros were
24130 # called several times there might be several #defines for the same
24131 # symbol, which is useless. But do not sort them, since the last
24132 # AC_DEFINE must be honored.
24133 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24134 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24135 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24136 # PARAMS is the parameter list in the macro definition--in most cases, it's
24137 # just an empty string.
24138 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24139 ac_dB
='\\)[ (].*,\\1define\\2'
24147 s/^[ ]*#[ ]*define[ ][ ]*//
24152 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24153 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24154 ' >>conftest.defines
24156 # Remove the space that was appended to ease matching.
24157 # Then replace #undef with comments. This is necessary, for
24158 # example, in the case of _POSIX_SOURCE, which is predefined and required
24159 # on some systems where configure will not decide to define it.
24160 # (The regexp can be short, since the line contains either #define or #undef.)
24162 s,^[ #]*u.*,/* & */,' >>conftest.defines
24164 # Break up conftest.defines:
24165 ac_max_sed_lines
=50
24167 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24168 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24169 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24171 ac_in
='$ac_file_inputs'
24172 ac_out
='"$tmp/out1"'
24173 ac_nxt
='"$tmp/out2"'
24177 # Write a here document:
24178 cat >>$CONFIG_STATUS <<_ACEOF
24179 # First, check the format of the line:
24180 cat >"\$tmp/defines.sed" <<\\CEOF
24181 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24182 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24186 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24188 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24189 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24190 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24191 grep . conftest.
tail >/dev
/null ||
break
24192 rm -f conftest.defines
24193 mv conftest.
tail conftest.defines
24195 rm -f conftest.defines conftest.
tail
24197 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24198 cat >>$CONFIG_STATUS <<\_ACEOF
24199 if test x
"$ac_file" != x-
; then
24200 echo "/* $configure_input */" >"$tmp/config.h"
24201 cat "$ac_result" >>"$tmp/config.h"
24202 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24204 echo "$as_me: $ac_file is unchanged" >&6;}
24207 mv "$tmp/config.h" $ac_file
24210 echo "/* $configure_input */"
24216 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24217 echo "$as_me: executing $ac_file commands" >&6;}
24222 case $ac_file$ac_mode in
24223 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24224 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24225 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24226 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24227 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24228 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24229 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24230 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24231 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24232 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24233 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24234 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24235 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24241 { (exit 0); exit 0; }
24243 chmod +x
$CONFIG_STATUS
24244 ac_clean_files
=$ac_clean_files_save
24247 # configure is writing to config.log, and then calls config.status.
24248 # config.status does its own redirection, appending to config.log.
24249 # Unfortunately, on DOS this fails, as config.log is still kept open
24250 # by configure, so config.status won't be able to write to it; its
24251 # output is simply discarded. So we exec the FD to /dev/null,
24252 # effectively closing config.log, so it can be properly (re)opened and
24253 # appended to by config.status. When coming back to configure, we
24254 # need to make the FD available again.
24255 if test "$no_create" != yes; then
24257 ac_config_status_args
=
24258 test "$silent" = yes &&
24259 ac_config_status_args
="$ac_config_status_args --quiet"
24261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24264 # would make configure fail if this is the last instruction.
24265 $ac_cs_success ||
{ (exit 1); exit 1; }
24269 if test "$no_create" = "yes"
24276 if test "x$wine_notices != "x
; then
24278 for msg
in $wine_notices; do
24279 if test -n "$msg"; then
24280 { echo "$as_me:$LINENO: $msg" >&5
24281 echo "$as_me: $msg" >&6;}
24285 for msg
in $wine_warnings; do
24286 if test -n "$msg"; then
24288 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24289 echo "$as_me: WARNING: $msg" >&2;}
24295 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.