2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.6'
584 PACKAGE_STRING
='Wine 1.6'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
701 APPLICATIONSERVICESLIB
791 program_transform_name
802 ac_subst_files
='MAKE_RULES
808 enable_option_checking
812 enable_maintainer_mode
861 ac_precious_vars
='build_alias
908 # Initialize some variables set by options.
910 ac_init_version
=false
911 ac_unrecognized_opts
=
913 # The variables have the same names as the options, with
914 # dashes changed to underlines.
922 program_transform_name
=s
,x
,x
,
930 # Installation directory options.
931 # These are left unexpanded so users can "make install exec_prefix=/foo"
932 # and all the variables that are supposed to be based on exec_prefix
933 # by default will actually change.
934 # Use braces instead of parens because sh, perl, etc. also accept them.
935 # (The list follows the same order as the GNU Coding Standards.)
936 bindir
='${exec_prefix}/bin'
937 sbindir
='${exec_prefix}/sbin'
938 libexecdir
='${exec_prefix}/libexec'
939 datarootdir
='${prefix}/share'
940 datadir
='${datarootdir}'
941 sysconfdir
='${prefix}/etc'
942 sharedstatedir
='${prefix}/com'
943 localstatedir
='${prefix}/var'
944 includedir
='${prefix}/include'
945 oldincludedir
='/usr/include'
946 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
947 infodir
='${datarootdir}/info'
952 libdir
='${exec_prefix}/lib'
953 localedir
='${datarootdir}/locale'
954 mandir
='${datarootdir}/man'
960 # If the previous option needs an argument, assign it.
961 if test -n "$ac_prev"; then
962 eval $ac_prev=\
$ac_option
968 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
979 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
981 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
984 -build |
--build |
--buil |
--bui |
--bu)
985 ac_prev
=build_alias
;;
986 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
987 build_alias
=$ac_optarg ;;
989 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
990 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
991 ac_prev
=cache_file
;;
992 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
993 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
994 cache_file
=$ac_optarg ;;
997 cache_file
=config.cache
;;
999 -datadir |
--datadir |
--datadi |
--datad)
1001 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1002 datadir
=$ac_optarg ;;
1004 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1005 |
--dataroo |
--dataro |
--datar)
1006 ac_prev
=datarootdir
;;
1007 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1008 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1009 datarootdir
=$ac_optarg ;;
1011 -disable-* |
--disable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error $?
"invalid feature name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_
$ac_useropt"
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval enable_
$ac_useropt=no
;;
1027 -docdir |
--docdir |
--docdi |
--doc |
--do)
1029 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1030 docdir
=$ac_optarg ;;
1032 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1034 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1035 dvidir
=$ac_optarg ;;
1037 -enable-* |
--enable-*)
1038 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid feature name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_
$ac_useropt"
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval enable_
$ac_useropt=\
$ac_optarg ;;
1053 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1054 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1055 |
--exec |
--exe |
--ex)
1056 ac_prev
=exec_prefix
;;
1057 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1058 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1059 |
--exec=* |
--exe=* |
--ex=*)
1060 exec_prefix
=$ac_optarg ;;
1062 -gas |
--gas |
--ga |
--g)
1063 # Obsolete; use --with-gas.
1066 -help |
--help |
--hel |
--he |
-h)
1067 ac_init_help
=long
;;
1068 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1069 ac_init_help
=recursive
;;
1070 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1071 ac_init_help
=short
;;
1073 -host |
--host |
--hos |
--ho)
1074 ac_prev
=host_alias
;;
1075 -host=* |
--host=* |
--hos=* |
--ho=*)
1076 host_alias
=$ac_optarg ;;
1078 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1080 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1082 htmldir
=$ac_optarg ;;
1084 -includedir |
--includedir |
--includedi |
--included |
--include \
1085 |
--includ |
--inclu |
--incl |
--inc)
1086 ac_prev
=includedir
;;
1087 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1088 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1089 includedir
=$ac_optarg ;;
1091 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1093 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1094 infodir
=$ac_optarg ;;
1096 -libdir |
--libdir |
--libdi |
--libd)
1098 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1099 libdir
=$ac_optarg ;;
1101 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1102 |
--libexe |
--libex |
--libe)
1103 ac_prev
=libexecdir
;;
1104 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1105 |
--libexe=* |
--libex=* |
--libe=*)
1106 libexecdir
=$ac_optarg ;;
1108 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1109 ac_prev
=localedir
;;
1110 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1111 localedir
=$ac_optarg ;;
1113 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1114 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1115 ac_prev
=localstatedir
;;
1116 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1117 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1118 localstatedir
=$ac_optarg ;;
1120 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1122 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1123 mandir
=$ac_optarg ;;
1125 -nfp |
--nfp |
--nf)
1126 # Obsolete; use --without-fp.
1129 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1130 |
--no-cr |
--no-c |
-n)
1133 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1134 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1137 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1138 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1139 |
--oldin |
--oldi |
--old |
--ol |
--o)
1140 ac_prev
=oldincludedir
;;
1141 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1142 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1143 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1144 oldincludedir
=$ac_optarg ;;
1146 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1148 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1149 prefix
=$ac_optarg ;;
1151 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1152 |
--program-pre |
--program-pr |
--program-p)
1153 ac_prev
=program_prefix
;;
1154 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1155 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1156 program_prefix
=$ac_optarg ;;
1158 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1159 |
--program-suf |
--program-su |
--program-s)
1160 ac_prev
=program_suffix
;;
1161 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1162 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1163 program_suffix
=$ac_optarg ;;
1165 -program-transform-name |
--program-transform-name \
1166 |
--program-transform-nam |
--program-transform-na \
1167 |
--program-transform-n |
--program-transform- \
1168 |
--program-transform |
--program-transfor \
1169 |
--program-transfo |
--program-transf \
1170 |
--program-trans |
--program-tran \
1171 |
--progr-tra |
--program-tr |
--program-t)
1172 ac_prev
=program_transform_name
;;
1173 -program-transform-name=* |
--program-transform-name=* \
1174 |
--program-transform-nam=* |
--program-transform-na=* \
1175 |
--program-transform-n=* |
--program-transform-=* \
1176 |
--program-transform=* |
--program-transfor=* \
1177 |
--program-transfo=* |
--program-transf=* \
1178 |
--program-trans=* |
--program-tran=* \
1179 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1180 program_transform_name
=$ac_optarg ;;
1182 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1184 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1185 pdfdir
=$ac_optarg ;;
1187 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1189 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1192 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1193 |
-silent |
--silent |
--silen |
--sile |
--sil)
1196 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1198 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1200 sbindir
=$ac_optarg ;;
1202 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1203 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1204 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1206 ac_prev
=sharedstatedir
;;
1207 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1208 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1209 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1211 sharedstatedir
=$ac_optarg ;;
1213 -site |
--site |
--sit)
1215 -site=* |
--site=* |
--sit=*)
1218 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1220 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1221 srcdir
=$ac_optarg ;;
1223 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1224 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1225 ac_prev
=sysconfdir
;;
1226 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1227 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1228 sysconfdir
=$ac_optarg ;;
1230 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1231 ac_prev
=target_alias
;;
1232 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1233 target_alias
=$ac_optarg ;;
1235 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1238 -version |
--version |
--versio |
--versi |
--vers |
-V)
1239 ac_init_version
=: ;;
1242 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 as_fn_error $?
"invalid package name: $ac_useropt"
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=\
$ac_optarg ;;
1257 -without-* |
--without-*)
1258 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 as_fn_error $?
"invalid package name: $ac_useropt"
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=no
;;
1274 # Obsolete; use --with-x.
1277 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1278 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1279 ac_prev
=x_includes
;;
1280 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1281 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1282 x_includes
=$ac_optarg ;;
1284 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1285 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1286 ac_prev
=x_libraries
;;
1287 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1288 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1289 x_libraries
=$ac_optarg ;;
1291 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1292 Try \`$0 --help' for more information"
1296 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1297 # Reject names that are not valid shell variable names.
1298 case $ac_envvar in #(
1299 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1300 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1302 eval $ac_envvar=\
$ac_optarg
1303 export $ac_envvar ;;
1306 # FIXME: should be removed in autoconf 3.0.
1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1310 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1316 if test -n "$ac_prev"; then
1317 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1318 as_fn_error $?
"missing argument to $ac_option"
1321 if test -n "$ac_unrecognized_opts"; then
1322 case $enable_option_checking in
1324 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 # Check all directory arguments for consistency.
1330 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1335 eval ac_val
=\$
$ac_var
1336 # Remove trailing slashes.
1339 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1340 eval $ac_var=\
$ac_val;;
1342 # Be sure to have absolute directory names.
1344 [\\/$
]* | ?
:[\\/]* ) continue;;
1345 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1347 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1355 target
=$target_alias
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x
; then
1359 if test "x$build_alias" = x
; then
1360 cross_compiling
=maybe
1361 elif test "x$build_alias" != "x$host_alias"; then
1367 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1369 test "$silent" = yes && exec 6>/dev
/null
1372 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di
=`ls -di .` &&
1374 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1375 as_fn_error $?
"working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377 as_fn_error $?
"pwd does not report name of working directory"
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted
=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir
=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$as_myself" : 'X\(//\)[^/]' \| \
1387 X"$as_myself" : 'X\(//\)$' \| \
1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1412 ac_srcdir_defaulted
=no
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1416 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1418 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1430 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432 for ac_var
in $ac_precious_vars; do
1433 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1435 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1446 \`configure' configures Wine 1.6 to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking ...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1504 --x-includes=DIR X include files are
in DIR
1505 --x-libraries=DIR X library files are
in DIR
1508 --build=BUILD configure
for building on BUILD
[guessed
]
1509 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1513 if test -n "$ac_init_help"; then
1514 case $ac_init_help in
1515 short | recursive
) echo "Configuration of Wine 1.6:";;
1520 --disable-option-checking ignore unrecognized
--enable/--with options
1521 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1522 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1523 --disable-win16 do not include Win16 support
1524 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1526 --disable-tests do not build the regression tests
1527 --enable-maintainer-mode
1528 enable maintainer-specific build rules
1529 --disable-largefile omit support for large files
1532 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1533 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1534 --without-alsa do not use the Alsa sound support
1535 --without-capi do not use CAPI (ISDN support)
1536 --without-cms do not use CMS (color management support)
1537 --without-coreaudio do not use the CoreAudio sound support
1538 --without-cups do not use CUPS
1539 --without-curses do not use (n)curses
1540 --without-dbus do not use DBus (dynamic device support)
1541 --without-fontconfig do not use fontconfig
1542 --without-freetype do not use the FreeType library
1543 --without-gettext do not use gettext
1544 --with-gettextpo use the GetTextPO library to rebuild po files
1545 --without-gphoto do not use gphoto (Digital Camera support)
1546 --without-glu do not use the GLU library
1547 --without-gnutls do not use GnuTLS (schannel support)
1548 --without-gsm do not use libgsm (GSM 06.10 codec support)
1549 --without-gstreamer do not use GStreamer (codecs support)
1550 --without-hal do not use HAL (dynamic device support)
1551 --without-jpeg do not use JPEG
1552 --without-ldap do not use LDAP
1553 --without-mpg123 do not use the mpg123 library
1554 --without-openal do not use OpenAL
1555 --without-opencl do not use OpenCL
1556 --without-opengl do not use OpenGL
1557 --without-osmesa do not use the OSMesa library
1558 --without-oss do not use the OSS sound support
1559 --without-png do not use PNG
1560 --without-pthread do not use the pthread library
1561 --without-sane do not use SANE (scanner support)
1562 --without-tiff do not use TIFF
1563 --without-v4l do not use v4l1 (v4l support)
1564 --without-xcomposite do not use the Xcomposite extension
1565 --without-xcursor do not use the Xcursor extension
1566 --without-xinerama do not use Xinerama (multi-monitor support)
1567 --without-xinput do not use the Xinput extension
1568 --without-xinput2 do not use the Xinput 2 extension
1569 --without-xml do not use XML
1570 --without-xrandr do not use Xrandr (resolution changes)
1571 --without-xrender do not use the Xrender extension
1572 --without-xshape do not use the Xshape extension
1573 --without-xshm do not use XShm (shared memory extension)
1574 --without-xslt do not use XSLT
1575 --without-xxf86vm do not use XFree video mode extension
1576 --without-zlib do not use Zlib (data compression)
1577 --with-wine-tools=DIR use Wine tools from directory DIR
1578 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1579 --with-x use the X Window System
1581 Some influential environment variables:
1582 CC C compiler command
1583 CFLAGS C compiler flags
1584 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1585 nonstandard directory <lib dir>
1586 LIBS libraries to pass to the linker, e.g. -l<library>
1587 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1588 you have headers in a nonstandard directory <include dir>
1589 CXX C++ compiler command
1590 CXXFLAGS C++ compiler flags
1592 XMKMF Path to xmkmf, Makefile generator for X Window System
1593 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1594 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1595 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1596 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1597 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1598 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1599 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1600 HAL_LIBS Linker flags for hal, overriding pkg-config
1602 C compiler flags for gnutls, overriding pkg-config
1603 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1604 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1605 SANE_LIBS Linker flags for libsane, overriding pkg-config
1607 C compiler flags for libgphoto2, overriding pkg-config
1609 Linker flags for libgphoto2, overriding pkg-config
1611 C compiler flags for libgphoto2_port, overriding pkg-config
1613 Linker flags for libgphoto2_port, overriding pkg-config
1615 C compiler flags for lcms2, overriding pkg-config
1616 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1618 C compiler flags for freetype2, overriding pkg-config
1620 Linker flags for freetype2, overriding pkg-config
1622 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1624 Linker flags for gstreamer-app-0.10, overriding pkg-config
1626 C compiler flags for capi20, overriding pkg-config
1627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
1628 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
1629 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
1630 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1631 PNG_LIBS Linker flags for libpng, overriding pkg-config
1632 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
1633 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
1635 C compiler flags for libmpg123, overriding pkg-config
1636 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
1638 Use these variables to override the choices made by `configure' or to
help
1639 it to
find libraries and programs with nonstandard names
/locations.
1641 Report bugs to
<wine-devel@winehq.org
>.
1642 Wine home page
: <http
://www.winehq.org
>.
1647 if test "$ac_init_help" = "recursive"; then
1648 # If there are subdirs, report their specific --help.
1649 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1650 test -d "$ac_dir" ||
1651 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1656 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1658 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1659 # A ".." for each directory in $ac_dir_suffix.
1660 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1661 case $ac_top_builddir_sub in
1662 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1663 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1666 ac_abs_top_builddir
=$ac_pwd
1667 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1668 # for backward compatibility:
1669 ac_top_builddir
=$ac_top_build_prefix
1672 .
) # We are building in place.
1674 ac_top_srcdir
=$ac_top_builddir_sub
1675 ac_abs_top_srcdir
=$ac_pwd ;;
1676 [\\/]* | ?
:[\\/]* ) # Absolute name.
1677 ac_srcdir
=$srcdir$ac_dir_suffix;
1678 ac_top_srcdir
=$srcdir
1679 ac_abs_top_srcdir
=$srcdir ;;
1681 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1682 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1683 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1685 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1687 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1688 # Check for guested configure.
1689 if test -f "$ac_srcdir/configure.gnu"; then
1691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1692 elif test -f "$ac_srcdir/configure"; then
1694 $SHELL "$ac_srcdir/configure" --help=recursive
1696 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1698 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1702 test -n "$ac_init_help" && exit $ac_status
1703 if $ac_init_version; then
1706 generated by GNU Autoconf
2.69
1708 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1709 This configure
script is free software
; the Free Software Foundation
1710 gives unlimited permission to copy
, distribute and modify it.
1715 ## ------------------------ ##
1716 ## Autoconf initialization. ##
1717 ## ------------------------ ##
1719 # ac_fn_c_try_compile LINENO
1720 # --------------------------
1721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_compile
()
1724 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1725 rm -f conftest.
$ac_objext
1726 if { { ac_try
="$ac_compile"
1728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_compile") 2>conftest.err
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest.$ac_objext; then :
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_c_try_compile
1757 # ac_fn_cxx_try_compile LINENO
1758 # ----------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_cxx_try_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext
1764 if { { ac_try="$ac_compile"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1773 if test -s conftest.err
; then
1774 grep -v '^ *+' conftest.err
>conftest.er1
1775 cat conftest.er1
>&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_cxx_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.
$ac_objext; then :
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.
$ac_ext >&5
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status
$ac_retval
1793 } # ac_fn_cxx_try_compile
1795 # ac_fn_c_try_link LINENO
1796 # -----------------------
1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 rm -f conftest.
$ac_objext conftest
$ac_exeext
1802 if { { ac_try
="$ac_link"
1804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_link") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest$ac_exeext && {
1821 test "$cross_compiling" = yes ||
1822 test -x conftest$ac_exeext
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1833 # interfere with the next link command; also delete a directory that is
1834 # left behind by Apple's compiler. We do this before executing the actions.
1835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1839 } # ac_fn_c_try_link
1841 # ac_fn_c_try_cpp LINENO
1842 # ----------------------
1843 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_cpp conftest.$ac_ext"
1849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1850 *) ac_try_echo
=$ac_try;;
1852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1856 if test -s conftest.err
; then
1857 grep -v '^ *+' conftest.err
>conftest.er1
1858 cat conftest.er1
>&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } > conftest.i
&& {
1863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.
$ac_ext >&5
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 as_fn_set_status
$ac_retval
1878 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1881 # the include files in INCLUDES and setting the cache variable VAR
1883 ac_fn_c_check_header_mongrel
()
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 if eval \
${$3+:} false
; then :
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \
${$3+:} false
; then :
1890 $as_echo_n "(cached) " >&6
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1896 # Is the header compilable?
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1898 $as_echo_n "checking $2 usability... " >&6; }
1899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1904 if ac_fn_c_try_compile
"$LINENO"; then :
1905 ac_header_compiler
=yes
1907 ac_header_compiler
=no
1909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1911 $as_echo "$ac_header_compiler" >&6; }
1913 # Is the header present?
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1915 $as_echo_n "checking $2 presence... " >&6; }
1916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1920 if ac_fn_c_try_cpp
"$LINENO"; then :
1921 ac_header_preproc
=yes
1923 ac_header_preproc
=no
1925 rm -f conftest.err conftest.i conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1927 $as_echo "$ac_header_preproc" >&6; }
1929 # So? What about this header?
1930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1933 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1939 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1941 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1943 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1945 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948 ( $as_echo "## ------------------------------------ ##
1949 ## Report this to wine-devel@winehq.org ##
1950 ## ------------------------------------ ##"
1951 ) |
sed "s/^/$as_me: WARNING: /" >&2
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \
${$3+:} false
; then :
1957 $as_echo_n "(cached) " >&6
1959 eval "$3=\$ac_header_compiler"
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 } # ac_fn_c_check_header_mongrel
1969 # ac_fn_c_try_run LINENO
1970 # ----------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1972 # that executables *can* be run.
1975 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1976 if { { ac_try
="$ac_link"
1978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>&5
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1987 { { case "(($ac_try" in
1988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1989 *) ac_try_echo
=$ac_try;;
1991 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_try") 2>&5
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; }; }; then :
1999 $as_echo "$as_me: program exited with status $ac_status" >&5
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.
$ac_ext >&5
2003 ac_retval
=$ac_status
2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status
$ac_retval
2011 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2012 # -------------------------------------------------------
2013 # Tests whether HEADER exists and can be compiled using the include files in
2014 # INCLUDES, setting the cache variable VAR accordingly.
2015 ac_fn_c_check_header_compile
()
2017 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \
${$3+:} false
; then :
2021 $as_echo_n "(cached) " >&6
2023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2028 if ac_fn_c_try_compile
"$LINENO"; then :
2033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 } # ac_fn_c_check_header_compile
2042 # ac_fn_c_check_func LINENO FUNC VAR
2043 # ----------------------------------
2044 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2045 ac_fn_c_check_func
()
2047 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \
${$3+:} false
; then :
2051 $as_echo_n "(cached) " >&6
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2057 #define $2 innocuous_$2
2059 /* System header to define __stub macros and hopefully few prototypes,
2060 which can conflict with char $2 (); below.
2061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2062 <limits.h> exists even on freestanding compilers. */
2065 # include <limits.h>
2067 # include <assert.h>
2072 /* Override any GCC internal prototype to avoid an error.
2073 Use char because int might match the return type of a GCC
2074 builtin and then its argument prototype would still apply. */
2079 /* The GNU C library defines this for functions which it implements
2080 to always fail with ENOSYS. Some functions are actually named
2081 something starting with __ and the normal name is an alias. */
2082 #if defined __stub_$2 || defined __stub___$2
2094 if ac_fn_c_try_link
"$LINENO"; then :
2099 rm -f core conftest.err conftest.
$ac_objext \
2100 conftest
$ac_exeext conftest.
$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 } # ac_fn_c_check_func
2109 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2110 # ----------------------------------------------------
2111 # Tries to find if the field MEMBER exists in type AGGR, after including
2112 # INCLUDES, setting cache variable VAR accordingly.
2113 ac_fn_c_check_member
()
2115 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2117 $as_echo_n "checking for $2.$3... " >&6; }
2118 if eval \
${$4+:} false
; then :
2119 $as_echo_n "(cached) " >&6
2121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2134 if ac_fn_c_try_compile
"$LINENO"; then :
2137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2144 if (sizeof ac_aggr.$3)
2150 if ac_fn_c_try_compile
"$LINENO"; then :
2155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164 } # ac_fn_c_check_member
2166 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2167 # -------------------------------------------
2168 # Tests whether TYPE exists after having included INCLUDES, setting cache
2169 # variable VAR accordingly.
2170 ac_fn_c_check_type
()
2172 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if eval \
${$3+:} false
; then :
2176 $as_echo_n "(cached) " >&6
2179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2191 if ac_fn_c_try_compile
"$LINENO"; then :
2192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2204 if ac_fn_c_try_compile
"$LINENO"; then :
2209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2215 $as_echo "$ac_res" >&6; }
2216 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2218 } # ac_fn_c_check_type
2219 cat >config.log
<<_ACEOF
2220 This file contains any messages produced by compilers while
2221 running configure, to aid debugging if configure makes a mistake.
2223 It was created by Wine $as_me 1.6, which was
2224 generated by GNU Autoconf 2.69. Invocation command line was
2236 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2237 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2238 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2239 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2240 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2242 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2243 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2245 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2246 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2247 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2248 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2249 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2250 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2251 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2259 test -z "$as_dir" && as_dir
=.
2260 $as_echo "PATH: $as_dir"
2276 # Keep a trace of the command line.
2277 # Strip out --no-create and --no-recursion so they do not pile up.
2278 # Strip out --silent because we don't want to record it for future runs.
2279 # Also quote any args containing shell meta-characters.
2280 # Make two passes to allow for proper duplicate-argument suppression.
2284 ac_must_keep_next
=false
2290 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2291 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2292 |
-silent |
--silent |
--silen |
--sile |
--sil)
2295 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2298 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2300 as_fn_append ac_configure_args1
" '$ac_arg'"
2301 if test $ac_must_keep_next = true
; then
2302 ac_must_keep_next
=false
# Got value, back to normal.
2305 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2306 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2307 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2308 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2309 case "$ac_configure_args0 " in
2310 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2313 -* ) ac_must_keep_next
=true
;;
2316 as_fn_append ac_configure_args
" '$ac_arg'"
2321 { ac_configure_args0
=; unset ac_configure_args0
;}
2322 { ac_configure_args1
=; unset ac_configure_args1
;}
2324 # When interrupted or exit'd, cleanup temporary files, and complete
2325 # config.log. We remove comments because anyway the quotes in there
2326 # would cause problems or look ugly.
2327 # WARNING: Use '\'' to represent an apostrophe within the trap.
2328 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2329 trap 'exit_status=$?
2330 # Save into config.log some information that might help in debugging.
2334 $as_echo "## ---------------- ##
2335 ## Cache variables. ##
2336 ## ---------------- ##"
2338 # The following way of writing the cache mishandles newlines in values,
2340 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2341 eval ac_val=\$$ac_var
2345 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2346 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2349 _ | IFS | as_nl) ;; #(
2350 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2351 *) { eval $ac_var=; unset $ac_var;} ;;
2356 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2357 *${as_nl}ac_space=\ *)
2359 "s/'\''/'\''\\\\'\'''\''/g;
2360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2363 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2370 $as_echo "## ----------------- ##
2371 ## Output variables. ##
2372 ## ----------------- ##"
2374 for ac_var in $ac_subst_vars
2376 eval ac_val=\$$ac_var
2378 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2380 $as_echo "$ac_var='\''$ac_val'\''"
2384 if test -n "$ac_subst_files"; then
2385 $as_echo "## ------------------- ##
2386 ## File substitutions. ##
2387 ## ------------------- ##"
2389 for ac_var
in $ac_subst_files
2391 eval ac_val
=\$
$ac_var
2393 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2395 $as_echo "$ac_var='\''$ac_val'\''"
2400 if test -s confdefs.h; then
2401 $as_echo "## ----------- ##
2408 test "$ac_signal" != 0 &&
2409 $as_echo "$as_me: caught signal $ac_signal"
2410 $as_echo "$as_me: exit $exit_status"
2412 rm -f core *.core core.conftest.* &&
2413 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2416 for ac_signal
in 1 2 13 15; do
2417 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2422 rm -f -r conftest
* confdefs.h
2424 $as_echo "/* confdefs.h */" > confdefs.h
2426 # Predefined preprocessor variables.
2428 cat >>confdefs.h
<<_ACEOF
2429 #define PACKAGE_NAME "$PACKAGE_NAME"
2432 cat >>confdefs.h
<<_ACEOF
2433 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2436 cat >>confdefs.h
<<_ACEOF
2437 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2440 cat >>confdefs.h
<<_ACEOF
2441 #define PACKAGE_STRING "$PACKAGE_STRING"
2444 cat >>confdefs.h
<<_ACEOF
2445 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2448 cat >>confdefs.h
<<_ACEOF
2449 #define PACKAGE_URL "$PACKAGE_URL"
2453 # Let the site file select an alternate cache file if it wants to.
2454 # Prefer an explicitly selected file to automatically selected ones.
2457 if test -n "$CONFIG_SITE"; then
2458 # We do not want a PATH search for config.site.
2459 case $CONFIG_SITE in #((
2460 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2461 */*) ac_site_file1
=$CONFIG_SITE;;
2462 *) ac_site_file1
=.
/$CONFIG_SITE;;
2464 elif test "x$prefix" != xNONE
; then
2465 ac_site_file1
=$prefix/share
/config.site
2466 ac_site_file2
=$prefix/etc
/config.site
2468 ac_site_file1
=$ac_default_prefix/share
/config.site
2469 ac_site_file2
=$ac_default_prefix/etc
/config.site
2471 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2473 test "x$ac_site_file" = xNONE
&& continue
2474 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2476 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2477 sed 's/^/| /' "$ac_site_file" >&5
2479 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $?
"failed to load site script $ac_site_file
2482 See \`config.log' for more details" "$LINENO" 5; }
2486 if test -r "$cache_file"; then
2487 # Some versions of bash will fail to source /dev/null (special files
2488 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2489 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2491 $as_echo "$as_me: loading cache $cache_file" >&6;}
2493 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2494 *) .
"./$cache_file";;
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2499 $as_echo "$as_me: creating cache $cache_file" >&6;}
2503 # Check that the precious variables saved in the cache have kept the same
2505 ac_cache_corrupted
=false
2506 for ac_var
in $ac_precious_vars; do
2507 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2508 eval ac_new_set
=\
$ac_env_${ac_var}_set
2509 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2510 eval ac_new_val
=\
$ac_env_${ac_var}_value
2511 case $ac_old_set,$ac_new_set in
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2514 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2515 ac_cache_corrupted
=: ;;
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2519 ac_cache_corrupted
=: ;;
2522 if test "x$ac_old_val" != "x$ac_new_val"; then
2523 # differences in whitespace do not lead to failure.
2524 ac_old_val_w
=`echo x $ac_old_val`
2525 ac_new_val_w
=`echo x $ac_new_val`
2526 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2528 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2529 ac_cache_corrupted
=:
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2532 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2533 eval $ac_var=\
$ac_old_val
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2536 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2538 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2541 # Pass precious variables to config.status.
2542 if test "$ac_new_set" = set; then
2544 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2545 *) ac_arg
=$ac_var=$ac_new_val ;;
2547 case " $ac_configure_args " in
2548 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2549 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2553 if $ac_cache_corrupted; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2557 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2558 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2560 ## -------------------- ##
2561 ## Main body of script. ##
2562 ## -------------------- ##
2565 ac_cpp
='$CPP $CPPFLAGS'
2566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2572 ac_config_headers
="$ac_config_headers include/config.h"
2575 for ac_dir
in tools
"$srcdir"/tools
; do
2576 if test -f "$ac_dir/install-sh"; then
2578 ac_install_sh
="$ac_aux_dir/install-sh -c"
2580 elif test -f "$ac_dir/install.sh"; then
2582 ac_install_sh
="$ac_aux_dir/install.sh -c"
2584 elif test -f "$ac_dir/shtool"; then
2586 ac_install_sh
="$ac_aux_dir/shtool install -c"
2590 if test -z "$ac_aux_dir"; then
2591 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2599 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2600 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2606 # Check whether --enable-win16 was given.
2607 if test "${enable_win16+set}" = set; then :
2608 enableval
=$enable_win16;
2611 # Check whether --enable-win64 was given.
2612 if test "${enable_win64+set}" = set; then :
2613 enableval
=$enable_win64;
2616 # Check whether --enable-tests was given.
2617 if test "${enable_tests+set}" = set; then :
2618 enableval
=$enable_tests;
2621 # Check whether --enable-maintainer-mode was given.
2622 if test "${enable_maintainer_mode+set}" = set; then :
2623 enableval
=$enable_maintainer_mode;
2628 # Check whether --with-alsa was given.
2629 if test "${with_alsa+set}" = set; then :
2630 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2634 # Check whether --with-capi was given.
2635 if test "${with_capi+set}" = set; then :
2640 # Check whether --with-cms was given.
2641 if test "${with_cms+set}" = set; then :
2646 # Check whether --with-coreaudio was given.
2647 if test "${with_coreaudio+set}" = set; then :
2648 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2652 # Check whether --with-cups was given.
2653 if test "${with_cups+set}" = set; then :
2658 # Check whether --with-curses was given.
2659 if test "${with_curses+set}" = set; then :
2660 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2664 # Check whether --with-dbus was given.
2665 if test "${with_dbus+set}" = set; then :
2670 # Check whether --with-fontconfig was given.
2671 if test "${with_fontconfig+set}" = set; then :
2672 withval
=$with_fontconfig;
2676 # Check whether --with-freetype was given.
2677 if test "${with_freetype+set}" = set; then :
2678 withval
=$with_freetype;
2682 # Check whether --with-gettext was given.
2683 if test "${with_gettext+set}" = set; then :
2684 withval
=$with_gettext;
2688 # Check whether --with-gettextpo was given.
2689 if test "${with_gettextpo+set}" = set; then :
2690 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2694 # Check whether --with-gphoto was given.
2695 if test "${with_gphoto+set}" = set; then :
2696 withval
=$with_gphoto;
2700 # Check whether --with-glu was given.
2701 if test "${with_glu+set}" = set; then :
2706 # Check whether --with-gnutls was given.
2707 if test "${with_gnutls+set}" = set; then :
2708 withval
=$with_gnutls;
2712 # Check whether --with-gsm was given.
2713 if test "${with_gsm+set}" = set; then :
2714 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2718 # Check whether --with-gstreamer was given.
2719 if test "${with_gstreamer+set}" = set; then :
2720 withval
=$with_gstreamer;
2724 # Check whether --with-hal was given.
2725 if test "${with_hal+set}" = set; then :
2730 # Check whether --with-jpeg was given.
2731 if test "${with_jpeg+set}" = set; then :
2736 # Check whether --with-ldap was given.
2737 if test "${with_ldap+set}" = set; then :
2738 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2742 # Check whether --with-mpg123 was given.
2743 if test "${with_mpg123+set}" = set; then :
2744 withval
=$with_mpg123;
2748 # Check whether --with-openal was given.
2749 if test "${with_openal+set}" = set; then :
2750 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2754 # Check whether --with-opencl was given.
2755 if test "${with_opencl+set}" = set; then :
2756 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2760 # Check whether --with-opengl was given.
2761 if test "${with_opengl+set}" = set; then :
2762 withval
=$with_opengl;
2766 # Check whether --with-osmesa was given.
2767 if test "${with_osmesa+set}" = set; then :
2768 withval
=$with_osmesa;
2772 # Check whether --with-oss was given.
2773 if test "${with_oss+set}" = set; then :
2778 # Check whether --with-png was given.
2779 if test "${with_png+set}" = set; then :
2784 # Check whether --with-pthread was given.
2785 if test "${with_pthread+set}" = set; then :
2786 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2790 # Check whether --with-sane was given.
2791 if test "${with_sane+set}" = set; then :
2796 # Check whether --with-tiff was given.
2797 if test "${with_tiff+set}" = set; then :
2802 # Check whether --with-v4l was given.
2803 if test "${with_v4l+set}" = set; then :
2808 # Check whether --with-xcomposite was given.
2809 if test "${with_xcomposite+set}" = set; then :
2810 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2814 # Check whether --with-xcursor was given.
2815 if test "${with_xcursor+set}" = set; then :
2816 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2820 # Check whether --with-xinerama was given.
2821 if test "${with_xinerama+set}" = set; then :
2822 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2826 # Check whether --with-xinput was given.
2827 if test "${with_xinput+set}" = set; then :
2828 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2832 # Check whether --with-xinput2 was given.
2833 if test "${with_xinput2+set}" = set; then :
2834 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2838 # Check whether --with-xml was given.
2839 if test "${with_xml+set}" = set; then :
2844 # Check whether --with-xrandr was given.
2845 if test "${with_xrandr+set}" = set; then :
2846 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2850 # Check whether --with-xrender was given.
2851 if test "${with_xrender+set}" = set; then :
2852 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2856 # Check whether --with-xshape was given.
2857 if test "${with_xshape+set}" = set; then :
2858 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2862 # Check whether --with-xshm was given.
2863 if test "${with_xshm+set}" = set; then :
2864 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2868 # Check whether --with-xslt was given.
2869 if test "${with_xslt+set}" = set; then :
2874 # Check whether --with-xxf86vm was given.
2875 if test "${with_xxf86vm+set}" = set; then :
2876 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; ac_cv_header_X11_extensions_xf86vmproto_h
=no
; fi
2880 # Check whether --with-zlib was given.
2881 if test "${with_zlib+set}" = set; then :
2882 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2887 # Check whether --with-wine-tools was given.
2888 if test "${with_wine_tools+set}" = set; then :
2889 withval
=$with_wine_tools;
2893 # Check whether --with-wine64 was given.
2894 if test "${with_wine64+set}" = set; then :
2895 withval
=$with_wine64;
2899 # Make sure we can run config.sub.
2900 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2901 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2904 $as_echo_n "checking build system type... " >&6; }
2905 if ${ac_cv_build+:} false
; then :
2906 $as_echo_n "(cached) " >&6
2908 ac_build_alias
=$build_alias
2909 test "x$ac_build_alias" = x
&&
2910 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2911 test "x$ac_build_alias" = x
&&
2912 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2913 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2914 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2918 $as_echo "$ac_cv_build" >&6; }
2919 case $ac_cv_build in
2921 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2924 ac_save_IFS
=$IFS; IFS
='-'
2930 # Remember, the first character of IFS is used to create $*,
2931 # except with old shells:
2934 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2938 $as_echo_n "checking host system type... " >&6; }
2939 if ${ac_cv_host+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2942 if test "x$host_alias" = x
; then
2943 ac_cv_host
=$ac_cv_build
2945 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2946 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2951 $as_echo "$ac_cv_host" >&6; }
2954 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2957 ac_save_IFS
=$IFS; IFS
='-'
2963 # Remember, the first character of IFS is used to create $*,
2964 # except with old shells:
2967 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2973 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2974 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2975 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2981 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2983 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2984 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2985 $as_echo_n "(cached) " >&6
2987 cat >conftest.
make <<\_ACEOF
2990 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2992 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2993 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2995 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2997 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3001 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3003 $as_echo "yes" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3008 SET_MAKE
="MAKE=${MAKE-make}"
3012 ac_cpp
='$CPP $CPPFLAGS'
3013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3016 if test -n "$ac_tool_prefix"; then
3017 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3018 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_CC+:} false
; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$CC"; then
3025 ac_cv_prog_CC
="$CC" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 if test -n "$CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3047 $as_echo "$CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3055 if test -z "$ac_cv_prog_CC"; then
3057 # Extract the first word of "gcc", so it can be a program name with args.
3058 set dummy gcc
; ac_word
=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$ac_ct_CC"; then
3065 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir
=.
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_ac_ct_CC
="gcc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3085 if test -n "$ac_ct_CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3087 $as_echo "$ac_ct_CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3093 if test "x$ac_ct_CC" = x
; then
3096 case $cross_compiling:$ac_tool_warned in
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3100 ac_tool_warned
=yes ;;
3108 if test -z "$CC"; then
3109 if test -n "$ac_tool_prefix"; then
3110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3111 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_CC+:} false
; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC
="$CC" # Let the user override the test.
3120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir
=.
3125 for ac_exec_ext
in '' $ac_executable_extensions; do
3126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3149 if test -z "$CC"; then
3150 # Extract the first word of "cc", so it can be a program name with args.
3151 set dummy cc
; ac_word
=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false
; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$CC"; then
3158 ac_cv_prog_CC
="$CC" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3168 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3169 ac_prog_rejected
=yes
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test $ac_prog_rejected = yes; then
3181 # We found a bogon in the path, so make sure we never use it.
3182 set dummy
$ac_cv_prog_CC
3184 if test $# != 0; then
3185 # We chose a different compiler from the bogus one.
3186 # However, it has the same basename, so the bogon will be chosen
3187 # first if we set CC to just the basename; use the full file name.
3189 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3195 if test -n "$CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3197 $as_echo "$CC" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3205 if test -z "$CC"; then
3206 if test -n "$ac_tool_prefix"; then
3207 for ac_prog
in cl.exe
3209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3210 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_CC+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$CC"; then
3217 ac_cv_prog_CC
="$CC" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 if test -n "$CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3239 $as_echo "$CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3246 test -n "$CC" && break
3249 if test -z "$CC"; then
3251 for ac_prog
in cl.exe
3253 # Extract the first word of "$ac_prog", so it can be a program name with args.
3254 set dummy
$ac_prog; ac_word
=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$ac_ct_CC"; then
3261 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir
=.
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_prog_ac_ct_CC
="$ac_prog"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3281 if test -n "$ac_ct_CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3283 $as_echo "$ac_ct_CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3290 test -n "$ac_ct_CC" && break
3293 if test "x$ac_ct_CC" = x
; then
3296 case $cross_compiling:$ac_tool_warned in
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3300 ac_tool_warned
=yes ;;
3309 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3311 as_fn_error $?
"no acceptable C compiler found in \$PATH
3312 See \`config.log' for more details" "$LINENO" 5; }
3314 # Provide some information about the compiler.
3315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3318 for ac_option
in --version -v -V -qversion; do
3319 { { ac_try
="$ac_compiler $ac_option >&5"
3321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3328 if test -s conftest.err; then
3330 ... rest of stderr output deleted ...
3331 10q' conftest.err >conftest.er1
3332 cat conftest.er1 >&5
3334 rm -f conftest.er1 conftest.err
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3350 ac_clean_files_save=$ac_clean_files
3351 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3352 # Try to create an executable without -o first, disregard a.out.
3353 # It will help us diagnose broken compilers, and finding out an intuition
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3356 $as_echo_n "checking whether the C compiler works... " >&6; }
3357 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3359 # The possible output files:
3360 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3363 for ac_file in $ac_files
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3367 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3372 if { { ac_try="$ac_link_default"
3374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3375 *) ac_try_echo
=$ac_try;;
3377 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378 $as_echo "$ac_try_echo"; } >&5
3379 (eval "$ac_link_default") 2>&5
3381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3382 test $ac_status = 0; }; then :
3383 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3384 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3385 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3386 # so that the user can short-circuit this test for compilers unknown to
3388 for ac_file
in $ac_files ''
3390 test -f "$ac_file" ||
continue
3392 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3395 # We found the default executable, but exeext='' is most
3399 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3401 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3403 # We set ac_cv_exeext here because the later test for it is not
3404 # safe: cross compilers may not add the suffix if given an `-o'
3405 # argument, so we may need to know it at that point already.
3406 # Even if this section looks crufty: it has the advantage of
3413 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3418 if test -z "$ac_file"; then :
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3421 $as_echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.
$ac_ext >&5
3424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3426 as_fn_error
77 "C compiler cannot create executables
3427 See \`config.log' for more details" "$LINENO" 5; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3430 $as_echo "yes" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3433 $as_echo_n "checking for C compiler default output file name... " >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3435 $as_echo "$ac_file" >&6; }
3436 ac_exeext
=$ac_cv_exeext
3438 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3439 ac_clean_files
=$ac_clean_files_save
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3441 $as_echo_n "checking for suffix of executables... " >&6; }
3442 if { { ac_try
="$ac_link"
3444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_link") 2>&5
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }; then :
3453 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3454 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3455 # work properly (i.e., refer to `conftest.exe'), while it won't with
3457 for ac_file
in conftest.exe conftest conftest.
*; do
3458 test -f "$ac_file" ||
continue
3460 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3461 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3470 See \`config.log' for more details" "$LINENO" 5; }
3472 rm -f conftest conftest
$ac_cv_exeext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3474 $as_echo "$ac_cv_exeext" >&6; }
3476 rm -f conftest.
$ac_ext
3477 EXEEXT
=$ac_cv_exeext
3479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3485 FILE *f = fopen ("conftest.out", "w");
3486 return ferror (f) || fclose (f) != 0;
3492 ac_clean_files
="$ac_clean_files conftest.out"
3493 # Check that the compiler produces executables we can run. If not, either
3494 # the compiler is broken, or we cross compile.
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3496 $as_echo_n "checking whether we are cross compiling... " >&6; }
3497 if test "$cross_compiling" != yes; then
3498 { { ac_try
="$ac_link"
3500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504 $as_echo "$ac_try_echo"; } >&5
3505 (eval "$ac_link") 2>&5
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }
3509 if { ac_try='./conftest$ac_cv_exeext'
3510 { { case "(($ac_try" in
3511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3512 *) ac_try_echo
=$ac_try;;
3514 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_try") 2>&5
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }; }; then
3522 if test "$cross_compiling" = maybe
; then
3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error $?
"cannot run C compiled programs.
3528 If you meant to cross compile, use \`--host'.
3529 See \`config.log' for more details" "$LINENO" 5; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3534 $as_echo "$cross_compiling" >&6; }
3536 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3537 ac_clean_files
=$ac_clean_files_save
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3539 $as_echo_n "checking for suffix of object files... " >&6; }
3540 if ${ac_cv_objext+:} false
; then :
3541 $as_echo_n "(cached) " >&6
3543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 rm -f conftest.o conftest.obj
3555 if { { ac_try
="$ac_compile"
3557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3561 $as_echo "$ac_try_echo"; } >&5
3562 (eval "$ac_compile") 2>&5
3564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3565 test $ac_status = 0; }; then :
3566 for ac_file in conftest.o conftest.obj conftest.*; do
3567 test -f "$ac_file" || continue;
3569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3570 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3575 $as_echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3581 See \
`config.log' for more details" "$LINENO" 5; }
3583 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3586 $as_echo "$ac_cv_objext" >&6; }
3587 OBJEXT=$ac_cv_objext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3590 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3591 if ${ac_cv_c_compiler_gnu+:} false; then :
3592 $as_echo_n "(cached) " >&6
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3608 if ac_fn_c_try_compile "$LINENO"; then :
3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3618 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3619 if test $ac_compiler_gnu = yes; then
3624 ac_test_CFLAGS=${CFLAGS+set}
3625 ac_save_CFLAGS=$CFLAGS
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3627 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3628 if ${ac_cv_prog_cc_g+:} false; then :
3629 $as_echo_n "(cached) " >&6
3631 ac_save_c_werror_flag=$ac_c_werror_flag
3632 ac_c_werror_flag=yes
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3646 if ac_fn_c_try_compile "$LINENO"; then :
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3661 if ac_fn_c_try_compile "$LINENO"; then :
3664 ac_c_werror_flag=$ac_save_c_werror_flag
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3677 if ac_fn_c_try_compile "$LINENO"; then :
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 ac_c_werror_flag=$ac_save_c_werror_flag
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3688 $as_echo "$ac_cv_prog_cc_g" >&6; }
3689 if test "$ac_test_CFLAGS" = set; then
3690 CFLAGS=$ac_save_CFLAGS
3691 elif test $ac_cv_prog_cc_g = yes; then
3692 if test "$GCC" = yes; then
3698 if test "$GCC" = yes; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3705 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3706 if ${ac_cv_prog_cc_c89+:} false; then :
3707 $as_echo_n "(cached) " >&6
3709 ac_cv_prog_cc_c89=no
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3716 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3717 struct buf { int x; };
3718 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3719 static char *e (p, i)
3725 static char *f (char * (*g) (char **, int), char **p, ...)
3730 s = g (p, va_arg (v,int));
3735 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3736 function prototypes and stuff, but not '\xHH' hex character constants.
3737 These don't provoke an error unfortunately, instead are silently treated
3738 as 'x'. The following induces an error, until -std is added to get
3739 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3740 array size at least. It's necessary to write '\x00'==0 to get something
3741 that's true only with -std. */
3742 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3744 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3745 inside strings and character constants. */
3747 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3749 int test (int i, double x);
3750 struct s1 {int (*f) (int a);};
3751 struct s2 {int (*f) (double a);};
3752 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3758 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3763 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3764 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3766 CC="$ac_save_CC $ac_arg"
3767 if ac_fn_c_try_compile "$LINENO"; then :
3768 ac_cv_prog_cc_c89=$ac_arg
3770 rm -f core conftest.err conftest.$ac_objext
3771 test "x$ac_cv_prog_cc_c89" != "xno" && break
3773 rm -f conftest.$ac_ext
3778 case "x$ac_cv_prog_cc_c89" in
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3781 $as_echo "none needed" >&6; } ;;
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3784 $as_echo "unsupported" >&6; } ;;
3786 CC="$CC $ac_cv_prog_cc_c89"
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3788 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3790 if test "x$ac_cv_prog_cc_c89" != xno; then :
3795 ac_cpp='$CPP $CPPFLAGS'
3796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 ac_cpp='$CXXCPP $CPPFLAGS'
3802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3805 if test -z "$CXX"; then
3806 if test -n "$CCC"; then
3809 if test -n "$ac_tool_prefix"; then
3810 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CXX+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$CXX"; then
3820 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test -n "$CXX"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3842 $as_echo "$CXX" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$CXX" && break
3852 if test -z "$CXX"; then
3854 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3856 # Extract the first word of "$ac_prog", so it can be a program name with args.
3857 set dummy $ac_prog; ac_word=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 if test -n "$ac_ct_CXX"; then
3864 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_ac_ct_CXX="$ac_prog"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3884 if test -n "$ac_ct_CXX"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3886 $as_echo "$ac_ct_CXX" >&6; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3893 test -n "$ac_ct_CXX" && break
3896 if test "x$ac_ct_CXX" = x; then
3899 case $cross_compiling:$ac_tool_warned in
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3903 ac_tool_warned=yes ;;
3911 # Provide some information about the compiler.
3912 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3915 for ac_option in --version -v -V -qversion; do
3916 { { ac_try="$ac_compiler $ac_option >&5"
3918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3919 *) ac_try_echo
=$ac_try;;
3921 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3925 if test -s conftest.err
; then
3927 ... rest of stderr output deleted ...
3928 10q' conftest.err
>conftest.er1
3929 cat conftest.er1
>&5
3931 rm -f conftest.er1 conftest.err
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3937 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3938 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3939 $as_echo_n "(cached) " >&6
3941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3955 if ac_fn_cxx_try_compile
"$LINENO"; then :
3960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3961 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3965 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3966 if test $ac_compiler_gnu = yes; then
3971 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3972 ac_save_CXXFLAGS
=$CXXFLAGS
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3974 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3975 if ${ac_cv_prog_cxx_g+:} false
; then :
3976 $as_echo_n "(cached) " >&6
3978 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3979 ac_cxx_werror_flag
=yes
3982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3993 if ac_fn_cxx_try_compile
"$LINENO"; then :
3994 ac_cv_prog_cxx_g
=yes
3997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4008 if ac_fn_cxx_try_compile
"$LINENO"; then :
4011 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4024 if ac_fn_cxx_try_compile
"$LINENO"; then :
4025 ac_cv_prog_cxx_g
=yes
4027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4032 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4035 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4036 if test "$ac_test_CXXFLAGS" = set; then
4037 CXXFLAGS
=$ac_save_CXXFLAGS
4038 elif test $ac_cv_prog_cxx_g = yes; then
4039 if test "$GXX" = yes; then
4045 if test "$GXX" = yes; then
4052 ac_cpp
='$CPP $CPPFLAGS'
4053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4059 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CPPBIN+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$CPPBIN"; then
4066 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 CPPBIN
=$ac_cv_prog_CPPBIN
4086 if test -n "$CPPBIN"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4088 $as_echo "$CPPBIN" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4096 if test -z "$ac_cv_prog_CPPBIN"; then
4097 ac_ct_CPPBIN
=$CPPBIN
4098 # Extract the first word of "cpp", so it can be a program name with args.
4099 set dummy cpp
; ac_word
=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -n "$ac_ct_CPPBIN"; then
4106 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4126 if test -n "$ac_ct_CPPBIN"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4128 $as_echo "$ac_ct_CPPBIN" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4134 if test "x$ac_ct_CPPBIN" = x
; then
4137 case $cross_compiling:$ac_tool_warned in
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4141 ac_tool_warned
=yes ;;
4143 CPPBIN
=$ac_ct_CPPBIN
4146 CPPBIN
="$ac_cv_prog_CPPBIN"
4150 cat >>confdefs.h
<<_ACEOF
4151 #define EXEEXT "$ac_exeext"
4157 if test "x$enable_win64" = "xyes"
4162 notice_platform
="64-bit "
4169 notice_platform
="32-bit "
4172 enable_win16
=${enable_win16:-yes}
4174 with_fontconfig
=${with_fontconfig:-no}
4177 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4182 $as_echo_n "checking whether $CC works... " >&6; }
4184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4195 if ac_fn_c_try_link
"$LINENO"; then :
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4201 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4203 rm -f core conftest.err conftest.
$ac_objext \
4204 conftest
$ac_exeext conftest.
$ac_ext
4206 notice_platform
="32-bit "
4209 enable_win16
=${enable_win16:-yes}
4211 if test "x${GCC}" = "xyes"
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4214 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4221 void func(__builtin_ms_va_list *args);
4226 if ac_fn_c_try_compile
"$LINENO"; then :
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4242 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245 int ac_test(int i) { return i; }
4249 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4254 if ac_fn_c_try_link
"$LINENO"; then :
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4256 $as_echo "yes" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4260 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4262 rm -f core conftest.err conftest.
$ac_objext \
4263 conftest
$ac_exeext conftest.
$ac_ext
4264 CFLAGS
="$CFLAGS -marm"
4266 *-mingw32*|
*-cygwin*)
4267 enable_win16
=${enable_win16:-no}
4268 CFLAGS
="$CFLAGS -D_WIN32"
4271 enable_win16
=${enable_win16:-yes}
4275 enable_win16
=${enable_win16:-no}
4276 enable_win64
=${enable_win64:-no}
4278 enable_winetest
=${enable_winetest:-$enable_tests}
4280 if test -n "$with_wine64"
4282 if test "x$enable_win64" = "xyes"
4284 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4285 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4289 enable_fonts
=${enable_fonts:-no}
4290 enable_server
=${enable_server:-no}
4291 enable_tools
=${enable_tools:-no}
4292 elif test "x$enable_win64" = "xyes"
4294 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4298 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4299 if ${wine_cv_toolsdir+:} false
; then :
4300 $as_echo_n "(cached) " >&6
4302 wine_cv_toolsdir
="$with_wine_tools"
4303 if test -z "$with_wine_tools"; then
4304 if test "$cross_compiling" = "yes"; then
4305 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4306 elif test -n "$with_wine64"; then
4307 wine_cv_toolsdir
="$with_wine64"
4310 if test -z "$wine_cv_toolsdir"; then
4311 wine_cv_toolsdir
="\$(top_builddir)"
4312 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4313 case "$wine_cv_toolsdir" in
4315 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4318 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4322 $as_echo "$wine_cv_toolsdir" >&6; }
4323 TOOLSDIR
=$wine_cv_toolsdir
4325 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4327 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4333 # Extract the first word of "$ac_prog", so it can be a program name with args.
4334 set dummy
$ac_prog; ac_word
=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_FLEX+:} false
; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -n "$FLEX"; then
4341 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_FLEX
="$ac_prog"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 FLEX
=$ac_cv_prog_FLEX
4361 if test -n "$FLEX"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4363 $as_echo "$FLEX" >&6; }
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4370 test -n "$FLEX" && break
4372 test -n "$FLEX" || FLEX
="none"
4374 if test "$FLEX" = "none"
4376 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4379 $as_echo_n "checking whether flex is recent enough... " >&6; }
4380 cat >conftest.l
<<EOF
4382 #include "prediluvian.h"
4386 if $FLEX -t conftest.l
>/dev
/null
2>&5
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4389 $as_echo "yes" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4393 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4396 for ac_prog
in bison
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set dummy
$ac_prog; ac_word
=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_BISON+:} false
; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$BISON"; then
4406 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_BISON
="$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 BISON
=$ac_cv_prog_BISON
4426 if test -n "$BISON"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4428 $as_echo "$BISON" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$BISON" && break
4437 test -n "$BISON" || BISON
="none"
4439 if test "$BISON" = "none"
4441 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4444 if test -n "$ac_tool_prefix"; then
4445 for ac_prog
in ar gar
4447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4448 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_AR+:} false
; then :
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$AR"; then
4455 ac_cv_prog_AR
="$AR" # Let the user override the test.
4457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir
=.
4462 for ac_exec_ext
in '' $ac_executable_extensions; do
4463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 if test -n "$AR"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4477 $as_echo "$AR" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4484 test -n "$AR" && break
4487 if test -z "$AR"; then
4489 for ac_prog
in ar gar
4491 # Extract the first word of "$ac_prog", so it can be a program name with args.
4492 set dummy
$ac_prog; ac_word
=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4498 if test -n "$ac_ct_AR"; then
4499 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir
=.
4506 for ac_exec_ext
in '' $ac_executable_extensions; do
4507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4508 ac_cv_prog_ac_ct_AR
="$ac_prog"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4519 if test -n "$ac_ct_AR"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4521 $as_echo "$ac_ct_AR" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4528 test -n "$ac_ct_AR" && break
4531 if test "x$ac_ct_AR" = x
; then
4534 case $cross_compiling:$ac_tool_warned in
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4538 ac_tool_warned
=yes ;;
4546 if test -n "$ac_tool_prefix"; then
4547 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4548 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550 $as_echo_n "checking for $ac_word... " >&6; }
4551 if ${ac_cv_prog_RANLIB+:} false
; then :
4552 $as_echo_n "(cached) " >&6
4554 if test -n "$RANLIB"; then
4555 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir
=.
4562 for ac_exec_ext
in '' $ac_executable_extensions; do
4563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4564 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 RANLIB
=$ac_cv_prog_RANLIB
4575 if test -n "$RANLIB"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4577 $as_echo "$RANLIB" >&6; }
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4585 if test -z "$ac_cv_prog_RANLIB"; then
4586 ac_ct_RANLIB
=$RANLIB
4587 # Extract the first word of "ranlib", so it can be a program name with args.
4588 set dummy ranlib
; ac_word
=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4592 $as_echo_n "(cached) " >&6
4594 if test -n "$ac_ct_RANLIB"; then
4595 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4615 if test -n "$ac_ct_RANLIB"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4617 $as_echo "$ac_ct_RANLIB" >&6; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4623 if test "x$ac_ct_RANLIB" = x
; then
4626 case $cross_compiling:$ac_tool_warned in
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4630 ac_tool_warned
=yes ;;
4632 RANLIB
=$ac_ct_RANLIB
4635 RANLIB
="$ac_cv_prog_RANLIB"
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4639 $as_echo_n "checking whether ln -s works... " >&6; }
4641 if test "$LN_S" = "ln -s"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4643 $as_echo "yes" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4646 $as_echo "no, using $LN_S" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4650 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4651 if ${ac_cv_path_GREP+:} false
; then :
4652 $as_echo_n "(cached) " >&6
4654 if test -z "$GREP"; then
4655 ac_path_GREP_found
=false
4656 # Loop through the user's path and test for each of PROGNAME-LIST
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4658 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_prog
in grep ggrep
; do
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4665 as_fn_executable_p
"$ac_path_GREP" ||
continue
4666 # Check for GNU ac_path_GREP and select it if it is found.
4667 # Check for GNU $ac_path_GREP
4668 case `"$ac_path_GREP" --version 2>&1` in
4670 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4673 $as_echo_n 0123456789 >"conftest.in"
4676 cat "conftest.in" "conftest.in" >"conftest.tmp"
4677 mv "conftest.tmp" "conftest.in"
4678 cp "conftest.in" "conftest.nl"
4679 $as_echo 'GREP' >> "conftest.nl"
4680 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4681 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4682 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4683 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4684 # Best one so far, save it but keep looking for a better one
4685 ac_cv_path_GREP
="$ac_path_GREP"
4686 ac_path_GREP_max
=$ac_count
4688 # 10*(2^10) chars as input seems more than enough
4689 test $ac_count -gt 10 && break
4691 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4694 $ac_path_GREP_found && break 3
4699 if test -z "$ac_cv_path_GREP"; then
4700 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4703 ac_cv_path_GREP
=$GREP
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4708 $as_echo "$ac_cv_path_GREP" >&6; }
4709 GREP
="$ac_cv_path_GREP"
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4713 $as_echo_n "checking for egrep... " >&6; }
4714 if ${ac_cv_path_EGREP+:} false
; then :
4715 $as_echo_n "(cached) " >&6
4717 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4718 then ac_cv_path_EGREP
="$GREP -E"
4720 if test -z "$EGREP"; then
4721 ac_path_EGREP_found
=false
4722 # Loop through the user's path and test for each of PROGNAME-LIST
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4724 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_prog
in egrep; do
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4731 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4732 # Check for GNU ac_path_EGREP and select it if it is found.
4733 # Check for GNU $ac_path_EGREP
4734 case `"$ac_path_EGREP" --version 2>&1` in
4736 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4739 $as_echo_n 0123456789 >"conftest.in"
4742 cat "conftest.in" "conftest.in" >"conftest.tmp"
4743 mv "conftest.tmp" "conftest.in"
4744 cp "conftest.in" "conftest.nl"
4745 $as_echo 'EGREP' >> "conftest.nl"
4746 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4747 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4748 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4749 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4750 # Best one so far, save it but keep looking for a better one
4751 ac_cv_path_EGREP
="$ac_path_EGREP"
4752 ac_path_EGREP_max
=$ac_count
4754 # 10*(2^10) chars as input seems more than enough
4755 test $ac_count -gt 10 && break
4757 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4760 $ac_path_EGREP_found && break 3
4765 if test -z "$ac_cv_path_EGREP"; then
4766 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4769 ac_cv_path_EGREP
=$EGREP
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4775 $as_echo "$ac_cv_path_EGREP" >&6; }
4776 EGREP
="$ac_cv_path_EGREP"
4779 # Extract the first word of "ldconfig", so it can be a program name with args.
4780 set dummy ldconfig
; ac_word
=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if ${ac_cv_path_LDCONFIG+:} false
; then :
4784 $as_echo_n "(cached) " >&6
4788 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 for as_dir
in /sbin
/usr
/sbin
$PATH
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4798 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4810 LDCONFIG
=$ac_cv_path_LDCONFIG
4811 if test -n "$LDCONFIG"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4813 $as_echo "$LDCONFIG" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4820 # Find a good install program. We prefer a C program (faster),
4821 # so one script is as good as another. But avoid the broken or
4822 # incompatible versions:
4823 # SysV /etc/install, /usr/sbin/install
4824 # SunOS /usr/etc/install
4825 # IRIX /sbin/install
4827 # AmigaOS /C/install, which installs bootblocks on floppy discs
4828 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4829 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4830 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4831 # OS/2's system install, which has a completely different semantic
4832 # ./install, which can be erroneously created by make from ./install.sh.
4833 # Reject install programs that cannot install multiple files.
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4835 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4836 if test -z "$INSTALL"; then
4837 if ${ac_cv_path_install+:} false
; then :
4838 $as_echo_n "(cached) " >&6
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir
=.
4845 # Account for people who put trailing slashes in PATH elements.
4846 case $as_dir/ in #((
4847 .
/ | .
// |
/[cC
]/* | \
4848 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4849 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4852 # OSF1 and SCO ODT 3.0 have their own names for install.
4853 # Don't use installbsd from OSF since it installs stuff as root
4855 for ac_prog
in ginstall scoinst
install; do
4856 for ac_exec_ext
in '' $ac_executable_extensions; do
4857 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4858 if test $ac_prog = install &&
4859 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4860 # AIX install. It has an incompatible calling convention.
4862 elif test $ac_prog = install &&
4863 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4864 # program-specific install script used by HP pwplus--don't use.
4867 rm -rf conftest.one conftest.two conftest.dir
4868 echo one
> conftest.one
4869 echo two
> conftest.two
4871 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4872 test -s conftest.one
&& test -s conftest.two
&&
4873 test -s conftest.dir
/conftest.one
&&
4874 test -s conftest.dir
/conftest.two
4876 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4889 rm -rf conftest.one conftest.two conftest.dir
4892 if test "${ac_cv_path_install+set}" = set; then
4893 INSTALL
=$ac_cv_path_install
4895 # As a last resort, use the slow shell script. Don't cache a
4896 # value for INSTALL within a source directory, because that will
4897 # break other packages using the cache if that directory is
4898 # removed, or if the value is a relative name.
4899 INSTALL
=$ac_install_sh
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4903 $as_echo "$INSTALL" >&6; }
4905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4906 # It thinks the first close brace ends the variable substitution.
4907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4911 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4914 [\\/$
]* | ?
:[\\/]* ) ;;
4915 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4918 for ac_prog
in lclint lint
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy
$ac_prog; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_LINT+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$LINT"; then
4928 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_LINT
="$ac_prog"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 LINT
=$ac_cv_prog_LINT
4948 if test -n "$LINT"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4950 $as_echo "$LINT" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 test -n "$LINT" && break
4960 if test "$LINT" = "lint"
4962 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4966 for ac_prog
in fontforge
4968 # Extract the first word of "$ac_prog", so it can be a program name with args.
4969 set dummy
$ac_prog; ac_word
=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$FONTFORGE"; then
4976 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir
=.
4983 for ac_exec_ext
in '' $ac_executable_extensions; do
4984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4985 ac_cv_prog_FONTFORGE
="$ac_prog"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 FONTFORGE
=$ac_cv_prog_FONTFORGE
4996 if test -n "$FONTFORGE"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4998 $as_echo "$FONTFORGE" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5005 test -n "$FONTFORGE" && break
5007 test -n "$FONTFORGE" || FONTFORGE
="false"
5011 # Extract the first word of "$ac_prog", so it can be a program name with args.
5012 set dummy
$ac_prog; ac_word
=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_RSVG+:} false
; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -n "$RSVG"; then
5019 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_RSVG
="$ac_prog"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 RSVG
=$ac_cv_prog_RSVG
5039 if test -n "$RSVG"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5041 $as_echo "$RSVG" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 test -n "$RSVG" && break
5050 test -n "$RSVG" || RSVG
="false"
5052 for ac_prog
in convert
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy
$ac_prog; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_CONVERT+:} false
; then :
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$CONVERT"; then
5062 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 test -z "$as_dir" && as_dir
=.
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_CONVERT
="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 CONVERT
=$ac_cv_prog_CONVERT
5082 if test -n "$CONVERT"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5084 $as_echo "$CONVERT" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$CONVERT" && break
5093 test -n "$CONVERT" || CONVERT
="false"
5095 for ac_prog
in icotool
5097 # Extract the first word of "$ac_prog", so it can be a program name with args.
5098 set dummy
$ac_prog; ac_word
=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5102 $as_echo_n "(cached) " >&6
5104 if test -n "$ICOTOOL"; then
5105 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir
=.
5112 for ac_exec_ext
in '' $ac_executable_extensions; do
5113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5114 ac_cv_prog_ICOTOOL
="$ac_prog"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 ICOTOOL
=$ac_cv_prog_ICOTOOL
5125 if test -n "$ICOTOOL"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5127 $as_echo "$ICOTOOL" >&6; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5134 test -n "$ICOTOOL" && break
5136 test -n "$ICOTOOL" || ICOTOOL
="false"
5138 for ac_prog
in msgfmt
5140 # Extract the first word of "$ac_prog", so it can be a program name with args.
5141 set dummy
$ac_prog; ac_word
=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_MSGFMT+:} false
; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -n "$MSGFMT"; then
5148 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_MSGFMT
="$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 MSGFMT
=$ac_cv_prog_MSGFMT
5168 if test -n "$MSGFMT"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5170 $as_echo "$MSGFMT" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$MSGFMT" && break
5179 test -n "$MSGFMT" || MSGFMT
="false"
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5183 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$PKG_CONFIG"; then
5190 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir
=.
5197 for ac_exec_ext
in '' $ac_executable_extensions; do
5198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5210 if test -n "$PKG_CONFIG"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5212 $as_echo "$PKG_CONFIG" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5220 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5221 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5222 elif test "$cross_compiling" != yes; then
5223 unset ac_cv_prog_PKG_CONFIG
5224 # Extract the first word of "pkg-config", so it can be a program name with args.
5225 set dummy pkg-config
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$PKG_CONFIG"; then
5232 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_PKG_CONFIG
="pkg-config"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5252 if test -n "$PKG_CONFIG"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5254 $as_echo "$PKG_CONFIG" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5263 if test "x$enable_maintainer_mode" != "xyes"
5268 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5269 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5271 if test "$CONVERT" = false
5273 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5276 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5277 convert_version
=`convert --version | head -n1`
5278 if test "x$convert_version" != "x"
5280 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5281 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5282 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5287 if test "$CONVERT" = false
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5290 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5291 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5294 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5298 if test "$ICOTOOL" = false
5300 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5303 $as_echo_n "checking for recent enough icotool... " >&6; }
5304 icotool_version
=`icotool --version | head -n1`
5305 if test "x$icotool_version" != "x"
5307 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5308 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5309 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5312 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5315 if test "$ICOTOOL" = false
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5318 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5319 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5322 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5328 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5331 test "x$with_gettext" != xno || MSGFMT
=false
5332 if test "$MSGFMT" != "false"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5335 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5336 cat >conftest.po
<<EOF
5342 if $MSGFMT -o /dev
/null conftest.po
2>&5
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5345 $as_echo "yes" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5352 if test "$MSGFMT" = false
; then :
5353 case "x$with_gettext" in
5354 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5356 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5357 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5363 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5364 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 ac_check_lib_save_LIBS
=$LIBS
5369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5372 /* Override any GCC internal prototype to avoid an error.
5373 Use char because int might match the return type of a GCC
5374 builtin and then its argument prototype would still apply. */
5378 char i386_set_ldt ();
5382 return i386_set_ldt ();
5387 if ac_fn_c_try_link
"$LINENO"; then :
5388 ac_cv_lib_i386_i386_set_ldt
=yes
5390 ac_cv_lib_i386_i386_set_ldt
=no
5392 rm -f core conftest.err conftest.
$ac_objext \
5393 conftest
$ac_exeext conftest.
$ac_ext
5394 LIBS
=$ac_check_lib_save_LIBS
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5397 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5398 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5399 cat >>confdefs.h
<<_ACEOF
5400 #define HAVE_LIBI386 1
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5408 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5409 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5412 ac_check_lib_save_LIBS
=$LIBS
5413 LIBS
="-lossaudio $LIBS"
5414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5417 /* Override any GCC internal prototype to avoid an error.
5418 Use char because int might match the return type of a GCC
5419 builtin and then its argument prototype would still apply. */
5427 return _oss_ioctl ();
5432 if ac_fn_c_try_link
"$LINENO"; then :
5433 ac_cv_lib_ossaudio__oss_ioctl
=yes
5435 ac_cv_lib_ossaudio__oss_ioctl
=no
5437 rm -f core conftest.err conftest.
$ac_objext \
5438 conftest
$ac_exeext conftest.
$ac_ext
5439 LIBS
=$ac_check_lib_save_LIBS
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5442 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5443 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5444 cat >>confdefs.h
<<_ACEOF
5445 #define HAVE_LIBOSSAUDIO 1
5448 LIBS
="-lossaudio $LIBS"
5459 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5461 # Check whether --enable-largefile was given.
5462 if test "${enable_largefile+set}" = set; then :
5463 enableval
=$enable_largefile;
5466 if test "$enable_largefile" != no
; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5469 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5470 if ${ac_cv_sys_largefile_CC+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 ac_cv_sys_largefile_CC
=no
5474 if test "$GCC" != yes; then
5477 # IRIX 6.2 and later do not support large files by default,
5478 # so use the C compiler's -n32 option if that helps.
5479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5481 #include <sys/types.h>
5482 /* Check that off_t can represent 2**63 - 1 correctly.
5483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5484 since some C++ compilers masquerading as C compilers
5485 incorrectly reject 9223372036854775807. */
5486 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5488 && LARGE_OFF_T % 2147483647 == 1)
5498 if ac_fn_c_try_compile
"$LINENO"; then :
5501 rm -f core conftest.err conftest.
$ac_objext
5503 if ac_fn_c_try_compile
"$LINENO"; then :
5504 ac_cv_sys_largefile_CC
=' -n32'; break
5506 rm -f core conftest.err conftest.
$ac_objext
5510 rm -f conftest.
$ac_ext
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5514 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5515 if test "$ac_cv_sys_largefile_CC" != no
; then
5516 CC
=$CC$ac_cv_sys_largefile_CC
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5520 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5521 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5527 #include <sys/types.h>
5528 /* Check that off_t can represent 2**63 - 1 correctly.
5529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5530 since some C++ compilers masquerading as C compilers
5531 incorrectly reject 9223372036854775807. */
5532 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5534 && LARGE_OFF_T % 2147483647 == 1)
5544 if ac_fn_c_try_compile
"$LINENO"; then :
5545 ac_cv_sys_file_offset_bits
=no
; break
5547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 #define _FILE_OFFSET_BITS 64
5551 #include <sys/types.h>
5552 /* Check that off_t can represent 2**63 - 1 correctly.
5553 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5554 since some C++ compilers masquerading as C compilers
5555 incorrectly reject 9223372036854775807. */
5556 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5557 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5558 && LARGE_OFF_T % 2147483647 == 1)
5568 if ac_fn_c_try_compile
"$LINENO"; then :
5569 ac_cv_sys_file_offset_bits
=64; break
5571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5572 ac_cv_sys_file_offset_bits
=unknown
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5577 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5578 case $ac_cv_sys_file_offset_bits in #(
5581 cat >>confdefs.h
<<_ACEOF
5582 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5587 if test $ac_cv_sys_file_offset_bits = unknown
; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5589 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5590 if ${ac_cv_sys_large_files+:} false
; then :
5591 $as_echo_n "(cached) " >&6
5594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 #include <sys/types.h>
5597 /* Check that off_t can represent 2**63 - 1 correctly.
5598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5599 since some C++ compilers masquerading as C compilers
5600 incorrectly reject 9223372036854775807. */
5601 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5603 && LARGE_OFF_T % 2147483647 == 1)
5613 if ac_fn_c_try_compile
"$LINENO"; then :
5614 ac_cv_sys_large_files
=no
; break
5616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5619 #define _LARGE_FILES 1
5620 #include <sys/types.h>
5621 /* Check that off_t can represent 2**63 - 1 correctly.
5622 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5623 since some C++ compilers masquerading as C compilers
5624 incorrectly reject 9223372036854775807. */
5625 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5626 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5627 && LARGE_OFF_T % 2147483647 == 1)
5637 if ac_fn_c_try_compile
"$LINENO"; then :
5638 ac_cv_sys_large_files
=1; break
5640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5641 ac_cv_sys_large_files
=unknown
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5646 $as_echo "$ac_cv_sys_large_files" >&6; }
5647 case $ac_cv_sys_large_files in #(
5650 cat >>confdefs.h
<<_ACEOF
5651 #define _LARGE_FILES $ac_cv_sys_large_files
5663 ac_cpp
='$CPP $CPPFLAGS'
5664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5668 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5669 # On Suns, sometimes $CPP names a directory.
5670 if test -n "$CPP" && test -d "$CPP"; then
5673 if test -z "$CPP"; then
5674 if ${ac_cv_prog_CPP+:} false
; then :
5675 $as_echo_n "(cached) " >&6
5677 # Double quotes because CPP needs to be expanded
5678 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5681 for ac_c_preproc_warn_flag
in '' yes
5683 # Use a header file that comes with gcc, so configuring glibc
5684 # with a fresh cross-compiler works.
5685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5686 # <limits.h> exists even on freestanding compilers.
5687 # On the NeXT, cc -E runs the code through the compiler's parser,
5688 # not just through cpp. "Syntax error" is here to catch this case.
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5692 # include <limits.h>
5694 # include <assert.h>
5698 if ac_fn_c_try_cpp
"$LINENO"; then :
5701 # Broken: fails on valid input.
5704 rm -f conftest.err conftest.i conftest.
$ac_ext
5706 # OK, works on sane cases. Now check whether nonexistent headers
5707 # can be detected and how.
5708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5710 #include <ac_nonexistent.h>
5712 if ac_fn_c_try_cpp
"$LINENO"; then :
5713 # Broken: success on invalid input.
5716 # Passes both tests.
5720 rm -f conftest.err conftest.i conftest.
$ac_ext
5723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5724 rm -f conftest.i conftest.err conftest.
$ac_ext
5725 if $ac_preproc_ok; then :
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5738 $as_echo "$CPP" >&6; }
5740 for ac_c_preproc_warn_flag
in '' yes
5742 # Use a header file that comes with gcc, so configuring glibc
5743 # with a fresh cross-compiler works.
5744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5745 # <limits.h> exists even on freestanding compilers.
5746 # On the NeXT, cc -E runs the code through the compiler's parser,
5747 # not just through cpp. "Syntax error" is here to catch this case.
5748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5751 # include <limits.h>
5753 # include <assert.h>
5757 if ac_fn_c_try_cpp
"$LINENO"; then :
5760 # Broken: fails on valid input.
5763 rm -f conftest.err conftest.i conftest.
$ac_ext
5765 # OK, works on sane cases. Now check whether nonexistent headers
5766 # can be detected and how.
5767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5769 #include <ac_nonexistent.h>
5771 if ac_fn_c_try_cpp
"$LINENO"; then :
5772 # Broken: success on invalid input.
5775 # Passes both tests.
5779 rm -f conftest.err conftest.i conftest.
$ac_ext
5782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5783 rm -f conftest.i conftest.err conftest.
$ac_ext
5784 if $ac_preproc_ok; then :
5787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5789 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5790 See \`config.log' for more details" "$LINENO" 5; }
5794 ac_cpp
='$CPP $CPPFLAGS'
5795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5801 $as_echo_n "checking for ANSI C header files... " >&6; }
5802 if ${ac_cv_header_stdc+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5820 if ac_fn_c_try_compile
"$LINENO"; then :
5821 ac_cv_header_stdc
=yes
5823 ac_cv_header_stdc
=no
5825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5827 if test $ac_cv_header_stdc = yes; then
5828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5835 $EGREP "memchr" >/dev
/null
2>&1; then :
5838 ac_cv_header_stdc
=no
5844 if test $ac_cv_header_stdc = yes; then
5845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5852 $EGREP "free" >/dev
/null
2>&1; then :
5855 ac_cv_header_stdc
=no
5861 if test $ac_cv_header_stdc = yes; then
5862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5863 if test "$cross_compiling" = yes; then :
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5870 #if ((' ' & 0x0FF) == 0x020)
5871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5874 # define ISLOWER(c) \
5875 (('a' <= (c) && (c) <= 'i') \
5876 || ('j' <= (c) && (c) <= 'r') \
5877 || ('s' <= (c) && (c) <= 'z'))
5878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5886 for (i = 0; i < 256; i++)
5887 if (XOR (islower (i), ISLOWER (i))
5888 || toupper (i) != TOUPPER (i))
5893 if ac_fn_c_try_run
"$LINENO"; then :
5896 ac_cv_header_stdc
=no
5898 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5899 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5905 $as_echo "$ac_cv_header_stdc" >&6; }
5906 if test $ac_cv_header_stdc = yes; then
5908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5913 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5914 inttypes.h stdint.h unistd.h
5916 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5917 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5919 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5920 cat >>confdefs.h
<<_ACEOF
5921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5931 ApplicationServices
/ApplicationServices.h \
5932 AudioToolbox
/AudioConverter.h \
5933 AudioUnit
/AudioUnit.h \
5934 AudioUnit
/AudioComponent.h \
5937 CoreAudio
/CoreAudio.h \
5938 CoreServices
/CoreServices.h \
5939 DiskArbitration
/DiskArbitration.h \
5941 IOKit
/hid
/IOHIDLib.h \
5944 QuickTime
/ImageCompression.h \
5945 Security
/Security.h \
5958 fontconfig
/fontconfig.h \
5995 netinet
/in_systm.h \
6054 valgrind
/memcheck.h \
6055 valgrind
/valgrind.h \
6059 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6060 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6061 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6062 cat >>confdefs.h
<<_ACEOF
6063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6071 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6072 if ${ac_cv_header_stat_broken+:} false
; then :
6073 $as_echo_n "(cached) " >&6
6075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6076 /* end confdefs.h. */
6077 #include <sys/types.h>
6078 #include <sys/stat.h>
6080 #if defined S_ISBLK && defined S_IFDIR
6081 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6084 #if defined S_ISBLK && defined S_IFCHR
6085 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6088 #if defined S_ISLNK && defined S_IFREG
6089 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6092 #if defined S_ISSOCK && defined S_IFREG
6093 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6097 if ac_fn_c_try_compile
"$LINENO"; then :
6098 ac_cv_header_stat_broken
=no
6100 ac_cv_header_stat_broken
=yes
6102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6105 $as_echo "$ac_cv_header_stat_broken" >&6; }
6106 if test $ac_cv_header_stat_broken = yes; then
6108 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6114 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6116 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6117 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6118 #ifdef HAVE_SYS_PARAM_H
6119 # include <sys/param.h>
6122 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6123 cat >>confdefs.h
<<_ACEOF
6124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6139 netinet
/if_ether.h \
6140 netinet
/if_inarp.h \
6149 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6150 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6151 #ifdef HAVE_SYS_SOCKET_H
6152 # include <sys/socket.h>
6154 #ifdef HAVE_SYS_SOCKETVAR_H
6155 # include <sys/socketvar.h>
6157 #ifdef HAVE_NET_ROUTE_H
6158 # include <net/route.h>
6160 #ifdef HAVE_NETINET_IN_H
6161 # include <netinet/in.h>
6163 #ifdef HAVE_NETINET_IN_SYSTM_H
6164 # include <netinet/in_systm.h>
6166 #ifdef HAVE_NET_IF_H
6167 # include <net/if.h>
6169 #ifdef HAVE_NETINET_IP_H
6170 # include <netinet/ip.h>
6173 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6174 cat >>confdefs.h
<<_ACEOF
6175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6183 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6185 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6186 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6190 #ifdef HAVE_SYS_SOCKET_H
6191 # include <sys/socket.h>
6193 #ifdef HAVE_SYS_SOCKETVAR_H
6194 # include <sys/socketvar.h>
6196 #ifdef HAVE_SYS_TIMEOUT_H
6197 # include <sys/timeout.h>
6199 #ifdef HAVE_NETINET_IN_H
6200 # include <netinet/in.h>
6202 #ifdef HAVE_NETINET_IN_SYSTM_H
6203 # include <netinet/in_systm.h>
6205 #ifdef HAVE_NETINET_IP_H
6206 # include <netinet/ip.h>
6208 #ifdef HAVE_NETINET_IP_VAR_H
6209 # include <netinet/ip_var.h>
6211 #ifdef HAVE_NETINET_IP_ICMP_H
6212 # include <netinet/ip_icmp.h>
6214 #ifdef HAVE_NETINET_UDP_H
6215 # include <netinet/udp.h>
6217 #ifdef HAVE_NETINET_TCP_H
6218 # include <netinet/tcp.h>
6220 #ifdef HAVE_NETINET_TCP_TIMER_H
6221 #include <netinet/tcp_timer.h>
6224 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6225 cat >>confdefs.h
<<_ACEOF
6226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6234 for ac_header
in linux
/ipx.h linux
/irda.h
6236 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6237 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6238 #ifdef HAVE_ASM_TYPES_H
6239 # include <asm/types.h>
6241 #ifdef HAVE_SYS_SOCKET_H
6242 # include <sys/socket.h>
6244 #ifdef HAVE_LINUX_TYPES_H
6245 # include <linux/types.h>
6248 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6249 cat >>confdefs.h
<<_ACEOF
6250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6258 for ac_header
in mach-o
/dyld_images.h
6260 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6261 # include <stdbool.h>
6263 #ifdef HAVE_STDINT_H
6264 # include <stdint.h>
6267 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6268 cat >>confdefs.h
<<_ACEOF
6269 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6277 for ac_header
in resolv.h
6279 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6280 #ifdef HAVE_SYS_SOCKET_H
6281 # include <sys/socket.h>
6283 #ifdef HAVE_NETINET_IN_H
6284 # include <netinet/in.h>
6286 #ifdef HAVE_ARPA_NAMESER_H
6287 # include <arpa/nameser.h>
6290 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6291 cat >>confdefs.h
<<_ACEOF
6292 #define HAVE_RESOLV_H 1
6300 for ac_header
in ifaddrs.h
6302 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6304 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6305 cat >>confdefs.h
<<_ACEOF
6306 #define HAVE_IFADDRS_H 1
6314 for ac_header
in ucontext.h
6316 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6318 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6319 cat >>confdefs.h
<<_ACEOF
6320 #define HAVE_UCONTEXT_H 1
6328 for ac_header
in sys
/thr.h
6330 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6331 #ifdef HAVE_UCONTEXT_H
6332 #include <ucontext.h>
6335 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6336 cat >>confdefs.h
<<_ACEOF
6337 #define HAVE_SYS_THR_H 1
6345 for ac_header
in pthread_np.h
6347 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6348 #include <pthread.h>
6351 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6352 cat >>confdefs.h
<<_ACEOF
6353 #define HAVE_PTHREAD_NP_H 1
6361 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6363 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6364 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6365 #include <sys/time.h>
6367 #include <sys/types.h>
6368 #ifdef HAVE_ASM_TYPES_H
6369 #include <asm/types.h>
6372 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6373 cat >>confdefs.h
<<_ACEOF
6374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6385 DLLFLAGS
="-D_REENTRANT"
6396 STATIC_IMPLIBEXT
="def.a"
6397 # Extract the first word of "ldd", so it can be a program name with args.
6398 set dummy ldd
; ac_word
=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_path_LDD+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6406 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6410 as_dummy
="/sbin:/usr/sbin:$PATH"
6411 for as_dir
in $as_dummy
6414 test -z "$as_dir" && as_dir
=.
6415 for ac_exec_ext
in '' $ac_executable_extensions; do
6416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6417 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6430 if test -n "$LDD"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6432 $as_echo "$LDD" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6439 if test -n "$ac_tool_prefix"; then
6440 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6441 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_READELF+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$READELF"; then
6448 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir
=.
6455 for ac_exec_ext
in '' $ac_executable_extensions; do
6456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 READELF
=$ac_cv_prog_READELF
6468 if test -n "$READELF"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6470 $as_echo "$READELF" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6478 if test -z "$ac_cv_prog_READELF"; then
6479 ac_ct_READELF
=$READELF
6480 # Extract the first word of "readelf", so it can be a program name with args.
6481 set dummy readelf
; ac_word
=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6485 $as_echo_n "(cached) " >&6
6487 if test -n "$ac_ct_READELF"; then
6488 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6494 test -z "$as_dir" && as_dir
=.
6495 for ac_exec_ext
in '' $ac_executable_extensions; do
6496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_ac_ct_READELF
="readelf"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6508 if test -n "$ac_ct_READELF"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6510 $as_echo "$ac_ct_READELF" >&6; }
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6516 if test "x$ac_ct_READELF" = x
; then
6519 case $cross_compiling:$ac_tool_warned in
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523 ac_tool_warned
=yes ;;
6525 READELF
=$ac_ct_READELF
6528 READELF
="$ac_cv_prog_READELF"
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6536 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$DLLTOOL"; then
6543 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir
=.
6550 for ac_exec_ext
in '' $ac_executable_extensions; do
6551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 DLLTOOL
=$ac_cv_prog_DLLTOOL
6563 if test -n "$DLLTOOL"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6565 $as_echo "$DLLTOOL" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6573 if test -z "$ac_cv_prog_DLLTOOL"; then
6574 ac_ct_DLLTOOL
=$DLLTOOL
6575 # Extract the first word of "dlltool", so it can be a program name with args.
6576 set dummy dlltool
; ac_word
=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6580 $as_echo_n "(cached) " >&6
6582 if test -n "$ac_ct_DLLTOOL"; then
6583 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir
=.
6590 for ac_exec_ext
in '' $ac_executable_extensions; do
6591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6603 if test -n "$ac_ct_DLLTOOL"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6605 $as_echo "$ac_ct_DLLTOOL" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6611 if test "x$ac_ct_DLLTOOL" = x
; then
6614 case $cross_compiling:$ac_tool_warned in
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned
=yes ;;
6620 DLLTOOL
=$ac_ct_DLLTOOL
6623 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6628 STATIC_IMPLIBEXT
="a"
6629 enable_iphlpapi
=${enable_iphlpapi:-no}
6630 enable_kernel32
=${enable_kernel32:-no}
6631 enable_msvcrt
=${enable_msvcrt:-no}
6632 enable_ntdll
=${enable_ntdll:-no}
6633 enable_ws2_32
=${enable_ws2_32:-no}
6634 enable_loader
=${enable_loader:-no}
6635 enable_server
=${enable_server:-no}
6636 with_x
=${with_x:-no}
6637 with_pthread
=${with_pthread:-no}
6643 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6648 all: libwine.dll libwine.a
6651 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6653 libwine.dll: \$(OBJS) wine.def Makefile.in
6654 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6656 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6657 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6659 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6660 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6663 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6666 \$(RM) libwine.dll version.c
6674 DLLFLAGS
="$DLLFLAGS -fPIC"
6675 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6676 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6677 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6678 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6679 COREFOUNDATIONLIB
="-framework CoreFoundation"
6681 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6683 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
6685 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6687 CORESERVICESLIB
="-framework CoreServices"
6691 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6694 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6697 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6699 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6702 if test "$ac_cv_header_Security_Security_h" = "yes"
6704 SECURITYLIB
="-framework Security -framework CoreFoundation"
6706 ac_save_LIBS
="$LIBS"
6707 LIBS
="$LIBS $SECURITYLIB"
6708 for ac_func
in SSLCopyPeerCertificates
6710 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6711 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6712 cat >>confdefs.h
<<_ACEOF
6713 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6719 LIBS
="$ac_save_LIBS"
6720 with_gnutls
=${with_gnutls:-no}
6722 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6724 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6726 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6729 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6732 ac_save_LIBS
="$LIBS"
6733 LIBS
="$LIBS $COREAUDIO"
6734 for ac_func
in AUGraphAddNode
6736 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6737 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6738 cat >>confdefs.h
<<_ACEOF
6739 #define HAVE_AUGRAPHADDNODE 1
6745 LIBS
="$ac_save_LIBS"
6747 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6749 FRAMEWORK_OPENAL
="-framework OpenAL"
6752 cat >>confdefs.h
<<_ACEOF
6753 #define HAVE_OPENAL 1
6756 ac_cv_lib_openal
=yes
6758 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6760 LIBOPENCL
="-framework OpenCL"
6762 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6764 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6766 ac_save_LIBS
="$LIBS"
6767 LIBS
="$LIBS $IOKITLIB"
6768 for ac_func
in IOHIDManagerCreate
6770 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6771 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6772 cat >>confdefs.h
<<_ACEOF
6773 #define HAVE_IOHIDMANAGERCREATE 1
6779 LIBS
="$ac_save_LIBS"
6783 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6785 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6787 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6789 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6791 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6793 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6795 CARBONLIB
="-framework Carbon"
6799 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6801 ac_save_LIBS
="$LIBS"
6802 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6803 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6804 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6805 enable_winemac_drv
=${enable_winemac_drv:-yes}
6808 LIBS
="$ac_save_LIBS"
6811 if test "x$enable_win16" = "xyes"
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6814 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6815 if test "$cross_compiling" = yes; then :
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6817 $as_echo "cross-compiling, assuming yes" >&6; }
6819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6823 "good:\tnop;nop\n\t"
6824 ".globl _testfunc\n"
6825 "_testfunc:\tcallw good");
6826 extern void testfunc();
6830 unsigned short *p = (unsigned short *)testfunc;
6831 return p[0] != 0xe866 || p[1] != 0xfffa
6836 if ac_fn_c_try_run
"$LINENO"; then :
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6838 $as_echo "yes" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 as_fn_error $?
"Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
6844 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6845 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6853 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6854 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6856 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6857 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6859 libwine.dylib: libwine.\$(SOVERSION).dylib
6860 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6862 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6863 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6866 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6867 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6870 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6873 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6879 DLLFLAGS
="$DLLFLAGS -fPIC"
6881 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6883 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6884 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6885 $as_echo_n "(cached) " >&6
6887 ac_wine_try_cflags_saved
=$CFLAGS
6888 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 int main(int argc, char **argv) { return 0; }
6893 if ac_fn_c_try_link
"$LINENO"; then :
6894 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6896 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6898 rm -f core conftest.err conftest.
$ac_objext \
6899 conftest
$ac_exeext conftest.
$ac_ext
6900 CFLAGS
=$ac_wine_try_cflags_saved
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6903 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6904 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6905 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6908 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6909 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6910 $as_echo_n "(cached) " >&6
6912 ac_wine_try_cflags_saved
=$CFLAGS
6913 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 int main(int argc, char **argv) { return 0; }
6918 if ac_fn_c_try_link
"$LINENO"; then :
6919 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6921 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6923 rm -f core conftest.err conftest.
$ac_objext \
6924 conftest
$ac_exeext conftest.
$ac_ext
6925 CFLAGS
=$ac_wine_try_cflags_saved
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6928 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6929 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6930 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6933 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6934 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6935 $as_echo_n "(cached) " >&6
6937 ac_wine_try_cflags_saved
=$CFLAGS
6938 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 int main(int argc, char **argv) { return 0; }
6943 if ac_fn_c_try_link
"$LINENO"; then :
6944 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6946 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6948 rm -f core conftest.err conftest.
$ac_objext \
6949 conftest
$ac_exeext conftest.
$ac_ext
6950 CFLAGS
=$ac_wine_try_cflags_saved
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6953 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6954 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6955 LDEXECFLAGS
="-Wl,--export-dynamic"
6958 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6960 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6961 if eval \
${$as_ac_var+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6964 ac_wine_try_cflags_saved
=$CFLAGS
6965 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6967 /* end confdefs.h. */
6968 int main(int argc, char **argv) { return 0; }
6970 if ac_fn_c_try_link
"$LINENO"; then :
6971 eval "$as_ac_var=yes"
6973 eval "$as_ac_var=no"
6975 rm -f core conftest.err conftest.
$ac_objext \
6976 conftest
$ac_exeext conftest.
$ac_ext
6977 CFLAGS
=$ac_wine_try_cflags_saved
6979 eval ac_res
=\$
$as_ac_var
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6981 $as_echo "$ac_res" >&6; }
6982 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6983 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6984 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6986 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6988 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6989 if eval \
${$as_ac_var+:} false
; then :
6990 $as_echo_n "(cached) " >&6
6992 ac_wine_try_cflags_saved
=$CFLAGS
6993 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 int main(int argc, char **argv) { return 0; }
6998 if ac_fn_c_try_link
"$LINENO"; then :
6999 eval "$as_ac_var=yes"
7001 eval "$as_ac_var=no"
7003 rm -f core conftest.err conftest.
$ac_objext \
7004 conftest
$ac_exeext conftest.
$ac_ext
7005 CFLAGS
=$ac_wine_try_cflags_saved
7007 eval ac_res
=\$
$as_ac_var
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7009 $as_echo "$ac_res" >&6; }
7010 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7011 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7012 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7017 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7018 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7019 $as_echo_n "(cached) " >&6
7021 ac_wine_try_cflags_saved
=$CFLAGS
7022 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 int main(int argc, char **argv) { return 0; }
7027 if ac_fn_c_try_link
"$LINENO"; then :
7028 ac_cv_cflags__Wl___enable_new_dtags
=yes
7030 ac_cv_cflags__Wl___enable_new_dtags
=no
7032 rm -f core conftest.err conftest.
$ac_objext \
7033 conftest
$ac_exeext conftest.
$ac_ext
7034 CFLAGS
=$ac_wine_try_cflags_saved
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7037 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7038 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7039 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7043 *i
[3456789]86* | x86_64
)
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7045 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7046 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7047 $as_echo_n "(cached) " >&6
7049 ac_wine_try_cflags_saved
=$CFLAGS
7050 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 int main(int argc, char **argv) { return 0; }
7055 if ac_fn_c_try_link
"$LINENO"; then :
7056 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7058 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7060 rm -f core conftest.err conftest.
$ac_objext \
7061 conftest
$ac_exeext conftest.
$ac_ext
7062 CFLAGS
=$ac_wine_try_cflags_saved
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7065 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7066 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7067 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7075 libwine.so: \$(OBJS) Makefile.in
7076 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7078 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7079 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7082 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7085 \$(RM) libwine.so version.c
7091 DLLFLAGS
="$DLLFLAGS -fPIC"
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7094 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7095 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7096 $as_echo_n "(cached) " >&6
7098 ac_wine_try_cflags_saved
=$CFLAGS
7099 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7104 if ac_fn_c_try_link
"$LINENO"; then :
7105 ac_cv_c_dll_gnuelf
="yes"
7107 ac_cv_c_dll_gnuelf
="no"
7109 rm -f core conftest.err conftest.
$ac_objext \
7110 conftest
$ac_exeext conftest.
$ac_ext
7111 CFLAGS
=$ac_wine_try_cflags_saved
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7114 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7115 if test "$ac_cv_c_dll_gnuelf" = "yes"
7117 LDSHARED
="\$(CC) -shared"
7118 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7120 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7121 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7122 $as_echo_n "(cached) " >&6
7124 ac_wine_try_cflags_saved
=$CFLAGS
7125 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 int main(int argc, char **argv) { return 0; }
7130 if ac_fn_c_try_link
"$LINENO"; then :
7131 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7133 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7135 rm -f core conftest.err conftest.
$ac_objext \
7136 conftest
$ac_exeext conftest.
$ac_ext
7137 CFLAGS
=$ac_wine_try_cflags_saved
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7140 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7141 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7142 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7145 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7146 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7147 $as_echo_n "(cached) " >&6
7149 ac_wine_try_cflags_saved
=$CFLAGS
7150 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 int main(int argc, char **argv) { return 0; }
7155 if ac_fn_c_try_link
"$LINENO"; then :
7156 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7158 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7160 rm -f core conftest.err conftest.
$ac_objext \
7161 conftest
$ac_exeext conftest.
$ac_ext
7162 CFLAGS
=$ac_wine_try_cflags_saved
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7165 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7166 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7167 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7172 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7173 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7174 $as_echo_n "(cached) " >&6
7176 ac_wine_try_cflags_saved
=$CFLAGS
7177 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 int main(int argc, char **argv) { return 0; }
7182 if ac_fn_c_try_link
"$LINENO"; then :
7183 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7185 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7187 rm -f core conftest.err conftest.
$ac_objext \
7188 conftest
$ac_exeext conftest.
$ac_ext
7189 CFLAGS
=$ac_wine_try_cflags_saved
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7192 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7193 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7194 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
7198 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7199 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7200 $as_echo_n "(cached) " >&6
7202 ac_wine_try_cflags_saved
=$CFLAGS
7203 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7206 int main(int argc, char **argv) { return 0; }
7208 if ac_fn_c_try_link
"$LINENO"; then :
7209 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7211 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7213 rm -f core conftest.err conftest.
$ac_objext \
7214 conftest
$ac_exeext conftest.
$ac_ext
7215 CFLAGS
=$ac_wine_try_cflags_saved
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7218 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7219 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7220 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7223 echo '{ global: *; };' >conftest.map
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7225 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7226 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7227 $as_echo_n "(cached) " >&6
7229 ac_wine_try_cflags_saved
=$CFLAGS
7230 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 int main(int argc, char **argv) { return 0; }
7235 if ac_fn_c_try_link
"$LINENO"; then :
7236 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7238 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7240 rm -f core conftest.err conftest.
$ac_objext \
7241 conftest
$ac_exeext conftest.
$ac_ext
7242 CFLAGS
=$ac_wine_try_cflags_saved
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7245 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7246 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7247 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7252 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7253 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7254 $as_echo_n "(cached) " >&6
7256 ac_wine_try_cflags_saved
=$CFLAGS
7257 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 int main(int argc, char **argv) { return 0; }
7262 if ac_fn_c_try_link
"$LINENO"; then :
7263 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7265 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7267 rm -f core conftest.err conftest.
$ac_objext \
7268 conftest
$ac_exeext conftest.
$ac_ext
7269 CFLAGS
=$ac_wine_try_cflags_saved
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7272 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7273 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7274 LDEXECFLAGS
="-Wl,--export-dynamic"
7278 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7280 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7281 if eval \
${$as_ac_var+:} false
; then :
7282 $as_echo_n "(cached) " >&6
7284 ac_wine_try_cflags_saved
=$CFLAGS
7285 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288 int main(int argc, char **argv) { return 0; }
7290 if ac_fn_c_try_link
"$LINENO"; then :
7291 eval "$as_ac_var=yes"
7293 eval "$as_ac_var=no"
7295 rm -f core conftest.err conftest.
$ac_objext \
7296 conftest
$ac_exeext conftest.
$ac_ext
7297 CFLAGS
=$ac_wine_try_cflags_saved
7299 eval ac_res
=\$
$as_ac_var
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7301 $as_echo "$ac_res" >&6; }
7302 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7303 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7304 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7306 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7308 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7309 if eval \
${$as_ac_var+:} false
; then :
7310 $as_echo_n "(cached) " >&6
7312 ac_wine_try_cflags_saved
=$CFLAGS
7313 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7316 int main(int argc, char **argv) { return 0; }
7318 if ac_fn_c_try_link
"$LINENO"; then :
7319 eval "$as_ac_var=yes"
7321 eval "$as_ac_var=no"
7323 rm -f core conftest.err conftest.
$ac_objext \
7324 conftest
$ac_exeext conftest.
$ac_ext
7325 CFLAGS
=$ac_wine_try_cflags_saved
7327 eval ac_res
=\$
$as_ac_var
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7329 $as_echo "$ac_res" >&6; }
7330 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7331 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7332 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7337 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7338 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7339 $as_echo_n "(cached) " >&6
7341 ac_wine_try_cflags_saved
=$CFLAGS
7342 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7345 int main(int argc, char **argv) { return 0; }
7347 if ac_fn_c_try_link
"$LINENO"; then :
7348 ac_cv_cflags__Wl___enable_new_dtags
=yes
7350 ac_cv_cflags__Wl___enable_new_dtags
=no
7352 rm -f core conftest.err conftest.
$ac_objext \
7353 conftest
$ac_exeext conftest.
$ac_ext
7354 CFLAGS
=$ac_wine_try_cflags_saved
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7357 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7358 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7359 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7363 *i
[3456789]86* | x86_64
)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7365 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7366 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7367 $as_echo_n "(cached) " >&6
7369 ac_wine_try_cflags_saved
=$CFLAGS
7370 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7373 int main(int argc, char **argv) { return 0; }
7375 if ac_fn_c_try_link
"$LINENO"; then :
7376 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7378 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7380 rm -f core conftest.err conftest.
$ac_objext \
7381 conftest
$ac_exeext conftest.
$ac_ext
7382 CFLAGS
=$ac_wine_try_cflags_saved
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7385 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7386 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7388 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7389 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7393 # Extract the first word of "prelink", so it can be a program name with args.
7394 set dummy prelink
; ac_word
=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_path_PRELINK+:} false
; then :
7398 $as_echo_n "(cached) " >&6
7402 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7406 for as_dir
in /sbin
/usr
/sbin
$PATH
7409 test -z "$as_dir" && as_dir
=.
7410 for ac_exec_ext
in '' $ac_executable_extensions; do
7411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7424 PRELINK
=$ac_cv_path_PRELINK
7425 if test -n "$PRELINK"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7427 $as_echo "$PRELINK" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7434 if test "x$PRELINK" = xfalse
7436 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7443 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7444 if ${ac_cv_c_dll_unixware+:} false
; then :
7445 $as_echo_n "(cached) " >&6
7447 ac_wine_try_cflags_saved
=$CFLAGS
7448 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7453 if ac_fn_c_try_link
"$LINENO"; then :
7454 ac_cv_c_dll_unixware
="yes"
7456 ac_cv_c_dll_unixware
="no"
7458 rm -f core conftest.err conftest.
$ac_objext \
7459 conftest
$ac_exeext conftest.
$ac_ext
7460 CFLAGS
=$ac_wine_try_cflags_saved
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7463 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7464 if test "$ac_cv_c_dll_unixware" = "yes"
7466 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7467 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7473 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7474 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7476 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7477 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7479 libwine.so: libwine.so.\$(SOVERSION)
7480 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7482 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7483 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7484 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7486 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7487 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7490 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7493 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7499 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7500 enable_winemac_drv
=${enable_winemac_drv:-no}
7502 CROSSTEST_DISABLE
=\
#
7504 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7508 ac_prefix_list
="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
7511 ac_prefix_list
="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc " ;;
7513 ac_prefix_list
="" ;;
7515 for ac_prog
in $ac_prefix_list
7517 # Extract the first word of "$ac_prog", so it can be a program name with args.
7518 set dummy
$ac_prog; ac_word
=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_CROSSCC+:} false
; then :
7522 $as_echo_n "(cached) " >&6
7524 if test -n "$CROSSCC"; then
7525 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir
=.
7532 for ac_exec_ext
in '' $ac_executable_extensions; do
7533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_CROSSCC
="$ac_prog"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 CROSSCC
=$ac_cv_prog_CROSSCC
7545 if test -n "$CROSSCC"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7547 $as_echo "$CROSSCC" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7554 test -n "$CROSSCC" && break
7556 test -n "$CROSSCC" || CROSSCC
="false"
7558 if test "$CROSSCC" != "false"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7563 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7575 if ac_fn_c_try_compile
"$LINENO"; then :
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7577 $as_echo "yes" >&6; }
7584 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7588 if test -n "$target"
7590 CROSSTEST_DISABLE
=""
7591 CROSSTARGET
="$target"
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7604 if test "$ac_cv_header_pthread_h" = "yes"
7606 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7607 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7611 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7612 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 ac_check_lib_save_LIBS
=$LIBS
7616 LIBS
="-lpthread $LIBS"
7617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 /* Override any GCC internal prototype to avoid an error.
7621 Use char because int might match the return type of a GCC
7622 builtin and then its argument prototype would still apply. */
7626 char pthread_create ();
7630 return pthread_create ();
7635 if ac_fn_c_try_link
"$LINENO"; then :
7636 ac_cv_lib_pthread_pthread_create
=yes
7638 ac_cv_lib_pthread_pthread_create
=no
7640 rm -f core conftest.err conftest.
$ac_objext \
7641 conftest
$ac_exeext conftest.
$ac_ext
7642 LIBS
=$ac_check_lib_save_LIBS
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7645 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7646 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7647 LIBPTHREAD
="-lpthread"
7654 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7655 case "x$with_pthread" in
7657 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7658 Wine cannot support threads without libpthread.
7659 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7665 $as_echo_n "checking for X... " >&6; }
7668 # Check whether --with-x was given.
7669 if test "${with_x+set}" = set; then :
7673 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7674 if test "x$with_x" = xno
; then
7675 # The user explicitly disabled X.
7678 case $x_includes,$x_libraries in #(
7679 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7680 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7681 $as_echo_n "(cached) " >&6
7683 # One or both of the vars are not set, and there is no cached value.
7684 ac_x_includes
=no ac_x_libraries
=no
7685 rm -f -r conftest.dir
7686 if mkdir conftest.dir
; then
7688 cat >Imakefile
<<'_ACEOF'
7690 @echo incroot='${INCROOT}'
7692 @echo usrlibdir='${USRLIBDIR}'
7694 @echo libdir='${LIBDIR}'
7696 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7698 for ac_var
in incroot usrlibdir libdir
; do
7699 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7701 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7702 for ac_extension
in a so sl dylib la dll
; do
7703 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7704 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7705 ac_im_usrlibdir
=$ac_im_libdir; break
7708 # Screen out bogus values from the imake configuration. They are
7709 # bogus both because they are the default anyway, and because
7710 # using them would break gcc on systems where it needs fixed includes.
7711 case $ac_im_incroot in
7712 /usr
/include
) ac_x_includes
= ;;
7713 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7715 case $ac_im_usrlibdir in
7716 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7717 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7721 rm -f -r conftest.dir
7724 # Standard set of common directories for X headers.
7725 # Check X11 before X11Rn because it is often a symlink to the current release.
7739 /usr/local/X11/include
7740 /usr/local/X11R7/include
7741 /usr/local/X11R6/include
7742 /usr/local/X11R5/include
7743 /usr/local/X11R4/include
7745 /usr/local/include/X11
7746 /usr/local/include/X11R7
7747 /usr/local/include/X11R6
7748 /usr/local/include/X11R5
7749 /usr/local/include/X11R4
7753 /usr/XFree86/include/X11
7757 /usr/unsupported/include
7759 /usr/local/x11r5/include
7760 /usr/lpp/Xamples/include
7762 /usr/openwin/include
7763 /usr/openwin/share/include'
7765 if test "$ac_x_includes" = no
; then
7766 # Guess where to find include files, by looking for Xlib.h.
7767 # First, try using that file with no special directory specified.
7768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <X11/Xlib.h>
7772 if ac_fn_c_try_cpp
"$LINENO"; then :
7773 # We can compile using X headers with no special include directory.
7776 for ac_dir
in $ac_x_header_dirs; do
7777 if test -r "$ac_dir/X11/Xlib.h"; then
7778 ac_x_includes
=$ac_dir
7783 rm -f conftest.err conftest.i conftest.
$ac_ext
7784 fi # $ac_x_includes = no
7786 if test "$ac_x_libraries" = no
; then
7787 # Check for the libraries.
7788 # See if we find them without any special options.
7789 # Don't add to $LIBS permanently.
7792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #include <X11/Xlib.h>
7803 if ac_fn_c_try_link
"$LINENO"; then :
7805 # We can link X programs with no special library path.
7809 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7811 # Don't even attempt the hair of trying to link an X program!
7812 for ac_extension
in a so sl dylib la dll
; do
7813 if test -r "$ac_dir/libX11.$ac_extension"; then
7814 ac_x_libraries
=$ac_dir
7820 rm -f core conftest.err conftest.
$ac_objext \
7821 conftest
$ac_exeext conftest.
$ac_ext
7822 fi # $ac_x_libraries = no
7824 case $ac_x_includes,$ac_x_libraries in #(
7826 # Didn't find X, or a directory has "'" in its name.
7827 ac_cv_have_x
="have_x=no";; #(
7829 # Record where we found X for the cache.
7830 ac_cv_have_x
="have_x=yes\
7831 ac_x_includes='$ac_x_includes'\
7832 ac_x_libraries='$ac_x_libraries'"
7838 eval "$ac_cv_have_x"
7841 if test "$have_x" != yes; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7843 $as_echo "$have_x" >&6; }
7846 # If each of the values was on the command line, it overrides each guess.
7847 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7848 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7849 # Update the cache value to reflect the command line values.
7850 ac_cv_have_x
="have_x=yes\
7851 ac_x_includes='$x_includes'\
7852 ac_x_libraries='$x_libraries'"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7854 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7857 if test "$no_x" = yes; then
7858 # Not all programs may use this symbol, but it does not hurt to define it.
7860 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7862 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7864 if test -n "$x_includes"; then
7865 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7868 # It would also be nice to do this for all -L options, not just this one.
7869 if test -n "$x_libraries"; then
7870 X_LIBS
="$X_LIBS -L$x_libraries"
7871 # For Solaris; some versions of Sun CC require a space after -R and
7872 # others require no space. Words are not sufficient . . . .
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7874 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7875 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7876 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7877 ac_c_werror_flag
=yes
7878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7879 /* end confdefs.h. */
7889 if ac_fn_c_try_link
"$LINENO"; then :
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7892 X_LIBS
="$X_LIBS -R$x_libraries"
7894 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7906 if ac_fn_c_try_link
"$LINENO"; then :
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7908 $as_echo "yes" >&6; }
7909 X_LIBS
="$X_LIBS -R $x_libraries"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7912 $as_echo "neither works" >&6; }
7914 rm -f core conftest.err conftest.
$ac_objext \
7915 conftest
$ac_exeext conftest.
$ac_ext
7917 rm -f core conftest.err conftest.
$ac_objext \
7918 conftest
$ac_exeext conftest.
$ac_ext
7919 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7923 # Check for system-dependent libraries X programs must link with.
7924 # Do this before checking for the system-independent R6 libraries
7925 # (-lICE), since we may need -lsocket or whatever for X linking.
7927 if test "$ISC" = yes; then
7928 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7930 # Martyn Johnson says this is needed for Ultrix, if the X
7931 # libraries were built with DECnet support. And Karl Berry says
7932 # the Alpha needs dnet_stub (dnet does not exist).
7933 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7937 /* Override any GCC internal prototype to avoid an error.
7938 Use char because int might match the return type of a GCC
7939 builtin and then its argument prototype would still apply. */
7943 char XOpenDisplay ();
7947 return XOpenDisplay ();
7952 if ac_fn_c_try_link
"$LINENO"; then :
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7956 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7957 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7958 $as_echo_n "(cached) " >&6
7960 ac_check_lib_save_LIBS
=$LIBS
7962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7965 /* Override any GCC internal prototype to avoid an error.
7966 Use char because int might match the return type of a GCC
7967 builtin and then its argument prototype would still apply. */
7975 return dnet_ntoa ();
7980 if ac_fn_c_try_link
"$LINENO"; then :
7981 ac_cv_lib_dnet_dnet_ntoa
=yes
7983 ac_cv_lib_dnet_dnet_ntoa
=no
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 LIBS
=$ac_check_lib_save_LIBS
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7990 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7991 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7992 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7995 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7997 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7998 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7999 $as_echo_n "(cached) " >&6
8001 ac_check_lib_save_LIBS
=$LIBS
8002 LIBS
="-ldnet_stub $LIBS"
8003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8006 /* Override any GCC internal prototype to avoid an error.
8007 Use char because int might match the return type of a GCC
8008 builtin and then its argument prototype would still apply. */
8016 return dnet_ntoa ();
8021 if ac_fn_c_try_link
"$LINENO"; then :
8022 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8024 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8026 rm -f core conftest.err conftest.
$ac_objext \
8027 conftest
$ac_exeext conftest.
$ac_ext
8028 LIBS
=$ac_check_lib_save_LIBS
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8031 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8032 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8038 rm -f core conftest.err conftest.
$ac_objext \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 LIBS
="$ac_xsave_LIBS"
8042 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8043 # to get the SysV transport functions.
8044 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8046 # The nsl library prevents programs from opening the X display
8047 # on Irix 5.2, according to T.E. Dickey.
8048 # The functions gethostbyname, getservbyname, and inet_addr are
8049 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8050 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8051 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8055 if test $ac_cv_func_gethostbyname = no
; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8057 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8058 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 ac_check_lib_save_LIBS
=$LIBS
8063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8066 /* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8072 char gethostbyname ();
8076 return gethostbyname ();
8081 if ac_fn_c_try_link
"$LINENO"; then :
8082 ac_cv_lib_nsl_gethostbyname
=yes
8084 ac_cv_lib_nsl_gethostbyname
=no
8086 rm -f core conftest.err conftest.
$ac_objext \
8087 conftest
$ac_exeext conftest.
$ac_ext
8088 LIBS
=$ac_check_lib_save_LIBS
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8091 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8092 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8096 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8098 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8099 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8100 $as_echo_n "(cached) " >&6
8102 ac_check_lib_save_LIBS
=$LIBS
8104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8113 char gethostbyname ();
8117 return gethostbyname ();
8122 if ac_fn_c_try_link
"$LINENO"; then :
8123 ac_cv_lib_bsd_gethostbyname
=yes
8125 ac_cv_lib_bsd_gethostbyname
=no
8127 rm -f core conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8129 LIBS
=$ac_check_lib_save_LIBS
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8132 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8133 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8140 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8141 # socket/setsockopt and other routines are undefined under SCO ODT
8142 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8143 # on later versions), says Simon Leinen: it contains gethostby*
8144 # variants that don't use the name server (or something). -lsocket
8145 # must be given before -lnsl if both are needed. We assume that
8146 # if connect needs -lnsl, so does gethostbyname.
8147 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8148 if test "x$ac_cv_func_connect" = xyes
; then :
8152 if test $ac_cv_func_connect = no
; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8154 $as_echo_n "checking for connect in -lsocket... " >&6; }
8155 if ${ac_cv_lib_socket_connect+:} false
; then :
8156 $as_echo_n "(cached) " >&6
8158 ac_check_lib_save_LIBS
=$LIBS
8159 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8163 /* Override any GCC internal prototype to avoid an error.
8164 Use char because int might match the return type of a GCC
8165 builtin and then its argument prototype would still apply. */
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 ac_cv_lib_socket_connect
=yes
8181 ac_cv_lib_socket_connect
=no
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 LIBS
=$ac_check_lib_save_LIBS
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8188 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8189 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8190 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8195 # Guillermo Gomez says -lposix is necessary on A/UX.
8196 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8197 if test "x$ac_cv_func_remove" = xyes
; then :
8201 if test $ac_cv_func_remove = no
; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8203 $as_echo_n "checking for remove in -lposix... " >&6; }
8204 if ${ac_cv_lib_posix_remove+:} false
; then :
8205 $as_echo_n "(cached) " >&6
8207 ac_check_lib_save_LIBS
=$LIBS
8208 LIBS
="-lposix $LIBS"
8209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8212 /* Override any GCC internal prototype to avoid an error.
8213 Use char because int might match the return type of a GCC
8214 builtin and then its argument prototype would still apply. */
8227 if ac_fn_c_try_link
"$LINENO"; then :
8228 ac_cv_lib_posix_remove
=yes
8230 ac_cv_lib_posix_remove
=no
8232 rm -f core conftest.err conftest.
$ac_objext \
8233 conftest
$ac_exeext conftest.
$ac_ext
8234 LIBS
=$ac_check_lib_save_LIBS
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8237 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8238 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8244 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8245 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8246 if test "x$ac_cv_func_shmat" = xyes
; then :
8250 if test $ac_cv_func_shmat = no
; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8252 $as_echo_n "checking for shmat in -lipc... " >&6; }
8253 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8256 ac_check_lib_save_LIBS
=$LIBS
8258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8261 /* Override any GCC internal prototype to avoid an error.
8262 Use char because int might match the return type of a GCC
8263 builtin and then its argument prototype would still apply. */
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 ac_cv_lib_ipc_shmat
=yes
8279 ac_cv_lib_ipc_shmat
=no
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 LIBS
=$ac_check_lib_save_LIBS
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8286 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8287 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8294 # Check for libraries that X11R6 Xt/Xaw programs need.
8295 ac_save_LDFLAGS
=$LDFLAGS
8296 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8297 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8298 # check for ICE first), but we must link in the order -lSM -lICE or
8299 # we get undefined symbols. So assume we have SM if we have ICE.
8300 # These have to be linked with before -lX11, unlike the other
8301 # libraries we check for below, so use a different variable.
8302 # John Interrante, Karl Berry
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8304 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8305 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8306 $as_echo_n "(cached) " >&6
8308 ac_check_lib_save_LIBS
=$LIBS
8309 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8313 /* Override any GCC internal prototype to avoid an error.
8314 Use char because int might match the return type of a GCC
8315 builtin and then its argument prototype would still apply. */
8319 char IceConnectionNumber ();
8323 return IceConnectionNumber ();
8328 if ac_fn_c_try_link
"$LINENO"; then :
8329 ac_cv_lib_ICE_IceConnectionNumber
=yes
8331 ac_cv_lib_ICE_IceConnectionNumber
=no
8333 rm -f core conftest.err conftest.
$ac_objext \
8334 conftest
$ac_exeext conftest.
$ac_ext
8335 LIBS
=$ac_check_lib_save_LIBS
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8338 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8339 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8340 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8343 LDFLAGS
=$ac_save_LDFLAGS
8348 if test "$have_x" = "yes"
8351 ac_save_CPPFLAGS
="$CPPFLAGS"
8352 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8355 $as_echo_n "checking for -lX11... " >&6; }
8356 if ${ac_cv_lib_soname_X11+:} false
; then :
8357 $as_echo_n "(cached) " >&6
8359 ac_check_soname_save_LIBS
=$LIBS
8360 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8364 /* Override any GCC internal prototype to avoid an error.
8365 Use char because int might match the return type of a GCC
8366 builtin and then its argument prototype would still apply. */
8370 char XCreateWindow ();
8374 return XCreateWindow ();
8379 if ac_fn_c_try_link
"$LINENO"; then :
8381 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8382 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'` ;;
8383 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8384 if test "x$ac_cv_lib_soname_X11" = x
; then :
8385 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8389 rm -f core conftest.err conftest.
$ac_objext \
8390 conftest
$ac_exeext conftest.
$ac_ext
8391 LIBS
=$ac_check_soname_save_LIBS
8393 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8395 $as_echo "not found" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8399 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8401 cat >>confdefs.h
<<_ACEOF
8402 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8408 $as_echo_n "checking for -lXext... " >&6; }
8409 if ${ac_cv_lib_soname_Xext+:} false
; then :
8410 $as_echo_n "(cached) " >&6
8412 ac_check_soname_save_LIBS
=$LIBS
8413 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8417 /* Override any GCC internal prototype to avoid an error.
8418 Use char because int might match the return type of a GCC
8419 builtin and then its argument prototype would still apply. */
8423 char XextCreateExtension ();
8427 return XextCreateExtension ();
8432 if ac_fn_c_try_link
"$LINENO"; then :
8434 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8435 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'` ;;
8436 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8437 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8438 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8442 rm -f core conftest.err conftest.
$ac_objext \
8443 conftest
$ac_exeext conftest.
$ac_ext
8444 LIBS
=$ac_check_soname_save_LIBS
8446 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8448 $as_echo "not found" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8452 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8454 cat >>confdefs.h
<<_ACEOF
8455 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8461 for ac_header
in X11
/Xlib.h \
8464 X11
/Xcursor
/Xcursor.h \
8465 X11
/extensions
/shape.h \
8466 X11
/extensions
/XInput.h \
8467 X11
/extensions
/XInput2.h \
8468 X11
/extensions
/XShm.h \
8469 X11
/extensions
/Xcomposite.h \
8470 X11
/extensions
/Xinerama.h \
8471 X11
/extensions
/Xrandr.h \
8472 X11
/extensions
/Xrender.h \
8473 X11
/extensions
/xf86vmode.h \
8474 X11
/extensions
/xf86vmproto.h
8476 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8477 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8478 # include <X11/Xlib.h>
8480 #ifdef HAVE_X11_XUTIL_H
8481 # include <X11/Xutil.h>
8484 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8485 cat >>confdefs.h
<<_ACEOF
8486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8494 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8497 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8498 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8499 $as_echo_n "(cached) " >&6
8501 ac_check_lib_save_LIBS
=$LIBS
8502 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8506 /* Override any GCC internal prototype to avoid an error.
8507 Use char because int might match the return type of a GCC
8508 builtin and then its argument prototype would still apply. */
8512 char XkbQueryExtension ();
8516 return XkbQueryExtension ();
8521 if ac_fn_c_try_link
"$LINENO"; then :
8522 ac_cv_lib_X11_XkbQueryExtension
=yes
8524 ac_cv_lib_X11_XkbQueryExtension
=no
8526 rm -f core conftest.err conftest.
$ac_objext \
8527 conftest
$ac_exeext conftest.
$ac_ext
8528 LIBS
=$ac_check_lib_save_LIBS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8531 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8532 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8534 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8543 $as_echo_n "checking for -lXcursor... " >&6; }
8544 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8545 $as_echo_n "(cached) " >&6
8547 ac_check_soname_save_LIBS
=$LIBS
8548 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8558 char XcursorImageLoadCursor ();
8562 return XcursorImageLoadCursor ();
8567 if ac_fn_c_try_link
"$LINENO"; then :
8569 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8570 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'` ;;
8571 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8572 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8573 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 LIBS
=$ac_check_soname_save_LIBS
8581 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8583 $as_echo "not found" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8587 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8589 cat >>confdefs.h
<<_ACEOF
8590 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8596 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8597 case "x$with_xcursor" in
8598 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8600 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8601 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8605 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8608 $as_echo_n "checking for -lXi... " >&6; }
8609 if ${ac_cv_lib_soname_Xi+:} false
; then :
8610 $as_echo_n "(cached) " >&6
8612 ac_check_soname_save_LIBS
=$LIBS
8613 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8617 /* Override any GCC internal prototype to avoid an error.
8618 Use char because int might match the return type of a GCC
8619 builtin and then its argument prototype would still apply. */
8623 char XOpenDevice ();
8627 return XOpenDevice ();
8632 if ac_fn_c_try_link
"$LINENO"; then :
8634 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8635 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'` ;;
8636 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8637 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8638 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8642 rm -f core conftest.err conftest.
$ac_objext \
8643 conftest
$ac_exeext conftest.
$ac_ext
8644 LIBS
=$ac_check_soname_save_LIBS
8646 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8648 $as_echo "not found" >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8652 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8654 cat >>confdefs.h
<<_ACEOF
8655 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8661 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8662 case "x$with_xinput" in
8663 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8665 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8666 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8670 if test "x$ac_cv_lib_soname_Xi" != x
8672 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8673 case "x$with_xinput2" in
8674 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8676 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8677 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8682 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8685 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8686 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8687 $as_echo_n "(cached) " >&6
8689 ac_check_lib_save_LIBS
=$LIBS
8690 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8694 /* Override any GCC internal prototype to avoid an error.
8695 Use char because int might match the return type of a GCC
8696 builtin and then its argument prototype would still apply. */
8700 char XShmQueryExtension ();
8704 return XShmQueryExtension ();
8709 if ac_fn_c_try_link
"$LINENO"; then :
8710 ac_cv_lib_Xext_XShmQueryExtension
=yes
8712 ac_cv_lib_Xext_XShmQueryExtension
=no
8714 rm -f core conftest.err conftest.
$ac_objext \
8715 conftest
$ac_exeext conftest.
$ac_ext
8716 LIBS
=$ac_check_lib_save_LIBS
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8719 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8720 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8722 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8727 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8728 case "x$with_xshm" in
8729 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8731 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8732 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8736 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8739 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8740 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 ac_check_lib_save_LIBS
=$LIBS
8744 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8748 /* Override any GCC internal prototype to avoid an error.
8749 Use char because int might match the return type of a GCC
8750 builtin and then its argument prototype would still apply. */
8754 char XShapeQueryExtension ();
8758 return XShapeQueryExtension ();
8763 if ac_fn_c_try_link
"$LINENO"; then :
8764 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8766 ac_cv_lib_Xext_XShapeQueryExtension
=no
8768 rm -f core conftest.err conftest.
$ac_objext \
8769 conftest
$ac_exeext conftest.
$ac_ext
8770 LIBS
=$ac_check_lib_save_LIBS
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8773 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8774 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8776 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8781 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8782 case "x$with_xshape" in
8783 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8785 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8786 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8790 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8793 $as_echo_n "checking for -lXxf86vm... " >&6; }
8794 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8795 $as_echo_n "(cached) " >&6
8797 ac_check_soname_save_LIBS
=$LIBS
8798 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8802 /* Override any GCC internal prototype to avoid an error.
8803 Use char because int might match the return type of a GCC
8804 builtin and then its argument prototype would still apply. */
8808 char XF86VidModeQueryExtension ();
8812 return XF86VidModeQueryExtension ();
8817 if ac_fn_c_try_link
"$LINENO"; then :
8819 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8820 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'` ;;
8821 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8822 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8823 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8827 rm -f core conftest.err conftest.
$ac_objext \
8828 conftest
$ac_exeext conftest.
$ac_ext
8829 LIBS
=$ac_check_soname_save_LIBS
8831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8833 $as_echo "not found" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8837 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8839 cat >>confdefs.h
<<_ACEOF
8840 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8846 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8847 case "x$with_xxf86vm" in
8848 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8850 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8851 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8855 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"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8858 $as_echo_n "checking for -lXrender... " >&6; }
8859 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8860 $as_echo_n "(cached) " >&6
8862 ac_check_soname_save_LIBS
=$LIBS
8863 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8867 /* Override any GCC internal prototype to avoid an error.
8868 Use char because int might match the return type of a GCC
8869 builtin and then its argument prototype would still apply. */
8873 char XRenderQueryExtension ();
8877 return XRenderQueryExtension ();
8882 if ac_fn_c_try_link
"$LINENO"; then :
8884 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8885 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'` ;;
8886 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8887 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8888 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8892 rm -f core conftest.err conftest.
$ac_objext \
8893 conftest
$ac_exeext conftest.
$ac_ext
8894 LIBS
=$ac_check_soname_save_LIBS
8896 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8898 $as_echo "not found" >&6; }
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8902 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8904 cat >>confdefs.h
<<_ACEOF
8905 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8909 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8910 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8911 $as_echo_n "(cached) " >&6
8913 ac_check_lib_save_LIBS
=$LIBS
8914 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8918 /* Override any GCC internal prototype to avoid an error.
8919 Use char because int might match the return type of a GCC
8920 builtin and then its argument prototype would still apply. */
8924 char XRenderSetPictureTransform ();
8928 return XRenderSetPictureTransform ();
8933 if ac_fn_c_try_link
"$LINENO"; then :
8934 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8936 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8938 rm -f core conftest.err conftest.
$ac_objext \
8939 conftest
$ac_exeext conftest.
$ac_ext
8940 LIBS
=$ac_check_lib_save_LIBS
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8943 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8944 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8946 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8951 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8952 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8953 $as_echo_n "(cached) " >&6
8955 ac_check_lib_save_LIBS
=$LIBS
8956 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8966 char XRenderCreateLinearGradient ();
8970 return XRenderCreateLinearGradient ();
8975 if ac_fn_c_try_link
"$LINENO"; then :
8976 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8978 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8980 rm -f core conftest.err conftest.
$ac_objext \
8981 conftest
$ac_exeext conftest.
$ac_ext
8982 LIBS
=$ac_check_lib_save_LIBS
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8985 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8986 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8988 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8995 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8996 case "x$with_xrender" in
8997 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8999 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9000 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9004 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9007 /* end confdefs.h. */
9008 #include <X11/Xlib.h>
9009 #include <X11/extensions/Xrandr.h>
9013 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9018 if ac_fn_c_try_compile
"$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9020 $as_echo_n "checking for -lXrandr... " >&6; }
9021 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9024 ac_check_soname_save_LIBS
=$LIBS
9025 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9035 char XRRQueryExtension ();
9039 return XRRQueryExtension ();
9044 if ac_fn_c_try_link
"$LINENO"; then :
9046 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9047 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'` ;;
9048 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9049 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9050 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 LIBS
=$ac_check_soname_save_LIBS
9058 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9060 $as_echo "not found" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9064 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9066 cat >>confdefs.h
<<_ACEOF
9067 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <X11/Xlib.h>
9073 #include <X11/extensions/Xrandr.h>
9077 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9082 if ac_fn_c_try_compile
"$LINENO"; then :
9084 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9092 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9093 case "x$with_xrandr" in
9094 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9096 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9097 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9101 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9106 #include <X11/extensions/Xinerama.h>
9110 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9115 if ac_fn_c_try_compile
"$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9117 $as_echo_n "checking for -lXinerama... " >&6; }
9118 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_check_soname_save_LIBS
=$LIBS
9122 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9132 char XineramaQueryScreens ();
9136 return XineramaQueryScreens ();
9141 if ac_fn_c_try_link
"$LINENO"; then :
9143 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9144 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'` ;;
9145 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9146 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9147 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_soname_save_LIBS
9155 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9157 $as_echo "not found" >&6; }
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9161 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9163 cat >>confdefs.h
<<_ACEOF
9164 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9172 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9173 case "x$with_xinerama" in
9174 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9176 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9177 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9181 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9184 $as_echo_n "checking for -lXcomposite... " >&6; }
9185 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9186 $as_echo_n "(cached) " >&6
9188 ac_check_soname_save_LIBS
=$LIBS
9189 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9199 char XCompositeRedirectWindow ();
9203 return XCompositeRedirectWindow ();
9208 if ac_fn_c_try_link
"$LINENO"; then :
9210 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9211 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'` ;;
9212 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9213 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9214 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9218 rm -f core conftest.err conftest.
$ac_objext \
9219 conftest
$ac_exeext conftest.
$ac_ext
9220 LIBS
=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9228 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9230 cat >>confdefs.h
<<_ACEOF
9231 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9237 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9238 case "x$with_xcomposite" in
9239 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9241 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9242 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9246 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9247 #include <X11/Xlib.h>
9250 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9252 cat >>confdefs.h
<<_ACEOF
9253 #define HAVE_XICCALLBACK_CALLBACK 1
9258 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9259 #include <X11/Xlib.h>
9262 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9264 cat >>confdefs.h
<<_ACEOF
9265 #define HAVE_XEVENT_XCOOKIE 1
9274 if test "x$with_opengl" != "xno"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9277 $as_echo_n "checking for -lGL... " >&6; }
9278 if ${ac_cv_lib_soname_GL+:} false
; then :
9279 $as_echo_n "(cached) " >&6
9281 ac_check_soname_save_LIBS
=$LIBS
9282 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9292 char glXCreateContext ();
9296 return glXCreateContext ();
9301 if ac_fn_c_try_link
"$LINENO"; then :
9303 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9304 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'` ;;
9305 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9306 if test "x$ac_cv_lib_soname_GL" = x
; then :
9307 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9311 rm -f core conftest.err conftest.
$ac_objext \
9312 conftest
$ac_exeext conftest.
$ac_ext
9313 LIBS
=$ac_check_soname_save_LIBS
9315 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9317 $as_echo "not found" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9319 $as_echo_n "checking for -lGL... " >&6; }
9320 if ${ac_cv_lib_soname_GL+:} false
; then :
9321 $as_echo_n "(cached) " >&6
9323 ac_check_soname_save_LIBS
=$LIBS
9324 LIBS
="-lGL $X_LIBS $XLIB -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"
9325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9334 char glXCreateContext ();
9338 return glXCreateContext ();
9343 if ac_fn_c_try_link
"$LINENO"; then :
9345 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9346 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'` ;;
9347 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9348 if test "x$ac_cv_lib_soname_GL" = x
; then :
9349 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9353 rm -f core conftest.err conftest.
$ac_objext \
9354 conftest
$ac_exeext conftest.
$ac_ext
9355 LIBS
=$ac_check_soname_save_LIBS
9357 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9359 $as_echo "not found" >&6; }
9360 if test -f /usr
/X11R
6/lib
/libGL.a
9362 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9363 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9365 opengl_msg
="No OpenGL library found on this system."
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9369 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9371 cat >>confdefs.h
<<_ACEOF
9372 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9375 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"
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9379 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9381 cat >>confdefs.h
<<_ACEOF
9382 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9387 if test "x$with_glu" != "xno"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9390 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9391 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9392 $as_echo_n "(cached) " >&6
9394 ac_check_lib_save_LIBS
=$LIBS
9395 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9409 return gluLookAt ();
9414 if ac_fn_c_try_link
"$LINENO"; then :
9415 ac_cv_lib_GLU_gluLookAt
=yes
9417 ac_cv_lib_GLU_gluLookAt
=no
9419 rm -f core conftest.err conftest.
$ac_objext \
9420 conftest
$ac_exeext conftest.
$ac_ext
9421 LIBS
=$ac_check_lib_save_LIBS
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9424 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9425 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9429 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9430 case "x$with_glu" in
9431 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9433 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9434 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9439 if test "x$with_osmesa" != "xno"
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9442 $as_echo_n "checking for -lOSMesa... " >&6; }
9443 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 ac_check_soname_save_LIBS
=$LIBS
9447 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9466 if ac_fn_c_try_link
"$LINENO"; then :
9468 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9469 dylib
) ac_cv_lib_soname_OSMesa
=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9470 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9471 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9472 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9476 rm -f core conftest.err conftest.
$ac_objext \
9477 conftest
$ac_exeext conftest.
$ac_ext
9478 LIBS
=$ac_check_soname_save_LIBS
9480 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9482 $as_echo "not found" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9486 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9488 cat >>confdefs.h
<<_ACEOF
9489 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9494 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9495 case "x$with_osmesa" in
9496 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9498 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9499 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9504 if test -n "$opengl_msg"; then :
9505 case "x$with_opengl" in
9506 x
) as_fn_append wine_warnings
"|$opengl_msg
9507 OpenGL and Direct3D won't be supported." ;;
9509 *) as_fn_error $?
"$opengl_msg
9510 OpenGL and Direct3D won't be supported.
9511 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9515 CPPFLAGS
="$ac_save_CPPFLAGS"
9520 enable_winex11_drv
=${enable_winex11_drv:-no}
9522 if test "x$XLIB" = "x"; then :
9525 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9526 without X support, which probably isn't what you want. You will need
9527 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9528 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9532 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9534 if test "$ac_cv_header_CL_cl_h" = "yes"
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9537 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9538 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9539 $as_echo_n "(cached) " >&6
9541 ac_check_lib_save_LIBS
=$LIBS
9542 LIBS
="-lOpenCL $LIBS"
9543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9546 /* Override any GCC internal prototype to avoid an error.
9547 Use char because int might match the return type of a GCC
9548 builtin and then its argument prototype would still apply. */
9552 char clGetPlatformInfo ();
9556 return clGetPlatformInfo ();
9561 if ac_fn_c_try_link
"$LINENO"; then :
9562 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9564 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9566 rm -f core conftest.err conftest.
$ac_objext \
9567 conftest
$ac_exeext conftest.
$ac_ext
9568 LIBS
=$ac_check_lib_save_LIBS
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9571 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9572 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9573 LIBOPENCL
="-lOpenCL"
9578 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9579 case "x$with_opencl" in
9580 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9582 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9583 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9586 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9589 if test "x$with_xml" != "xno"
9591 if test -n "$XML2_CFLAGS"; then :
9593 elif test -n "$PKG_CONFIG"; then :
9594 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9596 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9597 if test -n "$XML2_LIBS"; then :
9599 elif test -n "$PKG_CONFIG"; then :
9600 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9602 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9603 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9604 ac_save_CPPFLAGS
=$CPPFLAGS
9605 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9606 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9608 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9609 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9610 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9611 cat >>confdefs.h
<<_ACEOF
9612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9619 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9622 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9623 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9624 $as_echo_n "(cached) " >&6
9626 ac_check_lib_save_LIBS
=$LIBS
9627 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9637 char xmlParseMemory ();
9641 return xmlParseMemory ();
9646 if ac_fn_c_try_link
"$LINENO"; then :
9647 ac_cv_lib_xml2_xmlParseMemory
=yes
9649 ac_cv_lib_xml2_xmlParseMemory
=no
9651 rm -f core conftest.err conftest.
$ac_objext \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 LIBS
=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9656 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9657 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9659 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9666 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9667 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 ac_check_lib_save_LIBS
=$LIBS
9671 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9681 char xmlReadMemory ();
9685 return xmlReadMemory ();
9690 if ac_fn_c_try_link
"$LINENO"; then :
9691 ac_cv_lib_xml2_xmlReadMemory
=yes
9693 ac_cv_lib_xml2_xmlReadMemory
=no
9695 rm -f core conftest.err conftest.
$ac_objext \
9696 conftest
$ac_exeext conftest.
$ac_ext
9697 LIBS
=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9700 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9701 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9703 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9708 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9709 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9710 $as_echo_n "(cached) " >&6
9712 ac_check_lib_save_LIBS
=$LIBS
9713 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9723 char xmlNewDocPI ();
9727 return xmlNewDocPI ();
9732 if ac_fn_c_try_link
"$LINENO"; then :
9733 ac_cv_lib_xml2_xmlNewDocPI
=yes
9735 ac_cv_lib_xml2_xmlNewDocPI
=no
9737 rm -f core conftest.err conftest.
$ac_objext \
9738 conftest
$ac_exeext conftest.
$ac_ext
9739 LIBS
=$ac_check_lib_save_LIBS
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9742 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9743 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9745 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9750 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9751 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9752 $as_echo_n "(cached) " >&6
9754 ac_check_lib_save_LIBS
=$LIBS
9755 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9765 char xmlSchemaSetParserStructuredErrors ();
9769 return xmlSchemaSetParserStructuredErrors ();
9774 if ac_fn_c_try_link
"$LINENO"; then :
9775 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9777 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9779 rm -f core conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9781 LIBS
=$ac_check_lib_save_LIBS
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9784 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9785 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9787 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9792 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9793 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9794 $as_echo_n "(cached) " >&6
9796 ac_check_lib_save_LIBS
=$LIBS
9797 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9807 char xmlSchemaSetValidStructuredErrors ();
9811 return xmlSchemaSetValidStructuredErrors ();
9816 if ac_fn_c_try_link
"$LINENO"; then :
9817 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9819 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9821 rm -f core conftest.err conftest.
$ac_objext \
9822 conftest
$ac_exeext conftest.
$ac_ext
9823 LIBS
=$ac_check_lib_save_LIBS
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9826 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9827 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9829 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9834 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9835 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9836 $as_echo_n "(cached) " >&6
9838 ac_check_lib_save_LIBS
=$LIBS
9839 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9849 char xmlFirstElementChild ();
9853 return xmlFirstElementChild ();
9858 if ac_fn_c_try_link
"$LINENO"; then :
9859 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9861 ac_cv_lib_xml2_xmlFirstElementChild
=no
9863 rm -f core conftest.err conftest.
$ac_objext \
9864 conftest
$ac_exeext conftest.
$ac_ext
9865 LIBS
=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9868 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9869 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9871 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9875 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9877 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9879 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9887 CPPFLAGS
=$ac_save_CPPFLAGS
9888 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9889 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9892 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9893 case "x$with_xml" in
9894 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9896 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9897 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9901 if test "x$with_xslt" != "xno"
9903 if test -n "$XSLT_CFLAGS"; then :
9905 elif test -n "$PKG_CONFIG"; then :
9906 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9908 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9909 if test -n "$XSLT_LIBS"; then :
9911 elif test -n "$PKG_CONFIG"; then :
9912 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9914 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9915 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9916 ac_save_CPPFLAGS
=$CPPFLAGS
9917 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9918 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9920 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9921 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9922 # include <libxslt/pattern.h>
9925 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9926 cat >>confdefs.h
<<_ACEOF
9927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9934 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9937 $as_echo_n "checking for -lxslt... " >&6; }
9938 if ${ac_cv_lib_soname_xslt+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 ac_check_soname_save_LIBS
=$LIBS
9942 LIBS
="-lxslt $XSLT_LIBS $LIBS"
9943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9952 char xsltCompilePattern ();
9956 return xsltCompilePattern ();
9961 if ac_fn_c_try_link
"$LINENO"; then :
9963 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 dylib
) ac_cv_lib_soname_xslt
=`otool -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9965 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9967 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9971 rm -f core conftest.err conftest.
$ac_objext \
9972 conftest
$ac_exeext conftest.
$ac_ext
9973 LIBS
=$ac_check_soname_save_LIBS
9975 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9977 $as_echo "not found" >&6; }
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9981 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9983 cat >>confdefs.h
<<_ACEOF
9984 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9992 CPPFLAGS
=$ac_save_CPPFLAGS
9993 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9994 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9997 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9998 case "x$with_xslt" in
9999 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10001 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10002 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10006 if test "x$with_dbus" != "xno"
10008 if test -n "$DBUS_CFLAGS"; then :
10010 elif test -n "$PKG_CONFIG"; then :
10011 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10014 if test -n "$DBUS_LIBS"; then :
10016 elif test -n "$PKG_CONFIG"; then :
10017 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10021 ac_save_CPPFLAGS
=$CPPFLAGS
10022 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10023 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10024 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10026 $as_echo_n "checking for -ldbus-1... " >&6; }
10027 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10028 $as_echo_n "(cached) " >&6
10030 ac_check_soname_save_LIBS
=$LIBS
10031 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10041 char dbus_connection_close ();
10045 return dbus_connection_close ();
10050 if ac_fn_c_try_link
"$LINENO"; then :
10052 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10053 dylib
) ac_cv_lib_soname_dbus_1
=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10054 *) ac_cv_lib_soname_dbus_1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10055 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10056 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 rm -f core conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LIBS
=$ac_check_soname_save_LIBS
10064 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10066 $as_echo "not found" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10070 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10072 cat >>confdefs.h
<<_ACEOF
10073 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10083 CPPFLAGS
=$ac_save_CPPFLAGS
10084 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10085 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10088 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10089 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10090 case "x$with_dbus" in
10091 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10093 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10094 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10098 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10100 if test -n "$HAL_CFLAGS"; then :
10102 elif test -n "$PKG_CONFIG"; then :
10103 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10106 if test -n "$HAL_LIBS"; then :
10108 elif test -n "$PKG_CONFIG"; then :
10109 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10112 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10113 ac_save_CPPFLAGS
=$CPPFLAGS
10114 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10115 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10116 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10118 $as_echo_n "checking for -lhal... " >&6; }
10119 if ${ac_cv_lib_soname_hal+:} false
; then :
10120 $as_echo_n "(cached) " >&6
10122 ac_check_soname_save_LIBS
=$LIBS
10123 LIBS
="-lhal $HAL_LIBS $LIBS"
10124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10133 char libhal_ctx_new ();
10137 return libhal_ctx_new ();
10142 if ac_fn_c_try_link
"$LINENO"; then :
10144 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if test "x$ac_cv_lib_soname_hal" = x
; then :
10148 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10152 rm -f core conftest.err conftest.
$ac_objext \
10153 conftest
$ac_exeext conftest.
$ac_ext
10154 LIBS
=$ac_check_soname_save_LIBS
10156 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10162 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10164 cat >>confdefs.h
<<_ACEOF
10165 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10175 CPPFLAGS
=$ac_save_CPPFLAGS
10176 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10177 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10179 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10180 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10181 case "x$with_hal" in
10182 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10184 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10185 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10190 if test "x$with_gnutls" != "xno"
10192 if test -n "$GNUTLS_CFLAGS"; then :
10194 elif test -n "$PKG_CONFIG"; then :
10195 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10198 if test -n "$GNUTLS_LIBS"; then :
10200 elif test -n "$PKG_CONFIG"; then :
10201 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10205 ac_save_CPPFLAGS
=$CPPFLAGS
10206 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10207 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10208 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 #include <gnutls/gnutls.h>
10212 #include <gnutls/crypto.h>
10216 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10221 if ac_fn_c_try_compile
"$LINENO"; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10223 $as_echo_n "checking for -lgnutls... " >&6; }
10224 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10225 $as_echo_n "(cached) " >&6
10227 ac_check_soname_save_LIBS
=$LIBS
10228 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10232 /* Override any GCC internal prototype to avoid an error.
10233 Use char because int might match the return type of a GCC
10234 builtin and then its argument prototype would still apply. */
10238 char gnutls_global_init ();
10242 return gnutls_global_init ();
10247 if ac_fn_c_try_link
"$LINENO"; then :
10249 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10250 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10251 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10252 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10253 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10257 rm -f core conftest.err conftest.
$ac_objext \
10258 conftest
$ac_exeext conftest.
$ac_ext
10259 LIBS
=$ac_check_soname_save_LIBS
10261 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10263 $as_echo "not found" >&6; }
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10267 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10269 cat >>confdefs.h
<<_ACEOF
10270 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10282 CPPFLAGS
=$ac_save_CPPFLAGS
10283 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10284 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10287 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10288 case "x$with_gnutls" in
10289 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10291 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10292 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10297 if test "$ac_cv_header_ncurses_h" = "yes"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10300 $as_echo_n "checking for -lncurses... " >&6; }
10301 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10302 $as_echo_n "(cached) " >&6
10304 ac_check_soname_save_LIBS
=$LIBS
10305 LIBS
="-lncurses $LIBS"
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10324 if ac_fn_c_try_link
"$LINENO"; then :
10326 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10330 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LIBS
=$ac_check_soname_save_LIBS
10338 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10344 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10346 cat >>confdefs.h
<<_ACEOF
10347 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10350 CURSESLIBS
="-lncurses"
10352 elif test "$ac_cv_header_curses_h" = "yes"
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10355 $as_echo_n "checking for -lcurses... " >&6; }
10356 if ${ac_cv_lib_soname_curses+:} false
; then :
10357 $as_echo_n "(cached) " >&6
10359 ac_check_soname_save_LIBS
=$LIBS
10360 LIBS
="-lcurses $LIBS"
10361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10379 if ac_fn_c_try_link
"$LINENO"; then :
10381 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10382 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'` ;;
10383 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10384 if test "x$ac_cv_lib_soname_curses" = x
; then :
10385 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10389 rm -f core conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10391 LIBS
=$ac_check_soname_save_LIBS
10393 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10395 $as_echo "not found" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10399 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10401 cat >>confdefs.h
<<_ACEOF
10402 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10405 CURSESLIBS
="-lcurses"
10408 ac_save_LIBS
="$LIBS"
10409 LIBS
="$LIBS $CURSESLIBS"
10410 for ac_func
in mousemask
10412 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10413 if test "x$ac_cv_func_mousemask" = xyes
; then :
10414 cat >>confdefs.h
<<_ACEOF
10415 #define HAVE_MOUSEMASK 1
10421 LIBS
="$ac_save_LIBS"
10422 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10423 case "x$with_curses" in
10424 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10426 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10427 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10431 if test "x$with_sane" != "xno"
10433 if test -n "$SANE_CFLAGS"; then :
10435 elif test -n "$PKG_CONFIG"; then :
10436 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10438 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10439 if test -n "$SANE_LIBS"; then :
10441 elif test -n "$PKG_CONFIG"; then :
10442 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10444 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10446 ac_save_CPPFLAGS
=$CPPFLAGS
10447 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10448 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10449 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10451 $as_echo_n "checking for -lsane... " >&6; }
10452 if ${ac_cv_lib_soname_sane+:} false
; then :
10453 $as_echo_n "(cached) " >&6
10455 ac_check_soname_save_LIBS
=$LIBS
10456 LIBS
="-lsane $SANE_LIBS $LIBS"
10457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10470 return sane_init ();
10475 if ac_fn_c_try_link
"$LINENO"; then :
10477 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10478 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'` ;;
10479 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10480 if test "x$ac_cv_lib_soname_sane" = x
; then :
10481 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10485 rm -f core conftest.err conftest.
$ac_objext \
10486 conftest
$ac_exeext conftest.
$ac_ext
10487 LIBS
=$ac_check_soname_save_LIBS
10489 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10491 $as_echo "not found" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10495 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10497 cat >>confdefs.h
<<_ACEOF
10498 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10508 CPPFLAGS
=$ac_save_CPPFLAGS
10509 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10510 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10513 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10514 case "x$with_sane" in
10515 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10517 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10518 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10522 if test "x$with_v4l" != "xno"
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10525 $as_echo_n "checking for -lv4l1... " >&6; }
10526 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10527 $as_echo_n "(cached) " >&6
10529 ac_check_soname_save_LIBS
=$LIBS
10530 LIBS
="-lv4l1 $LIBS"
10531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10544 return v4l1_open ();
10549 if ac_fn_c_try_link
"$LINENO"; then :
10551 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10552 dylib
) ac_cv_lib_soname_v4l1
=`otool -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10553 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10554 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10555 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10559 rm -f core conftest.err conftest.
$ac_objext \
10560 conftest
$ac_exeext conftest.
$ac_ext
10561 LIBS
=$ac_check_soname_save_LIBS
10563 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10565 $as_echo "not found" >&6; }
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10569 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10571 cat >>confdefs.h
<<_ACEOF
10572 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10578 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10579 case "x$with_v4l" in
10580 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10582 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10583 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10587 if test "x$with_gphoto" != "xno"
10589 if test -n "$GPHOTO2_CFLAGS"; then :
10591 elif test -n "$PKG_CONFIG"; then :
10592 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10594 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10595 if test -n "$GPHOTO2_LIBS"; then :
10597 elif test -n "$PKG_CONFIG"; then :
10598 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10600 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10601 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10602 ac_save_CPPFLAGS
=$CPPFLAGS
10603 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10604 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10605 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10607 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10608 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10609 $as_echo_n "(cached) " >&6
10611 ac_check_lib_save_LIBS
=$LIBS
10612 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10622 char gp_camera_new ();
10626 return gp_camera_new ();
10631 if ac_fn_c_try_link
"$LINENO"; then :
10632 ac_cv_lib_gphoto2_gp_camera_new
=yes
10634 ac_cv_lib_gphoto2_gp_camera_new
=no
10636 rm -f core conftest.err conftest.
$ac_objext \
10637 conftest
$ac_exeext conftest.
$ac_ext
10638 LIBS
=$ac_check_lib_save_LIBS
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10641 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10642 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10644 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10647 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10651 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10655 CPPFLAGS
=$ac_save_CPPFLAGS
10656 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10657 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10659 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10661 elif test -n "$PKG_CONFIG"; then :
10662 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10664 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10665 if test -n "$GPHOTO2_PORT_LIBS"; then :
10667 elif test -n "$PKG_CONFIG"; then :
10668 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10670 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10671 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10672 ac_save_CPPFLAGS
=$CPPFLAGS
10673 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10674 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10675 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10677 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10678 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10679 $as_echo_n "(cached) " >&6
10681 ac_check_lib_save_LIBS
=$LIBS
10682 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10692 char gp_port_info_list_new ();
10696 return gp_port_info_list_new ();
10701 if ac_fn_c_try_link
"$LINENO"; then :
10702 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10704 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10706 rm -f core conftest.err conftest.
$ac_objext \
10707 conftest
$ac_exeext conftest.
$ac_ext
10708 LIBS
=$ac_check_lib_save_LIBS
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10711 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10712 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10714 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10717 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10721 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10725 CPPFLAGS
=$ac_save_CPPFLAGS
10726 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10727 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10730 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10731 case "x$with_gphoto" in
10732 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10734 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10735 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10738 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10739 case "x$with_gphoto" in
10740 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10742 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10743 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10748 if test "$ac_cv_header_resolv_h" = "yes"
10750 ac_save_LIBS
="$LIBS"
10751 for lib
in '' -lresolv
10753 LIBS
="$lib $ac_save_LIBS"
10754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 #ifdef HAVE_NETINET_IN_H
10757 #include <netinet/in.h>
10759 #include <resolv.h>
10763 res_query("foo",ns_c_in,0,0,0);
10768 if ac_fn_c_try_link
"$LINENO"; then :
10770 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10775 rm -f core conftest.err conftest.
$ac_objext \
10776 conftest
$ac_exeext conftest.
$ac_ext
10777 if test "${RESOLVLIBS+set}" = set; then
10781 LIBS
="$ac_save_LIBS"
10784 if test "x$with_lcms2" != "xno"
10786 if test -n "$LCMS2_CFLAGS"; then :
10788 elif test -n "$PKG_CONFIG"; then :
10789 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10792 if test -n "$LCMS2_LIBS"; then :
10794 elif test -n "$PKG_CONFIG"; then :
10795 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10798 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
10799 ac_save_CPPFLAGS
=$CPPFLAGS
10800 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
10801 for ac_header
in lcms2.h
10803 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10804 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
10805 cat >>confdefs.h
<<_ACEOF
10806 #define HAVE_LCMS2_H 1
10813 if test "$ac_cv_header_lcms2_h" = "yes"
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10816 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10817 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
10818 $as_echo_n "(cached) " >&6
10820 ac_check_lib_save_LIBS
=$LIBS
10821 LIBS
="-llcms2 $LIBS"
10822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10825 /* Override any GCC internal prototype to avoid an error.
10826 Use char because int might match the return type of a GCC
10827 builtin and then its argument prototype would still apply. */
10831 char cmsOpenProfileFromFile ();
10835 return cmsOpenProfileFromFile ();
10840 if ac_fn_c_try_link
"$LINENO"; then :
10841 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
10843 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
10845 rm -f core conftest.err conftest.
$ac_objext \
10846 conftest
$ac_exeext conftest.
$ac_ext
10847 LIBS
=$ac_check_lib_save_LIBS
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10850 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10851 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
10853 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10863 CPPFLAGS
=$ac_save_CPPFLAGS
10864 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10865 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10868 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10869 case "x$with_cms" in
10870 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10872 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10873 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10877 if test "x$with_freetype" != "xno"
10879 if test -n "$FREETYPE_CFLAGS"; then :
10881 elif test -n "$PKG_CONFIG"; then :
10882 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10884 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10885 if test -n "$FREETYPE_LIBS"; then :
10887 elif test -n "$PKG_CONFIG"; then :
10888 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10890 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10891 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10892 ac_save_CPPFLAGS
=$CPPFLAGS
10893 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10895 $as_echo_n "checking for -lfreetype... " >&6; }
10896 if ${ac_cv_lib_soname_freetype+:} false
; then :
10897 $as_echo_n "(cached) " >&6
10899 ac_check_soname_save_LIBS
=$LIBS
10900 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10910 char FT_Init_FreeType ();
10914 return FT_Init_FreeType ();
10919 if ac_fn_c_try_link
"$LINENO"; then :
10921 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10922 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'` ;;
10923 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10924 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10925 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10929 rm -f core conftest.err conftest.
$ac_objext \
10930 conftest
$ac_exeext conftest.
$ac_ext
10931 LIBS
=$ac_check_soname_save_LIBS
10933 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10935 $as_echo "not found" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10939 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10941 cat >>confdefs.h
<<_ACEOF
10942 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10947 if test "$ft_lib" = "yes"
10949 for ac_header
in ft2build.h \
10950 freetype
/freetype.h \
10951 freetype
/ftglyph.h \
10952 freetype
/fttypes.h \
10953 freetype
/tttables.h \
10954 freetype
/ftsnames.h \
10955 freetype
/ttnameid.h \
10956 freetype
/ftoutln.h \
10957 freetype
/ftwinfnt.h \
10958 freetype
/ftmodapi.h \
10959 freetype
/ftlcdfil.h
10961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10963 # include <ft2build.h>
10966 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10967 cat >>confdefs.h
<<_ACEOF
10968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10977 #include <ft2build.h>
10978 #include <freetype/fttrigon.h>
10980 if ac_fn_c_try_cpp
"$LINENO"; then :
10982 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10984 wine_cv_fttrigon
=yes
10986 wine_cv_fttrigon
=no
10988 rm -f conftest.err conftest.i conftest.
$ac_ext
10989 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10991 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10993 cat >>confdefs.h
<<_ACEOF
10994 #define HAVE_FT_TRUETYPEENGINETYPE 1
11000 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11003 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11011 CPPFLAGS
=$ac_save_CPPFLAGS
11012 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11013 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11016 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11017 case "x$with_freetype" in
11019 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11020 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11023 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11026 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11027 if ${ac_cv_c_ppdev+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 #ifdef HAVE_SYS_IOCTL_H
11033 # include <sys/ioctl.h>
11035 #include <linux/ppdev.h>
11039 ioctl (1,PPCLAIM,0)
11044 if ac_fn_c_try_compile
"$LINENO"; then :
11045 ac_cv_c_ppdev
="yes"
11049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11052 $as_echo "$ac_cv_c_ppdev" >&6; }
11053 if test "$ac_cv_c_ppdev" = "yes"
11056 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11060 ac_wine_check_funcs_save_LIBS
="$LIBS"
11061 LIBS
="$LIBS $LIBPTHREAD"
11063 pthread_attr_get_np \
11064 pthread_getattr_np \
11065 pthread_getthreadid_np \
11066 pthread_get_stackaddr_np \
11067 pthread_get_stacksize_np
11069 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11070 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11071 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11072 cat >>confdefs.h
<<_ACEOF
11073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11079 LIBS
="$ac_wine_check_funcs_save_LIBS"
11081 if test "$ac_cv_header_zlib_h" = "yes"
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11084 $as_echo_n "checking for inflate in -lz... " >&6; }
11085 if ${ac_cv_lib_z_inflate+:} false
; then :
11086 $as_echo_n "(cached) " >&6
11088 ac_check_lib_save_LIBS
=$LIBS
11090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11108 if ac_fn_c_try_link
"$LINENO"; then :
11109 ac_cv_lib_z_inflate
=yes
11111 ac_cv_lib_z_inflate
=no
11113 rm -f core conftest.err conftest.
$ac_objext \
11114 conftest
$ac_exeext conftest.
$ac_ext
11115 LIBS
=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11118 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11119 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11121 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11128 if test "x$ZLIB" = "x"; then :
11129 case "x$with_zlib" in
11130 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11132 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11133 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11137 if test "x$enable_tools" != xno
11139 if test "$ac_cv_header_gettext_po_h" = "yes"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11142 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11143 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11144 $as_echo_n "(cached) " >&6
11146 ac_check_lib_save_LIBS
=$LIBS
11147 LIBS
="-lgettextpo $LIBS"
11148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11157 char po_message_msgctxt ();
11161 return po_message_msgctxt ();
11166 if ac_fn_c_try_link
"$LINENO"; then :
11167 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11169 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11171 rm -f core conftest.err conftest.
$ac_objext \
11172 conftest
$ac_exeext conftest.
$ac_ext
11173 LIBS
=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11176 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11177 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11179 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11181 LIBGETTEXTPO
="-lgettextpo"
11186 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11187 case "x$with_gettextpo" in
11188 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11190 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11191 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11196 if test "x$with_gstreamer" != "xno"
11198 if test -n "$GSTREAMER_CFLAGS"; then :
11200 elif test -n "$PKG_CONFIG"; then :
11201 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11204 if test -n "$GSTREAMER_LIBS"; then :
11206 elif test -n "$PKG_CONFIG"; then :
11207 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11211 ac_save_CPPFLAGS
=$CPPFLAGS
11212 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11214 for i
in $GSTREAMER_CFLAGS
11217 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11220 GSTREAMER_CFLAGS
=$ac_gst_incl
11221 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11222 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11223 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11224 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11225 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11227 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11230 #include <gst/app/gstappsink.h>
11234 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11239 if ac_fn_c_try_compile
"$LINENO"; then :
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11241 $as_echo "yes" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11243 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11244 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11245 $as_echo_n "(cached) " >&6
11247 ac_check_lib_save_LIBS
=$LIBS
11248 LIBS
="-lgstreamer-0.10 $LIBS"
11249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11258 char gst_pad_get_caps_reffed ();
11262 return gst_pad_get_caps_reffed ();
11267 if ac_fn_c_try_link
"$LINENO"; then :
11268 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11270 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11272 rm -f core conftest.err conftest.
$ac_objext \
11273 conftest
$ac_exeext conftest.
$ac_ext
11274 LIBS
=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11277 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11278 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11280 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11281 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11282 $as_echo_n "(cached) " >&6
11284 ac_check_lib_save_LIBS
=$LIBS
11285 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11295 char gst_app_buffer_new ();
11299 return gst_app_buffer_new ();
11304 if ac_fn_c_try_link
"$LINENO"; then :
11305 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11307 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11309 rm -f core conftest.err conftest.
$ac_objext \
11310 conftest
$ac_exeext conftest.
$ac_ext
11311 LIBS
=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11314 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11315 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11323 $as_echo "no" >&6; }
11325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11330 GSTREAMER_CFLAGS
=""
11334 CPPFLAGS
=$ac_save_CPPFLAGS
11335 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11336 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11339 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11340 case "x$with_gstreamer" in
11341 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11343 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11344 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11347 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11351 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11354 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11355 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11356 $as_echo_n "(cached) " >&6
11358 ac_check_lib_save_LIBS
=$LIBS
11359 LIBS
="-lasound $LIBS"
11360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11369 char snd_pcm_hw_params_get_access_mask ();
11373 return snd_pcm_hw_params_get_access_mask ();
11378 if ac_fn_c_try_link
"$LINENO"; then :
11379 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11381 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11383 rm -f core conftest.err conftest.
$ac_objext \
11384 conftest
$ac_exeext conftest.
$ac_ext
11385 LIBS
=$ac_check_lib_save_LIBS
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11388 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11389 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392 #ifdef HAVE_ALSA_ASOUNDLIB_H
11393 #include <alsa/asoundlib.h>
11394 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11395 #include <sys/asoundlib.h>
11400 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11405 if ac_fn_c_try_compile
"$LINENO"; then :
11406 ALSALIBS
="-lasound"
11408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11413 if test "x$with_oss" != xno
11415 ac_save_CPPFLAGS
="$CPPFLAGS"
11416 if test -f /etc
/oss.conf
11420 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11421 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11422 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11423 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11424 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11426 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11428 cat >>confdefs.h
<<_ACEOF
11429 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11432 OSS4INCL
="$ac_oss_incl"
11439 CPPFLAGS
="$ac_save_CPPFLAGS"
11440 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11442 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11446 if test "x$with_capi" != "xno"
11448 if test -n "$CAPI20_CFLAGS"; then :
11450 elif test -n "$PKG_CONFIG"; then :
11451 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11454 if test -n "$CAPI20_LIBS"; then :
11456 elif test -n "$PKG_CONFIG"; then :
11457 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11461 ac_save_CPPFLAGS
=$CPPFLAGS
11462 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11463 for ac_header
in capi20.h linux
/capi.h
11465 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11466 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11468 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11469 cat >>confdefs.h
<<_ACEOF
11470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11477 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11480 $as_echo_n "checking for -lcapi20... " >&6; }
11481 if ${ac_cv_lib_soname_capi20+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_soname_save_LIBS
=$LIBS
11485 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11495 char capi20_register ();
11499 return capi20_register ();
11504 if ac_fn_c_try_link
"$LINENO"; then :
11506 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11509 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11510 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11514 rm -f core conftest.err conftest.
$ac_objext \
11515 conftest
$ac_exeext conftest.
$ac_ext
11516 LIBS
=$ac_check_soname_save_LIBS
11518 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11520 $as_echo "not found" >&6; }
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11524 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11526 cat >>confdefs.h
<<_ACEOF
11527 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11533 CPPFLAGS
=$ac_save_CPPFLAGS
11534 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11535 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11538 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11539 case "x$with_capi" in
11540 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11542 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11543 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11549 if test "x$with_cups" != "xno"
11551 ac_save_CPPFLAGS
="$CPPFLAGS"
11552 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11553 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11554 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11555 for ac_header
in cups
/cups.h
11557 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11558 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11559 cat >>confdefs.h
<<_ACEOF
11560 #define HAVE_CUPS_CUPS_H 1
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11563 $as_echo_n "checking for -lcups... " >&6; }
11564 if ${ac_cv_lib_soname_cups+:} false
; then :
11565 $as_echo_n "(cached) " >&6
11567 ac_check_soname_save_LIBS
=$LIBS
11568 LIBS
="-lcups $ac_cups_libs $LIBS"
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11578 char cupsGetDefault ();
11582 return cupsGetDefault ();
11587 if ac_fn_c_try_link
"$LINENO"; then :
11589 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11590 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'` ;;
11591 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11592 if test "x$ac_cv_lib_soname_cups" = x
; then :
11593 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11597 rm -f core conftest.err conftest.
$ac_objext \
11598 conftest
$ac_exeext conftest.
$ac_ext
11599 LIBS
=$ac_check_soname_save_LIBS
11601 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11603 $as_echo "not found" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11607 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11609 cat >>confdefs.h
<<_ACEOF
11610 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11613 CUPSINCL
="$ac_cups_cflags"
11619 CPPFLAGS
="$ac_save_CPPFLAGS"
11621 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11622 case "x$with_cups" in
11623 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11625 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11626 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11630 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11633 $as_echo_n "checking for -lfontconfig... " >&6; }
11634 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_check_soname_save_LIBS
=$LIBS
11638 LIBS
="-lfontconfig $LIBS"
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11657 if ac_fn_c_try_link
"$LINENO"; then :
11659 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11663 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_soname_save_LIBS
11671 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11677 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11679 cat >>confdefs.h
<<_ACEOF
11680 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11685 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11687 ac_save_CPPFLAGS
="$CPPFLAGS"
11688 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11689 $as_unset ac_cv_header_fontconfig_fontconfig_h
11690 for ac_header
in fontconfig
/fontconfig.h
11692 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11693 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11694 cat >>confdefs.h
<<_ACEOF
11695 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11702 CPPFLAGS
="$ac_save_CPPFLAGS"
11703 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11705 FONTCONFIGINCL
="$X_CFLAGS"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11708 $as_echo_n "checking for -lfontconfig... " >&6; }
11709 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_check_soname_save_LIBS
=$LIBS
11713 LIBS
="-lfontconfig $X_LIBS $LIBS"
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11732 if ac_fn_c_try_link
"$LINENO"; then :
11734 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11738 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 rm -f core conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_soname_save_LIBS
11746 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11752 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11754 cat >>confdefs.h
<<_ACEOF
11755 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11762 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11763 case "x$with_fontconfig" in
11764 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11766 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11767 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11771 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11774 $as_echo_n "checking for -lgsm... " >&6; }
11775 if ${ac_cv_lib_soname_gsm+:} false
; then :
11776 $as_echo_n "(cached) " >&6
11778 ac_check_soname_save_LIBS
=$LIBS
11780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11789 char gsm_create ();
11793 return gsm_create ();
11798 if ac_fn_c_try_link
"$LINENO"; then :
11800 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11801 dylib
) ac_cv_lib_soname_gsm
=`otool -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11802 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11803 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11804 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11808 rm -f core conftest.err conftest.
$ac_objext \
11809 conftest
$ac_exeext conftest.
$ac_ext
11810 LIBS
=$ac_check_soname_save_LIBS
11812 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11814 $as_echo "not found" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11818 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11820 cat >>confdefs.h
<<_ACEOF
11821 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11827 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11828 case "x$with_gsm" in
11829 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11831 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11832 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11836 if test "x$with_jpeg" != "xno"
11838 if test -n "$JPEG_CFLAGS"; then :
11840 elif test -n "$PKG_CONFIG"; then :
11841 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
11844 if test -n "$JPEG_LIBS"; then :
11846 elif test -n "$PKG_CONFIG"; then :
11847 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
11851 ac_save_CPPFLAGS
=$CPPFLAGS
11852 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
11853 for ac_header
in jpeglib.h
11855 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
11856 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
11857 cat >>confdefs.h
<<_ACEOF
11858 #define HAVE_JPEGLIB_H 1
11865 if test "$ac_cv_header_jpeglib_h" = "yes"
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11868 $as_echo_n "checking for -ljpeg... " >&6; }
11869 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11870 $as_echo_n "(cached) " >&6
11872 ac_check_soname_save_LIBS
=$LIBS
11873 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11883 char jpeg_start_decompress ();
11887 return jpeg_start_decompress ();
11892 if ac_fn_c_try_link
"$LINENO"; then :
11894 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11895 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'` ;;
11896 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11897 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11898 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11902 rm -f core conftest.err conftest.
$ac_objext \
11903 conftest
$ac_exeext conftest.
$ac_ext
11904 LIBS
=$ac_check_soname_save_LIBS
11906 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11908 $as_echo "not found" >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11912 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11914 cat >>confdefs.h
<<_ACEOF
11915 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11923 CPPFLAGS
=$ac_save_CPPFLAGS
11924 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11925 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11928 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11929 case "x$with_jpeg" in
11930 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11932 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11933 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11937 if test "x$with_png" != "xno"
11939 if test -n "$PNG_CFLAGS"; then :
11941 elif test -n "$PKG_CONFIG"; then :
11942 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11944 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
11945 if test -n "$PNG_LIBS"; then :
11947 elif test -n "$PKG_CONFIG"; then :
11948 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
11950 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
11952 ac_save_CPPFLAGS
=$CPPFLAGS
11953 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
11954 for ac_header
in png.h
11956 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11957 if test "x$ac_cv_header_png_h" = xyes
; then :
11958 cat >>confdefs.h
<<_ACEOF
11959 #define HAVE_PNG_H 1
11966 if test "$ac_cv_header_png_h" = "yes"
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11969 $as_echo_n "checking for -lpng... " >&6; }
11970 if ${ac_cv_lib_soname_png+:} false
; then :
11971 $as_echo_n "(cached) " >&6
11973 ac_check_soname_save_LIBS
=$LIBS
11974 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
11975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11984 char png_create_read_struct ();
11988 return png_create_read_struct ();
11993 if ac_fn_c_try_link
"$LINENO"; then :
11995 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11996 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'` ;;
11997 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11998 if test "x$ac_cv_lib_soname_png" = x
; then :
11999 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12003 rm -f core conftest.err conftest.
$ac_objext \
12004 conftest
$ac_exeext conftest.
$ac_ext
12005 LIBS
=$ac_check_soname_save_LIBS
12007 if test "x$ac_cv_lib_soname_png" = "x"; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12013 $as_echo "$ac_cv_lib_soname_png" >&6; }
12015 cat >>confdefs.h
<<_ACEOF
12016 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12025 typeof(png_set_expand_gray_1_2_4_to_8) *p
12030 if ac_fn_c_try_compile
"$LINENO"; then :
12032 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12040 CPPFLAGS
=$ac_save_CPPFLAGS
12041 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12042 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if test "x$ac_cv_lib_soname_png" = "x"; then :
12046 case "x$with_png" in
12047 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12049 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12050 This is an error since --with-png was requested." "$LINENO" 5 ;;
12054 if test "x$with_tiff" != "xno"
12056 if test -n "$TIFF_CFLAGS"; then :
12058 elif test -n "$PKG_CONFIG"; then :
12059 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12062 if test -n "$TIFF_LIBS"; then :
12064 elif test -n "$PKG_CONFIG"; then :
12065 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12069 ac_save_CPPFLAGS
=$CPPFLAGS
12070 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12071 for ac_header
in tiffio.h
12073 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12074 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12075 cat >>confdefs.h
<<_ACEOF
12076 #define HAVE_TIFFIO_H 1
12083 if test "$ac_cv_header_tiffio_h" = "yes"
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12086 $as_echo_n "checking for -ltiff... " >&6; }
12087 if ${ac_cv_lib_soname_tiff+:} false
; then :
12088 $as_echo_n "(cached) " >&6
12090 ac_check_soname_save_LIBS
=$LIBS
12091 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12101 char TIFFClientOpen ();
12105 return TIFFClientOpen ();
12110 if ac_fn_c_try_link
"$LINENO"; then :
12112 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12113 dylib
) ac_cv_lib_soname_tiff
=`otool -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12114 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12115 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12116 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12120 rm -f core conftest.err conftest.
$ac_objext \
12121 conftest
$ac_exeext conftest.
$ac_ext
12122 LIBS
=$ac_check_soname_save_LIBS
12124 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12126 $as_echo "not found" >&6; }
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12130 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12132 cat >>confdefs.h
<<_ACEOF
12133 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12139 CPPFLAGS
=$ac_save_CPPFLAGS
12140 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12141 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12144 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12145 case "x$with_tiff" in
12146 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12148 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12149 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12153 if test "x$with_mpg123" != "xno"
12155 if test -n "$MPG123_CFLAGS"; then :
12157 elif test -n "$PKG_CONFIG"; then :
12158 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12161 if test -n "$MPG123_LIBS"; then :
12163 elif test -n "$PKG_CONFIG"; then :
12164 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12167 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12168 ac_save_CPPFLAGS
=$CPPFLAGS
12169 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12170 for ac_header
in mpg123.h
12172 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12173 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12174 cat >>confdefs.h
<<_ACEOF
12175 #define HAVE_MPG123_H 1
12182 if test "$ac_cv_header_mpg123_h" = "yes"
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12185 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12186 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12187 $as_echo_n "(cached) " >&6
12189 ac_check_lib_save_LIBS
=$LIBS
12190 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12200 char mpg123_feed ();
12204 return mpg123_feed ();
12209 if ac_fn_c_try_link
"$LINENO"; then :
12210 ac_cv_lib_mpg123_mpg123_feed
=yes
12212 ac_cv_lib_mpg123_mpg123_feed
=no
12214 rm -f core conftest.err conftest.
$ac_objext \
12215 conftest
$ac_exeext conftest.
$ac_ext
12216 LIBS
=$ac_check_lib_save_LIBS
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12219 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12220 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12230 CPPFLAGS
=$ac_save_CPPFLAGS
12231 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12232 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12235 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12236 case "x$with_mpg123" in
12237 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12239 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12240 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12243 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
12245 if test "$ac_cv_header_AL_al_h" = "yes"
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12248 $as_echo_n "checking for -lopenal... " >&6; }
12249 if ${ac_cv_lib_soname_openal+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12252 ac_check_soname_save_LIBS
=$LIBS
12253 LIBS
="-lopenal $LIBS"
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12263 char alGetSource3i ();
12267 return alGetSource3i ();
12272 if ac_fn_c_try_link
"$LINENO"; then :
12274 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12275 dylib
) ac_cv_lib_soname_openal
=`otool -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12276 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12277 if test "x$ac_cv_lib_soname_openal" = x
; then :
12278 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12282 rm -f core conftest.err conftest.
$ac_objext \
12283 conftest
$ac_exeext conftest.
$ac_ext
12284 LIBS
=$ac_check_soname_save_LIBS
12286 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12288 $as_echo "not found" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12292 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12294 cat >>confdefs.h
<<_ACEOF
12295 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12298 LIBOPENAL
="-lopenal"
12300 ac_cv_lib_openal
=yes
12302 cat >>confdefs.h
<<_ACEOF
12303 #define HAVE_OPENAL 1
12308 if test "x$ac_cv_lib_openal" != xyes
; then :
12309 case "x$with_openal" in
12310 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12312 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12313 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12316 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12318 if test "$ac_cv_header_kstat_h" = "yes"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12321 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12322 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12323 $as_echo_n "(cached) " >&6
12325 ac_check_lib_save_LIBS
=$LIBS
12326 LIBS
="-lkstat $LIBS"
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12336 char kstat_open ();
12340 return kstat_open ();
12345 if ac_fn_c_try_link
"$LINENO"; then :
12346 ac_cv_lib_kstat_kstat_open
=yes
12348 ac_cv_lib_kstat_kstat_open
=no
12350 rm -f core conftest.err conftest.
$ac_objext \
12351 conftest
$ac_exeext conftest.
$ac_ext
12352 LIBS
=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12355 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12356 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12358 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12367 $as_echo_n "checking for -lodbc... " >&6; }
12368 if ${ac_cv_lib_soname_odbc+:} false
; then :
12369 $as_echo_n "(cached) " >&6
12371 ac_check_soname_save_LIBS
=$LIBS
12372 LIBS
="-lodbc $LIBS"
12373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12376 /* Override any GCC internal prototype to avoid an error.
12377 Use char because int might match the return type of a GCC
12378 builtin and then its argument prototype would still apply. */
12382 char SQLConnect ();
12386 return SQLConnect ();
12391 if ac_fn_c_try_link
"$LINENO"; then :
12393 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12394 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'` ;;
12395 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12396 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12397 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12401 rm -f core conftest.err conftest.
$ac_objext \
12402 conftest
$ac_exeext conftest.
$ac_ext
12403 LIBS
=$ac_check_soname_save_LIBS
12405 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12407 $as_echo "not found" >&6; }
12408 cat >>confdefs.h
<<_ACEOF
12409 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12414 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12416 cat >>confdefs.h
<<_ACEOF
12417 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12423 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12424 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12425 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12426 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12428 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12429 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12430 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12432 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12438 if test "x${GCC}" = "xyes"
12440 EXTRACFLAGS
="-Wall -pipe"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12443 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12444 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12445 $as_echo_n "(cached) " >&6
12447 if test "$cross_compiling" = yes; then :
12448 ac_cv_c_gcc_strength_bug
="yes"
12450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12452 int L[4] = {0,1,2,3};
12456 static int Array[3];
12457 unsigned int B = 3;
12459 for(i=0; i<B; i++) Array[i] = i - 3;
12460 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12462 return (Array[1] != -2 || L[2] != 3)
12467 if ac_fn_c_try_run
"$LINENO"; then :
12468 ac_cv_c_gcc_strength_bug
="no"
12470 ac_cv_c_gcc_strength_bug
="yes"
12472 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12473 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12478 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12479 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12481 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12485 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12486 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12487 $as_echo_n "(cached) " >&6
12489 ac_wine_try_cflags_saved
=$CFLAGS
12490 CFLAGS
="$CFLAGS -fno-builtin"
12491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 int main(int argc, char **argv) { return 0; }
12495 if ac_fn_c_try_link
"$LINENO"; then :
12496 ac_cv_cflags__fno_builtin
=yes
12498 ac_cv_cflags__fno_builtin
=no
12500 rm -f core conftest.err conftest.
$ac_objext \
12501 conftest
$ac_exeext conftest.
$ac_ext
12502 CFLAGS
=$ac_wine_try_cflags_saved
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12505 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12506 if test $ac_cv_cflags__fno_builtin = yes; then :
12507 BUILTINFLAG
="-fno-builtin"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12511 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12512 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12513 $as_echo_n "(cached) " >&6
12515 ac_wine_try_cflags_saved
=$CFLAGS
12516 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12519 int main(int argc, char **argv) { return 0; }
12521 if ac_fn_c_try_link
"$LINENO"; then :
12522 ac_cv_cflags__fno_strict_aliasing
=yes
12524 ac_cv_cflags__fno_strict_aliasing
=no
12526 rm -f core conftest.err conftest.
$ac_objext \
12527 conftest
$ac_exeext conftest.
$ac_ext
12528 CFLAGS
=$ac_wine_try_cflags_saved
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12531 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12532 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12533 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12535 saved_CFLAGS
=$CFLAGS
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12537 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12538 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
12539 $as_echo_n "(cached) " >&6
12541 ac_wine_try_cflags_saved
=$CFLAGS
12542 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
12543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 int main(int argc, char **argv) { return 0; }
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_cflags__Werror_unknown_warning_option
=yes
12550 ac_cv_cflags__Werror_unknown_warning_option
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 CFLAGS
=$ac_wine_try_cflags_saved
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12557 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12558 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12559 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12562 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12563 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12564 $as_echo_n "(cached) " >&6
12566 ac_wine_try_cflags_saved
=$CFLAGS
12567 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12570 int main(int argc, char **argv) { return 0; }
12572 if ac_fn_c_try_link
"$LINENO"; then :
12573 ac_cv_cflags__Wdeclaration_after_statement
=yes
12575 ac_cv_cflags__Wdeclaration_after_statement
=no
12577 rm -f core conftest.err conftest.
$ac_objext \
12578 conftest
$ac_exeext conftest.
$ac_ext
12579 CFLAGS
=$ac_wine_try_cflags_saved
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12582 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12583 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12584 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12587 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12588 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12589 $as_echo_n "(cached) " >&6
12591 ac_wine_try_cflags_saved
=$CFLAGS
12592 CFLAGS
="$CFLAGS -Wempty-body"
12593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12595 int main(int argc, char **argv) { return 0; }
12597 if ac_fn_c_try_link
"$LINENO"; then :
12598 ac_cv_cflags__Wempty_body
=yes
12600 ac_cv_cflags__Wempty_body
=no
12602 rm -f core conftest.err conftest.
$ac_objext \
12603 conftest
$ac_exeext conftest.
$ac_ext
12604 CFLAGS
=$ac_wine_try_cflags_saved
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12607 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12608 if test $ac_cv_cflags__Wempty_body = yes; then :
12609 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12612 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12613 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12614 $as_echo_n "(cached) " >&6
12616 ac_wine_try_cflags_saved
=$CFLAGS
12617 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12620 int main(int argc, char **argv) { return 0; }
12622 if ac_fn_c_try_link
"$LINENO"; then :
12623 ac_cv_cflags__Wignored_qualifiers
=yes
12625 ac_cv_cflags__Wignored_qualifiers
=no
12627 rm -f core conftest.err conftest.
$ac_objext \
12628 conftest
$ac_exeext conftest.
$ac_ext
12629 CFLAGS
=$ac_wine_try_cflags_saved
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12632 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12633 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12634 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12637 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12638 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12641 ac_wine_try_cflags_saved
=$CFLAGS
12642 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12645 int main(int argc, char **argv) { return 0; }
12647 if ac_fn_c_try_link
"$LINENO"; then :
12648 ac_cv_cflags__Wstrict_prototypes
=yes
12650 ac_cv_cflags__Wstrict_prototypes
=no
12652 rm -f core conftest.err conftest.
$ac_objext \
12653 conftest
$ac_exeext conftest.
$ac_ext
12654 CFLAGS
=$ac_wine_try_cflags_saved
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12657 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12658 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12659 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12662 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12663 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 ac_wine_try_cflags_saved
=$CFLAGS
12667 CFLAGS
="$CFLAGS -Wtype-limits"
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12670 int main(int argc, char **argv) { return 0; }
12672 if ac_fn_c_try_link
"$LINENO"; then :
12673 ac_cv_cflags__Wtype_limits
=yes
12675 ac_cv_cflags__Wtype_limits
=no
12677 rm -f core conftest.err conftest.
$ac_objext \
12678 conftest
$ac_exeext conftest.
$ac_ext
12679 CFLAGS
=$ac_wine_try_cflags_saved
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12682 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12683 if test $ac_cv_cflags__Wtype_limits = yes; then :
12684 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12687 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12688 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12689 $as_echo_n "(cached) " >&6
12691 ac_wine_try_cflags_saved
=$CFLAGS
12692 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 int main(int argc, char **argv) { return 0; }
12697 if ac_fn_c_try_link
"$LINENO"; then :
12698 ac_cv_cflags__Wunused_but_set_parameter
=yes
12700 ac_cv_cflags__Wunused_but_set_parameter
=no
12702 rm -f core conftest.err conftest.
$ac_objext \
12703 conftest
$ac_exeext conftest.
$ac_ext
12704 CFLAGS
=$ac_wine_try_cflags_saved
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12707 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12708 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12709 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12712 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12713 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12714 $as_echo_n "(cached) " >&6
12716 ac_wine_try_cflags_saved
=$CFLAGS
12717 CFLAGS
="$CFLAGS -Wwrite-strings"
12718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720 int main(int argc, char **argv) { return 0; }
12722 if ac_fn_c_try_link
"$LINENO"; then :
12723 ac_cv_cflags__Wwrite_strings
=yes
12725 ac_cv_cflags__Wwrite_strings
=no
12727 rm -f core conftest.err conftest.
$ac_objext \
12728 conftest
$ac_exeext conftest.
$ac_ext
12729 CFLAGS
=$ac_wine_try_cflags_saved
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12732 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12733 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12734 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12738 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12739 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
12740 $as_echo_n "(cached) " >&6
12742 ac_wine_try_cflags_saved
=$CFLAGS
12743 CFLAGS
="$CFLAGS -Wpointer-arith"
12744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 int main(int argc, char **argv) { return 0; }
12748 if ac_fn_c_try_link
"$LINENO"; then :
12749 ac_cv_cflags__Wpointer_arith
=yes
12751 ac_cv_cflags__Wpointer_arith
=no
12753 rm -f core conftest.err conftest.
$ac_objext \
12754 conftest
$ac_exeext conftest.
$ac_ext
12755 CFLAGS
=$ac_wine_try_cflags_saved
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12758 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12759 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12760 saved_string_h_CFLAGS
=$CFLAGS
12761 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12763 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12764 if ${ac_cv_c_string_h_warnings+:} false
; then :
12765 $as_echo_n "(cached) " >&6
12767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12769 #include <string.h>
12778 if ac_fn_c_try_compile
"$LINENO"; then :
12779 ac_cv_c_string_h_warnings
=no
12781 ac_cv_c_string_h_warnings
=yes
12783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12786 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12787 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12788 CFLAGS
=$saved_string_h_CFLAGS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12792 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12793 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
12794 $as_echo_n "(cached) " >&6
12796 ac_wine_try_cflags_saved
=$CFLAGS
12797 CFLAGS
="$CFLAGS -Wlogical-op"
12798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12800 int main(int argc, char **argv) { return 0; }
12802 if ac_fn_c_try_link
"$LINENO"; then :
12803 ac_cv_cflags__Wlogical_op
=yes
12805 ac_cv_cflags__Wlogical_op
=no
12807 rm -f core conftest.err conftest.
$ac_objext \
12808 conftest
$ac_exeext conftest.
$ac_ext
12809 CFLAGS
=$ac_wine_try_cflags_saved
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12812 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12813 if test $ac_cv_cflags__Wlogical_op = yes; then :
12814 saved_string_h_CFLAGS
=$CFLAGS
12815 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12817 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12818 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12819 $as_echo_n "(cached) " >&6
12821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12823 #include <string.h>
12824 char*f(const char *h,char n) {return strchr(h,n);}
12833 if ac_fn_c_try_compile
"$LINENO"; then :
12834 ac_cv_c_logicalop_noisy
=no
12836 ac_cv_c_logicalop_noisy
=yes
12838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12841 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12842 CFLAGS
=$saved_string_h_CFLAGS
12843 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12846 CFLAGS
=$saved_CFLAGS
12848 for ac_flag
in $CFLAGS; do
12850 -g) case $host_os in
12851 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12852 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12853 if ${ac_cv_cflags__gstabsp+:} false
; then :
12854 $as_echo_n "(cached) " >&6
12856 ac_wine_try_cflags_saved
=$CFLAGS
12857 CFLAGS
="$CFLAGS -gstabs+"
12858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12860 int main(int argc, char **argv) { return 0; }
12862 if ac_fn_c_try_link
"$LINENO"; then :
12863 ac_cv_cflags__gstabsp
=yes
12865 ac_cv_cflags__gstabsp
=no
12867 rm -f core conftest.err conftest.
$ac_objext \
12868 conftest
$ac_exeext conftest.
$ac_ext
12869 CFLAGS
=$ac_wine_try_cflags_saved
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12872 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12873 if test $ac_cv_cflags__gstabsp = yes; then :
12874 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12876 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12877 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12878 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12879 $as_echo_n "(cached) " >&6
12881 ac_wine_try_cflags_saved
=$CFLAGS
12882 CFLAGS
="$CFLAGS -gdwarf-2"
12883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12885 int main(int argc, char **argv) { return 0; }
12887 if ac_fn_c_try_link
"$LINENO"; then :
12888 ac_cv_cflags__gdwarf_2
=yes
12890 ac_cv_cflags__gdwarf_2
=no
12892 rm -f core conftest.err conftest.
$ac_objext \
12893 conftest
$ac_exeext conftest.
$ac_ext
12894 CFLAGS
=$ac_wine_try_cflags_saved
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12897 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12898 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12899 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12902 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12903 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12904 $as_echo_n "(cached) " >&6
12906 ac_wine_try_cflags_saved
=$CFLAGS
12907 CFLAGS
="$CFLAGS -gstrict-dwarf"
12908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 int main(int argc, char **argv) { return 0; }
12912 if ac_fn_c_try_link
"$LINENO"; then :
12913 ac_cv_cflags__gstrict_dwarf
=yes
12915 ac_cv_cflags__gstrict_dwarf
=no
12917 rm -f core conftest.err conftest.
$ac_objext \
12918 conftest
$ac_exeext conftest.
$ac_ext
12919 CFLAGS
=$ac_wine_try_cflags_saved
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12922 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12923 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12924 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12931 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12932 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12933 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12934 $as_echo_n "(cached) " >&6
12936 ac_wine_try_cflags_saved
=$CFLAGS
12937 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12940 int main(int argc, char **argv) { return 0; }
12942 if ac_fn_c_try_link
"$LINENO"; then :
12943 ac_cv_cflags__fno_omit_frame_pointer
=yes
12945 ac_cv_cflags__fno_omit_frame_pointer
=no
12947 rm -f core conftest.err conftest.
$ac_objext \
12948 conftest
$ac_exeext conftest.
$ac_ext
12949 CFLAGS
=$ac_wine_try_cflags_saved
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12952 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12953 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12954 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12959 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12960 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12961 if ${ac_cv_cflags__Wno_format+:} false
; then :
12962 $as_echo_n "(cached) " >&6
12964 ac_wine_try_cflags_saved
=$CFLAGS
12965 CFLAGS
="$CFLAGS -Wno-format"
12966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12968 int main(int argc, char **argv) { return 0; }
12970 if ac_fn_c_try_link
"$LINENO"; then :
12971 ac_cv_cflags__Wno_format
=yes
12973 ac_cv_cflags__Wno_format
=no
12975 rm -f core conftest.err conftest.
$ac_objext \
12976 conftest
$ac_exeext conftest.
$ac_ext
12977 CFLAGS
=$ac_wine_try_cflags_saved
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12980 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12981 if test $ac_cv_cflags__Wno_format = yes; then :
12982 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12986 if test "x$enable_maintainer_mode" = "xyes"
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12989 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12990 if ${ac_cv_cflags__Werror+:} false
; then :
12991 $as_echo_n "(cached) " >&6
12993 ac_wine_try_cflags_saved
=$CFLAGS
12994 CFLAGS
="$CFLAGS -Werror"
12995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12997 int main(int argc, char **argv) { return 0; }
12999 if ac_fn_c_try_link
"$LINENO"; then :
13000 ac_cv_cflags__Werror
=yes
13002 ac_cv_cflags__Werror
=no
13004 rm -f core conftest.err conftest.
$ac_objext \
13005 conftest
$ac_exeext conftest.
$ac_ext
13006 CFLAGS
=$ac_wine_try_cflags_saved
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13009 $as_echo "$ac_cv_cflags__Werror" >&6; }
13010 if test $ac_cv_cflags__Werror = yes; then :
13011 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13015 saved_CFLAGS
="$CFLAGS"
13016 CFLAGS
="$CFLAGS -Werror"
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13018 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13019 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13020 $as_echo_n "(cached) " >&6
13022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13024 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13033 if ac_fn_c_try_compile
"$LINENO"; then :
13034 ac_cv_have_ms_hook_prologue
="yes"
13036 ac_cv_have_ms_hook_prologue
="no"
13038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13041 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13042 CFLAGS
="$saved_CFLAGS"
13043 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13046 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13049 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13056 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13057 if ${ac_cv_c_fortify_enabled+:} false
; then :
13058 $as_echo_n "(cached) " >&6
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13062 #include <string.h>
13066 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13067 #error Fortify enabled
13073 if ac_fn_c_try_compile
"$LINENO"; then :
13074 ac_cv_c_fortify_enabled
=no
13076 ac_cv_c_fortify_enabled
=yes
13078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13081 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13082 if test "$ac_cv_c_fortify_enabled" = yes
13084 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13089 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13090 if ${ac_cv_c_extern_prefix+:} false
; then :
13091 $as_echo_n "(cached) " >&6
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13095 extern int ac_test;
13099 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13104 if ac_fn_c_try_link
"$LINENO"; then :
13105 ac_cv_c_extern_prefix
="yes"
13107 ac_cv_c_extern_prefix
="no"
13109 rm -f core conftest.err conftest.
$ac_objext \
13110 conftest
$ac_exeext conftest.
$ac_ext
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13113 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13118 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13119 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13120 $as_echo_n "(cached) " >&6
13122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 #define __stdcall __attribute__((__stdcall__))
13127 int __stdcall ac_test(int i) { return i; }
13131 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13136 if ac_fn_c_try_link
"$LINENO"; then :
13137 ac_cv_c_stdcall_suffix
="yes"
13139 ac_cv_c_stdcall_suffix
="no"
13141 rm -f core conftest.err conftest.
$ac_objext \
13142 conftest
$ac_exeext conftest.
$ac_ext
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13145 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13146 *) ac_cv_c_stdcall_suffix
="no" ;;
13150 if test "$ac_cv_c_extern_prefix" = "yes"
13152 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13154 asm_name_prefix
="_"
13156 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13162 if test "$ac_cv_c_stdcall_suffix" = "yes"
13164 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13167 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13173 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13174 if ${ac_cv_asm_func_def+:} false
; then :
13175 $as_echo_n "(cached) " >&6
13177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13183 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13188 if ac_fn_c_try_link
"$LINENO"; then :
13189 ac_cv_asm_func_def
=".def"
13191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13197 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13202 if ac_fn_c_try_link
"$LINENO"; then :
13203 ac_cv_asm_func_def
=".type @function"
13205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13211 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13216 if ac_fn_c_try_link
"$LINENO"; then :
13217 ac_cv_asm_func_def
=".type 2"
13219 ac_cv_asm_func_def
="unknown"
13221 rm -f core conftest.err conftest.
$ac_objext \
13222 conftest
$ac_exeext conftest.
$ac_ext
13224 rm -f core conftest.err conftest.
$ac_objext \
13225 conftest
$ac_exeext conftest.
$ac_ext
13227 rm -f core conftest.err conftest.
$ac_objext \
13228 conftest
$ac_exeext conftest.
$ac_ext
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13231 $as_echo "$ac_cv_asm_func_def" >&6; }
13234 case "$ac_cv_asm_func_def" in
13236 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13238 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13240 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13242 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13244 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13246 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13248 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13250 asm_func_header
="" ;;
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13254 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13255 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13256 $as_echo_n "(cached) " >&6
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13260 asm(".text\n\t.long 0");
13269 if ac_fn_c_try_compile
"$LINENO"; then :
13270 ac_cv_c_asm_outside_funcs
="yes"
13272 ac_cv_c_asm_outside_funcs
="no"
13274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13277 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13280 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13281 if ${ac_cv_c_dot_previous+:} false
; then :
13282 $as_echo_n "(cached) " >&6
13284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13290 asm(".text\nac_test:\t.long 0\n\t.previous");
13295 if ac_fn_c_try_link
"$LINENO"; then :
13296 ac_cv_c_dot_previous
="yes"
13298 ac_cv_c_dot_previous
="no"
13300 rm -f core conftest.err conftest.
$ac_objext \
13301 conftest
$ac_exeext conftest.
$ac_ext
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13304 $as_echo "$ac_cv_c_dot_previous" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13307 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13308 if ${ac_cv_c_cfi_support+:} false
; then :
13309 $as_echo_n "(cached) " >&6
13311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13322 if ac_fn_c_try_compile
"$LINENO"; then :
13323 ac_cv_c_cfi_support
="yes"
13325 ac_cv_c_cfi_support
="no"
13327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13330 $as_echo "$ac_cv_c_cfi_support" >&6; }
13332 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13333 asm_func_trailer
=""
13334 if test "$ac_cv_c_dot_previous" = "yes"
13336 asm_func_trailer
="\\n\\t.previous"
13338 if test "$ac_cv_c_cfi_support" = "yes"
13340 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13341 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13343 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13345 UNWINDFLAGS
=-fasynchronous-unwind-tables
13348 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13352 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13355 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13357 cat >>confdefs.h
<<_ACEOF
13358 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13362 cat >>confdefs.h
<<_ACEOF
13363 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13368 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13371 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13381 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13386 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13392 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13397 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13399 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13406 ac_save_CFLAGS
="$CFLAGS"
13407 CFLAGS
="$CFLAGS $BUILTINFLAG"
13481 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13482 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13483 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13484 cat >>confdefs.h
<<_ACEOF
13485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13491 CFLAGS
="$ac_save_CFLAGS"
13493 if test "$ac_cv_func_dlopen" = no
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13496 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13497 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13498 $as_echo_n "(cached) " >&6
13500 ac_check_lib_save_LIBS
=$LIBS
13502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13520 if ac_fn_c_try_link
"$LINENO"; then :
13521 ac_cv_lib_dl_dlopen
=yes
13523 ac_cv_lib_dl_dlopen
=no
13525 rm -f core conftest.err conftest.
$ac_objext \
13526 conftest
$ac_exeext conftest.
$ac_ext
13527 LIBS
=$ac_check_lib_save_LIBS
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13530 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13531 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13532 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13538 ac_wine_check_funcs_save_LIBS
="$LIBS"
13539 LIBS
="$LIBS $LIBDL"
13540 for ac_func
in dladdr
13542 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13543 if test "x$ac_cv_func_dladdr" = xyes
; then :
13544 cat >>confdefs.h
<<_ACEOF
13545 #define HAVE_DLADDR 1
13551 LIBS
="$ac_wine_check_funcs_save_LIBS"
13553 if test "$ac_cv_func_poll" = no
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13556 $as_echo_n "checking for poll in -lpoll... " >&6; }
13557 if ${ac_cv_lib_poll_poll+:} false
; then :
13558 $as_echo_n "(cached) " >&6
13560 ac_check_lib_save_LIBS
=$LIBS
13561 LIBS
="-lpoll $LIBS"
13562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13565 /* Override any GCC internal prototype to avoid an error.
13566 Use char because int might match the return type of a GCC
13567 builtin and then its argument prototype would still apply. */
13580 if ac_fn_c_try_link
"$LINENO"; then :
13581 ac_cv_lib_poll_poll
=yes
13583 ac_cv_lib_poll_poll
=no
13585 rm -f core conftest.err conftest.
$ac_objext \
13586 conftest
$ac_exeext conftest.
$ac_ext
13587 LIBS
=$ac_check_lib_save_LIBS
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13590 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13591 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13592 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13600 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13601 if ${ac_cv_search_gethostbyname+:} false
; then :
13602 $as_echo_n "(cached) " >&6
13604 ac_func_search_save_LIBS
=$LIBS
13605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13614 char gethostbyname ();
13618 return gethostbyname ();
13623 for ac_lib
in '' nsl
; do
13624 if test -z "$ac_lib"; then
13625 ac_res
="none required"
13628 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13630 if ac_fn_c_try_link
"$LINENO"; then :
13631 ac_cv_search_gethostbyname
=$ac_res
13633 rm -f core conftest.err conftest.
$ac_objext \
13635 if ${ac_cv_search_gethostbyname+:} false
; then :
13639 if ${ac_cv_search_gethostbyname+:} false
; then :
13642 ac_cv_search_gethostbyname
=no
13644 rm conftest.
$ac_ext
13645 LIBS
=$ac_func_search_save_LIBS
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13648 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13649 ac_res
=$ac_cv_search_gethostbyname
13650 if test "$ac_res" != no
; then :
13651 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13657 $as_echo_n "checking for library containing connect... " >&6; }
13658 if ${ac_cv_search_connect+:} false
; then :
13659 $as_echo_n "(cached) " >&6
13661 ac_func_search_save_LIBS
=$LIBS
13662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13665 /* Override any GCC internal prototype to avoid an error.
13666 Use char because int might match the return type of a GCC
13667 builtin and then its argument prototype would still apply. */
13680 for ac_lib
in '' socket
; do
13681 if test -z "$ac_lib"; then
13682 ac_res
="none required"
13685 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13687 if ac_fn_c_try_link
"$LINENO"; then :
13688 ac_cv_search_connect
=$ac_res
13690 rm -f core conftest.err conftest.
$ac_objext \
13692 if ${ac_cv_search_connect+:} false
; then :
13696 if ${ac_cv_search_connect+:} false
; then :
13699 ac_cv_search_connect
=no
13701 rm conftest.
$ac_ext
13702 LIBS
=$ac_func_search_save_LIBS
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13705 $as_echo "$ac_cv_search_connect" >&6; }
13706 ac_res
=$ac_cv_search_connect
13707 if test "$ac_res" != no
; then :
13708 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13714 $as_echo_n "checking for library containing inet_aton... " >&6; }
13715 if ${ac_cv_search_inet_aton+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_func_search_save_LIBS
=$LIBS
13719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13732 return inet_aton ();
13737 for ac_lib
in '' resolv
; do
13738 if test -z "$ac_lib"; then
13739 ac_res
="none required"
13742 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13744 if ac_fn_c_try_link
"$LINENO"; then :
13745 ac_cv_search_inet_aton
=$ac_res
13747 rm -f core conftest.err conftest.
$ac_objext \
13749 if ${ac_cv_search_inet_aton+:} false
; then :
13753 if ${ac_cv_search_inet_aton+:} false
; then :
13756 ac_cv_search_inet_aton
=no
13758 rm conftest.
$ac_ext
13759 LIBS
=$ac_func_search_save_LIBS
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13762 $as_echo "$ac_cv_search_inet_aton" >&6; }
13763 ac_res
=$ac_cv_search_inet_aton
13764 if test "$ac_res" != no
; then :
13765 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13784 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13785 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13786 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13787 cat >>confdefs.h
<<_ACEOF
13788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13797 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13798 if ${ac_cv_search_clock_gettime+:} false
; then :
13799 $as_echo_n "(cached) " >&6
13801 ac_func_search_save_LIBS
=$LIBS
13802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13811 char clock_gettime ();
13815 return clock_gettime ();
13820 for ac_lib
in '' rt
; do
13821 if test -z "$ac_lib"; then
13822 ac_res
="none required"
13825 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13827 if ac_fn_c_try_link
"$LINENO"; then :
13828 ac_cv_search_clock_gettime
=$ac_res
13830 rm -f core conftest.err conftest.
$ac_objext \
13832 if ${ac_cv_search_clock_gettime+:} false
; then :
13836 if ${ac_cv_search_clock_gettime+:} false
; then :
13839 ac_cv_search_clock_gettime
=no
13841 rm conftest.
$ac_ext
13842 LIBS
=$ac_func_search_save_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13845 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13846 ac_res
=$ac_cv_search_clock_gettime
13847 if test "$ac_res" != no
; then :
13848 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13850 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13852 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13860 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13862 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13864 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13866 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13867 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13868 $as_echo_n "(cached) " >&6
13870 ac_check_lib_save_LIBS
=$LIBS
13871 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13875 /* Override any GCC internal prototype to avoid an error.
13876 Use char because int might match the return type of a GCC
13877 builtin and then its argument prototype would still apply. */
13881 char ldap_initialize ();
13885 return ldap_initialize ();
13890 if ac_fn_c_try_link
"$LINENO"; then :
13891 ac_cv_lib_ldap_r_ldap_initialize
=yes
13893 ac_cv_lib_ldap_r_ldap_initialize
=no
13895 rm -f core conftest.err conftest.
$ac_objext \
13896 conftest
$ac_exeext conftest.
$ac_ext
13897 LIBS
=$ac_check_lib_save_LIBS
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13900 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13901 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13903 $as_echo_n "checking for ber_init in -llber... " >&6; }
13904 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13905 $as_echo_n "(cached) " >&6
13907 ac_check_lib_save_LIBS
=$LIBS
13908 LIBS
="-llber $LIBPTHREAD $LIBS"
13909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13922 return ber_init ();
13927 if ac_fn_c_try_link
"$LINENO"; then :
13928 ac_cv_lib_lber_ber_init
=yes
13930 ac_cv_lib_lber_ber_init
=no
13932 rm -f core conftest.err conftest.
$ac_objext \
13933 conftest
$ac_exeext conftest.
$ac_ext
13934 LIBS
=$ac_check_lib_save_LIBS
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13937 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13938 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13940 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13942 LDAPLIBS
="-lldap_r -llber"
13949 ac_wine_check_funcs_save_LIBS
="$LIBS"
13950 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13952 ldap_count_references \
13953 ldap_first_reference \
13954 ldap_next_reference \
13955 ldap_parse_reference \
13956 ldap_parse_sort_control \
13957 ldap_parse_sortresponse_control \
13958 ldap_parse_vlv_control \
13959 ldap_parse_vlvresponse_control
13961 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13962 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13963 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13964 cat >>confdefs.h
<<_ACEOF
13965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13971 LIBS
="$ac_wine_check_funcs_save_LIBS"
13973 if test "x$LDAPLIBS" = "x"; then :
13974 case "x$with_ldap" in
13975 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13977 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13978 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13983 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13984 if ${wine_cv_one_arg_mkdir+:} false
; then :
13985 $as_echo_n "(cached) " >&6
13987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 #include <sys/stat.h>
13998 if ac_fn_c_try_compile
"$LINENO"; then :
13999 wine_cv_one_arg_mkdir
=yes
14001 wine_cv_one_arg_mkdir
=no
14003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14006 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14007 if test "$wine_cv_one_arg_mkdir" = "yes"
14010 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14015 $as_echo_n "checking for sched_setaffinity... " >&6; }
14016 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14017 $as_echo_n "(cached) " >&6
14019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 #define _GNU_SOURCE
14026 sched_setaffinity(0, 0, 0);
14031 if ac_fn_c_try_link
"$LINENO"; then :
14032 wine_cv_have_sched_setaffinity
=yes
14034 wine_cv_have_sched_setaffinity
=no
14036 rm -f core conftest.err conftest.
$ac_objext \
14037 conftest
$ac_exeext conftest.
$ac_ext
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14040 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14041 if test "$wine_cv_have_sched_setaffinity" = "yes"
14044 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14049 $as_echo_n "checking for fallocate... " >&6; }
14050 if ${wine_cv_have_fallocate+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14055 #define _GNU_SOURCE
14060 fallocate(-1, 0, 0, 0);
14065 if ac_fn_c_try_link
"$LINENO"; then :
14066 wine_cv_have_fallocate
=yes
14068 wine_cv_have_fallocate
=no
14070 rm -f core conftest.err conftest.
$ac_objext \
14071 conftest
$ac_exeext conftest.
$ac_ext
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14074 $as_echo "$wine_cv_have_fallocate" >&6; }
14075 if test "$wine_cv_have_fallocate" = "yes"
14078 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14084 $as_echo_n "checking for inline... " >&6; }
14085 if ${ac_cv_c_inline+:} false
; then :
14086 $as_echo_n "(cached) " >&6
14089 for ac_kw
in inline __inline__ __inline
; do
14090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 #ifndef __cplusplus
14094 static $ac_kw foo_t static_foo () {return 0; }
14095 $ac_kw foo_t foo () {return 0; }
14099 if ac_fn_c_try_compile
"$LINENO"; then :
14100 ac_cv_c_inline
=$ac_kw
14102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14103 test "$ac_cv_c_inline" != no
&& break
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14108 $as_echo "$ac_cv_c_inline" >&6; }
14110 case $ac_cv_c_inline in
14113 case $ac_cv_c_inline in
14115 *) ac_val
=$ac_cv_c_inline;;
14117 cat >>confdefs.h
<<_ACEOF
14118 #ifndef __cplusplus
14119 #define inline $ac_val
14125 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14126 if test "x$ac_cv_type_mode_t" = xyes
; then :
14128 cat >>confdefs.h
<<_ACEOF
14129 #define HAVE_MODE_T 1
14134 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14135 if test "x$ac_cv_type_off_t" = xyes
; then :
14137 cat >>confdefs.h
<<_ACEOF
14138 #define HAVE_OFF_T 1
14143 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14144 if test "x$ac_cv_type_pid_t" = xyes
; then :
14146 cat >>confdefs.h
<<_ACEOF
14147 #define HAVE_PID_T 1
14152 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14153 if test "x$ac_cv_type_size_t" = xyes
; then :
14155 cat >>confdefs.h
<<_ACEOF
14156 #define HAVE_SIZE_T 1
14161 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14162 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14164 cat >>confdefs.h
<<_ACEOF
14165 #define HAVE_SSIZE_T 1
14170 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14171 if test "x$ac_cv_type_long_long" = xyes
; then :
14173 cat >>confdefs.h
<<_ACEOF
14174 #define HAVE_LONG_LONG 1
14179 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14180 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14182 cat >>confdefs.h
<<_ACEOF
14183 #define HAVE_FSBLKCNT_T 1
14188 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14189 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14191 cat >>confdefs.h
<<_ACEOF
14192 #define HAVE_FSFILCNT_T 1
14198 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14199 #include <signal.h>
14201 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14203 cat >>confdefs.h
<<_ACEOF
14204 #define HAVE_SIGSET_T 1
14210 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14212 if test "x$ac_cv_type_request_sense" = xyes
; then :
14214 cat >>confdefs.h
<<_ACEOF
14215 #define HAVE_REQUEST_SENSE 1
14222 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14223 #ifdef HAVE_SYS_SOCKET_H
14224 #include <sys/socket.h>
14226 #ifdef HAVE_SYS_SOCKETVAR_H
14227 #include <sys/socketvar.h>
14229 #ifdef HAVE_NET_ROUTE_H
14230 #include <net/route.h>
14232 #ifdef HAVE_NETINET_IN_H
14233 #include <netinet/in.h>
14235 #ifdef HAVE_NETINET_IN_SYSTM_H
14236 #include <netinet/in_systm.h>
14238 #ifdef HAVE_NETINET_IP_H
14239 #include <netinet/ip.h>
14241 #ifdef HAVE_NETINET_IN_PCB_H
14242 #include <netinet/in_pcb.h>
14245 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14247 cat >>confdefs.h
<<_ACEOF
14248 #define HAVE_STRUCT_XINPGEN 1
14255 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14256 #include <linux/input.h>
14259 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14261 cat >>confdefs.h
<<_ACEOF
14262 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14270 $as_echo_n "checking for sigaddset... " >&6; }
14271 if ${wine_cv_have_sigaddset+:} false
; then :
14272 $as_echo_n "(cached) " >&6
14274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 #include <signal.h>
14280 sigset_t set; sigaddset(&set,SIGTERM);
14285 if ac_fn_c_try_link
"$LINENO"; then :
14286 wine_cv_have_sigaddset
=yes
14288 wine_cv_have_sigaddset
=no
14290 rm -f core conftest.err conftest.
$ac_objext \
14291 conftest
$ac_exeext conftest.
$ac_ext
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14294 $as_echo "$wine_cv_have_sigaddset" >&6; }
14295 if test "$wine_cv_have_sigaddset" = "yes"
14298 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14304 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14305 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14306 $as_echo_n "(cached) " >&6
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14317 struct hostent *result;
14324 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14325 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 wine_cv_linux_gethostbyname_r_6
=yes
14334 wine_cv_linux_gethostbyname_r_6
=no
14337 rm -f core conftest.err conftest.
$ac_objext \
14338 conftest
$ac_exeext conftest.
$ac_ext
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14342 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14343 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14346 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14350 if test "$ac_cv_header_linux_joystick_h" = "yes"
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14353 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14354 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14355 $as_echo_n "(cached) " >&6
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14360 #include <sys/ioctl.h>
14361 #include <sys/types.h>
14362 #include <linux/joystick.h>
14364 struct js_event blub;
14365 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14366 #error "no 2.2 header"
14377 if ac_fn_c_try_compile
"$LINENO"; then :
14378 wine_cv_linux_joystick_22_api
=yes
14380 wine_cv_linux_joystick_22_api
=no
14382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14386 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14387 if test "$wine_cv_linux_joystick_22_api" = "yes"
14390 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14396 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14397 #ifdef HAVE_SYS_PARAM_H
14398 # include <sys/param.h>
14400 #ifdef HAVE_SYS_MOUNT_H
14401 # include <sys/mount.h>
14403 #ifdef HAVE_SYS_VFS_H
14404 # include <sys/vfs.h>
14406 #ifdef HAVE_SYS_STATFS_H
14407 # include <sys/statfs.h>
14410 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14412 cat >>confdefs.h
<<_ACEOF
14413 #define HAVE_STRUCT_STATFS_F_BFREE 1
14418 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14419 #ifdef HAVE_SYS_PARAM_H
14420 # include <sys/param.h>
14422 #ifdef HAVE_SYS_MOUNT_H
14423 # include <sys/mount.h>
14425 #ifdef HAVE_SYS_VFS_H
14426 # include <sys/vfs.h>
14428 #ifdef HAVE_SYS_STATFS_H
14429 # include <sys/statfs.h>
14432 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14434 cat >>confdefs.h
<<_ACEOF
14435 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14440 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14441 #ifdef HAVE_SYS_PARAM_H
14442 # include <sys/param.h>
14444 #ifdef HAVE_SYS_MOUNT_H
14445 # include <sys/mount.h>
14447 #ifdef HAVE_SYS_VFS_H
14448 # include <sys/vfs.h>
14450 #ifdef HAVE_SYS_STATFS_H
14451 # include <sys/statfs.h>
14454 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14456 cat >>confdefs.h
<<_ACEOF
14457 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14462 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14463 #ifdef HAVE_SYS_PARAM_H
14464 # include <sys/param.h>
14466 #ifdef HAVE_SYS_MOUNT_H
14467 # include <sys/mount.h>
14469 #ifdef HAVE_SYS_VFS_H
14470 # include <sys/vfs.h>
14472 #ifdef HAVE_SYS_STATFS_H
14473 # include <sys/statfs.h>
14476 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14478 cat >>confdefs.h
<<_ACEOF
14479 #define HAVE_STRUCT_STATFS_F_FFREE 1
14484 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14485 #ifdef HAVE_SYS_PARAM_H
14486 # include <sys/param.h>
14488 #ifdef HAVE_SYS_MOUNT_H
14489 # include <sys/mount.h>
14491 #ifdef HAVE_SYS_VFS_H
14492 # include <sys/vfs.h>
14494 #ifdef HAVE_SYS_STATFS_H
14495 # include <sys/statfs.h>
14498 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14500 cat >>confdefs.h
<<_ACEOF
14501 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14506 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14507 #ifdef HAVE_SYS_PARAM_H
14508 # include <sys/param.h>
14510 #ifdef HAVE_SYS_MOUNT_H
14511 # include <sys/mount.h>
14513 #ifdef HAVE_SYS_VFS_H
14514 # include <sys/vfs.h>
14516 #ifdef HAVE_SYS_STATFS_H
14517 # include <sys/statfs.h>
14520 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14522 cat >>confdefs.h
<<_ACEOF
14523 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14530 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14531 #include <sys/statvfs.h>
14534 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14536 cat >>confdefs.h
<<_ACEOF
14537 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14544 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14545 #include <dirent.h>
14548 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14550 cat >>confdefs.h
<<_ACEOF
14551 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14558 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14559 #ifdef HAVE_SYS_SOCKET_H
14560 # include <sys/socket.h>
14562 #ifdef HAVE_SYS_UN_H
14563 # include <sys/un.h>
14566 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14568 cat >>confdefs.h
<<_ACEOF
14569 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14574 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14575 #ifdef HAVE_SYS_SOCKET_H
14576 # include <sys/socket.h>
14578 #ifdef HAVE_SYS_UN_H
14579 # include <sys/un.h>
14582 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14584 cat >>confdefs.h
<<_ACEOF
14585 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14590 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14591 #ifdef HAVE_SYS_SOCKET_H
14592 # include <sys/socket.h>
14594 #ifdef HAVE_SYS_UN_H
14595 # include <sys/un.h>
14598 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14600 cat >>confdefs.h
<<_ACEOF
14601 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14608 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14609 #ifdef HAVE_SCSI_SG_H
14610 #include <scsi/sg.h>
14613 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14615 cat >>confdefs.h
<<_ACEOF
14616 #define HAVE_SCSIREQ_T_CMD 1
14621 ac_fn_c_check_member
"$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
14622 #ifdef HAVE_SCSI_SG_H
14623 #include <scsi/sg.h>
14626 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14628 cat >>confdefs.h
<<_ACEOF
14629 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14636 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14638 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14640 cat >>confdefs.h
<<_ACEOF
14641 #define HAVE_SIGINFO_T_SI_FD 1
14648 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14649 #ifdef HAVE_SYS_MTIO_H
14650 #include <sys/mtio.h>
14653 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14655 cat >>confdefs.h
<<_ACEOF
14656 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14661 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14662 #ifdef HAVE_SYS_MTIO_H
14663 #include <sys/mtio.h>
14666 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14668 cat >>confdefs.h
<<_ACEOF
14669 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14674 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14675 #ifdef HAVE_SYS_MTIO_H
14676 #include <sys/mtio.h>
14679 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14681 cat >>confdefs.h
<<_ACEOF
14682 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14689 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14690 #include <getopt.h>
14693 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14695 cat >>confdefs.h
<<_ACEOF
14696 #define HAVE_STRUCT_OPTION_NAME 1
14703 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14704 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14706 cat >>confdefs.h
<<_ACEOF
14707 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14712 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14713 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14715 cat >>confdefs.h
<<_ACEOF
14716 #define HAVE_STRUCT_STAT_ST_MTIM 1
14721 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14722 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14724 cat >>confdefs.h
<<_ACEOF
14725 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14730 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14731 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14733 cat >>confdefs.h
<<_ACEOF
14734 #define HAVE_STRUCT_STAT_ST_CTIM 1
14739 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14740 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14742 cat >>confdefs.h
<<_ACEOF
14743 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14748 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14749 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14751 cat >>confdefs.h
<<_ACEOF
14752 #define HAVE_STRUCT_STAT_ST_ATIM 1
14757 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14758 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14760 cat >>confdefs.h
<<_ACEOF
14761 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14766 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14767 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14769 cat >>confdefs.h
<<_ACEOF
14770 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14775 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14776 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14778 cat >>confdefs.h
<<_ACEOF
14779 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14784 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14785 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14787 cat >>confdefs.h
<<_ACEOF
14788 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14793 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14794 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14796 cat >>confdefs.h
<<_ACEOF
14797 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14802 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14803 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14805 cat >>confdefs.h
<<_ACEOF
14806 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14813 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
14814 #include <sys/types.h>
14816 #ifdef HAVE_NETINET_IN_H
14817 #include <netinet/in.h>
14820 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14822 cat >>confdefs.h
<<_ACEOF
14823 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14830 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14831 #include <sys/types.h>
14833 #ifdef HAVE_NETINET_IN_H
14834 # include <netinet/in.h>
14836 #ifdef HAVE_ARPA_NAMESER_H
14837 # include <arpa/nameser.h>
14840 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14842 cat >>confdefs.h
<<_ACEOF
14843 #define HAVE_NS_MSG__MSG_PTR 1
14850 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14851 #include <sys/types.h>
14853 #ifdef HAVE_NETINET_IP_H
14854 #include <netinet/ip.h>
14856 #ifdef HAVE_NETINET_IP_ICMP_H
14857 #include <netinet/ip_icmp.h>
14859 #ifdef HAVE_NETINET_ICMP_VAR_H
14860 #include <netinet/icmp_var.h>
14863 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14865 cat >>confdefs.h
<<_ACEOF
14866 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14873 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14874 #include <sys/types.h>
14876 #ifdef HAVE_ALIAS_H
14879 #ifdef HAVE_SYS_SOCKET_H
14880 #include <sys/socket.h>
14882 #ifdef HAVE_SYS_SOCKETVAR_H
14883 #include <sys/socketvar.h>
14885 #ifdef HAVE_SYS_TIMEOUT_H
14886 #include <sys/timeout.h>
14888 #ifdef HAVE_NETINET_IN_H
14889 #include <netinet/in.h>
14891 #ifdef HAVE_NETINET_IN_SYSTM_H
14892 #include <netinet/in_systm.h>
14894 #ifdef HAVE_NETINET_IP_H
14895 #include <netinet/ip.h>
14897 #ifdef HAVE_NETINET_IP_VAR_H
14898 #include <netinet/ip_var.h>
14900 #ifdef HAVE_NETINET_IP_ICMP_H
14901 #include <netinet/ip_icmp.h>
14903 #ifdef HAVE_NETINET_ICMP_VAR_H
14904 #include <netinet/icmp_var.h>
14907 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14909 cat >>confdefs.h
<<_ACEOF
14910 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14917 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14918 #include <sys/types.h>
14920 #ifdef HAVE_SYS_SOCKETVAR_H
14921 #include <sys/socketvar.h>
14923 #ifdef HAVE_NETINET_IN_H
14924 #include <netinet/in.h>
14926 #ifdef HAVE_NETINET_IP_VAR_H
14927 #include <netinet/ip_var.h>
14930 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14932 cat >>confdefs.h
<<_ACEOF
14933 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14940 ac_fn_c_check_member
"$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14941 #include <netinet/ip_var.h>
14944 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14946 cat >>confdefs.h
<<_ACEOF
14947 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14954 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14955 #include <sys/types.h>
14957 #ifdef HAVE_SYS_SOCKETVAR_H
14958 #include <sys/socketvar.h>
14960 #ifdef HAVE_NETINET_IN_H
14961 #include <netinet/in.h>
14963 #ifdef HAVE_NETINET_TCP_H
14964 #include <netinet/tcp.h>
14966 #ifdef HAVE_NETINET_TCP_VAR_H
14967 #include <netinet/tcp_var.h>
14970 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14972 cat >>confdefs.h
<<_ACEOF
14973 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14980 ac_fn_c_check_member
"$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14981 #include <netinet/tcp_var.h>
14984 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14986 cat >>confdefs.h
<<_ACEOF
14987 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14994 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14995 #include <sys/types.h>
14997 #ifdef HAVE_NETINET_IN_H
14998 #include <netinet/in.h>
15000 #ifdef HAVE_NETINET_IP_VAR_H
15001 #include <netinet/ip_var.h>
15003 #ifdef HAVE_NETINET_UDP_H
15004 #include <netinet/udp.h>
15006 #ifdef HAVE_NETINET_UDP_VAR_H
15007 #include <netinet/udp_var.h>
15010 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15012 cat >>confdefs.h
<<_ACEOF
15013 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15020 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15021 #include <sys/types.h>
15023 #ifdef HAVE_NET_IF_H
15024 # include <net/if.h>
15027 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15029 cat >>confdefs.h
<<_ACEOF
15030 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15038 $as_echo_n "checking for timezone variable... " >&6; }
15039 if ${ac_cv_have_timezone+:} false
; then :
15040 $as_echo_n "(cached) " >&6
15042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15053 if ac_fn_c_try_link
"$LINENO"; then :
15054 ac_cv_have_timezone
="yes"
15056 ac_cv_have_timezone
="no"
15058 rm -f core conftest.err conftest.
$ac_objext \
15059 conftest
$ac_exeext conftest.
$ac_ext
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15062 $as_echo "$ac_cv_have_timezone" >&6; }
15063 if test "$ac_cv_have_timezone" = "yes"
15066 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15070 $as_echo_n "checking for daylight variable... " >&6; }
15071 if ${ac_cv_have_daylight+:} false
; then :
15072 $as_echo_n "(cached) " >&6
15074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15085 if ac_fn_c_try_link
"$LINENO"; then :
15086 ac_cv_have_daylight
="yes"
15088 ac_cv_have_daylight
="no"
15090 rm -f core conftest.err conftest.
$ac_objext \
15091 conftest
$ac_exeext conftest.
$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15094 $as_echo "$ac_cv_have_daylight" >&6; }
15095 if test "$ac_cv_have_daylight" = "yes"
15098 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15102 ac_save_LIBS
="$LIBS"
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15105 $as_echo_n "checking for isinf... " >&6; }
15106 if ${ac_cv_have_isinf+:} false
; then :
15107 $as_echo_n "(cached) " >&6
15109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15115 float f = 0.0; return isinf(f)
15120 if ac_fn_c_try_link
"$LINENO"; then :
15121 ac_cv_have_isinf
="yes"
15123 ac_cv_have_isinf
="no"
15125 rm -f core conftest.err conftest.
$ac_objext \
15126 conftest
$ac_exeext conftest.
$ac_ext
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15129 $as_echo "$ac_cv_have_isinf" >&6; }
15130 if test "$ac_cv_have_isinf" = "yes"
15133 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15138 $as_echo_n "checking for isnan... " >&6; }
15139 if ${ac_cv_have_isnan+:} false
; then :
15140 $as_echo_n "(cached) " >&6
15142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15148 float f = 0.0; return isnan(f)
15153 if ac_fn_c_try_link
"$LINENO"; then :
15154 ac_cv_have_isnan
="yes"
15156 ac_cv_have_isnan
="no"
15158 rm -f core conftest.err conftest.
$ac_objext \
15159 conftest
$ac_exeext conftest.
$ac_ext
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15162 $as_echo "$ac_cv_have_isnan" >&6; }
15163 if test "$ac_cv_have_isnan" = "yes"
15166 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15169 LIBS
="$ac_save_LIBS"
15173 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15174 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15175 if ${ac_cv_cpp_def___i386__+:} false
; then :
15176 $as_echo_n "(cached) " >&6
15178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15185 $EGREP "yes" >/dev
/null
2>&1; then :
15186 ac_cv_cpp_def___i386__
=yes
15188 ac_cv_cpp_def___i386__
=no
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15194 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15195 if test $ac_cv_cpp_def___i386__ = yes; then :
15196 CFLAGS
="$CFLAGS -D__i386__"
15197 LINTFLAGS
="$LINTFLAGS -D__i386__"
15199 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15200 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15201 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15202 $as_echo_n "(cached) " >&6
15204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15211 $EGREP "yes" >/dev
/null
2>&1; then :
15212 ac_cv_cpp_def___x86_64__
=yes
15214 ac_cv_cpp_def___x86_64__
=no
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15220 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15221 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15222 CFLAGS
="$CFLAGS -D__x86_64__"
15223 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15225 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15226 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15227 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15228 $as_echo_n "(cached) " >&6
15230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 #ifndef __sparc64__
15236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15237 $EGREP "yes" >/dev
/null
2>&1; then :
15238 ac_cv_cpp_def___sparc64__
=yes
15240 ac_cv_cpp_def___sparc64__
=no
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15246 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15247 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15248 CFLAGS
="$CFLAGS -D__sparc64__"
15249 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15251 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15252 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15253 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15254 $as_echo_n "(cached) " >&6
15256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15263 $EGREP "yes" >/dev
/null
2>&1; then :
15264 ac_cv_cpp_def___sparc__
=yes
15266 ac_cv_cpp_def___sparc__
=no
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15272 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15273 if test $ac_cv_cpp_def___sparc__ = yes; then :
15274 CFLAGS
="$CFLAGS -D__sparc__"
15275 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15277 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15278 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15279 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15280 $as_echo_n "(cached) " >&6
15282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #ifndef __powerpc64__
15288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15289 $EGREP "yes" >/dev
/null
2>&1; then :
15290 ac_cv_cpp_def___powerpc64__
=yes
15292 ac_cv_cpp_def___powerpc64__
=no
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15298 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15299 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15300 CFLAGS
="$CFLAGS -D__powerpc64__"
15301 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15303 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15304 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15305 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15306 $as_echo_n "(cached) " >&6
15308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #ifndef __powerpc__
15314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15315 $EGREP "yes" >/dev
/null
2>&1; then :
15316 ac_cv_cpp_def___powerpc__
=yes
15318 ac_cv_cpp_def___powerpc__
=no
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15324 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15325 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15326 CFLAGS
="$CFLAGS -D__powerpc__"
15327 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15329 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15330 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15331 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15332 $as_echo_n "(cached) " >&6
15334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 #ifndef __aarch64__
15340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15341 $EGREP "yes" >/dev
/null
2>&1; then :
15342 ac_cv_cpp_def___aarch64__
=yes
15344 ac_cv_cpp_def___aarch64__
=no
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15350 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15351 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15352 CFLAGS
="$CFLAGS -D__aarch64__"
15353 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15355 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15356 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15357 if ${ac_cv_cpp_def___arm__+:} false
; then :
15358 $as_echo_n "(cached) " >&6
15360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15367 $EGREP "yes" >/dev
/null
2>&1; then :
15368 ac_cv_cpp_def___arm__
=yes
15370 ac_cv_cpp_def___arm__
=no
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15376 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15377 if test $ac_cv_cpp_def___arm__ = yes; then :
15378 CFLAGS
="$CFLAGS -D__arm__"
15379 LINTFLAGS
="$LINTFLAGS -D__arm__"
15383 case $host_vendor in
15384 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15385 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15386 if ${ac_cv_cpp_def___sun__+:} false
; then :
15387 $as_echo_n "(cached) " >&6
15389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15396 $EGREP "yes" >/dev
/null
2>&1; then :
15397 ac_cv_cpp_def___sun__
=yes
15399 ac_cv_cpp_def___sun__
=no
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15405 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15406 if test $ac_cv_cpp_def___sun__ = yes; then :
15407 CFLAGS
="$CFLAGS -D__sun__"
15408 LINTFLAGS
="$LINTFLAGS -D__sun__"
15416 ac_config_commands
="$ac_config_commands include/stamp-h"
15419 ALL_MAKEFILE_DEPENDS
="
15420 # Rules automatically generated by configure
15425 Makefile: Makefile.in Make.vars.in Make.rules config.status
15426 @./config.status Make.tmp Makefile"
15429 ALL_TEST_RESOURCES
=""
15432 wine_fn_append_file
()
15434 as_fn_append
$1 " \\$as_nl $2"
15437 wine_fn_append_rule
()
15439 as_fn_append
$1 "$as_nl$2"
15442 wine_fn_has_flag
()
15444 expr ",$2," : ".*,$1,.*" >/dev
/null
15447 wine_fn_all_dir_rules
()
15451 ac_makedep
="\$(MAKEDEP)"
15452 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15453 if test $ac_dir != tools
15455 ac_alldeps
="$2 $ac_makedep"
15457 ac_alldeps
="$2 include/config.h"
15460 *.
in) ac_input
=$ac_input:$2 ;;
15461 *) ac_makedep
="$2 $ac_makedep" ;;
15464 wine_fn_append_file ALL_DIRS
$ac_dir
15465 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15466 "__clean__: $ac_dir/__clean__
15467 .PHONY: $ac_dir/__clean__
15468 $ac_dir/__clean__: $ac_dir/Makefile
15469 @cd $ac_dir && \$(MAKE) clean
15470 \$(RM) $ac_dir/Makefile
15471 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15472 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15473 depend: $ac_dir/__depend__
15474 .PHONY: $ac_dir/__depend__
15475 $ac_dir/__depend__: $ac_makedep dummy
15476 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15479 wine_fn_pot_rules
()
15484 test "x$with_gettextpo" = xyes ||
return
15486 if wine_fn_has_flag mc
$ac_flags
15488 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15489 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15490 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15491 @cd $ac_dir && \$(MAKE) msg.pot
15492 $ac_dir/msg.pot: tools/wmc include"
15494 if wine_fn_has_flag po
$ac_flags
15496 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15497 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15498 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15499 @cd $ac_dir && \$(MAKE) rsrc.pot
15500 $ac_dir/rsrc.pot: tools/wrc include"
15504 wine_fn_config_makefile
()
15510 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15514 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15515 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15518 $ac_dir: $ac_dir/Makefile dummy
15519 @cd $ac_dir && \$(MAKE)"
15521 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15523 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15524 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15525 $ac_dir/__install__:: $ac_dir
15526 @cd $ac_dir && \$(MAKE) install
15527 $ac_dir/__uninstall__:: $ac_dir/Makefile
15528 @cd $ac_dir && \$(MAKE) uninstall
15529 install:: $ac_dir/__install__
15530 __uninstall__: $ac_dir/__uninstall__"
15532 if wine_fn_has_flag install-lib
$ac_flags
15534 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15535 ".PHONY: $ac_dir/__install-lib__
15536 $ac_dir/__install-lib__:: $ac_dir
15537 @cd $ac_dir && \$(MAKE) install-lib
15538 install-lib:: $ac_dir/__install-lib__"
15541 if wine_fn_has_flag install-dev
$ac_flags
15543 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15544 ".PHONY: $ac_dir/__install-dev
15545 $ac_dir/__install-dev__:: $ac_dir
15546 @cd $ac_dir && \$(MAKE) install-dev
15547 install-dev:: $ac_dir/__install-dev__"
15551 wine_fn_config_lib
()
15555 ac_dir
=dlls
/$ac_name
15556 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15558 if wine_fn_has_flag install-dev
$ac_flags
15561 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15562 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15563 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15564 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15565 $ac_dir/__uninstall__::
15566 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15567 install install-dev:: $ac_dir/__install__
15568 __uninstall__: $ac_dir/__uninstall__"
15571 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15575 wine_fn_config_dll
()
15578 ac_dir
=dlls
/$ac_name
15581 ac_implib
=${4:-$ac_name}
15582 ac_file
=$ac_dir/lib
$ac_implib
15584 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15588 *16) ac_implibflags
=" -m16" ;;
15590 *) ac_dll
=$ac_dll.dll
;;
15593 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15595 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15596 test "$ac_enable" != enable_win16 ||
return 0
15597 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15599 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15600 "$ac_dir: __builddeps__
15601 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15602 @cd $ac_dir && \$(MAKE) \$@"
15604 if wine_fn_has_flag install-lib
$ac_flags
15607 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15608 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15609 install install-lib:: $ac_dir/__install-lib__
15610 __uninstall__: $ac_dir/__uninstall__"
15611 if test -n "$DLLEXT"
15613 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15614 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15616 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15617 $ac_dir/__uninstall__::
15618 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15620 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15621 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15622 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15623 $ac_dir/__uninstall__::
15624 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15628 wine_fn_pot_rules
$ac_dir $ac_flags
15631 if wine_fn_has_flag staticimplib
$ac_flags
15633 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15634 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15635 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15636 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15637 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15638 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15639 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15640 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15641 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15642 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15643 $ac_dir/__uninstall__::
15644 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15645 install install-dev:: $ac_dir/__install-dev__
15646 __uninstall__: $ac_dir/__uninstall__"
15648 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15650 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15651 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15652 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15653 $ac_dir/__uninstall__::
15654 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15657 if test "x$CROSSTEST_DISABLE" = x
15659 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15660 "__builddeps__: $ac_file.cross.a
15661 $ac_file.cross.a: $ac_dir/Makefile dummy
15662 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15665 elif wine_fn_has_flag implib
$ac_flags
15667 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15668 "__builddeps__: $ac_file.$IMPLIBEXT
15669 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15670 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15671 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15672 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15673 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15674 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15675 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15676 $ac_dir/__uninstall__::
15677 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15678 install install-dev:: $ac_dir/__install-dev__
15679 __uninstall__: $ac_dir/__uninstall__"
15680 if test "x$CROSSTEST_DISABLE" = x
15682 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15683 "__builddeps__: $ac_file.cross.a
15684 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15685 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15688 if test "$ac_name" != "$ac_implib"
15690 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15691 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15692 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15693 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15695 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15696 if test "x$CROSSTEST_DISABLE" = x
15698 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15699 "__builddeps__: dlls/lib$ac_implib.cross.a
15700 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15701 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15707 wine_fn_config_program
()
15710 ac_dir
=programs
/$ac_name
15713 ac_program
=$ac_name
15717 *) ac_program
=$ac_program.exe
;;
15720 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15722 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15725 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15726 "$ac_dir: __builddeps__"
15728 wine_fn_pot_rules
$ac_dir $ac_flags
15730 wine_fn_has_flag
install $ac_flags ||
return
15731 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15732 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15733 install install-lib:: $ac_dir/__install__
15734 __uninstall__: $ac_dir/__uninstall__"
15736 if test -n "$DLLEXT"
15738 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15739 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15740 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15741 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15742 $ac_dir/__uninstall__::
15743 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15745 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15747 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15748 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15749 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15750 $ac_dir/__uninstall__::
15751 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15754 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15755 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15756 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15757 $ac_dir/__uninstall__::
15758 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15761 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15763 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15764 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15765 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15766 $ac_dir/__uninstall__::
15767 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15772 wine_fn_config_test
()
15777 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15778 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15780 if test "x$enable_tests" = xno
; then :
15783 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15786 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15787 @cd $ac_dir && \$(MAKE)
15788 programs/winetest: $ac_dir
15789 check test: $ac_dir/__test__
15790 .PHONY: $ac_dir/__test__
15791 $ac_dir/__test__: dummy
15792 @cd $ac_dir && \$(MAKE) test
15794 \$(RM) $ac_dir/*.ok"
15796 if test "x$CROSSTEST_DISABLE" = x
15798 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15799 "crosstest: $ac_dir/__crosstest__
15800 .PHONY: $ac_dir/__crosstest__
15801 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15802 @cd $ac_dir && \$(MAKE) crosstest"
15807 wine_fn_config_tool
()
15811 if test "x$enable_tools" = xno
; then :
15815 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15817 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15818 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15820 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15824 wine_fn_config_makerules
()
15828 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15829 "$ac_rules: $ac_rules.in $ac_deps config.status
15830 @./config.status $ac_rules
15835 wine_fn_config_symlink
()
15838 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15840 @./config.status $ac_link
15845 if test "x$CROSSTEST_DISABLE" != x
15847 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15849 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15851 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15852 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15853 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15854 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15855 if test "x$enable_fonts" != xno
; then
15856 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15857 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15859 if test "x$enable_fonts" != xno
; then
15860 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15861 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15863 if test "x$enable_fonts" != xno
; then
15864 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15865 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15867 if test "x$enable_fonts" != xno
; then
15868 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15869 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15871 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15872 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15873 if test "x$enable_tools" != xno
; then
15874 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15875 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15877 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15878 wine_fn_config_symlink wine
15879 if test "x$enable_win64" != xno
; then
15880 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15881 wine_fn_config_symlink wine64
15884 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15886 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15888 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15890 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15892 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15894 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15896 ac_config_commands
="$ac_config_commands include/wine"
15899 wine_fn_config_makerules Make.rules
15900 MAKE_RULES
=Make.rules
15901 ac_config_files
="$ac_config_files Make.rules"
15903 wine_fn_config_makerules Maketest.rules Make.rules
15904 MAKE_TEST_RULES
=Maketest.rules
15905 ac_config_files
="$ac_config_files Maketest.rules"
15907 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15908 MAKE_DLL_RULES
=dlls
/Makedll.rules
15909 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15911 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15912 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15913 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15915 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15916 MAKE_PROG_RULES
=programs
/Makeprog.rules
15917 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15920 wine_fn_config_dll acledit enable_acledit
15921 wine_fn_config_dll aclui enable_aclui implib
15922 wine_fn_config_dll activeds enable_activeds implib
15923 wine_fn_config_dll actxprxy enable_actxprxy
15924 wine_fn_config_lib adsiid
15925 wine_fn_config_dll advapi32 enable_advapi32 implib
15926 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15927 wine_fn_config_dll advpack enable_advpack implib
15928 wine_fn_config_test dlls
/advpack
/tests advpack_test
15929 wine_fn_config_dll amstream enable_amstream
15930 wine_fn_config_test dlls
/amstream
/tests amstream_test
15931 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
15932 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
15933 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15934 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15935 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15936 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15937 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15938 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15939 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15940 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15941 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15942 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15943 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15944 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15945 wine_fn_config_dll apphelp enable_apphelp
15946 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15947 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15948 wine_fn_config_dll atl enable_atl implib
15949 wine_fn_config_test dlls
/atl
/tests atl_test
15950 wine_fn_config_dll atl100 enable_atl100 implib
15951 wine_fn_config_test dlls
/atl100
/tests atl100_test
15952 wine_fn_config_dll atl80 enable_atl80 implib
15953 wine_fn_config_test dlls
/atl80
/tests atl80_test
15954 wine_fn_config_dll authz enable_authz
15955 wine_fn_config_dll avicap32 enable_avicap32 implib
15956 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15957 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15958 wine_fn_config_dll avifile.dll16 enable_win16
15959 wine_fn_config_dll avrt enable_avrt implib
15960 wine_fn_config_dll bcrypt enable_bcrypt
15961 wine_fn_config_dll browseui enable_browseui po
15962 wine_fn_config_test dlls
/browseui
/tests browseui_test
15963 wine_fn_config_dll cabinet enable_cabinet implib
15964 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15965 wine_fn_config_dll capi2032 enable_capi2032 implib
15966 wine_fn_config_dll cards enable_cards implib
15967 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15968 wine_fn_config_dll clusapi enable_clusapi implib
15969 wine_fn_config_dll comcat enable_comcat
15970 wine_fn_config_test dlls
/comcat
/tests comcat_test
15971 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15972 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15973 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15974 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15975 wine_fn_config_dll
comm.drv16 enable_win16
15976 wine_fn_config_dll commdlg.dll16 enable_win16
15977 wine_fn_config_dll compobj.dll16 enable_win16
15978 wine_fn_config_dll compstui enable_compstui implib
15979 wine_fn_config_dll credui enable_credui implib
,po
15980 wine_fn_config_test dlls
/credui
/tests credui_test
15981 wine_fn_config_dll crtdll enable_crtdll implib
15982 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15983 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15984 wine_fn_config_dll cryptdlg enable_cryptdlg po
15985 wine_fn_config_dll cryptdll enable_cryptdll implib
15986 wine_fn_config_dll cryptnet enable_cryptnet implib
15987 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15988 wine_fn_config_dll cryptui enable_cryptui implib
,po
15989 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15990 wine_fn_config_dll ctapi32 enable_ctapi32
15991 wine_fn_config_dll ctl3d.dll16 enable_win16
15992 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15993 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15994 wine_fn_config_dll d3d10 enable_d3d10 implib
15995 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15996 wine_fn_config_dll d3d10core enable_d3d10core implib
15997 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15998 wine_fn_config_dll d3d11 enable_d3d11
15999 wine_fn_config_dll d3d8 enable_d3d8 implib
16000 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16001 wine_fn_config_dll d3d9 enable_d3d9 implib
16002 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16003 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16004 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16005 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16006 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16007 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16008 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16009 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16010 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16011 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16012 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16013 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16014 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16015 wine_fn_config_dll d3dim enable_d3dim implib
16016 wine_fn_config_dll d3drm enable_d3drm implib
16017 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16018 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16019 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16020 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16021 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16022 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16023 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16024 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16025 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16026 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16027 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16028 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16029 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16030 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16031 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16032 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16033 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16034 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16035 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16036 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16037 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16038 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16039 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16040 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16041 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16042 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16043 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16044 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16045 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16046 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16047 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16048 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16049 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16050 wine_fn_config_dll d3dxof enable_d3dxof implib
16051 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16052 wine_fn_config_dll dbgeng enable_dbgeng implib
16053 wine_fn_config_dll dbghelp enable_dbghelp implib
16054 wine_fn_config_dll dciman32 enable_dciman32 implib
16055 wine_fn_config_dll ddeml.dll16 enable_win16
16056 wine_fn_config_dll ddraw enable_ddraw implib
16057 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16058 wine_fn_config_dll ddrawex enable_ddrawex
16059 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16060 wine_fn_config_dll devenum enable_devenum po
16061 wine_fn_config_test dlls
/devenum
/tests devenum_test
16062 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16063 wine_fn_config_dll difxapi enable_difxapi
16064 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
16065 wine_fn_config_test dlls
/dinput
/tests dinput_test
16066 wine_fn_config_dll dinput8 enable_dinput8 implib
16067 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16068 wine_fn_config_dll dispdib.dll16 enable_win16
16069 wine_fn_config_dll dispex enable_dispex
16070 wine_fn_config_test dlls
/dispex
/tests dispex_test
16071 wine_fn_config_dll display.drv16 enable_win16
16072 wine_fn_config_dll dmband enable_dmband
16073 wine_fn_config_test dlls
/dmband
/tests dmband_test
16074 wine_fn_config_dll dmcompos enable_dmcompos
16075 wine_fn_config_dll dmime enable_dmime
16076 wine_fn_config_test dlls
/dmime
/tests dmime_test
16077 wine_fn_config_dll dmloader enable_dmloader
16078 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16079 wine_fn_config_dll dmscript enable_dmscript
16080 wine_fn_config_dll dmstyle enable_dmstyle
16081 wine_fn_config_dll dmsynth enable_dmsynth
16082 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16083 wine_fn_config_dll dmusic enable_dmusic
16084 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16085 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16086 wine_fn_config_dll dnsapi enable_dnsapi implib
16087 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16088 wine_fn_config_dll dplay enable_dplay implib
16089 wine_fn_config_dll dplayx enable_dplayx implib
16090 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16091 wine_fn_config_dll dpnaddr enable_dpnaddr
16092 wine_fn_config_dll dpnet enable_dpnet implib
16093 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16094 wine_fn_config_dll dpnhpast enable_dpnhpast
16095 wine_fn_config_dll dpnlobby enable_dpnlobby
16096 wine_fn_config_dll dpwsockx enable_dpwsockx
16097 wine_fn_config_dll drmclien enable_drmclien
16098 wine_fn_config_dll dsound enable_dsound implib
16099 wine_fn_config_test dlls
/dsound
/tests dsound_test
16100 wine_fn_config_dll dssenh enable_dssenh
16101 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16102 wine_fn_config_dll dswave enable_dswave
16103 wine_fn_config_dll dwmapi enable_dwmapi implib
16104 wine_fn_config_dll dwrite enable_dwrite implib
16105 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16106 wine_fn_config_dll dxdiagn enable_dxdiagn po
16107 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16108 wine_fn_config_lib dxerr8
16109 wine_fn_config_lib dxerr9
16110 wine_fn_config_dll dxgi enable_dxgi implib
16111 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16112 wine_fn_config_lib dxguid
16113 wine_fn_config_dll explorerframe enable_explorerframe
16114 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16115 wine_fn_config_dll faultrep enable_faultrep implib
16116 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16117 wine_fn_config_dll fltlib enable_fltlib
16118 wine_fn_config_dll fusion enable_fusion
16119 wine_fn_config_test dlls
/fusion
/tests fusion_test
16120 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16121 wine_fn_config_dll gameux enable_gameux
16122 wine_fn_config_test dlls
/gameux
/tests gameux_test
16123 wine_fn_config_dll gdi.exe16 enable_win16
16124 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16125 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16126 wine_fn_config_dll gdiplus enable_gdiplus implib
16127 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16128 wine_fn_config_dll glu32 enable_glu32 implib
16129 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16130 wine_fn_config_dll gpkcsp enable_gpkcsp
16131 wine_fn_config_dll hal enable_hal
16132 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
16133 wine_fn_config_dll hid enable_hid implib
16134 wine_fn_config_dll hlink enable_hlink implib
16135 wine_fn_config_test dlls
/hlink
/tests hlink_test
16136 wine_fn_config_dll hnetcfg enable_hnetcfg
16137 wine_fn_config_dll httpapi enable_httpapi
16138 wine_fn_config_dll iccvid enable_iccvid po
16139 wine_fn_config_dll icmp enable_icmp
16140 wine_fn_config_dll ieframe enable_ieframe implib
,po
16141 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16142 wine_fn_config_dll ifsmgr.vxd enable_win16
16143 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16144 wine_fn_config_dll imagehlp enable_imagehlp implib
16145 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16146 wine_fn_config_dll imm.dll16 enable_win16
16147 wine_fn_config_dll imm32 enable_imm32 implib
16148 wine_fn_config_test dlls
/imm32
/tests imm32_test
16149 wine_fn_config_dll inetcomm enable_inetcomm implib
16150 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16151 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16152 wine_fn_config_dll inetmib1 enable_inetmib1
16153 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16154 wine_fn_config_dll infosoft enable_infosoft
16155 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16156 wine_fn_config_dll initpki enable_initpki
16157 wine_fn_config_dll inkobj enable_inkobj
16158 wine_fn_config_dll inseng enable_inseng
16159 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16160 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16161 wine_fn_config_dll itircl enable_itircl
16162 wine_fn_config_dll itss enable_itss
16163 wine_fn_config_test dlls
/itss
/tests itss_test
16164 wine_fn_config_dll joy.cpl enable_joy_cpl po
16165 wine_fn_config_dll jscript enable_jscript po
16166 wine_fn_config_test dlls
/jscript
/tests jscript_test
16167 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16168 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16169 wine_fn_config_dll keyboard.drv16 enable_win16
16170 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16171 wine_fn_config_dll ktmw32 enable_ktmw32
16172 wine_fn_config_dll loadperf enable_loadperf implib
16173 wine_fn_config_dll localspl enable_localspl po
16174 wine_fn_config_test dlls
/localspl
/tests localspl_test
16175 wine_fn_config_dll localui enable_localui po
16176 wine_fn_config_test dlls
/localui
/tests localui_test
16177 wine_fn_config_dll lz32 enable_lz32 implib
16178 wine_fn_config_test dlls
/lz32
/tests lz32_test
16179 wine_fn_config_dll lzexpand.dll16 enable_win16
16180 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16181 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16182 wine_fn_config_dll mapistub enable_mapistub
16183 wine_fn_config_dll mciavi32 enable_mciavi32
16184 wine_fn_config_dll mcicda enable_mcicda
16185 wine_fn_config_dll mciqtz32 enable_mciqtz32
16186 wine_fn_config_dll mciseq enable_mciseq
16187 wine_fn_config_dll mciwave enable_mciwave
16188 wine_fn_config_dll mgmtapi enable_mgmtapi
16189 wine_fn_config_dll midimap enable_midimap
16190 wine_fn_config_dll mlang enable_mlang implib
16191 wine_fn_config_test dlls
/mlang
/tests mlang_test
16192 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16193 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16194 wine_fn_config_dll mmdevapi enable_mmdevapi
16195 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16196 wine_fn_config_dll mmdevldr.vxd enable_win16
16197 wine_fn_config_dll mmsystem.dll16 enable_win16
16198 wine_fn_config_dll monodebg.vxd enable_win16
16199 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16200 wine_fn_config_dll mouse.drv16 enable_win16
16201 wine_fn_config_dll mpr enable_mpr implib
,po
16202 wine_fn_config_test dlls
/mpr
/tests mpr_test
16203 wine_fn_config_dll mprapi enable_mprapi implib
16204 wine_fn_config_dll msacm.dll16 enable_win16
16205 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16206 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16207 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16208 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16209 wine_fn_config_dll mscat32 enable_mscat32
16210 wine_fn_config_dll mscms enable_mscms implib
16211 wine_fn_config_test dlls
/mscms
/tests mscms_test
16212 wine_fn_config_dll mscoree enable_mscoree
16213 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16214 wine_fn_config_dll msctf enable_msctf
16215 wine_fn_config_test dlls
/msctf
/tests msctf_test
16216 wine_fn_config_dll msdaps enable_msdaps
16217 wine_fn_config_dll msdmo enable_msdmo implib
16218 wine_fn_config_dll msftedit enable_msftedit
16219 wine_fn_config_dll msg711.acm enable_msg711_acm
16220 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16221 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16222 wine_fn_config_dll mshtml enable_mshtml implib
,po
16223 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16224 wine_fn_config_dll msi enable_msi implib
,po
16225 wine_fn_config_test dlls
/msi
/tests msi_test
16226 wine_fn_config_dll msident enable_msident
16227 wine_fn_config_dll msimg32 enable_msimg32 implib
16228 wine_fn_config_dll msimsg enable_msimsg
16229 wine_fn_config_dll msimtf enable_msimtf
16230 wine_fn_config_dll msisip enable_msisip
16231 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16232 wine_fn_config_dll msls31 enable_msls31
16233 wine_fn_config_dll msnet32 enable_msnet32
16234 wine_fn_config_dll mspatcha enable_mspatcha
16235 wine_fn_config_dll msrle32 enable_msrle32 po
16236 wine_fn_config_dll mssign32 enable_mssign32
16237 wine_fn_config_dll mssip32 enable_mssip32
16238 wine_fn_config_dll mstask enable_mstask
16239 wine_fn_config_test dlls
/mstask
/tests mstask_test
16240 wine_fn_config_dll msvcirt enable_msvcirt
16241 wine_fn_config_dll msvcm80 enable_msvcm80
16242 wine_fn_config_dll msvcm90 enable_msvcm90
16243 wine_fn_config_dll msvcp100 enable_msvcp100
16244 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16245 wine_fn_config_dll msvcp110 enable_msvcp110
16246 wine_fn_config_dll msvcp60 enable_msvcp60
16247 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16248 wine_fn_config_dll msvcp70 enable_msvcp70
16249 wine_fn_config_dll msvcp71 enable_msvcp71
16250 wine_fn_config_dll msvcp80 enable_msvcp80
16251 wine_fn_config_dll msvcp90 enable_msvcp90
16252 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16253 wine_fn_config_dll msvcr100 enable_msvcr100
16254 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16255 wine_fn_config_dll msvcr110 enable_msvcr110
16256 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16257 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16258 wine_fn_config_dll msvcr80 enable_msvcr80
16259 wine_fn_config_dll msvcr90 enable_msvcr90
16260 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16261 wine_fn_config_dll msvcrt enable_msvcrt implib
16262 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16263 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16264 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16265 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16266 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16267 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16268 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16269 wine_fn_config_dll msvidc32 enable_msvidc32 po
16270 wine_fn_config_dll msvideo.dll16 enable_win16
16271 wine_fn_config_dll mswsock enable_mswsock implib
16272 wine_fn_config_dll msxml enable_msxml
16273 wine_fn_config_dll msxml2 enable_msxml2
16274 wine_fn_config_dll msxml3 enable_msxml3
16275 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16276 wine_fn_config_dll msxml4 enable_msxml4
16277 wine_fn_config_dll msxml6 enable_msxml6
16278 wine_fn_config_dll nddeapi enable_nddeapi implib
16279 wine_fn_config_dll netapi32 enable_netapi32 implib
16280 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16281 wine_fn_config_dll newdev enable_newdev implib
16282 wine_fn_config_dll normaliz enable_normaliz implib
16283 wine_fn_config_dll npmshtml enable_npmshtml
16284 wine_fn_config_dll ntdll enable_ntdll implib
16285 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16286 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16287 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16288 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16289 wine_fn_config_dll ntprint enable_ntprint
16290 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16291 wine_fn_config_dll objsel enable_objsel
16292 wine_fn_config_dll odbc32 enable_odbc32 implib
16293 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16294 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16295 wine_fn_config_dll odbccu32 enable_odbccu32
16296 wine_fn_config_dll ole2.dll16 enable_win16
16297 wine_fn_config_dll ole2conv.dll16 enable_win16
16298 wine_fn_config_dll ole2disp.dll16 enable_win16
16299 wine_fn_config_dll ole2nls.dll16 enable_win16
16300 wine_fn_config_dll ole2prox.dll16 enable_win16
16301 wine_fn_config_dll ole2thk.dll16 enable_win16
16302 wine_fn_config_dll ole32 enable_ole32 implib
16303 wine_fn_config_test dlls
/ole32
/tests ole32_test
16304 wine_fn_config_dll oleacc enable_oleacc implib
,po
16305 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16306 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16307 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16308 wine_fn_config_dll olecli.dll16 enable_win16
16309 wine_fn_config_dll olecli32 enable_olecli32 implib
16310 wine_fn_config_dll oledb32 enable_oledb32
16311 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16312 wine_fn_config_dll oledlg enable_oledlg implib
,po
16313 wine_fn_config_dll olepro32 enable_olepro32 implib
16314 wine_fn_config_dll olesvr.dll16 enable_win16
16315 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16316 wine_fn_config_dll olethk32 enable_olethk32
16317 wine_fn_config_dll openal32 enable_openal32
16318 wine_fn_config_dll opencl enable_opencl
16319 wine_fn_config_dll opengl32 enable_opengl32 implib
16320 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16321 wine_fn_config_dll pdh enable_pdh implib
16322 wine_fn_config_test dlls
/pdh
/tests pdh_test
16323 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16324 wine_fn_config_dll pidgen enable_pidgen
16325 wine_fn_config_dll powrprof enable_powrprof implib
16326 wine_fn_config_dll printui enable_printui
16327 wine_fn_config_dll propsys enable_propsys implib
16328 wine_fn_config_test dlls
/propsys
/tests propsys_test
16329 wine_fn_config_dll psapi enable_psapi implib
16330 wine_fn_config_test dlls
/psapi
/tests psapi_test
16331 wine_fn_config_dll pstorec enable_pstorec
16332 wine_fn_config_dll qcap enable_qcap
16333 wine_fn_config_test dlls
/qcap
/tests qcap_test
16334 wine_fn_config_dll qedit enable_qedit
16335 wine_fn_config_test dlls
/qedit
/tests qedit_test
16336 wine_fn_config_dll qmgr enable_qmgr
16337 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16338 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16339 wine_fn_config_dll quartz enable_quartz implib
16340 wine_fn_config_test dlls
/quartz
/tests quartz_test
16341 wine_fn_config_dll query enable_query
16342 wine_fn_config_dll rasapi16.dll16 enable_win16
16343 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16344 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16345 wine_fn_config_dll rasdlg enable_rasdlg implib
16346 wine_fn_config_dll regapi enable_regapi
16347 wine_fn_config_dll resutils enable_resutils implib
16348 wine_fn_config_dll riched20 enable_riched20 implib
16349 wine_fn_config_test dlls
/riched20
/tests riched20_test
16350 wine_fn_config_dll riched32 enable_riched32
16351 wine_fn_config_test dlls
/riched32
/tests riched32_test
16352 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16353 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16354 wine_fn_config_dll rsabase enable_rsabase
16355 wine_fn_config_dll rsaenh enable_rsaenh implib
16356 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16357 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16358 wine_fn_config_dll rtutils enable_rtutils implib
16359 wine_fn_config_dll samlib enable_samlib
16360 wine_fn_config_dll sane.ds enable_sane_ds po
16361 wine_fn_config_dll scarddlg enable_scarddlg
16362 wine_fn_config_dll sccbase enable_sccbase
16363 wine_fn_config_dll schannel enable_schannel
16364 wine_fn_config_test dlls
/schannel
/tests schannel_test
16365 wine_fn_config_dll scrrun enable_scrrun
16366 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16367 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16368 wine_fn_config_dll secur32 enable_secur32 implib
16369 wine_fn_config_test dlls
/secur32
/tests secur32_test
16370 wine_fn_config_dll security enable_security
16371 wine_fn_config_dll sensapi enable_sensapi implib
16372 wine_fn_config_dll serialui enable_serialui implib
,po
16373 wine_fn_config_test dlls
/serialui
/tests serialui_test
16374 wine_fn_config_dll setupapi enable_setupapi implib
,po
16375 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16376 wine_fn_config_dll setupx.dll16 enable_win16
16377 wine_fn_config_dll sfc enable_sfc implib
16378 wine_fn_config_dll sfc_os enable_sfc_os implib
16379 wine_fn_config_dll shdoclc enable_shdoclc po
16380 wine_fn_config_dll shdocvw enable_shdocvw implib
16381 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16382 wine_fn_config_dll shell.dll16 enable_win16
16383 wine_fn_config_dll shell32 enable_shell32 implib
,po
16384 wine_fn_config_test dlls
/shell32
/tests shell32_test
16385 wine_fn_config_dll shfolder enable_shfolder implib
16386 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16387 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16388 wine_fn_config_dll slbcsp enable_slbcsp
16389 wine_fn_config_dll slc enable_slc implib
16390 wine_fn_config_dll snmpapi enable_snmpapi implib
16391 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16392 wine_fn_config_dll softpub enable_softpub
16393 wine_fn_config_dll sound.drv16 enable_win16
16394 wine_fn_config_dll spoolss enable_spoolss implib
16395 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16396 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16397 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16398 wine_fn_config_dll sti enable_sti implib
16399 wine_fn_config_test dlls
/sti
/tests sti_test
16400 wine_fn_config_dll storage.dll16 enable_win16
16401 wine_fn_config_dll stress.dll16 enable_win16
16402 wine_fn_config_lib strmbase
16403 wine_fn_config_lib strmiids
16404 wine_fn_config_dll svrapi enable_svrapi
16405 wine_fn_config_dll sxs enable_sxs implib
16406 wine_fn_config_test dlls
/sxs
/tests sxs_test
16407 wine_fn_config_dll system.drv16 enable_win16
16408 wine_fn_config_dll t2embed enable_t2embed
16409 wine_fn_config_dll tapi32 enable_tapi32 implib
16410 wine_fn_config_dll toolhelp.dll16 enable_win16
16411 wine_fn_config_dll traffic enable_traffic
16412 wine_fn_config_dll twain.dll16 enable_win16
16413 wine_fn_config_dll twain_32 enable_twain_32
16414 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16415 wine_fn_config_dll typelib.dll16 enable_win16
16416 wine_fn_config_dll unicows enable_unicows implib
16417 wine_fn_config_dll updspapi enable_updspapi
16418 wine_fn_config_dll url enable_url implib
16419 wine_fn_config_dll urlmon enable_urlmon implib
,po
16420 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16421 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16422 wine_fn_config_dll user.exe16 enable_win16
16423 wine_fn_config_dll user32 enable_user32 implib
,po
16424 wine_fn_config_test dlls
/user32
/tests user32_test
16425 wine_fn_config_dll userenv enable_userenv implib
16426 wine_fn_config_test dlls
/userenv
/tests userenv_test
16427 wine_fn_config_dll usp10 enable_usp10 implib
16428 wine_fn_config_test dlls
/usp10
/tests usp10_test
16429 wine_fn_config_lib uuid
16430 wine_fn_config_dll uxtheme enable_uxtheme implib
16431 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16432 wine_fn_config_dll vbscript enable_vbscript
16433 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16434 wine_fn_config_dll vcomp enable_vcomp
16435 wine_fn_config_dll vcomp100 enable_vcomp100
16436 wine_fn_config_dll vcomp90 enable_vcomp90
16437 wine_fn_config_dll vdhcp.vxd enable_win16
16438 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16439 wine_fn_config_dll ver.dll16 enable_win16
16440 wine_fn_config_dll version enable_version implib
16441 wine_fn_config_test dlls
/version
/tests version_test
16442 wine_fn_config_dll vmm.vxd enable_win16
16443 wine_fn_config_dll vnbt.vxd enable_win16
16444 wine_fn_config_dll vnetbios.vxd enable_win16
16445 wine_fn_config_dll vtdapi.vxd enable_win16
16446 wine_fn_config_dll vwin32.vxd enable_win16
16447 wine_fn_config_dll w32skrnl enable_win16
16448 wine_fn_config_dll w32sys.dll16 enable_win16
16449 wine_fn_config_dll wbemprox enable_wbemprox
16450 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16451 wine_fn_config_dll webservices enable_webservices implib
16452 wine_fn_config_dll wer enable_wer implib
16453 wine_fn_config_test dlls
/wer
/tests wer_test
16454 wine_fn_config_dll wevtapi enable_wevtapi
16455 wine_fn_config_dll wiaservc enable_wiaservc
16456 wine_fn_config_dll win32s16.dll16 enable_win16
16457 wine_fn_config_dll win87em.dll16 enable_win16
16458 wine_fn_config_dll winaspi.dll16 enable_win16
16459 wine_fn_config_dll windebug.dll16 enable_win16
16460 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16461 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16462 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16463 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16464 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16465 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16466 wine_fn_config_lib winecrt0
16467 wine_fn_config_dll wined3d enable_wined3d implib
16468 wine_fn_config_dll winegstreamer enable_winegstreamer
16469 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16470 wine_fn_config_dll winemac.drv enable_winemac_drv
16471 wine_fn_config_dll winemapi enable_winemapi
16472 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16473 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16474 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16475 wine_fn_config_dll wineps16.drv16 enable_win16
16476 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16477 wine_fn_config_dll winex11.drv enable_winex11_drv
16478 wine_fn_config_dll wing.dll16 enable_win16
16479 wine_fn_config_dll wing32 enable_wing32
16480 wine_fn_config_dll winhttp enable_winhttp implib
16481 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16482 wine_fn_config_dll wininet enable_wininet implib
,po
16483 wine_fn_config_test dlls
/wininet
/tests wininet_test
16484 wine_fn_config_dll winmm enable_winmm implib
,po
16485 wine_fn_config_test dlls
/winmm
/tests winmm_test
16486 wine_fn_config_dll winnls.dll16 enable_win16
16487 wine_fn_config_dll winnls32 enable_winnls32 implib
16488 wine_fn_config_dll winscard enable_winscard implib
16489 wine_fn_config_dll winsock.dll16 enable_win16
16490 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16491 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16492 wine_fn_config_dll winsta enable_winsta
16493 wine_fn_config_dll wintab.dll16 enable_win16
16494 wine_fn_config_dll wintab32 enable_wintab32 implib
16495 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16496 wine_fn_config_dll wintrust enable_wintrust implib
16497 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16498 wine_fn_config_dll wlanapi enable_wlanapi
16499 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16500 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16501 wine_fn_config_dll wmi enable_wmi
16502 wine_fn_config_dll wmiutils enable_wmiutils
16503 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16504 wine_fn_config_dll wmvcore enable_wmvcore
16505 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16506 wine_fn_config_dll wow32 enable_win16 implib
16507 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16508 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16509 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16510 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16511 wine_fn_config_dll wsnmp32 enable_wsnmp32
16512 wine_fn_config_dll wsock32 enable_wsock32 implib
16513 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16514 wine_fn_config_dll wuapi enable_wuapi
16515 wine_fn_config_dll wuaueng enable_wuaueng
16516 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16517 wine_fn_config_dll xinput1_1 enable_xinput1_1
16518 wine_fn_config_dll xinput1_2 enable_xinput1_2
16519 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16520 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16521 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16522 wine_fn_config_dll xmllite enable_xmllite
16523 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16524 wine_fn_config_dll xolehlp enable_xolehlp
16525 wine_fn_config_dll xpsprint enable_xpsprint
16526 wine_fn_config_dll xpssvcs enable_xpssvcs
16527 wine_fn_config_makefile documentation enable_documentation
16528 wine_fn_config_makefile fonts enable_fonts install-lib
16529 wine_fn_config_makefile include enable_include install-dev
16530 wine_fn_config_makefile libs
/port enable_libs_port
16531 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16532 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16533 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16534 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16535 wine_fn_config_program attrib enable_attrib
install,po
16536 wine_fn_config_program cabarc enable_cabarc
install
16537 wine_fn_config_program cacls enable_cacls
install
16538 wine_fn_config_program
clock enable_clock
install,po
16539 wine_fn_config_program cmd enable_cmd
install,po
16540 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16541 wine_fn_config_program conhost enable_conhost
install
16542 wine_fn_config_program control enable_control
install
16543 wine_fn_config_program cscript enable_cscript
install
16544 wine_fn_config_program dxdiag enable_dxdiag
install,po
16545 wine_fn_config_program eject enable_eject
install
16546 wine_fn_config_program
expand enable_expand
install
16547 wine_fn_config_program explorer enable_explorer
install,po
16548 wine_fn_config_program extrac32 enable_extrac32
install
16549 wine_fn_config_program findstr enable_findstr
install
16550 wine_fn_config_program hh enable_hh
install
16551 wine_fn_config_program hostname enable_hostname
install,po
16552 wine_fn_config_program icinfo enable_icinfo
install
16553 wine_fn_config_program iexplore enable_iexplore
install
16554 wine_fn_config_program ipconfig enable_ipconfig
install,po
16555 wine_fn_config_program lodctr enable_lodctr
install
16556 wine_fn_config_program mofcomp enable_mofcomp
install
16557 wine_fn_config_program mshta enable_mshta
install
16558 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16559 wine_fn_config_program net enable_net
install,po
16560 wine_fn_config_program netsh enable_netsh
install
16561 wine_fn_config_program netstat enable_netstat
install,po
16562 wine_fn_config_program ngen enable_ngen
install
16563 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16564 wine_fn_config_program oleview enable_oleview
install,po
16565 wine_fn_config_program
ping enable_ping
install
16566 wine_fn_config_program plugplay enable_plugplay
install
16567 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16568 wine_fn_config_program progman enable_progman
install,po
16569 wine_fn_config_program reg enable_reg
install,po
16570 wine_fn_config_program regasm enable_regasm
install
16571 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16572 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16573 wine_fn_config_program regsvcs enable_regsvcs
install
16574 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16575 wine_fn_config_program rpcss enable_rpcss
install
16576 wine_fn_config_program rundll.exe16 enable_win16
install
16577 wine_fn_config_program rundll32 enable_rundll32
install
16578 wine_fn_config_program sc enable_sc
install
16579 wine_fn_config_program schtasks enable_schtasks
install
16580 wine_fn_config_program secedit enable_secedit
install
16581 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16582 wine_fn_config_program services enable_services
install
16583 wine_fn_config_test programs
/services
/tests services.exe_test
16584 wine_fn_config_program spoolsv enable_spoolsv
install
16585 wine_fn_config_program start enable_start
install,po
16586 wine_fn_config_program svchost enable_svchost
install
16587 wine_fn_config_program taskkill enable_taskkill
install,po
16588 wine_fn_config_program taskmgr enable_taskmgr
install,po
16589 wine_fn_config_program termsv enable_termsv
install
16590 wine_fn_config_program uninstaller enable_uninstaller
install,po
16591 wine_fn_config_program unlodctr enable_unlodctr
install
16592 wine_fn_config_program view enable_view
install,po
16593 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16594 wine_fn_config_program winebrowser enable_winebrowser
install
16595 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16596 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16597 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16598 wine_fn_config_program winedevice enable_winedevice
install
16599 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16600 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16601 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16602 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16603 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16604 wine_fn_config_program winetest enable_winetest
16605 wine_fn_config_program winevdm enable_win16
install
16606 wine_fn_config_program winhelp.exe16 enable_win16
install
16607 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16608 wine_fn_config_program winoldap.mod16 enable_win16
install
16609 wine_fn_config_program winver enable_winver
install
16610 wine_fn_config_program wmic enable_wmic
install,po
16611 wine_fn_config_program wordpad enable_wordpad
install,po
16612 wine_fn_config_program
write enable_write
install,po
16613 wine_fn_config_program wscript enable_wscript
install
16614 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16615 wine_fn_config_program wusa enable_wusa
install
16616 wine_fn_config_program xcopy enable_xcopy
install,po
16617 wine_fn_config_makefile server enable_server install-lib
,manpage
16618 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16619 wine_fn_config_tool tools
/widl install-dev
,manpage
16620 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16621 wine_fn_config_tool tools
/winedump install-dev
,manpage
16622 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16623 wine_fn_config_tool tools
/wmc install-dev
,manpage
16624 wine_fn_config_tool tools
/wrc install-dev
,manpage
16675 ac_config_commands
="$ac_config_commands Makefile"
16678 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16682 if test "x$enable_maintainer_mode" = xyes
16684 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16685 cd \$(srcdir) && autoconf --warnings=all
16686 \$(srcdir)/include/config.h.in: include/stamp-h.in
16687 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16688 cd \$(srcdir) && autoheader --warnings=all
16689 @echo timestamp > \$@"
16692 if test "x$with_gettextpo" = xyes
16694 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16695 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16696 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16697 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16698 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16699 msgcat -o \$@ \$(ALL_POT_FILES)"
16702 if test "$MSGFMT" != false
16704 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16706 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16711 if test "x$enable_tools" != xno
16713 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16715 \$(RM) tools/makedep\$(EXEEXT)"
16718 if test -n "$with_wine64"
16720 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16721 fonts server tools:
16722 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16723 $with_wine64/loader/wine:
16724 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16725 $with_wine64/loader/wine-preloader:
16726 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16728 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16731 cat >confcache
<<\_ACEOF
16732 # This file is a shell script that caches the results of configure
16733 # tests run on this system so they can be shared between configure
16734 # scripts and configure runs, see configure's option --config-cache.
16735 # It is not useful on other systems. If it contains results you don't
16736 # want to keep, you may remove or edit it.
16738 # config.status only pays attention to the cache file if you give it
16739 # the --recheck option to rerun configure.
16741 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16742 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16743 # following values.
16747 # The following way of writing the cache mishandles newlines in values,
16748 # but we know of no workaround that is simple, portable, and efficient.
16749 # So, we kill variables containing newlines.
16750 # Ultrix sh set writes to stderr and can't be redirected directly,
16751 # and sets the high bit in the cache file unless we assign to the vars.
16753 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16754 eval ac_val
=\$
$ac_var
16758 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16762 _ | IFS | as_nl
) ;; #(
16763 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16764 *) { eval $ac_var=; unset $ac_var;} ;;
16770 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16771 *${as_nl}ac_space
=\
*)
16772 # `set' does not quote correctly, so add quotes: double-quote
16773 # substitution turns \\\\ into \\, and sed turns \\ into \.
16776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16779 # `set' quotes correctly as required by POSIX, so do not add quotes.
16780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16791 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16793 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16794 if test -w "$cache_file"; then
16795 if test "x$cache_file" != "x/dev/null"; then
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16797 $as_echo "$as_me: updating cache $cache_file" >&6;}
16798 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16799 cat confcache
>"$cache_file"
16801 case $cache_file in #(
16803 mv -f confcache
"$cache_file"$$
&&
16804 mv -f "$cache_file"$$
"$cache_file" ;; #(
16806 mv -f confcache
"$cache_file" ;;
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16812 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16817 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16818 # Let make expand exec_prefix.
16819 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16821 DEFS
=-DHAVE_CONFIG_H
16826 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16827 # 1. Remove the extension, and $U if already installed.
16828 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16829 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16830 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16831 # will be set to the directory where LIBOBJS objects are built.
16832 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16833 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16835 LIBOBJS
=$ac_libobjs
16837 LTLIBOBJS
=$ac_ltlibobjs
16841 : "${CONFIG_STATUS=./config.status}"
16843 ac_clean_files_save
=$ac_clean_files
16844 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16846 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16848 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16850 # Generated by $as_me.
16851 # Run this file to recreate the current configuration.
16852 # Compiler output produced by configure, useful for debugging
16853 # configure, is in config.log if it exists.
16856 ac_cs_recheck=false
16859 SHELL=\${CONFIG_SHELL-$SHELL}
16862 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16863 ## -------------------- ##
16864 ## M4sh Initialization. ##
16865 ## -------------------- ##
16867 # Be more Bourne compatible
16868 DUALCASE
=1; export DUALCASE
# for MKS sh
16869 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16872 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16873 # is contrary to our usage. Disable this feature.
16874 alias -g '${1+"$@"}'='"$@"'
16875 setopt NO_GLOB_SUBST
16877 case `(set -o) 2>/dev/null` in #(
16889 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16890 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16893 # Prefer a ksh shell builtin over an external printf program on Solaris,
16894 # but without wasting forks for bash or zsh.
16895 if test -z "$BASH_VERSION$ZSH_VERSION" \
16896 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16897 as_echo='print
-r --'
16898 as_echo_n='print
-rn --'
16899 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16900 as_echo='printf %s
\n'
16901 as_echo_n='printf %s
'
16903 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16904 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16905 as_echo_n='/usr
/ucb
/echo -n'
16907 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16908 as_echo_n_body='eval
16912 expr "X$arg" : "X\\(.*\\)$as_nl";
16913 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16915 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16917 export as_echo_n_body
16918 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16920 export as_echo_body
16921 as_echo='sh
-c $as_echo_body as_echo
'
16924 # The user is always right.
16925 if test "${PATH_SEPARATOR+set}" != set; then
16927 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16928 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16935 # We need space, tab and new line, in precisely that order. Quoting is
16936 # there to prevent editors from complaining about space-tab.
16937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16938 # splitting by setting IFS to empty value.)
16941 # Find who we are. Look in the path if we contain no directory separator.
16944 *[\\/]* ) as_myself=$0 ;;
16945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16946 for as_dir in $PATH
16949 test -z "$as_dir" && as_dir=.
16950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16956 # We did not find ourselves, most probably we were run as `sh COMMAND'
16957 # in which case we are not to be found in the path.
16958 if test "x$as_myself" = x
; then
16961 if test ! -f "$as_myself"; then
16962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16966 # Unset variables that we do not need and which cause bugs (e.g. in
16967 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16968 # suppresses any "Segmentation fault" message there. '((' could
16969 # trigger a bug in pdksh 5.2.14.
16970 for as_var
in BASH_ENV ENV MAIL MAILPATH
16971 do eval test x\
${$as_var+set} = xset \
16972 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16985 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16988 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16989 # ----------------------------------------
16990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16992 # script with STATUS, using 1 if that was 0.
16995 as_status
=$1; test $as_status -eq 0 && as_status
=1
16997 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16998 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17000 $as_echo "$as_me: error: $2" >&2
17001 as_fn_exit
$as_status
17005 # as_fn_set_status STATUS
17006 # -----------------------
17007 # Set $? to STATUS, without forking.
17008 as_fn_set_status
()
17011 } # as_fn_set_status
17013 # as_fn_exit STATUS
17014 # -----------------
17015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17019 as_fn_set_status
$1
17025 # Portably unset VAR.
17028 { eval $1=; unset $1;}
17030 as_unset
=as_fn_unset
17031 # as_fn_append VAR VALUE
17032 # ----------------------
17033 # Append the text in VALUE to the end of the definition contained in VAR. Take
17034 # advantage of any shell optimizations that allow amortized linear growth over
17035 # repeated appends, instead of the typical quadratic growth present in naive
17037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17038 eval 'as_fn_append ()
17049 # as_fn_arith ARG...
17050 # ------------------
17051 # Perform arithmetic evaluation on the ARGs, and store the result in the
17052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17053 # must be portable across $(()) and expr.
17054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17055 eval 'as_fn_arith ()
17062 as_val
=`expr "$@" || test $? -eq 1`
17067 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17068 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17074 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17075 as_basename
=basename
17080 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17086 as_me
=`$as_basename -- "$0" ||
17087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17088 X"$0" : 'X\(//\)$' \| \
17089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17091 sed '/^.*\/\([^/][^/]*\)\/*$/{
17105 # Avoid depending upon Character Ranges.
17106 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17107 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17108 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17109 as_cr_digits
='0123456789'
17110 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17112 ECHO_C
= ECHO_N
= ECHO_T
=
17113 case `echo -n x` in #(((((
17115 case `echo 'xy\c'` in
17116 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17118 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17125 rm -f conf$$ conf$$.exe conf$$.
file
17126 if test -d conf$$.dir
; then
17127 rm -f conf$$.dir
/conf$$.
file
17130 mkdir conf$$.dir
2>/dev
/null
17132 if (echo >conf$$.
file) 2>/dev
/null
; then
17133 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17135 # ... but there are two gotchas:
17136 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17137 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17138 # In both cases, we have to default to `cp -pR'.
17139 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17141 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17149 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17150 rmdir conf$$.dir
2>/dev
/null
17155 # Create "$as_dir" as a directory, including parents if necessary.
17160 -*) as_dir
=.
/$as_dir;;
17162 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17166 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17167 *) as_qdir
=$as_dir;;
17169 as_dirs
="'$as_qdir' $as_dirs"
17170 as_dir
=`$as_dirname -- "$as_dir" ||
17171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17172 X"$as_dir" : 'X\(//\)[^/]' \| \
17173 X"$as_dir" : 'X\(//\)$' \| \
17174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17175 $as_echo X"$as_dir" |
17176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17180 /^X\(\/\/\)[^/].*/{
17193 test -d "$as_dir" && break
17195 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17196 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17200 if mkdir
-p .
2>/dev
/null
; then
17201 as_mkdir_p
='mkdir -p "$as_dir"'
17203 test -d .
/-p && rmdir .
/-p
17208 # as_fn_executable_p FILE
17209 # -----------------------
17210 # Test if FILE is an executable regular file.
17211 as_fn_executable_p
()
17213 test -f "$1" && test -x "$1"
17214 } # as_fn_executable_p
17215 as_test_x
='test -x'
17216 as_executable_p
=as_fn_executable_p
17218 # Sed expression to map a string onto a valid CPP name.
17219 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17221 # Sed expression to map a string onto a valid variable name.
17222 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17226 ## ----------------------------------- ##
17227 ## Main body of $CONFIG_STATUS script. ##
17228 ## ----------------------------------- ##
17230 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17233 # Save the log message, to keep $0 and so on meaningful, and to
17234 # report actual input values of CONFIG_FILES etc. instead of their
17235 # values after options handling.
17237 This file was extended by Wine $as_me 1.6, which was
17238 generated by GNU Autoconf 2.69. Invocation command line was
17240 CONFIG_FILES = $CONFIG_FILES
17241 CONFIG_HEADERS = $CONFIG_HEADERS
17242 CONFIG_LINKS = $CONFIG_LINKS
17243 CONFIG_COMMANDS = $CONFIG_COMMANDS
17246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17251 case $ac_config_files in *"
17252 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17255 case $ac_config_headers in *"
17256 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17261 # Files that config.status was made for.
17262 config_files="$ac_config_files"
17263 config_headers="$ac_config_headers"
17264 config_links="$ac_config_links"
17265 config_commands="$ac_config_commands"
17269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17271 \`$as_me' instantiates files and other configuration actions
17272 from templates according to the current configuration. Unless the files
17273 and actions are specified as TAGs, all are instantiated by default.
17275 Usage: $0 [OPTION]... [TAG]...
17277 -h, --help print this help, then exit
17278 -V, --version print version number and configuration settings, then exit
17279 --config print configuration, then exit
17280 -q, --quiet, --silent
17281 do not print progress messages
17282 -d, --debug don't remove temporary files
17283 --recheck update $as_me by reconfiguring in the same conditions
17284 --file=FILE[:TEMPLATE]
17285 instantiate the configuration file FILE
17286 --header=FILE[:TEMPLATE]
17287 instantiate the configuration header FILE
17289 Configuration files:
17292 Configuration headers:
17295 Configuration links:
17298 Configuration commands:
17301 Report bugs to <wine-devel@winehq.org>.
17302 Wine home page: <http://www.winehq.org>."
17305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17306 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17308 Wine config.status 1.6
17309 configured by $0, generated by GNU Autoconf 2.69,
17310 with options \\"\$ac_cs_config\\"
17312 Copyright (C) 2012 Free Software Foundation, Inc.
17313 This config.status script is free software; the Free Software Foundation
17314 gives unlimited permission to copy, distribute and modify it."
17319 test -n "\$AWK" || AWK=awk
17322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17323 # The default lists apply if the user does not specify any file.
17329 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17330 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17334 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17346 # Handling of the options.
17347 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17349 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17350 $as_echo "$ac_cs_version"; exit ;;
17351 --config |
--confi |
--conf |
--con |
--co |
--c )
17352 $as_echo "$ac_cs_config"; exit ;;
17353 --debug |
--debu |
--deb |
--de |
--d |
-d )
17355 --file |
--fil |
--fi |
--f )
17358 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17359 '') as_fn_error $?
"missing file argument" ;;
17361 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17362 ac_need_defaults
=false
;;
17363 --header |
--heade |
--head |
--hea )
17366 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17368 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17369 ac_need_defaults
=false
;;
17371 # Conflict between --help and --header
17372 as_fn_error $?
"ambiguous option: \`$1'
17373 Try \`$0 --help' for more information.";;
17374 --help |
--hel |
-h )
17375 $as_echo "$ac_cs_usage"; exit ;;
17376 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17377 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17380 # This is an error.
17381 -*) as_fn_error $?
"unrecognized option: \`$1'
17382 Try \`$0 --help' for more information." ;;
17384 *) as_fn_append ac_config_targets
" $1"
17385 ac_need_defaults
=false
;;
17391 ac_configure_extra_args
=
17393 if $ac_cs_silent; then
17395 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17400 if \$ac_cs_recheck; then
17401 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17403 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17404 CONFIG_SHELL='$SHELL'
17405 export CONFIG_SHELL
17410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17415 ## Running $as_me. ##
17421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17425 wine_fn_output_makefile ()
17427 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17428 $ALL_MAKEFILE_DEPENDS
17430 as_fn_error $? "could not create Makefile" "$LINENO" 5
17435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17437 # Handling of arguments.
17438 for ac_config_target
in $ac_config_targets
17440 case $ac_config_target in
17441 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17442 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17443 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17444 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17445 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17446 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17447 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17448 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17449 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17450 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17451 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17452 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17453 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17454 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17455 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17456 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17457 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17458 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17459 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17460 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17461 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17462 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17463 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17464 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17465 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17466 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17468 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17473 # If the user did not use the arguments to specify the items to instantiate,
17474 # then the envvar interface is used. Set only those that are not.
17475 # We use the long form for the default assignment because of an extremely
17476 # bizarre bug on SunOS 4.1.3.
17477 if $ac_need_defaults; then
17478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17480 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17481 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17484 # Have a temporary directory for convenience. Make it in the build tree
17485 # simply because there is no reason against having it here, and in addition,
17486 # creating and moving files from /tmp can sometimes cause problems.
17487 # Hook for its removal unless debugging.
17488 # Note that there is a small window in which the directory will not be cleaned:
17489 # after its creation but before its name has been assigned to `$tmp'.
17493 trap 'exit_status=$?
17494 : "${ac_tmp:=$tmp}"
17495 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17497 trap 'as_fn_exit 1' 1 2 13 15
17499 # Create a (secure) tmp directory for tmp files.
17502 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17506 tmp
=.
/conf$$
-$RANDOM
17507 (umask 077 && mkdir
"$tmp")
17508 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17511 # Set up the scripts for CONFIG_FILES section.
17512 # No need to generate them if there are no CONFIG_FILES.
17513 # This happens for instance with `./config.status config.h'.
17514 if test -n "$CONFIG_FILES"; then
17516 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17517 ac_cs_awk_getline
=:
17518 ac_cs_awk_pipe_init
=
17519 ac_cs_awk_read_file
='
17520 while ((getline aline < (F[key])) > 0)
17523 ac_cs_awk_pipe_fini
=
17525 ac_cs_awk_getline
=false
17526 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17527 ac_cs_awk_read_file
='
17529 print "cat " F[key] " &&"
17530 '$ac_cs_awk_pipe_init
17531 # The final `:' finishes the AND list.
17532 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17534 ac_cr
=`echo X | tr X '\015'`
17535 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17536 # But we know of no other shell where ac_cr would be empty at this
17537 # point, so we can use a bashism as a fallback.
17538 if test "x$ac_cr" = x
; then
17539 eval ac_cr
=\$
\'\\r
\'
17541 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17542 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17545 ac_cs_awk_cr
=$ac_cr
17548 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17551 # Create commands to substitute file output variables.
17553 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17554 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17555 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17558 } >conf$
$files.sh
&&
17559 . .
/conf$
$files.sh ||
17560 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17561 rm -f conf$
$files.sh
17564 echo "cat >conf$$subs.awk <<_ACEOF" &&
17565 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17567 } >conf$$subs.sh ||
17568 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17569 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17571 for ac_last_try in false false false false false :; do
17572 . ./conf$$subs.sh ||
17573 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17575 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17576 if test $ac_delim_n = $ac_delim_num; then
17578 elif $ac_last_try; then
17579 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17581 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17584 rm -f conf$$subs.sh
17586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17587 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17591 s/^/S["/; s
/!.
*/"]=/
17601 s/\(.\{148\}\)..*/\1/
17603 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17608 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17615 s/\(.\{148\}\)..*/\1/
17617 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17621 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17626 ' <conf$$subs.awk | sed '
17631 ' >>$CONFIG_STATUS || ac_write_fail=1
17632 rm -f conf$$subs.awk
17633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17635 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17636 for (key in S) S_is_set[key] = 1
17638 \$ac_cs_awk_pipe_init
17642 nfields = split(line, field, "@
")
17644 len = length(field[1])
17645 for (i = 2; i < nfields; i++) {
17647 keylen = length(key)
17648 if (S_is_set[key]) {
17650 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17651 len += length(value) + length(field[++i])
17656 if (nfields == 3 && !substed) {
17658 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17659 \$ac_cs_awk_read_file
17665 \$ac_cs_awk_pipe_fini
17668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17669 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17670 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17673 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17674 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17677 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17678 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17679 # trailing colons and then remove the whole line if VPATH becomes empty
17680 # (actually we leave an empty line to preserve line numbers).
17681 if test "x
$srcdir" = x.; then
17682 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17701 fi # test -n "$CONFIG_FILES"
17703 # Set up the scripts for CONFIG_HEADERS section.
17704 # No need to generate them if there are no CONFIG_HEADERS.
17705 # This happens for instance with `./config.status Makefile'.
17706 if test -n "$CONFIG_HEADERS"; then
17707 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17711 # Transform confdefs.h into an awk script `defines.awk', embedded as
17712 # here-document in config.status, that substitutes the proper values into
17713 # config.h.in to produce config.h.
17715 # Create a delimiter string that does not exist in confdefs.h, to ease
17716 # handling of long lines.
17718 for ac_last_try in false false :; do
17719 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17720 if test -z "$ac_tt"; then
17722 elif $ac_last_try; then
17723 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17725 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17729 # For the awk script, D is an array of macro values keyed by name,
17730 # likewise P contains macro parameters if any. Preserve backslash
17731 # newline sequences.
17733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17735 s/.\{148\}/&'"$ac_delim"'/g
17738 s/^[ ]*#[ ]*define[ ][ ]*/ /
17745 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17747 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17751 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17752 D["\
1"]=" \
3\\\\\\n
"\\/p
17754 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17759 s/.\{148\}/&'"$ac_delim"'/g
17764 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17767 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17769 ' <confdefs.h | sed '
17770 s/'"$ac_delim"'/"\\\
17771 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17774 for (key in D) D_is_set[key] = 1
17777 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17779 split(line, arg, " ")
17780 if (arg[1] == "#") {
17784 defundef
= substr
(arg
[1], 2)
17787 split(mac1
, mac2
, "(") #)
17789 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17790 if (D_is_set
[macro
]) {
17791 # Preserve the white space surrounding the "#".
17792 print prefix
"define", macro P
[macro
] D
[macro
]
17795 # Replace #undef with comments. This is necessary, for example,
17796 # in the case of _POSIX_SOURCE, which is predefined and required
17797 # on some systems where configure will not decide to define it.
17798 if (defundef
== "undef") {
17799 print
"/*", prefix defundef
, macro
, "*/"
17807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17808 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17809 fi # test -n "$CONFIG_HEADERS"
17812 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17817 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17819 case $ac_mode$ac_tag in
17821 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17822 :[FH
]-) ac_tag
=-:-;;
17823 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17840 -) ac_f
="$ac_tmp/stdin";;
17841 *) # Look for the file first in the build tree, then in the source tree
17842 # (if the path is not absolute). The absolute path cannot be DOS-style,
17843 # because $ac_f cannot contain `:'.
17847 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17849 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17851 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17852 as_fn_append ac_file_inputs
" '$ac_f'"
17855 # Let's still pretend it is `configure' which instantiates (i.e., don't
17856 # use $as_me), people would be surprised to read:
17857 # /* config.h. Generated by config.status. */
17858 configure_input
='Generated from '`
17859 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17861 if test x
"$ac_file" != x-
; then
17862 configure_input
="$ac_file. $configure_input"
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17864 $as_echo "$as_me: creating $ac_file" >&6;}
17866 # Neutralize special characters interpreted by sed in replacement strings.
17867 case $configure_input in #(
17868 *\
&* |
*\|
* |
*\\* )
17869 ac_sed_conf_input
=`$as_echo "$configure_input" |
17870 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17871 *) ac_sed_conf_input
=$configure_input;;
17875 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17876 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17881 ac_dir
=`$as_dirname -- "$ac_file" ||
17882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17883 X"$ac_file" : 'X\(//\)[^/]' \| \
17884 X"$ac_file" : 'X\(//\)$' \| \
17885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17886 $as_echo X"$ac_file" |
17887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17891 /^X\(\/\/\)[^/].*/{
17904 as_dir
="$ac_dir"; as_fn_mkdir_p
17908 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17910 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17911 # A ".." for each directory in $ac_dir_suffix.
17912 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17913 case $ac_top_builddir_sub in
17914 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17915 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17918 ac_abs_top_builddir
=$ac_pwd
17919 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17920 # for backward compatibility:
17921 ac_top_builddir
=$ac_top_build_prefix
17924 .
) # We are building in place.
17926 ac_top_srcdir
=$ac_top_builddir_sub
17927 ac_abs_top_srcdir
=$ac_pwd ;;
17928 [\\/]* | ?
:[\\/]* ) # Absolute name.
17929 ac_srcdir
=$srcdir$ac_dir_suffix;
17930 ac_top_srcdir
=$srcdir
17931 ac_abs_top_srcdir
=$srcdir ;;
17932 *) # Relative name.
17933 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17934 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17935 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17937 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17947 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17948 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17953 # If the template does not know about datarootdir, expand it.
17954 # FIXME: This hack should be removed a few years after 2.60.
17955 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17967 *datarootdir
*) ac_datarootdir_seen
=yes;;
17968 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 ac_datarootdir_hack='
17974 s&@datadir@&$datadir&g
17975 s&@docdir@&$docdir&g
17976 s&@infodir@&$infodir&g
17977 s&@localedir@&$localedir&g
17978 s&@mandir@&$mandir&g
17979 s&\\\${datarootdir}&$datarootdir&g' ;;
17983 # Neutralize VPATH when `$srcdir' = `.'.
17984 # Shell code in configure.ac might set extrasub.
17985 # FIXME: do we really want to maintain this feature?
17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17987 ac_sed_extra="$ac_vpsub
17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17993 s|@configure_input@|
$ac_sed_conf_input|
;t t
17994 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17995 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17996 s
&@srcdir@
&$ac_srcdir&;t t
17997 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17998 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17999 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18000 s
&@builddir@
&$ac_builddir&;t t
18001 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18002 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18003 s
&@INSTALL@
&$ac_INSTALL&;t t
18004 $ac_datarootdir_hack
18006 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18007 if $ac_cs_awk_getline; then
18008 $AWK -f "$ac_tmp/subs.
awk"
18010 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18012 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18015 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18016 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18017 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18019 which seems to be undefined. Please make sure it is defined" >&5
18020 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18021 which seems to be undefined. Please make sure it is defined" >&2;}
18023 rm -f "$ac_tmp/stdin"
18025 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18026 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18028 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18034 if test x"$ac_file" != x-; then
18036 $as_echo "/* $configure_input */" \
18037 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18038 } >"$ac_tmp/config.h" \
18039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18040 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18042 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18045 mv "$ac_tmp/config.h" "$ac_file" \
18046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18049 $as_echo "/* $configure_input */" \
18050 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18051 || as_fn_error $? "could not create -" "$LINENO" 5
18059 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18062 # Prefer the file from the source tree if names are identical.
18063 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18064 ac_source=$srcdir/$ac_source
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18068 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18070 if test ! -r "$ac_source"; then
18071 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18075 # Try a relative symlink, then a hard link, then a copy.
18077 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18078 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18080 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18081 ln "$ac_source" "$ac_file" 2>/dev/null ||
18082 cp -p "$ac_source" "$ac_file" ||
18083 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18086 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18087 $as_echo "$as_me: executing $ac_file commands" >&6;}
18092 case $ac_file$ac_mode in
18093 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18094 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18095 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18096 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18097 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18098 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18099 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18100 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18101 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18102 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18103 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18104 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18105 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18106 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18107 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18108 "Makefile":C) wine_fn_output_makefile Makefile ;;
18116 ac_clean_files=$ac_clean_files_save
18118 test $ac_write_fail = 0 ||
18119 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18122 # configure is writing to config.log, and then calls config.status.
18123 # config.status does its own redirection, appending to config.log.
18124 # Unfortunately, on DOS this fails, as config.log is still kept open
18125 # by configure, so config.status won't be able to
write to it
; its
18126 # output is simply discarded. So we exec the FD to /dev/null,
18127 # effectively closing config.log, so it can be properly (re)opened and
18128 # appended to by config.status. When coming back to configure, we
18129 # need to make the FD available again.
18130 if test "$no_create" != yes; then
18132 ac_config_status_args
=
18133 test "$silent" = yes &&
18134 ac_config_status_args
="$ac_config_status_args --quiet"
18136 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18138 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18139 # would make configure fail if this is the last instruction.
18140 $ac_cs_success || as_fn_exit
1
18142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18144 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18148 if test "$no_create" = "yes"
18154 if test "x$wine_notices != "x
; then
18157 for msg
in $wine_notices; do
18159 if test -n "$msg"; then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18161 $as_echo "$as_me: $msg" >&6;}
18166 for msg
in $wine_warnings; do
18168 if test -n "$msg"; then
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18171 $as_echo "$as_me: WARNING: $msg" >&2;}
18177 $as_me: Finished. Do '${ac_make}' to compile Wine.