2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
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.7.3'
584 PACKAGE_STRING
='Wine 1.7.3'
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
702 APPLICATIONSERVICESLIB
795 program_transform_name
806 ac_subst_files
='MAKE_RULES
812 enable_option_checking
816 enable_maintainer_mode
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_winrt_error_l1_1_0
874 enable_api_ms_win_core_winrt_string_l1_1_0
875 enable_api_ms_win_downlevel_advapi32_l1_1_0
876 enable_api_ms_win_downlevel_advapi32_l2_1_0
877 enable_api_ms_win_downlevel_normaliz_l1_1_0
878 enable_api_ms_win_downlevel_ole32_l1_1_0
879 enable_api_ms_win_downlevel_shell32_l1_1_0
880 enable_api_ms_win_downlevel_shlwapi_l1_1_0
881 enable_api_ms_win_downlevel_shlwapi_l2_1_0
882 enable_api_ms_win_downlevel_user32_l1_1_0
883 enable_api_ms_win_downlevel_version_l1_1_0
884 enable_api_ms_win_security_base_l1_1_0
921 enable_d3dcompiler_33
922 enable_d3dcompiler_34
923 enable_d3dcompiler_35
924 enable_d3dcompiler_36
925 enable_d3dcompiler_37
926 enable_d3dcompiler_38
927 enable_d3dcompiler_39
928 enable_d3dcompiler_40
929 enable_d3dcompiler_41
930 enable_d3dcompiler_42
931 enable_d3dcompiler_43
1004 enable_explorerframe
1143 enable_photometadatahandler
1221 enable_windowscodecs
1222 enable_windowscodecsext
1224 enable_winecoreaudio_drv
1226 enable_winegstreamer
1227 enable_winejoystick_drv
1233 enable_wineqtdecoder
1268 enable_documentation
1275 enable_aspnet_regiis
1307 enable_presentationfontcache
1319 enable_servicemodelreg
1338 enable_winemenubuilder
1340 enable_winemsibuilder
1354 ac_precious_vars
='build_alias
1401 # Initialize some variables set by options.
1403 ac_init_version
=false
1404 ac_unrecognized_opts
=
1405 ac_unrecognized_sep
=
1406 # The variables have the same names as the options, with
1407 # dashes changed to underlines.
1408 cache_file
=/dev
/null
1415 program_transform_name
=s
,x
,x
,
1423 # Installation directory options.
1424 # These are left unexpanded so users can "make install exec_prefix=/foo"
1425 # and all the variables that are supposed to be based on exec_prefix
1426 # by default will actually change.
1427 # Use braces instead of parens because sh, perl, etc. also accept them.
1428 # (The list follows the same order as the GNU Coding Standards.)
1429 bindir
='${exec_prefix}/bin'
1430 sbindir
='${exec_prefix}/sbin'
1431 libexecdir
='${exec_prefix}/libexec'
1432 datarootdir
='${prefix}/share'
1433 datadir
='${datarootdir}'
1434 sysconfdir
='${prefix}/etc'
1435 sharedstatedir
='${prefix}/com'
1436 localstatedir
='${prefix}/var'
1437 includedir
='${prefix}/include'
1438 oldincludedir
='/usr/include'
1439 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1440 infodir
='${datarootdir}/info'
1445 libdir
='${exec_prefix}/lib'
1446 localedir
='${datarootdir}/locale'
1447 mandir
='${datarootdir}/man'
1453 # If the previous option needs an argument, assign it.
1454 if test -n "$ac_prev"; then
1455 eval $ac_prev=\
$ac_option
1461 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1466 # Accept the important Cygnus configure options, so we can diagnose typos.
1468 case $ac_dashdash$ac_option in
1472 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1474 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1475 bindir
=$ac_optarg ;;
1477 -build |
--build |
--buil |
--bui |
--bu)
1478 ac_prev
=build_alias
;;
1479 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1480 build_alias
=$ac_optarg ;;
1482 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1483 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1484 ac_prev
=cache_file
;;
1485 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1486 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1487 cache_file
=$ac_optarg ;;
1489 --config-cache |
-C)
1490 cache_file
=config.cache
;;
1492 -datadir |
--datadir |
--datadi |
--datad)
1494 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1495 datadir
=$ac_optarg ;;
1497 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1498 |
--dataroo |
--dataro |
--datar)
1499 ac_prev
=datarootdir
;;
1500 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1501 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1502 datarootdir
=$ac_optarg ;;
1504 -disable-* |
--disable-*)
1505 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1506 # Reject names that are not valid shell variable names.
1507 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1508 as_fn_error $?
"invalid feature name: $ac_useropt"
1509 ac_useropt_orig
=$ac_useropt
1510 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1511 case $ac_user_opts in
1513 "enable_
$ac_useropt"
1515 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1516 ac_unrecognized_sep
=', ';;
1518 eval enable_
$ac_useropt=no
;;
1520 -docdir |
--docdir |
--docdi |
--doc |
--do)
1522 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1523 docdir
=$ac_optarg ;;
1525 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1527 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1528 dvidir
=$ac_optarg ;;
1530 -enable-* |
--enable-*)
1531 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1532 # Reject names that are not valid shell variable names.
1533 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1534 as_fn_error $?
"invalid feature name: $ac_useropt"
1535 ac_useropt_orig
=$ac_useropt
1536 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1537 case $ac_user_opts in
1539 "enable_
$ac_useropt"
1541 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1542 ac_unrecognized_sep
=', ';;
1544 eval enable_
$ac_useropt=\
$ac_optarg ;;
1546 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1547 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1548 |
--exec |
--exe |
--ex)
1549 ac_prev
=exec_prefix
;;
1550 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1551 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1552 |
--exec=* |
--exe=* |
--ex=*)
1553 exec_prefix
=$ac_optarg ;;
1555 -gas |
--gas |
--ga |
--g)
1556 # Obsolete; use --with-gas.
1559 -help |
--help |
--hel |
--he |
-h)
1560 ac_init_help
=long
;;
1561 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1562 ac_init_help
=recursive
;;
1563 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1564 ac_init_help
=short
;;
1566 -host |
--host |
--hos |
--ho)
1567 ac_prev
=host_alias
;;
1568 -host=* |
--host=* |
--hos=* |
--ho=*)
1569 host_alias
=$ac_optarg ;;
1571 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1573 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1575 htmldir
=$ac_optarg ;;
1577 -includedir |
--includedir |
--includedi |
--included |
--include \
1578 |
--includ |
--inclu |
--incl |
--inc)
1579 ac_prev
=includedir
;;
1580 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1581 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1582 includedir
=$ac_optarg ;;
1584 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1586 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1587 infodir
=$ac_optarg ;;
1589 -libdir |
--libdir |
--libdi |
--libd)
1591 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1592 libdir
=$ac_optarg ;;
1594 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1595 |
--libexe |
--libex |
--libe)
1596 ac_prev
=libexecdir
;;
1597 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1598 |
--libexe=* |
--libex=* |
--libe=*)
1599 libexecdir
=$ac_optarg ;;
1601 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1602 ac_prev
=localedir
;;
1603 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1604 localedir
=$ac_optarg ;;
1606 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1607 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1608 ac_prev
=localstatedir
;;
1609 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1610 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1611 localstatedir
=$ac_optarg ;;
1613 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1615 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1616 mandir
=$ac_optarg ;;
1618 -nfp |
--nfp |
--nf)
1619 # Obsolete; use --without-fp.
1622 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1623 |
--no-cr |
--no-c |
-n)
1626 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1627 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1630 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1631 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1632 |
--oldin |
--oldi |
--old |
--ol |
--o)
1633 ac_prev
=oldincludedir
;;
1634 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1635 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1636 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1637 oldincludedir
=$ac_optarg ;;
1639 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1641 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1642 prefix
=$ac_optarg ;;
1644 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1645 |
--program-pre |
--program-pr |
--program-p)
1646 ac_prev
=program_prefix
;;
1647 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1648 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1649 program_prefix
=$ac_optarg ;;
1651 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1652 |
--program-suf |
--program-su |
--program-s)
1653 ac_prev
=program_suffix
;;
1654 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1655 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1656 program_suffix
=$ac_optarg ;;
1658 -program-transform-name |
--program-transform-name \
1659 |
--program-transform-nam |
--program-transform-na \
1660 |
--program-transform-n |
--program-transform- \
1661 |
--program-transform |
--program-transfor \
1662 |
--program-transfo |
--program-transf \
1663 |
--program-trans |
--program-tran \
1664 |
--progr-tra |
--program-tr |
--program-t)
1665 ac_prev
=program_transform_name
;;
1666 -program-transform-name=* |
--program-transform-name=* \
1667 |
--program-transform-nam=* |
--program-transform-na=* \
1668 |
--program-transform-n=* |
--program-transform-=* \
1669 |
--program-transform=* |
--program-transfor=* \
1670 |
--program-transfo=* |
--program-transf=* \
1671 |
--program-trans=* |
--program-tran=* \
1672 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1673 program_transform_name
=$ac_optarg ;;
1675 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1677 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1678 pdfdir
=$ac_optarg ;;
1680 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1682 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1685 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1686 |
-silent |
--silent |
--silen |
--sile |
--sil)
1689 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1691 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1693 sbindir
=$ac_optarg ;;
1695 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1696 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1697 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1699 ac_prev
=sharedstatedir
;;
1700 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1701 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1702 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1704 sharedstatedir
=$ac_optarg ;;
1706 -site |
--site |
--sit)
1708 -site=* |
--site=* |
--sit=*)
1711 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1713 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1714 srcdir
=$ac_optarg ;;
1716 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1717 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1718 ac_prev
=sysconfdir
;;
1719 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1720 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1721 sysconfdir
=$ac_optarg ;;
1723 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1724 ac_prev
=target_alias
;;
1725 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1726 target_alias
=$ac_optarg ;;
1728 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1731 -version |
--version |
--versio |
--versi |
--vers |
-V)
1732 ac_init_version
=: ;;
1735 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1736 # Reject names that are not valid shell variable names.
1737 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1738 as_fn_error $?
"invalid package name: $ac_useropt"
1739 ac_useropt_orig
=$ac_useropt
1740 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1741 case $ac_user_opts in
1745 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1746 ac_unrecognized_sep
=', ';;
1748 eval with_
$ac_useropt=\
$ac_optarg ;;
1750 -without-* |
--without-*)
1751 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1754 as_fn_error $?
"invalid package name: $ac_useropt"
1755 ac_useropt_orig
=$ac_useropt
1756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1762 ac_unrecognized_sep
=', ';;
1764 eval with_
$ac_useropt=no
;;
1767 # Obsolete; use --with-x.
1770 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1771 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1772 ac_prev
=x_includes
;;
1773 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1774 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1775 x_includes
=$ac_optarg ;;
1777 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1778 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1779 ac_prev
=x_libraries
;;
1780 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1781 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1782 x_libraries
=$ac_optarg ;;
1784 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1785 Try \`$0 --help' for more information"
1789 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1790 # Reject names that are not valid shell variable names.
1791 case $ac_envvar in #(
1792 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1793 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1795 eval $ac_envvar=\
$ac_optarg
1796 export $ac_envvar ;;
1799 # FIXME: should be removed in autoconf 3.0.
1800 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1802 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1803 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1809 if test -n "$ac_prev"; then
1810 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1811 as_fn_error $?
"missing argument to $ac_option"
1814 if test -n "$ac_unrecognized_opts"; then
1815 case $enable_option_checking in
1817 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1818 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1822 # Check all directory arguments for consistency.
1823 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1824 datadir sysconfdir sharedstatedir localstatedir includedir \
1825 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1826 libdir localedir mandir
1828 eval ac_val
=\$
$ac_var
1829 # Remove trailing slashes.
1832 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1833 eval $ac_var=\
$ac_val;;
1835 # Be sure to have absolute directory names.
1837 [\\/$
]* | ?
:[\\/]* ) continue;;
1838 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1840 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1843 # There might be people who depend on the old broken behavior: `$host'
1844 # used to hold the argument of --host etc.
1845 # FIXME: To remove some day.
1848 target
=$target_alias
1850 # FIXME: To remove some day.
1851 if test "x$host_alias" != x
; then
1852 if test "x$build_alias" = x
; then
1853 cross_compiling
=maybe
1854 elif test "x$build_alias" != "x$host_alias"; then
1860 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1862 test "$silent" = yes && exec 6>/dev
/null
1865 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1866 ac_ls_di
=`ls -di .` &&
1867 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1868 as_fn_error $?
"working directory cannot be determined"
1869 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1870 as_fn_error $?
"pwd does not report name of working directory"
1873 # Find the source files, if location was not specified.
1874 if test -z "$srcdir"; then
1875 ac_srcdir_defaulted
=yes
1876 # Try the directory containing this script, then the parent directory.
1877 ac_confdir
=`$as_dirname -- "$as_myself" ||
1878 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1879 X"$as_myself" : 'X\(//\)[^/]' \| \
1880 X"$as_myself" : 'X\(//\)$' \| \
1881 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1882 $as_echo X"$as_myself" |
1883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1905 ac_srcdir_defaulted
=no
1907 if test ! -r "$srcdir/$ac_unique_file"; then
1908 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1909 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1911 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1913 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1915 # When building in place, set srcdir=.
1916 if test "$ac_abs_confdir" = "$ac_pwd"; then
1919 # Remove unnecessary trailing slashes from srcdir.
1920 # Double slashes in file names in object file debugging info
1921 # mess up M-x gdb in Emacs.
1923 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1925 for ac_var
in $ac_precious_vars; do
1926 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1927 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1928 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1929 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1933 # Report the --help message.
1935 if test "$ac_init_help" = "long"; then
1936 # Omit some internal or obsolete options to make the list less imposing.
1937 # This message is too long to be a string in the A/UX 3.1 sh.
1939 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1941 Usage: $0 [OPTION]... [VAR=VALUE]...
1943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1944 VAR=VALUE. See below for descriptions of some of the useful variables.
1946 Defaults for the options are specified in brackets.
1949 -h, --help display this help and exit
1950 --help=short display options specific to this package
1951 --help=recursive display the short help of all the included packages
1952 -V, --version display version information and exit
1953 -q, --quiet, --silent do not print \`checking ...' messages
1954 --cache-file=FILE cache test results in FILE [disabled]
1955 -C, --config-cache alias for \`--cache-file=config.cache'
1956 -n, --no-create do not create output files
1957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1959 Installation directories:
1960 --prefix=PREFIX install architecture-independent files in PREFIX
1961 [$ac_default_prefix]
1962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1965 By default, \`make install' will install all the files in
1966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1968 for instance \`--prefix=\$HOME'.
1970 For better control, use the options below.
1972 Fine tuning of the installation directories:
1973 --bindir=DIR user executables [EPREFIX/bin]
1974 --sbindir=DIR system admin executables [EPREFIX/sbin]
1975 --libexecdir=DIR program executables [EPREFIX/libexec]
1976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1979 --libdir=DIR object code libraries [EPREFIX/lib]
1980 --includedir=DIR C header files [PREFIX/include]
1981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1982 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1983 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1984 --infodir=DIR info documentation [DATAROOTDIR/info]
1985 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1986 --mandir=DIR man documentation [DATAROOTDIR/man]
1987 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1988 --htmldir=DIR html documentation [DOCDIR]
1989 --dvidir=DIR dvi documentation [DOCDIR]
1990 --pdfdir=DIR pdf documentation [DOCDIR]
1991 --psdir=DIR ps documentation [DOCDIR]
1997 --x-includes=DIR X include files are
in DIR
1998 --x-libraries=DIR X library files are
in DIR
2001 --build=BUILD configure
for building on BUILD
[guessed
]
2002 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2006 if test -n "$ac_init_help"; then
2007 case $ac_init_help in
2008 short | recursive
) echo "Configuration of Wine 1.7.3:";;
2013 --disable-option-checking ignore unrecognized
--enable/--with options
2014 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2015 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2016 --disable-win16 do not include Win16 support
2017 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2019 --disable-tests do not build the regression tests
2020 --enable-maintainer-mode
2021 enable maintainer-specific build rules
2022 --disable-largefile omit support for large files
2025 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2026 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2027 --without-alsa do not use the Alsa sound support
2028 --without-capi do not use CAPI (ISDN support)
2029 --without-cms do not use CMS (color management support)
2030 --without-coreaudio do not use the CoreAudio sound support
2031 --without-cups do not use CUPS
2032 --without-curses do not use (n)curses
2033 --without-dbus do not use DBus (dynamic device support)
2034 --without-fontconfig do not use fontconfig
2035 --without-freetype do not use the FreeType library
2036 --without-gettext do not use gettext
2037 --with-gettextpo use the GetTextPO library to rebuild po files
2038 --without-gphoto do not use gphoto (Digital Camera support)
2039 --without-glu do not use the GLU library
2040 --without-gnutls do not use GnuTLS (schannel support)
2041 --without-gsm do not use libgsm (GSM 06.10 codec support)
2042 --without-gstreamer do not use GStreamer (codecs support)
2043 --without-hal do not use HAL (dynamic device support)
2044 --without-jpeg do not use JPEG
2045 --without-ldap do not use LDAP
2046 --without-mpg123 do not use the mpg123 library
2047 --without-openal do not use OpenAL
2048 --without-opencl do not use OpenCL
2049 --without-opengl do not use OpenGL
2050 --without-osmesa do not use the OSMesa library
2051 --without-oss do not use the OSS sound support
2052 --without-png do not use PNG
2053 --without-pthread do not use the pthread library
2054 --without-sane do not use SANE (scanner support)
2055 --without-tiff do not use TIFF
2056 --without-v4l do not use v4l1 (v4l support)
2057 --without-xcomposite do not use the Xcomposite extension
2058 --without-xcursor do not use the Xcursor extension
2059 --without-xinerama do not use Xinerama (multi-monitor support)
2060 --without-xinput do not use the Xinput extension
2061 --without-xinput2 do not use the Xinput 2 extension
2062 --without-xml do not use XML
2063 --without-xrandr do not use Xrandr (resolution changes)
2064 --without-xrender do not use the Xrender extension
2065 --without-xshape do not use the Xshape extension
2066 --without-xshm do not use XShm (shared memory extension)
2067 --without-xslt do not use XSLT
2068 --without-xxf86vm do not use XFree video mode extension
2069 --without-zlib do not use Zlib (data compression)
2070 --with-wine-tools=DIR use Wine tools from directory DIR
2071 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2072 --with-x use the X Window System
2074 Some influential environment variables:
2075 CC C compiler command
2076 CFLAGS C compiler flags
2077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2078 nonstandard directory <lib dir>
2079 LIBS libraries to pass to the linker, e.g. -l<library>
2080 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2081 you have headers in a nonstandard directory <include dir>
2082 CXX C++ compiler command
2083 CXXFLAGS C++ compiler flags
2085 XMKMF Path to xmkmf, Makefile generator for X Window System
2086 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2087 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2088 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2089 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2090 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2091 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2092 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2093 HAL_LIBS Linker flags for hal, overriding pkg-config
2095 C compiler flags for gnutls, overriding pkg-config
2096 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2097 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2098 SANE_LIBS Linker flags for libsane, overriding pkg-config
2100 C compiler flags for libgphoto2, overriding pkg-config
2102 Linker flags for libgphoto2, overriding pkg-config
2104 C compiler flags for libgphoto2_port, overriding pkg-config
2106 Linker flags for libgphoto2_port, overriding pkg-config
2108 C compiler flags for lcms2, overriding pkg-config
2109 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2111 C compiler flags for freetype2, overriding pkg-config
2113 Linker flags for freetype2, overriding pkg-config
2115 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2117 Linker flags for gstreamer-app-0.10, overriding pkg-config
2119 C compiler flags for capi20, overriding pkg-config
2120 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2121 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2122 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2123 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2124 PNG_LIBS Linker flags for libpng, overriding pkg-config
2125 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2126 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2128 C compiler flags for libmpg123, overriding pkg-config
2129 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2131 Use these variables to override the choices made by `configure' or to
help
2132 it to
find libraries and programs with nonstandard names
/locations.
2134 Report bugs to
<wine-devel@winehq.org
>.
2135 Wine home page
: <http
://www.winehq.org
>.
2140 if test "$ac_init_help" = "recursive"; then
2141 # If there are subdirs, report their specific --help.
2142 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2143 test -d "$ac_dir" ||
2144 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2149 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2151 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2152 # A ".." for each directory in $ac_dir_suffix.
2153 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2154 case $ac_top_builddir_sub in
2155 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2156 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2159 ac_abs_top_builddir
=$ac_pwd
2160 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2161 # for backward compatibility:
2162 ac_top_builddir
=$ac_top_build_prefix
2165 .
) # We are building in place.
2167 ac_top_srcdir
=$ac_top_builddir_sub
2168 ac_abs_top_srcdir
=$ac_pwd ;;
2169 [\\/]* | ?
:[\\/]* ) # Absolute name.
2170 ac_srcdir
=$srcdir$ac_dir_suffix;
2171 ac_top_srcdir
=$srcdir
2172 ac_abs_top_srcdir
=$srcdir ;;
2174 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2175 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2176 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2178 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2180 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2181 # Check for guested configure.
2182 if test -f "$ac_srcdir/configure.gnu"; then
2184 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2185 elif test -f "$ac_srcdir/configure"; then
2187 $SHELL "$ac_srcdir/configure" --help=recursive
2189 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2191 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2195 test -n "$ac_init_help" && exit $ac_status
2196 if $ac_init_version; then
2198 Wine configure
1.7.3
2199 generated by GNU Autoconf
2.69
2201 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2202 This configure
script is free software
; the Free Software Foundation
2203 gives unlimited permission to copy
, distribute and modify it.
2208 ## ------------------------ ##
2209 ## Autoconf initialization. ##
2210 ## ------------------------ ##
2212 # ac_fn_c_try_compile LINENO
2213 # --------------------------
2214 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_c_try_compile
()
2217 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2218 rm -f conftest.
$ac_objext
2219 if { { ac_try
="$ac_compile"
2221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2222 *) ac_try_echo=$ac_try;;
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226 (eval "$ac_compile") 2>conftest.err
2228 if test -s conftest.err; then
2229 grep -v '^ *+' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2231 mv -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; } && {
2235 test -z "$ac_c_werror_flag" ||
2236 test ! -s conftest.err
2237 } && test -s conftest.$ac_objext; then :
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 as_fn_set_status $ac_retval
2248 } # ac_fn_c_try_compile
2250 # ac_fn_cxx_try_compile LINENO
2251 # ----------------------------
2252 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_cxx_try_compile ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 rm -f conftest.$ac_objext
2257 if { { ac_try="$ac_compile"
2259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2260 *) ac_try_echo
=$ac_try;;
2262 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2263 $as_echo "$ac_try_echo"; } >&5
2264 (eval "$ac_compile") 2>conftest.err
2266 if test -s conftest.err
; then
2267 grep -v '^ *+' conftest.err
>conftest.er1
2268 cat conftest.er1
>&5
2269 mv -f conftest.er1 conftest.err
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; } && {
2273 test -z "$ac_cxx_werror_flag" ||
2274 test ! -s conftest.err
2275 } && test -s conftest.
$ac_objext; then :
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.
$ac_ext >&5
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status
$ac_retval
2286 } # ac_fn_cxx_try_compile
2288 # ac_fn_c_try_link LINENO
2289 # -----------------------
2290 # Try to link conftest.$ac_ext, and return whether this succeeded.
2293 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2294 rm -f conftest.
$ac_objext conftest
$ac_exeext
2295 if { { ac_try
="$ac_link"
2297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_link") 2>conftest.err
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_c_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest$ac_exeext && {
2314 test "$cross_compiling" = yes ||
2315 test -x conftest$ac_exeext
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2324 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2325 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2326 # interfere with the next link command; also delete a directory that is
2327 # left behind by Apple's compiler. We do this before executing the actions.
2328 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_c_try_link
2334 # ac_fn_c_try_cpp LINENO
2335 # ----------------------
2336 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 if { { ac_try="$ac_cpp conftest.$ac_ext"
2342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2343 *) ac_try_echo
=$ac_try;;
2345 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2349 if test -s conftest.err
; then
2350 grep -v '^ *+' conftest.err
>conftest.er1
2351 cat conftest.er1
>&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } > conftest.i
&& {
2356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.
$ac_ext >&5
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status
$ac_retval
2371 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2372 # -------------------------------------------------------
2373 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2374 # the include files in INCLUDES and setting the cache variable VAR
2376 ac_fn_c_check_header_mongrel
()
2378 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2379 if eval \
${$3+:} false
; then :
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2381 $as_echo_n "checking for $2... " >&6; }
2382 if eval \
${$3+:} false
; then :
2383 $as_echo_n "(cached) " >&6
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2387 $as_echo "$ac_res" >&6; }
2389 # Is the header compilable?
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2391 $as_echo_n "checking $2 usability... " >&6; }
2392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2393 /* end confdefs.h. */
2397 if ac_fn_c_try_compile
"$LINENO"; then :
2398 ac_header_compiler
=yes
2400 ac_header_compiler
=no
2402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2404 $as_echo "$ac_header_compiler" >&6; }
2406 # Is the header present?
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2408 $as_echo_n "checking $2 presence... " >&6; }
2409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2413 if ac_fn_c_try_cpp
"$LINENO"; then :
2414 ac_header_preproc
=yes
2416 ac_header_preproc
=no
2418 rm -f conftest.err conftest.i conftest.
$ac_ext
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2420 $as_echo "$ac_header_preproc" >&6; }
2422 # So? What about this header?
2423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2426 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2428 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2432 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2434 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2436 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2438 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2440 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2441 ( $as_echo "## ------------------------------------ ##
2442 ## Report this to wine-devel@winehq.org ##
2443 ## ------------------------------------ ##"
2444 ) |
sed "s/^/$as_me: WARNING: /" >&2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if eval \
${$3+:} false
; then :
2450 $as_echo_n "(cached) " >&6
2452 eval "$3=\$ac_header_compiler"
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 } # ac_fn_c_check_header_mongrel
2462 # ac_fn_c_try_run LINENO
2463 # ----------------------
2464 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2465 # that executables *can* be run.
2468 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2469 if { { ac_try
="$ac_link"
2471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 $as_echo "$ac_try_echo"; } >&5
2476 (eval "$ac_link") 2>&5
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2480 { { case "(($ac_try" in
2481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2482 *) ac_try_echo
=$ac_try;;
2484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_try") 2>&5
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; }; }; then :
2492 $as_echo "$as_me: program exited with status $ac_status" >&5
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.
$ac_ext >&5
2496 ac_retval
=$ac_status
2498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 as_fn_set_status
$ac_retval
2504 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2505 # -------------------------------------------------------
2506 # Tests whether HEADER exists and can be compiled using the include files in
2507 # INCLUDES, setting the cache variable VAR accordingly.
2508 ac_fn_c_check_header_compile
()
2510 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2512 $as_echo_n "checking for $2... " >&6; }
2513 if eval \
${$3+:} false
; then :
2514 $as_echo_n "(cached) " >&6
2516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2521 if ac_fn_c_try_compile
"$LINENO"; then :
2526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 } # ac_fn_c_check_header_compile
2535 # ac_fn_c_check_func LINENO FUNC VAR
2536 # ----------------------------------
2537 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2538 ac_fn_c_check_func
()
2540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2542 $as_echo_n "checking for $2... " >&6; }
2543 if eval \
${$3+:} false
; then :
2544 $as_echo_n "(cached) " >&6
2546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2548 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2550 #define $2 innocuous_$2
2552 /* System header to define __stub macros and hopefully few prototypes,
2553 which can conflict with char $2 (); below.
2554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2555 <limits.h> exists even on freestanding compilers. */
2558 # include <limits.h>
2560 # include <assert.h>
2565 /* Override any GCC internal prototype to avoid an error.
2566 Use char because int might match the return type of a GCC
2567 builtin and then its argument prototype would still apply. */
2572 /* The GNU C library defines this for functions which it implements
2573 to always fail with ENOSYS. Some functions are actually named
2574 something starting with __ and the normal name is an alias. */
2575 #if defined __stub_$2 || defined __stub___$2
2587 if ac_fn_c_try_link
"$LINENO"; then :
2592 rm -f core conftest.err conftest.
$ac_objext \
2593 conftest
$ac_exeext conftest.
$ac_ext
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 } # ac_fn_c_check_func
2602 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2603 # ----------------------------------------------------
2604 # Tries to find if the field MEMBER exists in type AGGR, after including
2605 # INCLUDES, setting cache variable VAR accordingly.
2606 ac_fn_c_check_member
()
2608 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2610 $as_echo_n "checking for $2.$3... " >&6; }
2611 if eval \
${$4+:} false
; then :
2612 $as_echo_n "(cached) " >&6
2614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2627 if ac_fn_c_try_compile
"$LINENO"; then :
2630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2637 if (sizeof ac_aggr.$3)
2643 if ac_fn_c_try_compile
"$LINENO"; then :
2648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2654 $as_echo "$ac_res" >&6; }
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2657 } # ac_fn_c_check_member
2659 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2660 # -------------------------------------------
2661 # Tests whether TYPE exists after having included INCLUDES, setting cache
2662 # variable VAR accordingly.
2663 ac_fn_c_check_type
()
2665 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \
${$3+:} false
; then :
2669 $as_echo_n "(cached) " >&6
2672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2684 if ac_fn_c_try_compile
"$LINENO"; then :
2685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2697 if ac_fn_c_try_compile
"$LINENO"; then :
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_type
2712 cat >config.log
<<_ACEOF
2713 This file contains any messages produced by compilers while
2714 running configure, to aid debugging if configure makes a mistake.
2716 It was created by Wine $as_me 1.7.3, which was
2717 generated by GNU Autoconf 2.69. Invocation command line was
2729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 $as_echo "PATH: $as_dir"
2769 # Keep a trace of the command line.
2770 # Strip out --no-create and --no-recursion so they do not pile up.
2771 # Strip out --silent because we don't want to record it for future runs.
2772 # Also quote any args containing shell meta-characters.
2773 # Make two passes to allow for proper duplicate-argument suppression.
2777 ac_must_keep_next
=false
2783 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2785 |
-silent |
--silent |
--silen |
--sile |
--sil)
2788 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2791 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2793 as_fn_append ac_configure_args1
" '$ac_arg'"
2794 if test $ac_must_keep_next = true
; then
2795 ac_must_keep_next
=false
# Got value, back to normal.
2798 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2799 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2800 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2801 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2802 case "$ac_configure_args0 " in
2803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2806 -* ) ac_must_keep_next
=true
;;
2809 as_fn_append ac_configure_args
" '$ac_arg'"
2814 { ac_configure_args0
=; unset ac_configure_args0
;}
2815 { ac_configure_args1
=; unset ac_configure_args1
;}
2817 # When interrupted or exit'd, cleanup temporary files, and complete
2818 # config.log. We remove comments because anyway the quotes in there
2819 # would cause problems or look ugly.
2820 # WARNING: Use '\'' to represent an apostrophe within the trap.
2821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2822 trap 'exit_status=$?
2823 # Save into config.log some information that might help in debugging.
2827 $as_echo "## ---------------- ##
2828 ## Cache variables. ##
2829 ## ---------------- ##"
2831 # The following way of writing the cache mishandles newlines in values,
2833 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2834 eval ac_val=\$$ac_var
2838 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2842 _ | IFS | as_nl) ;; #(
2843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2844 *) { eval $ac_var=; unset $ac_var;} ;;
2849 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2850 *${as_nl}ac_space=\ *)
2852 "s/'\''/'\''\\\\'\'''\''/g;
2853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2863 $as_echo "## ----------------- ##
2864 ## Output variables. ##
2865 ## ----------------- ##"
2867 for ac_var in $ac_subst_vars
2869 eval ac_val=\$$ac_var
2871 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2873 $as_echo "$ac_var='\''$ac_val'\''"
2877 if test -n "$ac_subst_files"; then
2878 $as_echo "## ------------------- ##
2879 ## File substitutions. ##
2880 ## ------------------- ##"
2882 for ac_var
in $ac_subst_files
2884 eval ac_val
=\$
$ac_var
2886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2888 $as_echo "$ac_var='\''$ac_val'\''"
2893 if test -s confdefs.h; then
2894 $as_echo "## ----------- ##
2901 test "$ac_signal" != 0 &&
2902 $as_echo "$as_me: caught signal $ac_signal"
2903 $as_echo "$as_me: exit $exit_status"
2905 rm -f core *.core core.conftest.* &&
2906 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2909 for ac_signal
in 1 2 13 15; do
2910 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2915 rm -f -r conftest
* confdefs.h
2917 $as_echo "/* confdefs.h */" > confdefs.h
2919 # Predefined preprocessor variables.
2921 cat >>confdefs.h
<<_ACEOF
2922 #define PACKAGE_NAME "$PACKAGE_NAME"
2925 cat >>confdefs.h
<<_ACEOF
2926 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2929 cat >>confdefs.h
<<_ACEOF
2930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2933 cat >>confdefs.h
<<_ACEOF
2934 #define PACKAGE_STRING "$PACKAGE_STRING"
2937 cat >>confdefs.h
<<_ACEOF
2938 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2941 cat >>confdefs.h
<<_ACEOF
2942 #define PACKAGE_URL "$PACKAGE_URL"
2946 # Let the site file select an alternate cache file if it wants to.
2947 # Prefer an explicitly selected file to automatically selected ones.
2950 if test -n "$CONFIG_SITE"; then
2951 # We do not want a PATH search for config.site.
2952 case $CONFIG_SITE in #((
2953 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2954 */*) ac_site_file1
=$CONFIG_SITE;;
2955 *) ac_site_file1
=.
/$CONFIG_SITE;;
2957 elif test "x$prefix" != xNONE
; then
2958 ac_site_file1
=$prefix/share
/config.site
2959 ac_site_file2
=$prefix/etc
/config.site
2961 ac_site_file1
=$ac_default_prefix/share
/config.site
2962 ac_site_file2
=$ac_default_prefix/etc
/config.site
2964 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2966 test "x$ac_site_file" = xNONE
&& continue
2967 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2969 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2970 sed 's/^/| /' "$ac_site_file" >&5
2972 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $?
"failed to load site script $ac_site_file
2975 See \`config.log' for more details" "$LINENO" 5; }
2979 if test -r "$cache_file"; then
2980 # Some versions of bash will fail to source /dev/null (special files
2981 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2982 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2984 $as_echo "$as_me: loading cache $cache_file" >&6;}
2986 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2987 *) .
"./$cache_file";;
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2992 $as_echo "$as_me: creating cache $cache_file" >&6;}
2996 # Check that the precious variables saved in the cache have kept the same
2998 ac_cache_corrupted
=false
2999 for ac_var
in $ac_precious_vars; do
3000 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3001 eval ac_new_set
=\
$ac_env_${ac_var}_set
3002 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3003 eval ac_new_val
=\
$ac_env_${ac_var}_value
3004 case $ac_old_set,$ac_new_set in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3007 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3008 ac_cache_corrupted
=: ;;
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3011 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3012 ac_cache_corrupted
=: ;;
3015 if test "x$ac_old_val" != "x$ac_new_val"; then
3016 # differences in whitespace do not lead to failure.
3017 ac_old_val_w
=`echo x $ac_old_val`
3018 ac_new_val_w
=`echo x $ac_new_val`
3019 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3021 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3022 ac_cache_corrupted
=:
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3025 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3026 eval $ac_var=\
$ac_old_val
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3029 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3031 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3034 # Pass precious variables to config.status.
3035 if test "$ac_new_set" = set; then
3037 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3038 *) ac_arg
=$ac_var=$ac_new_val ;;
3040 case " $ac_configure_args " in
3041 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3042 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3046 if $ac_cache_corrupted; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3050 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3051 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3053 ## -------------------- ##
3054 ## Main body of script. ##
3055 ## -------------------- ##
3058 ac_cpp
='$CPP $CPPFLAGS'
3059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3065 ac_config_headers
="$ac_config_headers include/config.h"
3068 for ac_dir
in tools
"$srcdir"/tools
; do
3069 if test -f "$ac_dir/install-sh"; then
3071 ac_install_sh
="$ac_aux_dir/install-sh -c"
3073 elif test -f "$ac_dir/install.sh"; then
3075 ac_install_sh
="$ac_aux_dir/install.sh -c"
3077 elif test -f "$ac_dir/shtool"; then
3079 ac_install_sh
="$ac_aux_dir/shtool install -c"
3083 if test -z "$ac_aux_dir"; then
3084 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3087 # These three variables are undocumented and unsupported,
3088 # and are intended to be withdrawn in a future Autoconf release.
3089 # They can cause serious problems if a builder's source tree is in a directory
3090 # whose full name contains unusual characters.
3091 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3092 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3093 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3099 # Check whether --enable-win16 was given.
3100 if test "${enable_win16+set}" = set; then :
3101 enableval
=$enable_win16;
3104 # Check whether --enable-win64 was given.
3105 if test "${enable_win64+set}" = set; then :
3106 enableval
=$enable_win64;
3109 # Check whether --enable-tests was given.
3110 if test "${enable_tests+set}" = set; then :
3111 enableval
=$enable_tests;
3114 # Check whether --enable-maintainer-mode was given.
3115 if test "${enable_maintainer_mode+set}" = set; then :
3116 enableval
=$enable_maintainer_mode;
3121 # Check whether --with-alsa was given.
3122 if test "${with_alsa+set}" = set; then :
3123 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3127 # Check whether --with-capi was given.
3128 if test "${with_capi+set}" = set; then :
3133 # Check whether --with-cms was given.
3134 if test "${with_cms+set}" = set; then :
3139 # Check whether --with-coreaudio was given.
3140 if test "${with_coreaudio+set}" = set; then :
3141 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3145 # Check whether --with-cups was given.
3146 if test "${with_cups+set}" = set; then :
3151 # Check whether --with-curses was given.
3152 if test "${with_curses+set}" = set; then :
3153 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3157 # Check whether --with-dbus was given.
3158 if test "${with_dbus+set}" = set; then :
3163 # Check whether --with-fontconfig was given.
3164 if test "${with_fontconfig+set}" = set; then :
3165 withval
=$with_fontconfig;
3169 # Check whether --with-freetype was given.
3170 if test "${with_freetype+set}" = set; then :
3171 withval
=$with_freetype;
3175 # Check whether --with-gettext was given.
3176 if test "${with_gettext+set}" = set; then :
3177 withval
=$with_gettext;
3181 # Check whether --with-gettextpo was given.
3182 if test "${with_gettextpo+set}" = set; then :
3183 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3187 # Check whether --with-gphoto was given.
3188 if test "${with_gphoto+set}" = set; then :
3189 withval
=$with_gphoto;
3193 # Check whether --with-glu was given.
3194 if test "${with_glu+set}" = set; then :
3199 # Check whether --with-gnutls was given.
3200 if test "${with_gnutls+set}" = set; then :
3201 withval
=$with_gnutls;
3205 # Check whether --with-gsm was given.
3206 if test "${with_gsm+set}" = set; then :
3207 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3211 # Check whether --with-gstreamer was given.
3212 if test "${with_gstreamer+set}" = set; then :
3213 withval
=$with_gstreamer;
3217 # Check whether --with-hal was given.
3218 if test "${with_hal+set}" = set; then :
3223 # Check whether --with-jpeg was given.
3224 if test "${with_jpeg+set}" = set; then :
3229 # Check whether --with-ldap was given.
3230 if test "${with_ldap+set}" = set; then :
3231 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3235 # Check whether --with-mpg123 was given.
3236 if test "${with_mpg123+set}" = set; then :
3237 withval
=$with_mpg123;
3241 # Check whether --with-openal was given.
3242 if test "${with_openal+set}" = set; then :
3243 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3247 # Check whether --with-opencl was given.
3248 if test "${with_opencl+set}" = set; then :
3249 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3253 # Check whether --with-opengl was given.
3254 if test "${with_opengl+set}" = set; then :
3255 withval
=$with_opengl;
3259 # Check whether --with-osmesa was given.
3260 if test "${with_osmesa+set}" = set; then :
3261 withval
=$with_osmesa;
3265 # Check whether --with-oss was given.
3266 if test "${with_oss+set}" = set; then :
3271 # Check whether --with-png was given.
3272 if test "${with_png+set}" = set; then :
3277 # Check whether --with-pthread was given.
3278 if test "${with_pthread+set}" = set; then :
3279 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3283 # Check whether --with-sane was given.
3284 if test "${with_sane+set}" = set; then :
3289 # Check whether --with-tiff was given.
3290 if test "${with_tiff+set}" = set; then :
3295 # Check whether --with-v4l was given.
3296 if test "${with_v4l+set}" = set; then :
3301 # Check whether --with-xcomposite was given.
3302 if test "${with_xcomposite+set}" = set; then :
3303 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3307 # Check whether --with-xcursor was given.
3308 if test "${with_xcursor+set}" = set; then :
3309 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3313 # Check whether --with-xinerama was given.
3314 if test "${with_xinerama+set}" = set; then :
3315 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3319 # Check whether --with-xinput was given.
3320 if test "${with_xinput+set}" = set; then :
3321 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3325 # Check whether --with-xinput2 was given.
3326 if test "${with_xinput2+set}" = set; then :
3327 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3331 # Check whether --with-xml was given.
3332 if test "${with_xml+set}" = set; then :
3337 # Check whether --with-xrandr was given.
3338 if test "${with_xrandr+set}" = set; then :
3339 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3343 # Check whether --with-xrender was given.
3344 if test "${with_xrender+set}" = set; then :
3345 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3349 # Check whether --with-xshape was given.
3350 if test "${with_xshape+set}" = set; then :
3351 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3355 # Check whether --with-xshm was given.
3356 if test "${with_xshm+set}" = set; then :
3357 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3361 # Check whether --with-xslt was given.
3362 if test "${with_xslt+set}" = set; then :
3367 # Check whether --with-xxf86vm was given.
3368 if test "${with_xxf86vm+set}" = set; then :
3369 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
3373 # Check whether --with-zlib was given.
3374 if test "${with_zlib+set}" = set; then :
3375 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3380 # Check whether --with-wine-tools was given.
3381 if test "${with_wine_tools+set}" = set; then :
3382 withval
=$with_wine_tools;
3386 # Check whether --with-wine64 was given.
3387 if test "${with_wine64+set}" = set; then :
3388 withval
=$with_wine64;
3392 # Make sure we can run config.sub.
3393 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3394 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3397 $as_echo_n "checking build system type... " >&6; }
3398 if ${ac_cv_build+:} false
; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_build_alias
=$build_alias
3402 test "x$ac_build_alias" = x
&&
3403 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3404 test "x$ac_build_alias" = x
&&
3405 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3406 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3407 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3411 $as_echo "$ac_cv_build" >&6; }
3412 case $ac_cv_build in
3414 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3417 ac_save_IFS
=$IFS; IFS
='-'
3423 # Remember, the first character of IFS is used to create $*,
3424 # except with old shells:
3427 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3431 $as_echo_n "checking host system type... " >&6; }
3432 if ${ac_cv_host+:} false
; then :
3433 $as_echo_n "(cached) " >&6
3435 if test "x$host_alias" = x
; then
3436 ac_cv_host
=$ac_cv_build
3438 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3439 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3444 $as_echo "$ac_cv_host" >&6; }
3447 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3450 ac_save_IFS
=$IFS; IFS
='-'
3456 # Remember, the first character of IFS is used to create $*,
3457 # except with old shells:
3460 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3466 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3467 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3468 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3474 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3476 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3477 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3478 $as_echo_n "(cached) " >&6
3480 cat >conftest.
make <<\_ACEOF
3483 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3485 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3486 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3488 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3490 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3494 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3496 $as_echo "yes" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3501 SET_MAKE
="MAKE=${MAKE-make}"
3505 ac_cpp
='$CPP $CPPFLAGS'
3506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3509 if test -n "$ac_tool_prefix"; then
3510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3511 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if ${ac_cv_prog_CC+:} false
; then :
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$CC"; then
3518 ac_cv_prog_CC
="$CC" # Let the user override the test.
3520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3524 test -z "$as_dir" && as_dir
=.
3525 for ac_exec_ext
in '' $ac_executable_extensions; do
3526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3548 if test -z "$ac_cv_prog_CC"; then
3550 # Extract the first word of "gcc", so it can be a program name with args.
3551 set dummy gcc
; ac_word
=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3555 $as_echo_n "(cached) " >&6
3557 if test -n "$ac_ct_CC"; then
3558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3564 test -z "$as_dir" && as_dir
=.
3565 for ac_exec_ext
in '' $ac_executable_extensions; do
3566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_ac_ct_CC
="gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3578 if test -n "$ac_ct_CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3580 $as_echo "$ac_ct_CC" >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3586 if test "x$ac_ct_CC" = x
; then
3589 case $cross_compiling:$ac_tool_warned in
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3593 ac_tool_warned
=yes ;;
3601 if test -z "$CC"; then
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3604 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC
="$CC" # Let the user override the test.
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3642 if test -z "$CC"; then
3643 # Extract the first word of "cc", so it can be a program name with args.
3644 set dummy cc
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_CC+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC
="$CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3662 ac_prog_rejected
=yes
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 if test $ac_prog_rejected = yes; then
3674 # We found a bogon in the path, so make sure we never use it.
3675 set dummy
$ac_cv_prog_CC
3677 if test $# != 0; then
3678 # We chose a different compiler from the bogus one.
3679 # However, it has the same basename, so the bogon will be chosen
3680 # first if we set CC to just the basename; use the full file name.
3682 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3688 if test -n "$CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3690 $as_echo "$CC" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3698 if test -z "$CC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 for ac_prog
in cl.exe
3702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3703 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_CC+:} false
; then :
3707 $as_echo_n "(cached) " >&6
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC
="$CC" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3739 test -n "$CC" && break
3742 if test -z "$CC"; then
3744 for ac_prog
in cl.exe
3746 # Extract the first word of "$ac_prog", so it can be a program name with args.
3747 set dummy
$ac_prog; ac_word
=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$ac_ct_CC"; then
3754 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir
=.
3761 for ac_exec_ext
in '' $ac_executable_extensions; do
3762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_ac_ct_CC
="$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3774 if test -n "$ac_ct_CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3776 $as_echo "$ac_ct_CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$ac_ct_CC" && break
3786 if test "x$ac_ct_CC" = x
; then
3789 case $cross_compiling:$ac_tool_warned in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned
=yes ;;
3802 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error $?
"no acceptable C compiler found in \$PATH
3805 See \`config.log' for more details" "$LINENO" 5; }
3807 # Provide some information about the compiler.
3808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3811 for ac_option
in --version -v -V -qversion; do
3812 { { ac_try
="$ac_compiler $ac_option >&5"
3814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3821 if test -s conftest.err; then
3823 ... rest of stderr output deleted ...
3824 10q' conftest.err >conftest.er1
3825 cat conftest.er1 >&5
3827 rm -f conftest.er1 conftest.err
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3843 ac_clean_files_save=$ac_clean_files
3844 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3845 # Try to create an executable without -o first, disregard a.out.
3846 # It will help us diagnose broken compilers, and finding out an intuition
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3849 $as_echo_n "checking whether the C compiler works... " >&6; }
3850 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3852 # The possible output files:
3853 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3856 for ac_file in $ac_files
3859 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3860 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3865 if { { ac_try="$ac_link_default"
3867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3868 *) ac_try_echo
=$ac_try;;
3870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link_default") 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3877 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3878 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3879 # so that the user can short-circuit this test for compilers unknown to
3881 for ac_file
in $ac_files ''
3883 test -f "$ac_file" ||
continue
3885 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3888 # We found the default executable, but exeext='' is most
3892 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3894 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3896 # We set ac_cv_exeext here because the later test for it is not
3897 # safe: cross compilers may not add the suffix if given an `-o'
3898 # argument, so we may need to know it at that point already.
3899 # Even if this section looks crufty: it has the advantage of
3906 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3911 if test -z "$ac_file"; then :
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3919 as_fn_error
77 "C compiler cannot create executables
3920 See \`config.log' for more details" "$LINENO" 5; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3923 $as_echo "yes" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3926 $as_echo_n "checking for C compiler default output file name... " >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3928 $as_echo "$ac_file" >&6; }
3929 ac_exeext
=$ac_cv_exeext
3931 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3932 ac_clean_files
=$ac_clean_files_save
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3934 $as_echo_n "checking for suffix of executables... " >&6; }
3935 if { { ac_try
="$ac_link"
3937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link") 2>&5
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3947 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3948 # work properly (i.e., refer to `conftest.exe'), while it won't with
3950 for ac_file
in conftest.exe conftest conftest.
*; do
3951 test -f "$ac_file" ||
continue
3953 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3954 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 rm -f conftest conftest
$ac_cv_exeext
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3967 $as_echo "$ac_cv_exeext" >&6; }
3969 rm -f conftest.
$ac_ext
3970 EXEEXT
=$ac_cv_exeext
3972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3978 FILE *f = fopen ("conftest.out", "w");
3979 return ferror (f) || fclose (f) != 0;
3985 ac_clean_files
="$ac_clean_files conftest.out"
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3989 $as_echo_n "checking whether we are cross compiling... " >&6; }
3990 if test "$cross_compiling" != yes; then
3991 { { ac_try
="$ac_link"
3993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link") 2>&5
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 if { ac_try='./conftest$ac_cv_exeext'
4003 { { case "(($ac_try" in
4004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4005 *) ac_try_echo
=$ac_try;;
4007 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; }; then
4015 if test "$cross_compiling" = maybe
; then
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error $?
"cannot run C compiled programs.
4021 If you meant to cross compile, use \`--host'.
4022 See \`config.log' for more details" "$LINENO" 5; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4029 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4030 ac_clean_files
=$ac_clean_files_save
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4032 $as_echo_n "checking for suffix of object files... " >&6; }
4033 if ${ac_cv_objext+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 rm -f conftest.o conftest.obj
4048 if { { ac_try
="$ac_compile"
4050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_compile") 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 for ac_file in conftest.o conftest.obj conftest.*; do
4060 test -f "$ac_file" || continue;
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4063 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4068 $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4074 See \
`config.log' for more details" "$LINENO" 5; }
4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4079 $as_echo "$ac_cv_objext" >&6; }
4080 OBJEXT=$ac_cv_objext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4084 if ${ac_cv_c_compiler_gnu+:} false; then :
4085 $as_echo_n "(cached) " >&6
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4101 if ac_fn_c_try_compile "$LINENO"; then :
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4112 if test $ac_compiler_gnu = yes; then
4117 ac_test_CFLAGS=${CFLAGS+set}
4118 ac_save_CFLAGS=$CFLAGS
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4121 if ${ac_cv_prog_cc_g+:} false; then :
4122 $as_echo_n "(cached) " >&6
4124 ac_save_c_werror_flag=$ac_c_werror_flag
4125 ac_c_werror_flag=yes
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 if ac_fn_c_try_compile "$LINENO"; then :
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4154 if ac_fn_c_try_compile "$LINENO"; then :
4157 ac_c_werror_flag=$ac_save_c_werror_flag
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_c_werror_flag=$ac_save_c_werror_flag
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183 CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185 if test "$GCC" = yes; then
4191 if test "$GCC" = yes; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if ${ac_cv_prog_cc_c89+:} false; then :
4200 $as_echo_n "(cached) " >&6
4202 ac_cv_prog_cc_c89=no
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4210 struct buf { int x; };
4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4212 static char *e (p, i)
4218 static char *f (char * (*g) (char **, int), char **p, ...)
4223 s = g (p, va_arg (v,int));
4228 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4229 function prototypes and stuff, but not '\xHH' hex character constants.
4230 These don't provoke an error unfortunately, instead are silently treated
4231 as 'x'. The following induces an error, until -std is added to get
4232 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4233 array size at least. It's necessary to write '\x00'==0 to get something
4234 that's true only with -std. */
4235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4238 inside strings and character constants. */
4240 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4242 int test (int i, double x);
4243 struct s1 {int (*f) (int a);};
4244 struct s2 {int (*f) (double a);};
4245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4256 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4257 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 CC="$ac_save_CC $ac_arg"
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 ac_cv_prog_cc_c89=$ac_arg
4263 rm -f core conftest.err conftest.$ac_objext
4264 test "x$ac_cv_prog_cc_c89" != "xno" && break
4266 rm -f conftest.$ac_ext
4271 case "x$ac_cv_prog_cc_c89" in
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4274 $as_echo "none needed" >&6; } ;;
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4277 $as_echo "unsupported" >&6; } ;;
4279 CC="$CC $ac_cv_prog_cc_c89"
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4281 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4283 if test "x$ac_cv_prog_cc_c89" != xno; then :
4288 ac_cpp='$CPP $CPPFLAGS'
4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294 ac_cpp='$CXXCPP $CPPFLAGS'
4295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4298 if test -z "$CXX"; then
4299 if test -n "$CCC"; then
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CXX+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$CXX"; then
4313 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test -n "$CXX"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4335 $as_echo "$CXX" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$CXX" && break
4345 if test -z "$CXX"; then
4347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy $ac_prog; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_CXX"; then
4357 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_ac_ct_CXX="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4377 if test -n "$ac_ct_CXX"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4379 $as_echo "$ac_ct_CXX" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_CXX" && break
4389 if test "x$ac_ct_CXX" = x; then
4392 case $cross_compiling:$ac_tool_warned in
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned=yes ;;
4404 # Provide some information about the compiler.
4405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4408 for ac_option in --version -v -V -qversion; do
4409 { { ac_try="$ac_compiler $ac_option >&5"
4411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4412 *) ac_try_echo
=$ac_try;;
4414 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4418 if test -s conftest.err
; then
4420 ... rest of stderr output deleted ...
4421 10q' conftest.err
>conftest.er1
4422 cat conftest.er1
>&5
4424 rm -f conftest.er1 conftest.err
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4430 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4431 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4432 $as_echo_n "(cached) " >&6
4434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4448 if ac_fn_cxx_try_compile
"$LINENO"; then :
4453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4454 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4458 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4459 if test $ac_compiler_gnu = yes; then
4464 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4465 ac_save_CXXFLAGS
=$CXXFLAGS
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4467 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4468 if ${ac_cv_prog_cxx_g+:} false
; then :
4469 $as_echo_n "(cached) " >&6
4471 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4472 ac_cxx_werror_flag
=yes
4475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4486 if ac_fn_cxx_try_compile
"$LINENO"; then :
4487 ac_cv_prog_cxx_g
=yes
4490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4501 if ac_fn_cxx_try_compile
"$LINENO"; then :
4504 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4517 if ac_fn_cxx_try_compile
"$LINENO"; then :
4518 ac_cv_prog_cxx_g
=yes
4520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4525 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4528 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4529 if test "$ac_test_CXXFLAGS" = set; then
4530 CXXFLAGS
=$ac_save_CXXFLAGS
4531 elif test $ac_cv_prog_cxx_g = yes; then
4532 if test "$GXX" = yes; then
4538 if test "$GXX" = yes; then
4545 ac_cpp
='$CPP $CPPFLAGS'
4546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4550 if test -n "$ac_tool_prefix"; then
4551 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4552 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if ${ac_cv_prog_CPPBIN+:} false
; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$CPPBIN"; then
4559 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 CPPBIN
=$ac_cv_prog_CPPBIN
4579 if test -n "$CPPBIN"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4581 $as_echo "$CPPBIN" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4589 if test -z "$ac_cv_prog_CPPBIN"; then
4590 ac_ct_CPPBIN
=$CPPBIN
4591 # Extract the first word of "cpp", so it can be a program name with args.
4592 set dummy cpp
; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$ac_ct_CPPBIN"; then
4599 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4619 if test -n "$ac_ct_CPPBIN"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4621 $as_echo "$ac_ct_CPPBIN" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4627 if test "x$ac_ct_CPPBIN" = x
; then
4630 case $cross_compiling:$ac_tool_warned in
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned
=yes ;;
4636 CPPBIN
=$ac_ct_CPPBIN
4639 CPPBIN
="$ac_cv_prog_CPPBIN"
4643 cat >>confdefs.h
<<_ACEOF
4644 #define EXEEXT "$ac_exeext"
4650 if test "x$enable_win64" = "xyes"
4655 notice_platform
="64-bit "
4662 notice_platform
="32-bit "
4665 enable_win16
=${enable_win16:-yes}
4667 with_fontconfig
=${with_fontconfig:-no}
4670 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4675 $as_echo_n "checking whether $CC works... " >&6; }
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4688 if ac_fn_c_try_link
"$LINENO"; then :
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690 $as_echo "yes" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4694 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4696 rm -f core conftest.err conftest.
$ac_objext \
4697 conftest
$ac_exeext conftest.
$ac_ext
4699 notice_platform
="32-bit "
4702 enable_win16
=${enable_win16:-yes}
4704 if test "x${GCC}" = "xyes"
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4707 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4714 void func(__builtin_ms_va_list *args);
4719 if ac_fn_c_try_compile
"$LINENO"; then :
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4725 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4735 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 int ac_test(int i) { return i; }
4742 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4747 if ac_fn_c_try_link
"$LINENO"; then :
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4753 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4755 rm -f core conftest.err conftest.
$ac_objext \
4756 conftest
$ac_exeext conftest.
$ac_ext
4757 CFLAGS
="$CFLAGS -marm"
4759 *-mingw32*|
*-cygwin*)
4760 enable_win16
=${enable_win16:-no}
4761 CFLAGS
="$CFLAGS -D_WIN32"
4764 enable_win16
=${enable_win16:-yes}
4768 enable_win16
=${enable_win16:-no}
4769 enable_win64
=${enable_win64:-no}
4771 enable_winetest
=${enable_winetest:-$enable_tests}
4773 if test -n "$with_wine64"
4775 if test "x$enable_win64" = "xyes"
4777 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4778 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4782 enable_fonts
=${enable_fonts:-no}
4783 enable_server
=${enable_server:-no}
4784 elif test "x$enable_win64" = "xyes"
4786 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4790 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4791 if ${wine_cv_toolsdir+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 wine_cv_toolsdir
="$with_wine_tools"
4795 if test -z "$with_wine_tools"; then
4796 if test "$cross_compiling" = "yes"; then
4797 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4798 elif test -n "$with_wine64"; then
4799 wine_cv_toolsdir
="$with_wine64"
4802 if test -z "$wine_cv_toolsdir"; then
4803 wine_cv_toolsdir
="\$(top_builddir)"
4804 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4805 case "$wine_cv_toolsdir" in
4807 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4809 enable_tools
=${enable_tools:-no}
4811 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4815 $as_echo "$wine_cv_toolsdir" >&6; }
4816 TOOLSDIR
=$wine_cv_toolsdir
4818 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4820 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy
$ac_prog; ac_word
=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FLEX+:} false
; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$FLEX"; then
4834 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_FLEX
="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 FLEX
=$ac_cv_prog_FLEX
4854 if test -n "$FLEX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4856 $as_echo "$FLEX" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FLEX" && break
4865 test -n "$FLEX" || FLEX
="none"
4867 if test "$FLEX" = "none"
4869 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4872 $as_echo_n "checking whether flex is recent enough... " >&6; }
4873 cat >conftest.l
<<EOF
4875 #include "prediluvian.h"
4879 if $FLEX -t conftest.l
>/dev
/null
2>&5
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4889 for ac_prog
in bison
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy
$ac_prog; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_BISON+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$BISON"; then
4899 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_BISON
="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 BISON
=$ac_cv_prog_BISON
4919 if test -n "$BISON"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4921 $as_echo "$BISON" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$BISON" && break
4930 test -n "$BISON" || BISON
="none"
4932 if test "$BISON" = "none"
4934 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog
in ar gar
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_AR+:} false
; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -n "$AR"; then
4948 ac_cv_prog_AR
="$AR" # Let the user override the test.
4950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir
=.
4955 for ac_exec_ext
in '' $ac_executable_extensions; do
4956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 if test -n "$AR"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4970 $as_echo "$AR" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$AR" && break
4980 if test -z "$AR"; then
4982 for ac_prog
in ar gar
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$ac_ct_AR"; then
4992 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_AR
="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5012 if test -n "$ac_ct_AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5014 $as_echo "$ac_ct_AR" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$ac_ct_AR" && break
5024 if test "x$ac_ct_AR" = x
; then
5027 case $cross_compiling:$ac_tool_warned in
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned
=yes ;;
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5039 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_STRIP+:} false
; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$STRIP"; then
5046 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 STRIP
=$ac_cv_prog_STRIP
5066 if test -n "$STRIP"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5068 $as_echo "$STRIP" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_STRIP"; then
5078 # Extract the first word of "strip", so it can be a program name with args.
5079 set dummy strip
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$ac_ct_STRIP"; then
5086 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_STRIP
="strip"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5106 if test -n "$ac_ct_STRIP"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5108 $as_echo "$ac_ct_STRIP" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_STRIP" = x
; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned
=yes ;;
5126 STRIP
="$ac_cv_prog_STRIP"
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_RANLIB+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 RANLIB
=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB
=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x
; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned
=yes ;;
5217 RANLIB
=$ac_ct_RANLIB
5220 RANLIB
="$ac_cv_prog_RANLIB"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5224 $as_echo_n "checking whether ln -s works... " >&6; }
5226 if test "$LN_S" = "ln -s"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5231 $as_echo "no, using $LN_S" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5235 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5236 if ${ac_cv_path_GREP+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 if test -z "$GREP"; then
5240 ac_path_GREP_found
=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_prog
in grep ggrep
; do
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5250 as_fn_executable_p
"$ac_path_GREP" ||
continue
5251 # Check for GNU ac_path_GREP and select it if it is found.
5252 # Check for GNU $ac_path_GREP
5253 case `"$ac_path_GREP" --version 2>&1` in
5255 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5258 $as_echo_n 0123456789 >"conftest.in"
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 $as_echo 'GREP' >> "conftest.nl"
5265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5267 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_GREP
="$ac_path_GREP"
5271 ac_path_GREP_max
=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5279 $ac_path_GREP_found && break 3
5284 if test -z "$ac_cv_path_GREP"; then
5285 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5288 ac_cv_path_GREP
=$GREP
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5293 $as_echo "$ac_cv_path_GREP" >&6; }
5294 GREP
="$ac_cv_path_GREP"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5298 $as_echo_n "checking for egrep... " >&6; }
5299 if ${ac_cv_path_EGREP+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5303 then ac_cv_path_EGREP
="$GREP -E"
5305 if test -z "$EGREP"; then
5306 ac_path_EGREP_found
=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_prog
in egrep; do
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5317 # Check for GNU ac_path_EGREP and select it if it is found.
5318 # Check for GNU $ac_path_EGREP
5319 case `"$ac_path_EGREP" --version 2>&1` in
5321 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5324 $as_echo_n 0123456789 >"conftest.in"
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'EGREP' >> "conftest.nl"
5331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5333 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_EGREP
="$ac_path_EGREP"
5337 ac_path_EGREP_max
=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5345 $ac_path_EGREP_found && break 3
5350 if test -z "$ac_cv_path_EGREP"; then
5351 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 ac_cv_path_EGREP
=$EGREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5360 $as_echo "$ac_cv_path_EGREP" >&6; }
5361 EGREP
="$ac_cv_path_EGREP"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5365 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5366 if test -z "$MKDIR_P"; then
5367 if ${ac_cv_path_mkdir+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_prog
in mkdir gmkdir
; do
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5378 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5379 'mkdir (GNU coreutils) '* | \
5380 'mkdir (coreutils) '* | \
5381 'mkdir (fileutils) '4.1*)
5382 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5392 test -d .
/--version && rmdir .
/--version
5393 if test "${ac_cv_path_mkdir+set}" = set; then
5394 MKDIR_P
="$ac_cv_path_mkdir -p"
5396 # As a last resort, use the slow shell script. Don't cache a
5397 # value for MKDIR_P within a source directory, because that will
5398 # break other packages using the cache if that directory is
5399 # removed, or if the value is a relative name.
5400 MKDIR_P
="$ac_install_sh -d"
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5404 $as_echo "$MKDIR_P" >&6; }
5406 # Extract the first word of "ldconfig", so it can be a program name with args.
5407 set dummy ldconfig
; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_path_LDCONFIG+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5415 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 for as_dir
in /sbin
/usr
/sbin
$PATH
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5437 LDCONFIG
=$ac_cv_path_LDCONFIG
5438 if test -n "$LDCONFIG"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5440 $as_echo "$LDCONFIG" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5449 # Find a good install program. We prefer a C program (faster),
5450 # so one script is as good as another. But avoid the broken or
5451 # incompatible versions:
5452 # SysV /etc/install, /usr/sbin/install
5453 # SunOS /usr/etc/install
5454 # IRIX /sbin/install
5456 # AmigaOS /C/install, which installs bootblocks on floppy discs
5457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5460 # OS/2's system install, which has a completely different semantic
5461 # ./install, which can be erroneously created by make from ./install.sh.
5462 # Reject install programs that cannot install multiple files.
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5464 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5465 if test -z "$INSTALL"; then
5466 if ${ac_cv_path_install+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 # Account for people who put trailing slashes in PATH elements.
5475 case $as_dir/ in #((
5476 .
/ | .
// |
/[cC
]/* | \
5477 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5478 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5481 # OSF1 and SCO ODT 3.0 have their own names for install.
5482 # Don't use installbsd from OSF since it installs stuff as root
5484 for ac_prog
in ginstall scoinst
install; do
5485 for ac_exec_ext
in '' $ac_executable_extensions; do
5486 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5487 if test $ac_prog = install &&
5488 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5489 # AIX install. It has an incompatible calling convention.
5491 elif test $ac_prog = install &&
5492 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5493 # program-specific install script used by HP pwplus--don't use.
5496 rm -rf conftest.one conftest.two conftest.dir
5497 echo one
> conftest.one
5498 echo two
> conftest.two
5500 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5501 test -s conftest.one
&& test -s conftest.two
&&
5502 test -s conftest.dir
/conftest.one
&&
5503 test -s conftest.dir
/conftest.two
5505 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5518 rm -rf conftest.one conftest.two conftest.dir
5521 if test "${ac_cv_path_install+set}" = set; then
5522 INSTALL
=$ac_cv_path_install
5524 # As a last resort, use the slow shell script. Don't cache a
5525 # value for INSTALL within a source directory, because that will
5526 # break other packages using the cache if that directory is
5527 # removed, or if the value is a relative name.
5528 INSTALL
=$ac_install_sh
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5532 $as_echo "$INSTALL" >&6; }
5534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5535 # It thinks the first close brace ends the variable substitution.
5536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5543 for ac_prog
in lclint lint
5545 # Extract the first word of "$ac_prog", so it can be a program name with args.
5546 set dummy
$ac_prog; ac_word
=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_LINT+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 if test -n "$LINT"; then
5553 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir
=.
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_LINT
="$ac_prog"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 LINT
=$ac_cv_prog_LINT
5573 if test -n "$LINT"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5575 $as_echo "$LINT" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 test -n "$LINT" && break
5585 if test "$LINT" = "lint"
5587 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5591 for ac_prog
in fontforge
5593 # Extract the first word of "$ac_prog", so it can be a program name with args.
5594 set dummy
$ac_prog; ac_word
=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5598 $as_echo_n "(cached) " >&6
5600 if test -n "$FONTFORGE"; then
5601 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir
=.
5608 for ac_exec_ext
in '' $ac_executable_extensions; do
5609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_FONTFORGE
="$ac_prog"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 FONTFORGE
=$ac_cv_prog_FONTFORGE
5621 if test -n "$FONTFORGE"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5623 $as_echo "$FONTFORGE" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5630 test -n "$FONTFORGE" && break
5632 test -n "$FONTFORGE" || FONTFORGE
="false"
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy
$ac_prog; ac_word
=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_RSVG+:} false
; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$RSVG"; then
5644 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_RSVG
="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 RSVG
=$ac_cv_prog_RSVG
5664 if test -n "$RSVG"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5666 $as_echo "$RSVG" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$RSVG" && break
5675 test -n "$RSVG" || RSVG
="false"
5677 for ac_prog
in convert
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy
$ac_prog; ac_word
=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_CONVERT+:} false
; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -n "$CONVERT"; then
5687 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir
=.
5694 for ac_exec_ext
in '' $ac_executable_extensions; do
5695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_CONVERT
="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 CONVERT
=$ac_cv_prog_CONVERT
5707 if test -n "$CONVERT"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5709 $as_echo "$CONVERT" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$CONVERT" && break
5718 test -n "$CONVERT" || CONVERT
="false"
5720 for ac_prog
in icotool
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy
$ac_prog; ac_word
=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5727 $as_echo_n "(cached) " >&6
5729 if test -n "$ICOTOOL"; then
5730 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_ICOTOOL
="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 ICOTOOL
=$ac_cv_prog_ICOTOOL
5750 if test -n "$ICOTOOL"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5752 $as_echo "$ICOTOOL" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$ICOTOOL" && break
5761 test -n "$ICOTOOL" || ICOTOOL
="false"
5763 for ac_prog
in msgfmt
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy
$ac_prog; ac_word
=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_MSGFMT+:} false
; then :
5770 $as_echo_n "(cached) " >&6
5772 if test -n "$MSGFMT"; then
5773 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir
=.
5780 for ac_exec_ext
in '' $ac_executable_extensions; do
5781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_MSGFMT
="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 MSGFMT
=$ac_cv_prog_MSGFMT
5793 if test -n "$MSGFMT"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5795 $as_echo "$MSGFMT" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$MSGFMT" && break
5804 test -n "$MSGFMT" || MSGFMT
="false"
5806 if test -n "$ac_tool_prefix"; then
5807 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5808 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$PKG_CONFIG"; then
5815 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir
=.
5822 for ac_exec_ext
in '' $ac_executable_extensions; do
5823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5835 if test -n "$PKG_CONFIG"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5837 $as_echo "$PKG_CONFIG" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5845 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5846 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5847 elif test "$cross_compiling" != yes; then
5848 unset ac_cv_prog_PKG_CONFIG
5849 # Extract the first word of "pkg-config", so it can be a program name with args.
5850 set dummy pkg-config
; ac_word
=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5854 $as_echo_n "(cached) " >&6
5856 if test -n "$PKG_CONFIG"; then
5857 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir
=.
5864 for ac_exec_ext
in '' $ac_executable_extensions; do
5865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_PKG_CONFIG
="pkg-config"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5877 if test -n "$PKG_CONFIG"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5879 $as_echo "$PKG_CONFIG" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5888 if test "x$enable_maintainer_mode" != "xyes"
5893 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5894 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5896 if test "$CONVERT" = false
5898 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5901 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5902 convert_version
=`convert --version | head -n1`
5903 if test "x$convert_version" != "x"
5905 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5906 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5907 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5912 if test "$CONVERT" = false
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5915 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5916 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5919 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5923 if test "$ICOTOOL" = false
5925 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5928 $as_echo_n "checking for recent enough icotool... " >&6; }
5929 icotool_version
=`icotool --version | head -n1`
5930 if test "x$icotool_version" != "x"
5932 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5933 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5934 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5937 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5940 if test "$ICOTOOL" = false
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5943 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5944 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5947 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5953 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5956 test "x$with_gettext" != xno || MSGFMT
=false
5957 if test "$MSGFMT" != "false"
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5960 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5961 cat >conftest.po
<<EOF
5967 if $MSGFMT -o /dev
/null conftest.po
2>&5
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5970 $as_echo "yes" >&6; }
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973 $as_echo "no" >&6; }
5977 if test "$MSGFMT" = false
; then :
5978 case "x$with_gettext" in
5979 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5981 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5982 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5988 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5989 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5990 $as_echo_n "(cached) " >&6
5992 ac_check_lib_save_LIBS
=$LIBS
5994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5997 /* Override any GCC internal prototype to avoid an error.
5998 Use char because int might match the return type of a GCC
5999 builtin and then its argument prototype would still apply. */
6003 char i386_set_ldt ();
6007 return i386_set_ldt ();
6012 if ac_fn_c_try_link
"$LINENO"; then :
6013 ac_cv_lib_i386_i386_set_ldt
=yes
6015 ac_cv_lib_i386_i386_set_ldt
=no
6017 rm -f core conftest.err conftest.
$ac_objext \
6018 conftest
$ac_exeext conftest.
$ac_ext
6019 LIBS
=$ac_check_lib_save_LIBS
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6022 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6023 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6024 cat >>confdefs.h
<<_ACEOF
6025 #define HAVE_LIBI386 1
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6033 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6034 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6035 $as_echo_n "(cached) " >&6
6037 ac_check_lib_save_LIBS
=$LIBS
6038 LIBS
="-lossaudio $LIBS"
6039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6042 /* Override any GCC internal prototype to avoid an error.
6043 Use char because int might match the return type of a GCC
6044 builtin and then its argument prototype would still apply. */
6052 return _oss_ioctl ();
6057 if ac_fn_c_try_link
"$LINENO"; then :
6058 ac_cv_lib_ossaudio__oss_ioctl
=yes
6060 ac_cv_lib_ossaudio__oss_ioctl
=no
6062 rm -f core conftest.err conftest.
$ac_objext \
6063 conftest
$ac_exeext conftest.
$ac_ext
6064 LIBS
=$ac_check_lib_save_LIBS
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6067 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6068 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6069 cat >>confdefs.h
<<_ACEOF
6070 #define HAVE_LIBOSSAUDIO 1
6073 LIBS
="-lossaudio $LIBS"
6084 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6086 # Check whether --enable-largefile was given.
6087 if test "${enable_largefile+set}" = set; then :
6088 enableval
=$enable_largefile;
6091 if test "$enable_largefile" != no
; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6094 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6095 if ${ac_cv_sys_largefile_CC+:} false
; then :
6096 $as_echo_n "(cached) " >&6
6098 ac_cv_sys_largefile_CC
=no
6099 if test "$GCC" != yes; then
6102 # IRIX 6.2 and later do not support large files by default,
6103 # so use the C compiler's -n32 option if that helps.
6104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6106 #include <sys/types.h>
6107 /* Check that off_t can represent 2**63 - 1 correctly.
6108 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6109 since some C++ compilers masquerading as C compilers
6110 incorrectly reject 9223372036854775807. */
6111 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6112 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6113 && LARGE_OFF_T % 2147483647 == 1)
6123 if ac_fn_c_try_compile
"$LINENO"; then :
6126 rm -f core conftest.err conftest.
$ac_objext
6128 if ac_fn_c_try_compile
"$LINENO"; then :
6129 ac_cv_sys_largefile_CC
=' -n32'; break
6131 rm -f core conftest.err conftest.
$ac_objext
6135 rm -f conftest.
$ac_ext
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6139 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6140 if test "$ac_cv_sys_largefile_CC" != no
; then
6141 CC
=$CC$ac_cv_sys_largefile_CC
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6145 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6146 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6147 $as_echo_n "(cached) " >&6
6150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6152 #include <sys/types.h>
6153 /* Check that off_t can represent 2**63 - 1 correctly.
6154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6155 since some C++ compilers masquerading as C compilers
6156 incorrectly reject 9223372036854775807. */
6157 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6159 && LARGE_OFF_T % 2147483647 == 1)
6169 if ac_fn_c_try_compile
"$LINENO"; then :
6170 ac_cv_sys_file_offset_bits
=no
; break
6172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6175 #define _FILE_OFFSET_BITS 64
6176 #include <sys/types.h>
6177 /* Check that off_t can represent 2**63 - 1 correctly.
6178 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6179 since some C++ compilers masquerading as C compilers
6180 incorrectly reject 9223372036854775807. */
6181 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6182 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6183 && LARGE_OFF_T % 2147483647 == 1)
6193 if ac_fn_c_try_compile
"$LINENO"; then :
6194 ac_cv_sys_file_offset_bits
=64; break
6196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6197 ac_cv_sys_file_offset_bits
=unknown
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6202 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6203 case $ac_cv_sys_file_offset_bits in #(
6206 cat >>confdefs.h
<<_ACEOF
6207 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6212 if test $ac_cv_sys_file_offset_bits = unknown
; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6214 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6215 if ${ac_cv_sys_large_files+:} false
; then :
6216 $as_echo_n "(cached) " >&6
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <sys/types.h>
6222 /* Check that off_t can represent 2**63 - 1 correctly.
6223 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6224 since some C++ compilers masquerading as C compilers
6225 incorrectly reject 9223372036854775807. */
6226 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6227 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6228 && LARGE_OFF_T % 2147483647 == 1)
6238 if ac_fn_c_try_compile
"$LINENO"; then :
6239 ac_cv_sys_large_files
=no
; break
6241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #define _LARGE_FILES 1
6245 #include <sys/types.h>
6246 /* Check that off_t can represent 2**63 - 1 correctly.
6247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6248 since some C++ compilers masquerading as C compilers
6249 incorrectly reject 9223372036854775807. */
6250 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6252 && LARGE_OFF_T % 2147483647 == 1)
6262 if ac_fn_c_try_compile
"$LINENO"; then :
6263 ac_cv_sys_large_files
=1; break
6265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6266 ac_cv_sys_large_files
=unknown
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6271 $as_echo "$ac_cv_sys_large_files" >&6; }
6272 case $ac_cv_sys_large_files in #(
6275 cat >>confdefs.h
<<_ACEOF
6276 #define _LARGE_FILES $ac_cv_sys_large_files
6288 ac_cpp
='$CPP $CPPFLAGS'
6289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6293 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6294 # On Suns, sometimes $CPP names a directory.
6295 if test -n "$CPP" && test -d "$CPP"; then
6298 if test -z "$CPP"; then
6299 if ${ac_cv_prog_CPP+:} false
; then :
6300 $as_echo_n "(cached) " >&6
6302 # Double quotes because CPP needs to be expanded
6303 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6306 for ac_c_preproc_warn_flag
in '' yes
6308 # Use a header file that comes with gcc, so configuring glibc
6309 # with a fresh cross-compiler works.
6310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6311 # <limits.h> exists even on freestanding compilers.
6312 # On the NeXT, cc -E runs the code through the compiler's parser,
6313 # not just through cpp. "Syntax error" is here to catch this case.
6314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6317 # include <limits.h>
6319 # include <assert.h>
6323 if ac_fn_c_try_cpp
"$LINENO"; then :
6326 # Broken: fails on valid input.
6329 rm -f conftest.err conftest.i conftest.
$ac_ext
6331 # OK, works on sane cases. Now check whether nonexistent headers
6332 # can be detected and how.
6333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <ac_nonexistent.h>
6337 if ac_fn_c_try_cpp
"$LINENO"; then :
6338 # Broken: success on invalid input.
6341 # Passes both tests.
6345 rm -f conftest.err conftest.i conftest.
$ac_ext
6348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6349 rm -f conftest.i conftest.err conftest.
$ac_ext
6350 if $ac_preproc_ok; then :
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6363 $as_echo "$CPP" >&6; }
6365 for ac_c_preproc_warn_flag
in '' yes
6367 # Use a header file that comes with gcc, so configuring glibc
6368 # with a fresh cross-compiler works.
6369 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6370 # <limits.h> exists even on freestanding compilers.
6371 # On the NeXT, cc -E runs the code through the compiler's parser,
6372 # not just through cpp. "Syntax error" is here to catch this case.
6373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6376 # include <limits.h>
6378 # include <assert.h>
6382 if ac_fn_c_try_cpp
"$LINENO"; then :
6385 # Broken: fails on valid input.
6388 rm -f conftest.err conftest.i conftest.
$ac_ext
6390 # OK, works on sane cases. Now check whether nonexistent headers
6391 # can be detected and how.
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #include <ac_nonexistent.h>
6396 if ac_fn_c_try_cpp
"$LINENO"; then :
6397 # Broken: success on invalid input.
6400 # Passes both tests.
6404 rm -f conftest.err conftest.i conftest.
$ac_ext
6407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6408 rm -f conftest.i conftest.err conftest.
$ac_ext
6409 if $ac_preproc_ok; then :
6412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6414 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6415 See \`config.log' for more details" "$LINENO" 5; }
6419 ac_cpp
='$CPP $CPPFLAGS'
6420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6426 $as_echo_n "checking for ANSI C header files... " >&6; }
6427 if ${ac_cv_header_stdc+:} false
; then :
6428 $as_echo_n "(cached) " >&6
6430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6445 if ac_fn_c_try_compile
"$LINENO"; then :
6446 ac_cv_header_stdc
=yes
6448 ac_cv_header_stdc
=no
6450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6452 if test $ac_cv_header_stdc = yes; then
6453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6460 $EGREP "memchr" >/dev
/null
2>&1; then :
6463 ac_cv_header_stdc
=no
6469 if test $ac_cv_header_stdc = yes; then
6470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6477 $EGREP "free" >/dev
/null
2>&1; then :
6480 ac_cv_header_stdc
=no
6486 if test $ac_cv_header_stdc = yes; then
6487 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6488 if test "$cross_compiling" = yes; then :
6491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6495 #if ((' ' & 0x0FF) == 0x020)
6496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6499 # define ISLOWER(c) \
6500 (('a' <= (c) && (c) <= 'i') \
6501 || ('j' <= (c) && (c) <= 'r') \
6502 || ('s' <= (c) && (c) <= 'z'))
6503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6511 for (i = 0; i < 256; i++)
6512 if (XOR (islower (i), ISLOWER (i))
6513 || toupper (i) != TOUPPER (i))
6518 if ac_fn_c_try_run
"$LINENO"; then :
6521 ac_cv_header_stdc
=no
6523 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6524 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6530 $as_echo "$ac_cv_header_stdc" >&6; }
6531 if test $ac_cv_header_stdc = yes; then
6533 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6538 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6539 inttypes.h stdint.h unistd.h
6541 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6542 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6544 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6545 cat >>confdefs.h
<<_ACEOF
6546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6556 ApplicationServices
/ApplicationServices.h \
6557 AudioToolbox
/AudioConverter.h \
6558 AudioUnit
/AudioUnit.h \
6559 AudioUnit
/AudioComponent.h \
6562 CoreAudio
/CoreAudio.h \
6563 CoreServices
/CoreServices.h \
6564 DiskArbitration
/DiskArbitration.h \
6566 IOKit
/hid
/IOHIDLib.h \
6569 QuickTime
/ImageCompression.h \
6570 Security
/Security.h \
6584 fontconfig
/fontconfig.h \
6622 netinet
/in_systm.h \
6683 valgrind
/memcheck.h \
6684 valgrind
/valgrind.h \
6688 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6690 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6691 cat >>confdefs.h
<<_ACEOF
6692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6700 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6701 if ${ac_cv_header_stat_broken+:} false
; then :
6702 $as_echo_n "(cached) " >&6
6704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <sys/types.h>
6707 #include <sys/stat.h>
6709 #if defined S_ISBLK && defined S_IFDIR
6710 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6713 #if defined S_ISBLK && defined S_IFCHR
6714 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6717 #if defined S_ISLNK && defined S_IFREG
6718 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6721 #if defined S_ISSOCK && defined S_IFREG
6722 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6726 if ac_fn_c_try_compile
"$LINENO"; then :
6727 ac_cv_header_stat_broken
=no
6729 ac_cv_header_stat_broken
=yes
6731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6734 $as_echo "$ac_cv_header_stat_broken" >&6; }
6735 if test $ac_cv_header_stat_broken = yes; then
6737 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6743 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6745 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6746 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6747 #ifdef HAVE_SYS_PARAM_H
6748 # include <sys/param.h>
6751 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6752 cat >>confdefs.h
<<_ACEOF
6753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6768 netinet
/if_ether.h \
6769 netinet
/if_inarp.h \
6778 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6783 #ifdef HAVE_SYS_SOCKETVAR_H
6784 # include <sys/socketvar.h>
6786 #ifdef HAVE_NET_ROUTE_H
6787 # include <net/route.h>
6789 #ifdef HAVE_NETINET_IN_H
6790 # include <netinet/in.h>
6792 #ifdef HAVE_NETINET_IN_SYSTM_H
6793 # include <netinet/in_systm.h>
6795 #ifdef HAVE_NET_IF_H
6796 # include <net/if.h>
6798 #ifdef HAVE_NETINET_IP_H
6799 # include <netinet/ip.h>
6802 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6803 cat >>confdefs.h
<<_ACEOF
6804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6814 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6815 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6819 #ifdef HAVE_SYS_SOCKET_H
6820 # include <sys/socket.h>
6822 #ifdef HAVE_SYS_SOCKETVAR_H
6823 # include <sys/socketvar.h>
6825 #ifdef HAVE_SYS_TIMEOUT_H
6826 # include <sys/timeout.h>
6828 #ifdef HAVE_NETINET_IN_H
6829 # include <netinet/in.h>
6831 #ifdef HAVE_NETINET_IN_SYSTM_H
6832 # include <netinet/in_systm.h>
6834 #ifdef HAVE_NETINET_IP_H
6835 # include <netinet/ip.h>
6837 #ifdef HAVE_NETINET_IP_VAR_H
6838 # include <netinet/ip_var.h>
6840 #ifdef HAVE_NETINET_IP_ICMP_H
6841 # include <netinet/ip_icmp.h>
6843 #ifdef HAVE_NETINET_UDP_H
6844 # include <netinet/udp.h>
6846 #ifdef HAVE_NETINET_TCP_H
6847 # include <netinet/tcp.h>
6849 #ifdef HAVE_NETINET_TCP_TIMER_H
6850 #include <netinet/tcp_timer.h>
6853 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6854 cat >>confdefs.h
<<_ACEOF
6855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6863 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6865 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6866 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6867 #ifdef HAVE_ASM_TYPES_H
6868 # include <asm/types.h>
6870 #ifdef HAVE_SYS_SOCKET_H
6871 # include <sys/socket.h>
6873 #ifdef HAVE_LINUX_TYPES_H
6874 # include <linux/types.h>
6877 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 for ac_header
in mach-o
/dyld_images.h
6889 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6890 # include <stdbool.h>
6892 #ifdef HAVE_STDINT_H
6893 # include <stdint.h>
6896 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6897 cat >>confdefs.h
<<_ACEOF
6898 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6906 for ac_header
in resolv.h
6908 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6909 #ifdef HAVE_SYS_SOCKET_H
6910 # include <sys/socket.h>
6912 #ifdef HAVE_NETINET_IN_H
6913 # include <netinet/in.h>
6915 #ifdef HAVE_ARPA_NAMESER_H
6916 # include <arpa/nameser.h>
6919 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6920 cat >>confdefs.h
<<_ACEOF
6921 #define HAVE_RESOLV_H 1
6929 for ac_header
in ifaddrs.h
6931 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6933 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6934 cat >>confdefs.h
<<_ACEOF
6935 #define HAVE_IFADDRS_H 1
6943 for ac_header
in ucontext.h
6945 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6947 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6948 cat >>confdefs.h
<<_ACEOF
6949 #define HAVE_UCONTEXT_H 1
6957 for ac_header
in sys
/thr.h
6959 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6960 #ifdef HAVE_UCONTEXT_H
6961 #include <ucontext.h>
6964 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6965 cat >>confdefs.h
<<_ACEOF
6966 #define HAVE_SYS_THR_H 1
6974 for ac_header
in pthread_np.h
6976 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6977 #include <pthread.h>
6980 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6981 cat >>confdefs.h
<<_ACEOF
6982 #define HAVE_PTHREAD_NP_H 1
6990 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6992 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6994 #include <sys/time.h>
6996 #include <sys/types.h>
6997 #ifdef HAVE_ASM_TYPES_H
6998 #include <asm/types.h>
7001 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7002 cat >>confdefs.h
<<_ACEOF
7003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7011 for ac_header
in libprocstat.h
7013 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7014 #include <sys/param.h>
7016 #ifdef HAVE_SYS_QUEUE_H
7017 #include <sys/queue.h>
7019 #ifdef HAVE_SYS_SOCKET_H
7020 #include <sys/socket.h>
7023 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7024 cat >>confdefs.h
<<_ACEOF
7025 #define HAVE_LIBPROCSTAT_H 1
7034 dlldir
="\${libdir}/wine"
7040 DLLFLAGS
="-D_REENTRANT"
7049 STATIC_IMPLIBEXT
="def.a"
7050 # Extract the first word of "ldd", so it can be a program name with args.
7051 set dummy ldd
; ac_word
=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_path_LDD+:} false
; then :
7055 $as_echo_n "(cached) " >&6
7059 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7063 as_dummy
="/sbin:/usr/sbin:$PATH"
7064 for as_dir
in $as_dummy
7067 test -z "$as_dir" && as_dir
=.
7068 for ac_exec_ext
in '' $ac_executable_extensions; do
7069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7070 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7083 if test -n "$LDD"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7085 $as_echo "$LDD" >&6; }
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7094 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_READELF+:} false
; then :
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$READELF"; then
7101 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir
=.
7108 for ac_exec_ext
in '' $ac_executable_extensions; do
7109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 READELF
=$ac_cv_prog_READELF
7121 if test -n "$READELF"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7123 $as_echo "$READELF" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7131 if test -z "$ac_cv_prog_READELF"; then
7132 ac_ct_READELF
=$READELF
7133 # Extract the first word of "readelf", so it can be a program name with args.
7134 set dummy readelf
; ac_word
=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7138 $as_echo_n "(cached) " >&6
7140 if test -n "$ac_ct_READELF"; then
7141 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir
=.
7148 for ac_exec_ext
in '' $ac_executable_extensions; do
7149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_ac_ct_READELF
="readelf"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7161 if test -n "$ac_ct_READELF"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7163 $as_echo "$ac_ct_READELF" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7169 if test "x$ac_ct_READELF" = x
; then
7172 case $cross_compiling:$ac_tool_warned in
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned
=yes ;;
7178 READELF
=$ac_ct_READELF
7181 READELF
="$ac_cv_prog_READELF"
7187 if test -n "$ac_tool_prefix"; then
7188 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7189 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$DLLTOOL"; then
7196 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir
=.
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 DLLTOOL
=$ac_cv_prog_DLLTOOL
7216 if test -n "$DLLTOOL"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7218 $as_echo "$DLLTOOL" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7226 if test -z "$ac_cv_prog_DLLTOOL"; then
7227 ac_ct_DLLTOOL
=$DLLTOOL
7228 # Extract the first word of "dlltool", so it can be a program name with args.
7229 set dummy dlltool
; ac_word
=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$ac_ct_DLLTOOL"; then
7236 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7256 if test -n "$ac_ct_DLLTOOL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7258 $as_echo "$ac_ct_DLLTOOL" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7264 if test "x$ac_ct_DLLTOOL" = x
; then
7267 case $cross_compiling:$ac_tool_warned in
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned
=yes ;;
7273 DLLTOOL
=$ac_ct_DLLTOOL
7276 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7281 STATIC_IMPLIBEXT
="a"
7282 enable_iphlpapi
=${enable_iphlpapi:-no}
7283 enable_kernel32
=${enable_kernel32:-no}
7284 enable_msvcrt
=${enable_msvcrt:-no}
7285 enable_ntdll
=${enable_ntdll:-no}
7286 enable_ws2_32
=${enable_ws2_32:-no}
7287 enable_loader
=${enable_loader:-no}
7288 enable_server
=${enable_server:-no}
7289 with_x
=${with_x:-no}
7290 with_pthread
=${with_pthread:-no}
7296 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7301 all: libwine.dll libwine.a
7304 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7306 libwine.dll: \$(OBJS) wine.def Makefile.in
7307 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7309 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7310 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7312 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7313 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7316 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7319 \$(RM) libwine.dll version.c
7327 DLLFLAGS
="$DLLFLAGS -fPIC"
7328 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7329 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7330 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7331 COREFOUNDATIONLIB
="-framework CoreFoundation"
7333 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7335 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7337 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7339 CORESERVICESLIB
="-framework CoreServices"
7341 APPKITLIB
="-framework AppKit"
7345 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"
7348 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7351 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7353 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7356 if test "$ac_cv_header_Security_Security_h" = "yes"
7358 SECURITYLIB
="-framework Security -framework CoreFoundation"
7360 ac_save_LIBS
="$LIBS"
7361 LIBS
="$LIBS $SECURITYLIB"
7362 for ac_func
in SSLCopyPeerCertificates
7364 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7365 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7366 cat >>confdefs.h
<<_ACEOF
7367 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7373 LIBS
="$ac_save_LIBS"
7374 with_gnutls
=${with_gnutls:-no}
7376 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7378 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7380 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7383 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7386 ac_save_LIBS
="$LIBS"
7387 LIBS
="$LIBS $COREAUDIO"
7388 for ac_func
in AUGraphAddNode
7390 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7391 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7392 cat >>confdefs.h
<<_ACEOF
7393 #define HAVE_AUGRAPHADDNODE 1
7399 LIBS
="$ac_save_LIBS"
7401 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7403 FRAMEWORK_OPENAL
="-framework OpenAL"
7406 cat >>confdefs.h
<<_ACEOF
7407 #define HAVE_OPENAL 1
7410 ac_cv_lib_openal
=yes
7412 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7414 LIBOPENCL
="-framework OpenCL"
7416 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7418 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7420 ac_save_LIBS
="$LIBS"
7421 LIBS
="$LIBS $IOKITLIB"
7422 for ac_func
in IOHIDManagerCreate
7424 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7425 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7426 cat >>confdefs.h
<<_ACEOF
7427 #define HAVE_IOHIDMANAGERCREATE 1
7433 LIBS
="$ac_save_LIBS"
7435 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7437 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7439 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7441 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7443 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7445 CARBONLIB
="-framework Carbon"
7449 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7451 ac_save_LIBS
="$LIBS"
7452 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7453 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7454 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7455 enable_winemac_drv
=${enable_winemac_drv:-yes}
7458 LIBS
="$ac_save_LIBS"
7461 if test "x$enable_win16" = "xyes"
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7464 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7465 if test "$cross_compiling" = yes; then :
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7467 $as_echo "cross-compiling, assuming yes" >&6; }
7469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7473 "good:\tnop;nop\n\t"
7474 ".globl _testfunc\n"
7475 "_testfunc:\tcallw good");
7476 extern void testfunc();
7480 unsigned short *p = (unsigned short *)testfunc;
7481 return p[0] != 0xe866 || p[1] != 0xfffa
7486 if ac_fn_c_try_run
"$LINENO"; then :
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7488 $as_echo "yes" >&6; }
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7492 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
7494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7503 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7504 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7506 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7507 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7509 libwine.dylib: libwine.\$(SOVERSION).dylib
7510 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7512 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7513 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7514 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7516 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7517 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7520 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7523 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7529 DLLFLAGS
="$DLLFLAGS -fPIC"
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7534 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7535 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7536 $as_echo_n "(cached) " >&6
7538 ac_wine_try_cflags_saved
=$CFLAGS
7539 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7542 int main(int argc, char **argv) { return 0; }
7544 if ac_fn_c_try_link
"$LINENO"; then :
7545 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7547 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7549 rm -f core conftest.err conftest.
$ac_objext \
7550 conftest
$ac_exeext conftest.
$ac_ext
7551 CFLAGS
=$ac_wine_try_cflags_saved
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7554 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7555 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7556 LDEXECFLAGS
="-Wl,--export-dynamic"
7559 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7562 if eval \
${$as_ac_var+:} false
; then :
7563 $as_echo_n "(cached) " >&6
7565 ac_wine_try_cflags_saved
=$CFLAGS
7566 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h. */
7569 int main(int argc, char **argv) { return 0; }
7571 if ac_fn_c_try_link
"$LINENO"; then :
7572 eval "$as_ac_var=yes"
7574 eval "$as_ac_var=no"
7576 rm -f core conftest.err conftest.
$ac_objext \
7577 conftest
$ac_exeext conftest.
$ac_ext
7578 CFLAGS
=$ac_wine_try_cflags_saved
7580 eval ac_res
=\$
$as_ac_var
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7582 $as_echo "$ac_res" >&6; }
7583 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7584 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7585 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7587 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7589 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7590 if eval \
${$as_ac_var+:} false
; then :
7591 $as_echo_n "(cached) " >&6
7593 ac_wine_try_cflags_saved
=$CFLAGS
7594 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7597 int main(int argc, char **argv) { return 0; }
7599 if ac_fn_c_try_link
"$LINENO"; then :
7600 eval "$as_ac_var=yes"
7602 eval "$as_ac_var=no"
7604 rm -f core conftest.err conftest.
$ac_objext \
7605 conftest
$ac_exeext conftest.
$ac_ext
7606 CFLAGS
=$ac_wine_try_cflags_saved
7608 eval ac_res
=\$
$as_ac_var
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7610 $as_echo "$ac_res" >&6; }
7611 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7612 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7613 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7618 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7619 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7620 $as_echo_n "(cached) " >&6
7622 ac_wine_try_cflags_saved
=$CFLAGS
7623 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 int main(int argc, char **argv) { return 0; }
7628 if ac_fn_c_try_link
"$LINENO"; then :
7629 ac_cv_cflags__Wl___enable_new_dtags
=yes
7631 ac_cv_cflags__Wl___enable_new_dtags
=no
7633 rm -f core conftest.err conftest.
$ac_objext \
7634 conftest
$ac_exeext conftest.
$ac_ext
7635 CFLAGS
=$ac_wine_try_cflags_saved
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7638 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7639 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7640 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7644 *i
[3456789]86* | x86_64
)
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7646 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7647 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7648 $as_echo_n "(cached) " >&6
7650 ac_wine_try_cflags_saved
=$CFLAGS
7651 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7654 int main(int argc, char **argv) { return 0; }
7656 if ac_fn_c_try_link
"$LINENO"; then :
7657 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7659 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7661 rm -f core conftest.err conftest.
$ac_objext \
7662 conftest
$ac_exeext conftest.
$ac_ext
7663 CFLAGS
=$ac_wine_try_cflags_saved
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7666 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7667 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7668 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7676 libwine.so: \$(OBJS) Makefile.in
7677 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7679 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7680 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7683 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7686 \$(RM) libwine.so version.c
7692 DLLFLAGS
="$DLLFLAGS -fPIC"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7695 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7696 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7697 $as_echo_n "(cached) " >&6
7699 ac_wine_try_cflags_saved
=$CFLAGS
7700 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7705 if ac_fn_c_try_link
"$LINENO"; then :
7706 ac_cv_c_dll_gnuelf
="yes"
7708 ac_cv_c_dll_gnuelf
="no"
7710 rm -f core conftest.err conftest.
$ac_objext \
7711 conftest
$ac_exeext conftest.
$ac_ext
7712 CFLAGS
=$ac_wine_try_cflags_saved
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7715 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7716 if test "$ac_cv_c_dll_gnuelf" = "yes"
7718 LDSHARED
="\$(CC) -shared"
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7720 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7721 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7722 $as_echo_n "(cached) " >&6
7724 ac_wine_try_cflags_saved
=$CFLAGS
7725 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7727 /* end confdefs.h. */
7728 int main(int argc, char **argv) { return 0; }
7730 if ac_fn_c_try_link
"$LINENO"; then :
7731 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7733 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7735 rm -f core conftest.err conftest.
$ac_objext \
7736 conftest
$ac_exeext conftest.
$ac_ext
7737 CFLAGS
=$ac_wine_try_cflags_saved
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7740 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7741 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7742 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7745 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7746 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7747 $as_echo_n "(cached) " >&6
7749 ac_wine_try_cflags_saved
=$CFLAGS
7750 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 int main(int argc, char **argv) { return 0; }
7755 if ac_fn_c_try_link
"$LINENO"; then :
7756 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7758 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7760 rm -f core conftest.err conftest.
$ac_objext \
7761 conftest
$ac_exeext conftest.
$ac_ext
7762 CFLAGS
=$ac_wine_try_cflags_saved
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7765 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7766 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7767 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7771 echo '{ global: *; };' >conftest.map
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7773 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7774 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7775 $as_echo_n "(cached) " >&6
7777 ac_wine_try_cflags_saved
=$CFLAGS
7778 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 int main(int argc, char **argv) { return 0; }
7783 if ac_fn_c_try_link
"$LINENO"; then :
7784 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7786 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7788 rm -f core conftest.err conftest.
$ac_objext \
7789 conftest
$ac_exeext conftest.
$ac_ext
7790 CFLAGS
=$ac_wine_try_cflags_saved
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7793 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7794 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7795 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7800 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7801 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7802 $as_echo_n "(cached) " >&6
7804 ac_wine_try_cflags_saved
=$CFLAGS
7805 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7808 int main(int argc, char **argv) { return 0; }
7810 if ac_fn_c_try_link
"$LINENO"; then :
7811 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7813 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7815 rm -f core conftest.err conftest.
$ac_objext \
7816 conftest
$ac_exeext conftest.
$ac_ext
7817 CFLAGS
=$ac_wine_try_cflags_saved
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7820 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7821 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7822 LDEXECFLAGS
="-Wl,--export-dynamic"
7826 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7828 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7829 if eval \
${$as_ac_var+:} false
; then :
7830 $as_echo_n "(cached) " >&6
7832 ac_wine_try_cflags_saved
=$CFLAGS
7833 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 int main(int argc, char **argv) { return 0; }
7838 if ac_fn_c_try_link
"$LINENO"; then :
7839 eval "$as_ac_var=yes"
7841 eval "$as_ac_var=no"
7843 rm -f core conftest.err conftest.
$ac_objext \
7844 conftest
$ac_exeext conftest.
$ac_ext
7845 CFLAGS
=$ac_wine_try_cflags_saved
7847 eval ac_res
=\$
$as_ac_var
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7849 $as_echo "$ac_res" >&6; }
7850 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7851 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7852 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7854 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7856 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7857 if eval \
${$as_ac_var+:} false
; then :
7858 $as_echo_n "(cached) " >&6
7860 ac_wine_try_cflags_saved
=$CFLAGS
7861 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864 int main(int argc, char **argv) { return 0; }
7866 if ac_fn_c_try_link
"$LINENO"; then :
7867 eval "$as_ac_var=yes"
7869 eval "$as_ac_var=no"
7871 rm -f core conftest.err conftest.
$ac_objext \
7872 conftest
$ac_exeext conftest.
$ac_ext
7873 CFLAGS
=$ac_wine_try_cflags_saved
7875 eval ac_res
=\$
$as_ac_var
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7877 $as_echo "$ac_res" >&6; }
7878 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7879 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7880 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7885 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7886 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7887 $as_echo_n "(cached) " >&6
7889 ac_wine_try_cflags_saved
=$CFLAGS
7890 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 int main(int argc, char **argv) { return 0; }
7895 if ac_fn_c_try_link
"$LINENO"; then :
7896 ac_cv_cflags__Wl___enable_new_dtags
=yes
7898 ac_cv_cflags__Wl___enable_new_dtags
=no
7900 rm -f core conftest.err conftest.
$ac_objext \
7901 conftest
$ac_exeext conftest.
$ac_ext
7902 CFLAGS
=$ac_wine_try_cflags_saved
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7905 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7906 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7907 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7911 *i
[3456789]86* | x86_64
)
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7913 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7914 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7915 $as_echo_n "(cached) " >&6
7917 ac_wine_try_cflags_saved
=$CFLAGS
7918 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7920 /* end confdefs.h. */
7921 int main(int argc, char **argv) { return 0; }
7923 if ac_fn_c_try_link
"$LINENO"; then :
7924 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7926 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7928 rm -f core conftest.err conftest.
$ac_objext \
7929 conftest
$ac_exeext conftest.
$ac_ext
7930 CFLAGS
=$ac_wine_try_cflags_saved
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7933 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7934 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7936 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7937 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7941 # Extract the first word of "prelink", so it can be a program name with args.
7942 set dummy prelink
; ac_word
=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_path_PRELINK+:} false
; then :
7946 $as_echo_n "(cached) " >&6
7950 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7954 for as_dir
in /sbin
/usr
/sbin
$PATH
7957 test -z "$as_dir" && as_dir
=.
7958 for ac_exec_ext
in '' $ac_executable_extensions; do
7959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7972 PRELINK
=$ac_cv_path_PRELINK
7973 if test -n "$PRELINK"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7975 $as_echo "$PRELINK" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7982 if test "x$PRELINK" = xfalse
7984 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7991 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7992 if ${ac_cv_c_dll_unixware+:} false
; then :
7993 $as_echo_n "(cached) " >&6
7995 ac_wine_try_cflags_saved
=$CFLAGS
7996 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7998 /* end confdefs.h. */
8001 if ac_fn_c_try_link
"$LINENO"; then :
8002 ac_cv_c_dll_unixware
="yes"
8004 ac_cv_c_dll_unixware
="no"
8006 rm -f core conftest.err conftest.
$ac_objext \
8007 conftest
$ac_exeext conftest.
$ac_ext
8008 CFLAGS
=$ac_wine_try_cflags_saved
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8011 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8012 if test "$ac_cv_c_dll_unixware" = "yes"
8014 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8020 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
8021 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8023 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8024 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8026 libwine.so: libwine.so.\$(SOVERSION)
8027 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8029 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8030 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8031 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8033 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8034 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8037 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8040 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8046 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8047 enable_winemac_drv
=${enable_winemac_drv:-no}
8049 CROSSTEST_DISABLE
=\
#
8051 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8055 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
8058 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 " ;;
8060 ac_prefix_list
="" ;;
8062 for ac_prog
in $ac_prefix_list
8064 # Extract the first word of "$ac_prog", so it can be a program name with args.
8065 set dummy
$ac_prog; ac_word
=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if ${ac_cv_prog_CROSSCC+:} false
; then :
8069 $as_echo_n "(cached) " >&6
8071 if test -n "$CROSSCC"; then
8072 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8078 test -z "$as_dir" && as_dir
=.
8079 for ac_exec_ext
in '' $ac_executable_extensions; do
8080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_CROSSCC
="$ac_prog"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8091 CROSSCC
=$ac_cv_prog_CROSSCC
8092 if test -n "$CROSSCC"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8094 $as_echo "$CROSSCC" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8101 test -n "$CROSSCC" && break
8103 test -n "$CROSSCC" || CROSSCC
="false"
8105 if test "$CROSSCC" != "false"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8110 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8122 if ac_fn_c_try_compile
"$LINENO"; then :
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8124 $as_echo "yes" >&6; }
8131 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
8135 if test -n "$target"
8137 CROSSTEST_DISABLE
=""
8138 CROSSTARGET
="$target"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8151 if test "$ac_cv_header_pthread_h" = "yes"
8153 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8154 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8158 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8159 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_check_lib_save_LIBS
=$LIBS
8163 LIBS
="-lpthread $LIBS"
8164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8167 /* Override any GCC internal prototype to avoid an error.
8168 Use char because int might match the return type of a GCC
8169 builtin and then its argument prototype would still apply. */
8173 char pthread_create ();
8177 return pthread_create ();
8182 if ac_fn_c_try_link
"$LINENO"; then :
8183 ac_cv_lib_pthread_pthread_create
=yes
8185 ac_cv_lib_pthread_pthread_create
=no
8187 rm -f core conftest.err conftest.
$ac_objext \
8188 conftest
$ac_exeext conftest.
$ac_ext
8189 LIBS
=$ac_check_lib_save_LIBS
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8192 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8193 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8194 LIBPTHREAD
="-lpthread"
8201 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8202 case "x$with_pthread" in
8204 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8205 Wine cannot support threads without libpthread.
8206 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8212 $as_echo_n "checking for X... " >&6; }
8215 # Check whether --with-x was given.
8216 if test "${with_x+set}" = set; then :
8220 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8221 if test "x$with_x" = xno
; then
8222 # The user explicitly disabled X.
8225 case $x_includes,$x_libraries in #(
8226 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8227 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8228 $as_echo_n "(cached) " >&6
8230 # One or both of the vars are not set, and there is no cached value.
8231 ac_x_includes
=no ac_x_libraries
=no
8232 rm -f -r conftest.dir
8233 if mkdir conftest.dir
; then
8235 cat >Imakefile
<<'_ACEOF'
8237 @echo incroot='${INCROOT}'
8239 @echo usrlibdir='${USRLIBDIR}'
8241 @echo libdir='${LIBDIR}'
8243 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8245 for ac_var
in incroot usrlibdir libdir
; do
8246 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8248 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8249 for ac_extension
in a so sl dylib la dll
; do
8250 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8251 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8252 ac_im_usrlibdir
=$ac_im_libdir; break
8255 # Screen out bogus values from the imake configuration. They are
8256 # bogus both because they are the default anyway, and because
8257 # using them would break gcc on systems where it needs fixed includes.
8258 case $ac_im_incroot in
8259 /usr
/include
) ac_x_includes
= ;;
8260 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8262 case $ac_im_usrlibdir in
8263 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8264 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8268 rm -f -r conftest.dir
8271 # Standard set of common directories for X headers.
8272 # Check X11 before X11Rn because it is often a symlink to the current release.
8286 /usr/local/X11/include
8287 /usr/local/X11R7/include
8288 /usr/local/X11R6/include
8289 /usr/local/X11R5/include
8290 /usr/local/X11R4/include
8292 /usr/local/include/X11
8293 /usr/local/include/X11R7
8294 /usr/local/include/X11R6
8295 /usr/local/include/X11R5
8296 /usr/local/include/X11R4
8300 /usr/XFree86/include/X11
8304 /usr/unsupported/include
8306 /usr/local/x11r5/include
8307 /usr/lpp/Xamples/include
8309 /usr/openwin/include
8310 /usr/openwin/share/include'
8312 if test "$ac_x_includes" = no
; then
8313 # Guess where to find include files, by looking for Xlib.h.
8314 # First, try using that file with no special directory specified.
8315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 #include <X11/Xlib.h>
8319 if ac_fn_c_try_cpp
"$LINENO"; then :
8320 # We can compile using X headers with no special include directory.
8323 for ac_dir
in $ac_x_header_dirs; do
8324 if test -r "$ac_dir/X11/Xlib.h"; then
8325 ac_x_includes
=$ac_dir
8330 rm -f conftest.err conftest.i conftest.
$ac_ext
8331 fi # $ac_x_includes = no
8333 if test "$ac_x_libraries" = no
; then
8334 # Check for the libraries.
8335 # See if we find them without any special options.
8336 # Don't add to $LIBS permanently.
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 #include <X11/Xlib.h>
8350 if ac_fn_c_try_link
"$LINENO"; then :
8352 # We can link X programs with no special library path.
8356 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8358 # Don't even attempt the hair of trying to link an X program!
8359 for ac_extension
in a so sl dylib la dll
; do
8360 if test -r "$ac_dir/libX11.$ac_extension"; then
8361 ac_x_libraries
=$ac_dir
8367 rm -f core conftest.err conftest.
$ac_objext \
8368 conftest
$ac_exeext conftest.
$ac_ext
8369 fi # $ac_x_libraries = no
8371 case $ac_x_includes,$ac_x_libraries in #(
8373 # Didn't find X, or a directory has "'" in its name.
8374 ac_cv_have_x
="have_x=no";; #(
8376 # Record where we found X for the cache.
8377 ac_cv_have_x
="have_x=yes\
8378 ac_x_includes='$ac_x_includes'\
8379 ac_x_libraries='$ac_x_libraries'"
8385 eval "$ac_cv_have_x"
8388 if test "$have_x" != yes; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8390 $as_echo "$have_x" >&6; }
8393 # If each of the values was on the command line, it overrides each guess.
8394 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8395 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8396 # Update the cache value to reflect the command line values.
8397 ac_cv_have_x
="have_x=yes\
8398 ac_x_includes='$x_includes'\
8399 ac_x_libraries='$x_libraries'"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8401 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8404 if test "$no_x" = yes; then
8405 # Not all programs may use this symbol, but it does not hurt to define it.
8407 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8409 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8411 if test -n "$x_includes"; then
8412 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8415 # It would also be nice to do this for all -L options, not just this one.
8416 if test -n "$x_libraries"; then
8417 X_LIBS
="$X_LIBS -L$x_libraries"
8418 # For Solaris; some versions of Sun CC require a space after -R and
8419 # others require no space. Words are not sufficient . . . .
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8421 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8422 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8423 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8424 ac_c_werror_flag
=yes
8425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8436 if ac_fn_c_try_link
"$LINENO"; then :
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8439 X_LIBS
="$X_LIBS -R$x_libraries"
8441 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8453 if ac_fn_c_try_link
"$LINENO"; then :
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8455 $as_echo "yes" >&6; }
8456 X_LIBS
="$X_LIBS -R $x_libraries"
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8459 $as_echo "neither works" >&6; }
8461 rm -f core conftest.err conftest.
$ac_objext \
8462 conftest
$ac_exeext conftest.
$ac_ext
8464 rm -f core conftest.err conftest.
$ac_objext \
8465 conftest
$ac_exeext conftest.
$ac_ext
8466 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8470 # Check for system-dependent libraries X programs must link with.
8471 # Do this before checking for the system-independent R6 libraries
8472 # (-lICE), since we may need -lsocket or whatever for X linking.
8474 if test "$ISC" = yes; then
8475 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8477 # Martyn Johnson says this is needed for Ultrix, if the X
8478 # libraries were built with DECnet support. And Karl Berry says
8479 # the Alpha needs dnet_stub (dnet does not exist).
8480 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8484 /* Override any GCC internal prototype to avoid an error.
8485 Use char because int might match the return type of a GCC
8486 builtin and then its argument prototype would still apply. */
8490 char XOpenDisplay ();
8494 return XOpenDisplay ();
8499 if ac_fn_c_try_link
"$LINENO"; then :
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8503 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8504 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8505 $as_echo_n "(cached) " >&6
8507 ac_check_lib_save_LIBS
=$LIBS
8509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8512 /* Override any GCC internal prototype to avoid an error.
8513 Use char because int might match the return type of a GCC
8514 builtin and then its argument prototype would still apply. */
8522 return dnet_ntoa ();
8527 if ac_fn_c_try_link
"$LINENO"; then :
8528 ac_cv_lib_dnet_dnet_ntoa
=yes
8530 ac_cv_lib_dnet_dnet_ntoa
=no
8532 rm -f core conftest.err conftest.
$ac_objext \
8533 conftest
$ac_exeext conftest.
$ac_ext
8534 LIBS
=$ac_check_lib_save_LIBS
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8537 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8538 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8542 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8544 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8545 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8546 $as_echo_n "(cached) " >&6
8548 ac_check_lib_save_LIBS
=$LIBS
8549 LIBS
="-ldnet_stub $LIBS"
8550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8551 /* end confdefs.h. */
8553 /* Override any GCC internal prototype to avoid an error.
8554 Use char because int might match the return type of a GCC
8555 builtin and then its argument prototype would still apply. */
8563 return dnet_ntoa ();
8568 if ac_fn_c_try_link
"$LINENO"; then :
8569 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8571 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8573 rm -f core conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 LIBS
=$ac_check_lib_save_LIBS
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8578 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8579 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8580 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8585 rm -f core conftest.err conftest.
$ac_objext \
8586 conftest
$ac_exeext conftest.
$ac_ext
8587 LIBS
="$ac_xsave_LIBS"
8589 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8590 # to get the SysV transport functions.
8591 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8593 # The nsl library prevents programs from opening the X display
8594 # on Irix 5.2, according to T.E. Dickey.
8595 # The functions gethostbyname, getservbyname, and inet_addr are
8596 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8597 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8598 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8602 if test $ac_cv_func_gethostbyname = no
; then
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8604 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8605 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8606 $as_echo_n "(cached) " >&6
8608 ac_check_lib_save_LIBS
=$LIBS
8610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8613 /* Override any GCC internal prototype to avoid an error.
8614 Use char because int might match the return type of a GCC
8615 builtin and then its argument prototype would still apply. */
8619 char gethostbyname ();
8623 return gethostbyname ();
8628 if ac_fn_c_try_link
"$LINENO"; then :
8629 ac_cv_lib_nsl_gethostbyname
=yes
8631 ac_cv_lib_nsl_gethostbyname
=no
8633 rm -f core conftest.err conftest.
$ac_objext \
8634 conftest
$ac_exeext conftest.
$ac_ext
8635 LIBS
=$ac_check_lib_save_LIBS
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8638 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8639 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8643 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8645 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8646 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8647 $as_echo_n "(cached) " >&6
8649 ac_check_lib_save_LIBS
=$LIBS
8651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8654 /* Override any GCC internal prototype to avoid an error.
8655 Use char because int might match the return type of a GCC
8656 builtin and then its argument prototype would still apply. */
8660 char gethostbyname ();
8664 return gethostbyname ();
8669 if ac_fn_c_try_link
"$LINENO"; then :
8670 ac_cv_lib_bsd_gethostbyname
=yes
8672 ac_cv_lib_bsd_gethostbyname
=no
8674 rm -f core conftest.err conftest.
$ac_objext \
8675 conftest
$ac_exeext conftest.
$ac_ext
8676 LIBS
=$ac_check_lib_save_LIBS
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8679 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8680 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8681 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8687 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8688 # socket/setsockopt and other routines are undefined under SCO ODT
8689 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8690 # on later versions), says Simon Leinen: it contains gethostby*
8691 # variants that don't use the name server (or something). -lsocket
8692 # must be given before -lnsl if both are needed. We assume that
8693 # if connect needs -lnsl, so does gethostbyname.
8694 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8695 if test "x$ac_cv_func_connect" = xyes
; then :
8699 if test $ac_cv_func_connect = no
; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8701 $as_echo_n "checking for connect in -lsocket... " >&6; }
8702 if ${ac_cv_lib_socket_connect+:} false
; then :
8703 $as_echo_n "(cached) " >&6
8705 ac_check_lib_save_LIBS
=$LIBS
8706 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8710 /* Override any GCC internal prototype to avoid an error.
8711 Use char because int might match the return type of a GCC
8712 builtin and then its argument prototype would still apply. */
8725 if ac_fn_c_try_link
"$LINENO"; then :
8726 ac_cv_lib_socket_connect
=yes
8728 ac_cv_lib_socket_connect
=no
8730 rm -f core conftest.err conftest.
$ac_objext \
8731 conftest
$ac_exeext conftest.
$ac_ext
8732 LIBS
=$ac_check_lib_save_LIBS
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8735 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8736 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8737 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8742 # Guillermo Gomez says -lposix is necessary on A/UX.
8743 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8744 if test "x$ac_cv_func_remove" = xyes
; then :
8748 if test $ac_cv_func_remove = no
; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8750 $as_echo_n "checking for remove in -lposix... " >&6; }
8751 if ${ac_cv_lib_posix_remove+:} false
; then :
8752 $as_echo_n "(cached) " >&6
8754 ac_check_lib_save_LIBS
=$LIBS
8755 LIBS
="-lposix $LIBS"
8756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8759 /* Override any GCC internal prototype to avoid an error.
8760 Use char because int might match the return type of a GCC
8761 builtin and then its argument prototype would still apply. */
8774 if ac_fn_c_try_link
"$LINENO"; then :
8775 ac_cv_lib_posix_remove
=yes
8777 ac_cv_lib_posix_remove
=no
8779 rm -f core conftest.err conftest.
$ac_objext \
8780 conftest
$ac_exeext conftest.
$ac_ext
8781 LIBS
=$ac_check_lib_save_LIBS
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8784 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8785 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8786 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8791 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8792 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8793 if test "x$ac_cv_func_shmat" = xyes
; then :
8797 if test $ac_cv_func_shmat = no
; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8799 $as_echo_n "checking for shmat in -lipc... " >&6; }
8800 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8801 $as_echo_n "(cached) " >&6
8803 ac_check_lib_save_LIBS
=$LIBS
8805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8808 /* Override any GCC internal prototype to avoid an error.
8809 Use char because int might match the return type of a GCC
8810 builtin and then its argument prototype would still apply. */
8823 if ac_fn_c_try_link
"$LINENO"; then :
8824 ac_cv_lib_ipc_shmat
=yes
8826 ac_cv_lib_ipc_shmat
=no
8828 rm -f core conftest.err conftest.
$ac_objext \
8829 conftest
$ac_exeext conftest.
$ac_ext
8830 LIBS
=$ac_check_lib_save_LIBS
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8833 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8834 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8835 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8841 # Check for libraries that X11R6 Xt/Xaw programs need.
8842 ac_save_LDFLAGS
=$LDFLAGS
8843 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8844 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8845 # check for ICE first), but we must link in the order -lSM -lICE or
8846 # we get undefined symbols. So assume we have SM if we have ICE.
8847 # These have to be linked with before -lX11, unlike the other
8848 # libraries we check for below, so use a different variable.
8849 # John Interrante, Karl Berry
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8851 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8852 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8855 ac_check_lib_save_LIBS
=$LIBS
8856 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8860 /* Override any GCC internal prototype to avoid an error.
8861 Use char because int might match the return type of a GCC
8862 builtin and then its argument prototype would still apply. */
8866 char IceConnectionNumber ();
8870 return IceConnectionNumber ();
8875 if ac_fn_c_try_link
"$LINENO"; then :
8876 ac_cv_lib_ICE_IceConnectionNumber
=yes
8878 ac_cv_lib_ICE_IceConnectionNumber
=no
8880 rm -f core conftest.err conftest.
$ac_objext \
8881 conftest
$ac_exeext conftest.
$ac_ext
8882 LIBS
=$ac_check_lib_save_LIBS
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8885 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8886 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8887 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8890 LDFLAGS
=$ac_save_LDFLAGS
8895 if test "$have_x" = "yes"
8898 ac_save_CPPFLAGS
="$CPPFLAGS"
8899 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8902 $as_echo_n "checking for -lX11... " >&6; }
8903 if ${ac_cv_lib_soname_X11+:} false
; then :
8904 $as_echo_n "(cached) " >&6
8906 ac_check_soname_save_LIBS
=$LIBS
8907 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8911 /* Override any GCC internal prototype to avoid an error.
8912 Use char because int might match the return type of a GCC
8913 builtin and then its argument prototype would still apply. */
8917 char XCreateWindow ();
8921 return XCreateWindow ();
8926 if ac_fn_c_try_link
"$LINENO"; then :
8928 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8929 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'` ;;
8930 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8931 if test "x$ac_cv_lib_soname_X11" = x
; then :
8932 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8936 rm -f core conftest.err conftest.
$ac_objext \
8937 conftest
$ac_exeext conftest.
$ac_ext
8938 LIBS
=$ac_check_soname_save_LIBS
8940 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8942 $as_echo "not found" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8946 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8948 cat >>confdefs.h
<<_ACEOF
8949 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8955 $as_echo_n "checking for -lXext... " >&6; }
8956 if ${ac_cv_lib_soname_Xext+:} false
; then :
8957 $as_echo_n "(cached) " >&6
8959 ac_check_soname_save_LIBS
=$LIBS
8960 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8970 char XextCreateExtension ();
8974 return XextCreateExtension ();
8979 if ac_fn_c_try_link
"$LINENO"; then :
8981 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8982 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'` ;;
8983 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8984 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8985 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8989 rm -f core conftest.err conftest.
$ac_objext \
8990 conftest
$ac_exeext conftest.
$ac_ext
8991 LIBS
=$ac_check_soname_save_LIBS
8993 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8995 $as_echo "not found" >&6; }
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8999 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9001 cat >>confdefs.h
<<_ACEOF
9002 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9008 for ac_header
in X11
/Xlib.h \
9011 X11
/Xcursor
/Xcursor.h \
9012 X11
/extensions
/shape.h \
9013 X11
/extensions
/XInput.h \
9014 X11
/extensions
/XInput2.h \
9015 X11
/extensions
/XShm.h \
9016 X11
/extensions
/Xcomposite.h \
9017 X11
/extensions
/Xinerama.h \
9018 X11
/extensions
/Xrandr.h \
9019 X11
/extensions
/Xrender.h \
9020 X11
/extensions
/xf86vmode.h \
9021 X11
/extensions
/xf86vmproto.h
9023 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9024 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9025 # include <X11/Xlib.h>
9027 #ifdef HAVE_X11_XUTIL_H
9028 # include <X11/Xutil.h>
9031 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9032 cat >>confdefs.h
<<_ACEOF
9033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9041 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9044 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9045 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9046 $as_echo_n "(cached) " >&6
9048 ac_check_lib_save_LIBS
=$LIBS
9049 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9059 char XkbQueryExtension ();
9063 return XkbQueryExtension ();
9068 if ac_fn_c_try_link
"$LINENO"; then :
9069 ac_cv_lib_X11_XkbQueryExtension
=yes
9071 ac_cv_lib_X11_XkbQueryExtension
=no
9073 rm -f core conftest.err conftest.
$ac_objext \
9074 conftest
$ac_exeext conftest.
$ac_ext
9075 LIBS
=$ac_check_lib_save_LIBS
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9078 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9079 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9081 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9087 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9090 $as_echo_n "checking for -lXcursor... " >&6; }
9091 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9092 $as_echo_n "(cached) " >&6
9094 ac_check_soname_save_LIBS
=$LIBS
9095 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9099 /* Override any GCC internal prototype to avoid an error.
9100 Use char because int might match the return type of a GCC
9101 builtin and then its argument prototype would still apply. */
9105 char XcursorImageLoadCursor ();
9109 return XcursorImageLoadCursor ();
9114 if ac_fn_c_try_link
"$LINENO"; then :
9116 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9117 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'` ;;
9118 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9119 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9120 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9124 rm -f core conftest.err conftest.
$ac_objext \
9125 conftest
$ac_exeext conftest.
$ac_ext
9126 LIBS
=$ac_check_soname_save_LIBS
9128 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9130 $as_echo "not found" >&6; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9134 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9136 cat >>confdefs.h
<<_ACEOF
9137 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9143 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9144 case "x$with_xcursor" in
9145 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9147 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9148 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9152 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9155 $as_echo_n "checking for -lXi... " >&6; }
9156 if ${ac_cv_lib_soname_Xi+:} false
; then :
9157 $as_echo_n "(cached) " >&6
9159 ac_check_soname_save_LIBS
=$LIBS
9160 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9170 char XOpenDevice ();
9174 return XOpenDevice ();
9179 if ac_fn_c_try_link
"$LINENO"; then :
9181 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9182 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'` ;;
9183 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9184 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9185 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9189 rm -f core conftest.err conftest.
$ac_objext \
9190 conftest
$ac_exeext conftest.
$ac_ext
9191 LIBS
=$ac_check_soname_save_LIBS
9193 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9195 $as_echo "not found" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9199 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9201 cat >>confdefs.h
<<_ACEOF
9202 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9208 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9209 case "x$with_xinput" in
9210 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9212 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9213 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9217 if test "x$ac_cv_lib_soname_Xi" != x
9219 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9220 case "x$with_xinput2" in
9221 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9223 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9224 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9229 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9232 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9233 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9234 $as_echo_n "(cached) " >&6
9236 ac_check_lib_save_LIBS
=$LIBS
9237 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9247 char XShmQueryExtension ();
9251 return XShmQueryExtension ();
9256 if ac_fn_c_try_link
"$LINENO"; then :
9257 ac_cv_lib_Xext_XShmQueryExtension
=yes
9259 ac_cv_lib_Xext_XShmQueryExtension
=no
9261 rm -f core conftest.err conftest.
$ac_objext \
9262 conftest
$ac_exeext conftest.
$ac_ext
9263 LIBS
=$ac_check_lib_save_LIBS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9266 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9267 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9269 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9274 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9275 case "x$with_xshm" in
9276 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9278 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9279 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9283 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9286 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9287 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9288 $as_echo_n "(cached) " >&6
9290 ac_check_lib_save_LIBS
=$LIBS
9291 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9301 char XShapeQueryExtension ();
9305 return XShapeQueryExtension ();
9310 if ac_fn_c_try_link
"$LINENO"; then :
9311 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9313 ac_cv_lib_Xext_XShapeQueryExtension
=no
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 LIBS
=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9320 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9321 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9323 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9328 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9329 case "x$with_xshape" in
9330 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9332 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9333 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9337 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9340 $as_echo_n "checking for -lXxf86vm... " >&6; }
9341 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9342 $as_echo_n "(cached) " >&6
9344 ac_check_soname_save_LIBS
=$LIBS
9345 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9355 char XF86VidModeQueryExtension ();
9359 return XF86VidModeQueryExtension ();
9364 if ac_fn_c_try_link
"$LINENO"; then :
9366 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9367 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'` ;;
9368 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9369 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9370 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9374 rm -f core conftest.err conftest.
$ac_objext \
9375 conftest
$ac_exeext conftest.
$ac_ext
9376 LIBS
=$ac_check_soname_save_LIBS
9378 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9380 $as_echo "not found" >&6; }
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9384 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9386 cat >>confdefs.h
<<_ACEOF
9387 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9393 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9394 case "x$with_xxf86vm" in
9395 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9397 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9398 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9402 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"
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9405 $as_echo_n "checking for -lXrender... " >&6; }
9406 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9409 ac_check_soname_save_LIBS
=$LIBS
9410 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9420 char XRenderQueryExtension ();
9424 return XRenderQueryExtension ();
9429 if ac_fn_c_try_link
"$LINENO"; then :
9431 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9432 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'` ;;
9433 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9434 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9435 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9439 rm -f core conftest.err conftest.
$ac_objext \
9440 conftest
$ac_exeext conftest.
$ac_ext
9441 LIBS
=$ac_check_soname_save_LIBS
9443 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9445 $as_echo "not found" >&6; }
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9449 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9451 cat >>confdefs.h
<<_ACEOF
9452 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9456 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9457 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9458 $as_echo_n "(cached) " >&6
9460 ac_check_lib_save_LIBS
=$LIBS
9461 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9465 /* Override any GCC internal prototype to avoid an error.
9466 Use char because int might match the return type of a GCC
9467 builtin and then its argument prototype would still apply. */
9471 char XRenderSetPictureTransform ();
9475 return XRenderSetPictureTransform ();
9480 if ac_fn_c_try_link
"$LINENO"; then :
9481 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9483 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9485 rm -f core conftest.err conftest.
$ac_objext \
9486 conftest
$ac_exeext conftest.
$ac_ext
9487 LIBS
=$ac_check_lib_save_LIBS
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9490 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9491 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9493 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9498 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9499 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9500 $as_echo_n "(cached) " >&6
9502 ac_check_lib_save_LIBS
=$LIBS
9503 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9513 char XRenderCreateLinearGradient ();
9517 return XRenderCreateLinearGradient ();
9522 if ac_fn_c_try_link
"$LINENO"; then :
9523 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9525 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9527 rm -f core conftest.err conftest.
$ac_objext \
9528 conftest
$ac_exeext conftest.
$ac_ext
9529 LIBS
=$ac_check_lib_save_LIBS
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9532 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9533 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9535 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9542 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9543 case "x$with_xrender" in
9544 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9546 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9547 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9551 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 #include <X11/Xlib.h>
9556 #include <X11/extensions/Xrandr.h>
9560 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9565 if ac_fn_c_try_compile
"$LINENO"; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9567 $as_echo_n "checking for -lXrandr... " >&6; }
9568 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9569 $as_echo_n "(cached) " >&6
9571 ac_check_soname_save_LIBS
=$LIBS
9572 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9582 char XRRQueryExtension ();
9586 return XRRQueryExtension ();
9591 if ac_fn_c_try_link
"$LINENO"; then :
9593 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9594 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'` ;;
9595 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9596 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9597 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9601 rm -f core conftest.err conftest.
$ac_objext \
9602 conftest
$ac_exeext conftest.
$ac_ext
9603 LIBS
=$ac_check_soname_save_LIBS
9605 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9607 $as_echo "not found" >&6; }
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9611 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9613 cat >>confdefs.h
<<_ACEOF
9614 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 #include <X11/Xlib.h>
9620 #include <X11/extensions/Xrandr.h>
9624 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9629 if ac_fn_c_try_compile
"$LINENO"; then :
9631 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9639 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9640 case "x$with_xrandr" in
9641 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9643 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9644 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9648 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9652 #include <X11/Xlib.h>
9653 #include <X11/extensions/Xinerama.h>
9657 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9662 if ac_fn_c_try_compile
"$LINENO"; then :
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9664 $as_echo_n "checking for -lXinerama... " >&6; }
9665 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9666 $as_echo_n "(cached) " >&6
9668 ac_check_soname_save_LIBS
=$LIBS
9669 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9679 char XineramaQueryScreens ();
9683 return XineramaQueryScreens ();
9688 if ac_fn_c_try_link
"$LINENO"; then :
9690 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9691 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'` ;;
9692 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9693 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9694 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9698 rm -f core conftest.err conftest.
$ac_objext \
9699 conftest
$ac_exeext conftest.
$ac_ext
9700 LIBS
=$ac_check_soname_save_LIBS
9702 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9704 $as_echo "not found" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9708 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9710 cat >>confdefs.h
<<_ACEOF
9711 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9719 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9720 case "x$with_xinerama" in
9721 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9723 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9724 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9728 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9731 $as_echo_n "checking for -lXcomposite... " >&6; }
9732 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9735 ac_check_soname_save_LIBS
=$LIBS
9736 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9746 char XCompositeRedirectWindow ();
9750 return XCompositeRedirectWindow ();
9755 if ac_fn_c_try_link
"$LINENO"; then :
9757 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9761 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9765 rm -f core conftest.err conftest.
$ac_objext \
9766 conftest
$ac_exeext conftest.
$ac_ext
9767 LIBS
=$ac_check_soname_save_LIBS
9769 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9775 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9777 cat >>confdefs.h
<<_ACEOF
9778 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9784 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9785 case "x$with_xcomposite" in
9786 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9788 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9789 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9793 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9794 #include <X11/Xlib.h>
9797 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9799 cat >>confdefs.h
<<_ACEOF
9800 #define HAVE_XICCALLBACK_CALLBACK 1
9805 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9806 #include <X11/Xlib.h>
9809 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9811 cat >>confdefs.h
<<_ACEOF
9812 #define HAVE_XEVENT_XCOOKIE 1
9821 if test "x$with_opengl" != "xno"
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9824 $as_echo_n "checking for -lGL... " >&6; }
9825 if ${ac_cv_lib_soname_GL+:} false
; then :
9826 $as_echo_n "(cached) " >&6
9828 ac_check_soname_save_LIBS
=$LIBS
9829 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9839 char glXCreateContext ();
9843 return glXCreateContext ();
9848 if ac_fn_c_try_link
"$LINENO"; then :
9850 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9851 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'` ;;
9852 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9853 if test "x$ac_cv_lib_soname_GL" = x
; then :
9854 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9858 rm -f core conftest.err conftest.
$ac_objext \
9859 conftest
$ac_exeext conftest.
$ac_ext
9860 LIBS
=$ac_check_soname_save_LIBS
9862 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9864 $as_echo "not found" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9866 $as_echo_n "checking for -lGL... " >&6; }
9867 if ${ac_cv_lib_soname_GL+:} false
; then :
9868 $as_echo_n "(cached) " >&6
9870 ac_check_soname_save_LIBS
=$LIBS
9871 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"
9872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9881 char glXCreateContext ();
9885 return glXCreateContext ();
9890 if ac_fn_c_try_link
"$LINENO"; then :
9892 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9893 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'` ;;
9894 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9895 if test "x$ac_cv_lib_soname_GL" = x
; then :
9896 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9900 rm -f core conftest.err conftest.
$ac_objext \
9901 conftest
$ac_exeext conftest.
$ac_ext
9902 LIBS
=$ac_check_soname_save_LIBS
9904 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9906 $as_echo "not found" >&6; }
9907 if test -f /usr
/X11R
6/lib
/libGL.a
9909 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9910 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9912 opengl_msg
="No OpenGL library found on this system."
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9916 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9918 cat >>confdefs.h
<<_ACEOF
9919 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9922 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"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9926 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9928 cat >>confdefs.h
<<_ACEOF
9929 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9934 if test "x$with_glu" != "xno"
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9937 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9938 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 ac_check_lib_save_LIBS
=$LIBS
9942 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_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. */
9956 return gluLookAt ();
9961 if ac_fn_c_try_link
"$LINENO"; then :
9962 ac_cv_lib_GLU_gluLookAt
=yes
9964 ac_cv_lib_GLU_gluLookAt
=no
9966 rm -f core conftest.err conftest.
$ac_objext \
9967 conftest
$ac_exeext conftest.
$ac_ext
9968 LIBS
=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9971 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9972 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9976 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9977 case "x$with_glu" in
9978 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9980 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9981 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9986 if test "x$with_osmesa" != "xno"
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9989 $as_echo_n "checking for -lOSMesa... " >&6; }
9990 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9991 $as_echo_n "(cached) " >&6
9993 ac_check_soname_save_LIBS
=$LIBS
9994 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9998 /* Override any GCC internal prototype to avoid an error.
9999 Use char because int might match the return type of a GCC
10000 builtin and then its argument prototype would still apply. */
10013 if ac_fn_c_try_link
"$LINENO"; then :
10015 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10016 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'` ;;
10017 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10018 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
10019 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 rm -f core conftest.err conftest.
$ac_objext \
10024 conftest
$ac_exeext conftest.
$ac_ext
10025 LIBS
=$ac_check_soname_save_LIBS
10027 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10029 $as_echo "not found" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10033 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10035 cat >>confdefs.h
<<_ACEOF
10036 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10041 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10042 case "x$with_osmesa" in
10043 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10045 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10046 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10051 if test -n "$opengl_msg"; then :
10052 case "x$with_opengl" in
10053 x
) as_fn_append wine_warnings
"|$opengl_msg
10054 OpenGL and Direct3D won't be supported." ;;
10056 *) as_fn_error $?
"$opengl_msg
10057 OpenGL and Direct3D won't be supported.
10058 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10062 CPPFLAGS
="$ac_save_CPPFLAGS"
10067 enable_winex11_drv
=${enable_winex11_drv:-no}
10069 if test "x$XLIB" = "x"; then :
10072 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10073 without X support, which probably isn't what you want. You will need
10074 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10075 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10079 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10081 if test "$ac_cv_header_CL_cl_h" = "yes"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10084 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10085 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10088 ac_check_lib_save_LIBS
=$LIBS
10089 LIBS
="-lOpenCL $LIBS"
10090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10099 char clGetPlatformInfo ();
10103 return clGetPlatformInfo ();
10108 if ac_fn_c_try_link
"$LINENO"; then :
10109 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10111 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10113 rm -f core conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 LIBS
=$ac_check_lib_save_LIBS
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10118 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10119 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10120 LIBOPENCL
="-lOpenCL"
10125 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10126 case "x$with_opencl" in
10127 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10129 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10130 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10133 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10136 if test "x$with_xml" != "xno"
10138 if test -n "$XML2_CFLAGS"; then :
10140 elif test -n "$PKG_CONFIG"; then :
10141 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10143 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10144 if test -n "$XML2_LIBS"; then :
10146 elif test -n "$PKG_CONFIG"; then :
10147 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10149 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10150 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10151 ac_save_CPPFLAGS
=$CPPFLAGS
10152 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10153 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10155 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10156 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10157 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10158 cat >>confdefs.h
<<_ACEOF
10159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10166 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"
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10169 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10170 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10171 $as_echo_n "(cached) " >&6
10173 ac_check_lib_save_LIBS
=$LIBS
10174 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10184 char xmlParseMemory ();
10188 return xmlParseMemory ();
10193 if ac_fn_c_try_link
"$LINENO"; then :
10194 ac_cv_lib_xml2_xmlParseMemory
=yes
10196 ac_cv_lib_xml2_xmlParseMemory
=no
10198 rm -f core conftest.err conftest.
$ac_objext \
10199 conftest
$ac_exeext conftest.
$ac_ext
10200 LIBS
=$ac_check_lib_save_LIBS
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10203 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10204 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10206 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10213 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10214 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10215 $as_echo_n "(cached) " >&6
10217 ac_check_lib_save_LIBS
=$LIBS
10218 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10228 char xmlReadMemory ();
10232 return xmlReadMemory ();
10237 if ac_fn_c_try_link
"$LINENO"; then :
10238 ac_cv_lib_xml2_xmlReadMemory
=yes
10240 ac_cv_lib_xml2_xmlReadMemory
=no
10242 rm -f core conftest.err conftest.
$ac_objext \
10243 conftest
$ac_exeext conftest.
$ac_ext
10244 LIBS
=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10247 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10248 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10250 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10255 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10256 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10257 $as_echo_n "(cached) " >&6
10259 ac_check_lib_save_LIBS
=$LIBS
10260 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10270 char xmlNewDocPI ();
10274 return xmlNewDocPI ();
10279 if ac_fn_c_try_link
"$LINENO"; then :
10280 ac_cv_lib_xml2_xmlNewDocPI
=yes
10282 ac_cv_lib_xml2_xmlNewDocPI
=no
10284 rm -f core conftest.err conftest.
$ac_objext \
10285 conftest
$ac_exeext conftest.
$ac_ext
10286 LIBS
=$ac_check_lib_save_LIBS
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10289 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10290 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10292 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10297 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10298 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10299 $as_echo_n "(cached) " >&6
10301 ac_check_lib_save_LIBS
=$LIBS
10302 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10312 char xmlSchemaSetParserStructuredErrors ();
10316 return xmlSchemaSetParserStructuredErrors ();
10321 if ac_fn_c_try_link
"$LINENO"; then :
10322 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10324 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10326 rm -f core conftest.err conftest.
$ac_objext \
10327 conftest
$ac_exeext conftest.
$ac_ext
10328 LIBS
=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10331 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10332 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10334 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10339 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10340 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10341 $as_echo_n "(cached) " >&6
10343 ac_check_lib_save_LIBS
=$LIBS
10344 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10354 char xmlSchemaSetValidStructuredErrors ();
10358 return xmlSchemaSetValidStructuredErrors ();
10363 if ac_fn_c_try_link
"$LINENO"; then :
10364 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10366 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10368 rm -f core conftest.err conftest.
$ac_objext \
10369 conftest
$ac_exeext conftest.
$ac_ext
10370 LIBS
=$ac_check_lib_save_LIBS
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10373 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10374 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10376 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10381 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10382 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10383 $as_echo_n "(cached) " >&6
10385 ac_check_lib_save_LIBS
=$LIBS
10386 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10390 /* Override any GCC internal prototype to avoid an error.
10391 Use char because int might match the return type of a GCC
10392 builtin and then its argument prototype would still apply. */
10396 char xmlFirstElementChild ();
10400 return xmlFirstElementChild ();
10405 if ac_fn_c_try_link
"$LINENO"; then :
10406 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10408 ac_cv_lib_xml2_xmlFirstElementChild
=no
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LIBS
=$ac_check_lib_save_LIBS
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10415 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10416 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10418 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10422 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10424 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10426 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10434 CPPFLAGS
=$ac_save_CPPFLAGS
10435 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10436 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10439 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10440 case "x$with_xml" in
10441 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10443 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10444 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10448 if test "x$with_xslt" != "xno"
10450 if test -n "$XSLT_CFLAGS"; then :
10452 elif test -n "$PKG_CONFIG"; then :
10453 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10455 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10456 if test -n "$XSLT_LIBS"; then :
10458 elif test -n "$PKG_CONFIG"; then :
10459 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10461 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10462 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10463 ac_save_CPPFLAGS
=$CPPFLAGS
10464 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10465 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10467 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10468 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10469 # include <libxslt/pattern.h>
10472 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10473 cat >>confdefs.h
<<_ACEOF
10474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10481 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10484 $as_echo_n "checking for -lxslt... " >&6; }
10485 if ${ac_cv_lib_soname_xslt+:} false
; then :
10486 $as_echo_n "(cached) " >&6
10488 ac_check_soname_save_LIBS
=$LIBS
10489 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10493 /* Override any GCC internal prototype to avoid an error.
10494 Use char because int might match the return type of a GCC
10495 builtin and then its argument prototype would still apply. */
10499 char xsltCompilePattern ();
10503 return xsltCompilePattern ();
10508 if ac_fn_c_try_link
"$LINENO"; then :
10510 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10511 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'` ;;
10512 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10513 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10514 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10518 rm -f core conftest.err conftest.
$ac_objext \
10519 conftest
$ac_exeext conftest.
$ac_ext
10520 LIBS
=$ac_check_soname_save_LIBS
10522 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10524 $as_echo "not found" >&6; }
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10528 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10530 cat >>confdefs.h
<<_ACEOF
10531 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10539 CPPFLAGS
=$ac_save_CPPFLAGS
10540 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10541 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10544 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10545 case "x$with_xslt" in
10546 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10548 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10549 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10553 if test "x$with_dbus" != "xno"
10555 if test -n "$DBUS_CFLAGS"; then :
10557 elif test -n "$PKG_CONFIG"; then :
10558 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10561 if test -n "$DBUS_LIBS"; then :
10563 elif test -n "$PKG_CONFIG"; then :
10564 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10568 ac_save_CPPFLAGS
=$CPPFLAGS
10569 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10570 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10571 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10573 $as_echo_n "checking for -ldbus-1... " >&6; }
10574 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10575 $as_echo_n "(cached) " >&6
10577 ac_check_soname_save_LIBS
=$LIBS
10578 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10588 char dbus_connection_close ();
10592 return dbus_connection_close ();
10597 if ac_fn_c_try_link
"$LINENO"; then :
10599 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10600 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'` ;;
10601 *) 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'`
10602 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10603 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10607 rm -f core conftest.err conftest.
$ac_objext \
10608 conftest
$ac_exeext conftest.
$ac_ext
10609 LIBS
=$ac_check_soname_save_LIBS
10611 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10613 $as_echo "not found" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10617 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10619 cat >>confdefs.h
<<_ACEOF
10620 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10630 CPPFLAGS
=$ac_save_CPPFLAGS
10631 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10632 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10635 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10636 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10637 case "x$with_dbus" in
10638 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10640 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10641 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10645 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10647 if test -n "$HAL_CFLAGS"; then :
10649 elif test -n "$PKG_CONFIG"; then :
10650 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10653 if test -n "$HAL_LIBS"; then :
10655 elif test -n "$PKG_CONFIG"; then :
10656 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10659 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10660 ac_save_CPPFLAGS
=$CPPFLAGS
10661 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10662 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10663 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10665 $as_echo_n "checking for -lhal... " >&6; }
10666 if ${ac_cv_lib_soname_hal+:} false
; then :
10667 $as_echo_n "(cached) " >&6
10669 ac_check_soname_save_LIBS
=$LIBS
10670 LIBS
="-lhal $HAL_LIBS $LIBS"
10671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10680 char libhal_ctx_new ();
10684 return libhal_ctx_new ();
10689 if ac_fn_c_try_link
"$LINENO"; then :
10691 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10692 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'` ;;
10693 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10694 if test "x$ac_cv_lib_soname_hal" = x
; then :
10695 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10699 rm -f core conftest.err conftest.
$ac_objext \
10700 conftest
$ac_exeext conftest.
$ac_ext
10701 LIBS
=$ac_check_soname_save_LIBS
10703 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10705 $as_echo "not found" >&6; }
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10709 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10711 cat >>confdefs.h
<<_ACEOF
10712 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10722 CPPFLAGS
=$ac_save_CPPFLAGS
10723 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10724 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10726 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10727 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10728 case "x$with_hal" in
10729 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10731 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10732 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10737 if test "x$with_gnutls" != "xno"
10739 if test -n "$GNUTLS_CFLAGS"; then :
10741 elif test -n "$PKG_CONFIG"; then :
10742 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10745 if test -n "$GNUTLS_LIBS"; then :
10747 elif test -n "$PKG_CONFIG"; then :
10748 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10752 ac_save_CPPFLAGS
=$CPPFLAGS
10753 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10754 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10755 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 #include <gnutls/gnutls.h>
10759 #include <gnutls/crypto.h>
10763 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10768 if ac_fn_c_try_compile
"$LINENO"; then :
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10770 $as_echo_n "checking for -lgnutls... " >&6; }
10771 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10772 $as_echo_n "(cached) " >&6
10774 ac_check_soname_save_LIBS
=$LIBS
10775 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10785 char gnutls_global_init ();
10789 return gnutls_global_init ();
10794 if ac_fn_c_try_link
"$LINENO"; then :
10796 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10797 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'` ;;
10798 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10799 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10800 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10804 rm -f core conftest.err conftest.
$ac_objext \
10805 conftest
$ac_exeext conftest.
$ac_ext
10806 LIBS
=$ac_check_soname_save_LIBS
10808 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10810 $as_echo "not found" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10814 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10816 cat >>confdefs.h
<<_ACEOF
10817 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10829 CPPFLAGS
=$ac_save_CPPFLAGS
10830 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10831 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10834 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10835 case "x$with_gnutls" in
10836 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10838 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10839 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10844 if test "$ac_cv_header_ncurses_h" = "yes"
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10847 $as_echo_n "checking for -lncurses... " >&6; }
10848 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10849 $as_echo_n "(cached) " >&6
10851 ac_check_soname_save_LIBS
=$LIBS
10852 LIBS
="-lncurses $LIBS"
10853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10856 /* Override any GCC internal prototype to avoid an error.
10857 Use char because int might match the return type of a GCC
10858 builtin and then its argument prototype would still apply. */
10871 if ac_fn_c_try_link
"$LINENO"; then :
10873 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10874 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'` ;;
10875 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10876 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10877 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10881 rm -f core conftest.err conftest.
$ac_objext \
10882 conftest
$ac_exeext conftest.
$ac_ext
10883 LIBS
=$ac_check_soname_save_LIBS
10885 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10887 $as_echo "not found" >&6; }
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10891 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10893 cat >>confdefs.h
<<_ACEOF
10894 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10897 CURSESLIBS
="-lncurses"
10899 elif test "$ac_cv_header_curses_h" = "yes"
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10902 $as_echo_n "checking for -lcurses... " >&6; }
10903 if ${ac_cv_lib_soname_curses+:} false
; then :
10904 $as_echo_n "(cached) " >&6
10906 ac_check_soname_save_LIBS
=$LIBS
10907 LIBS
="-lcurses $LIBS"
10908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10926 if ac_fn_c_try_link
"$LINENO"; then :
10928 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10929 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'` ;;
10930 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10931 if test "x$ac_cv_lib_soname_curses" = x
; then :
10932 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10936 rm -f core conftest.err conftest.
$ac_objext \
10937 conftest
$ac_exeext conftest.
$ac_ext
10938 LIBS
=$ac_check_soname_save_LIBS
10940 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10942 $as_echo "not found" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10946 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10948 cat >>confdefs.h
<<_ACEOF
10949 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10952 CURSESLIBS
="-lcurses"
10955 ac_save_LIBS
="$LIBS"
10956 LIBS
="$LIBS $CURSESLIBS"
10957 for ac_func
in mousemask
10959 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10960 if test "x$ac_cv_func_mousemask" = xyes
; then :
10961 cat >>confdefs.h
<<_ACEOF
10962 #define HAVE_MOUSEMASK 1
10968 LIBS
="$ac_save_LIBS"
10969 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10970 case "x$with_curses" in
10971 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10973 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10974 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10978 if test "x$with_sane" != "xno"
10980 if test -n "$SANE_CFLAGS"; then :
10982 elif test -n "$PKG_CONFIG"; then :
10983 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10985 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10986 if test -n "$SANE_LIBS"; then :
10988 elif test -n "$PKG_CONFIG"; then :
10989 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10991 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10993 ac_save_CPPFLAGS
=$CPPFLAGS
10994 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10995 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10996 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10998 $as_echo_n "checking for -lsane... " >&6; }
10999 if ${ac_cv_lib_soname_sane+:} false
; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_soname_save_LIBS
=$LIBS
11003 LIBS
="-lsane $SANE_LIBS $LIBS"
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11017 return sane_init ();
11022 if ac_fn_c_try_link
"$LINENO"; then :
11024 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11025 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'` ;;
11026 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11027 if test "x$ac_cv_lib_soname_sane" = x
; then :
11028 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11032 rm -f core conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 LIBS
=$ac_check_soname_save_LIBS
11036 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11038 $as_echo "not found" >&6; }
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11042 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11044 cat >>confdefs.h
<<_ACEOF
11045 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11055 CPPFLAGS
=$ac_save_CPPFLAGS
11056 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11057 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11060 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11061 case "x$with_sane" in
11062 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11064 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11065 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11069 if test "x$with_v4l" != "xno"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11072 $as_echo_n "checking for -lv4l1... " >&6; }
11073 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11074 $as_echo_n "(cached) " >&6
11076 ac_check_soname_save_LIBS
=$LIBS
11077 LIBS
="-lv4l1 $LIBS"
11078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11091 return v4l1_open ();
11096 if ac_fn_c_try_link
"$LINENO"; then :
11098 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11101 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11102 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_soname_save_LIBS
11110 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11116 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11118 cat >>confdefs.h
<<_ACEOF
11119 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11125 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11126 case "x$with_v4l" in
11127 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11129 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11130 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11134 if test "x$with_gphoto" != "xno"
11136 if test -n "$GPHOTO2_CFLAGS"; then :
11138 elif test -n "$PKG_CONFIG"; then :
11139 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11141 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11142 if test -n "$GPHOTO2_LIBS"; then :
11144 elif test -n "$PKG_CONFIG"; then :
11145 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11147 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11148 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11149 ac_save_CPPFLAGS
=$CPPFLAGS
11150 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11151 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11152 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11154 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11155 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11156 $as_echo_n "(cached) " >&6
11158 ac_check_lib_save_LIBS
=$LIBS
11159 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11169 char gp_camera_new ();
11173 return gp_camera_new ();
11178 if ac_fn_c_try_link
"$LINENO"; then :
11179 ac_cv_lib_gphoto2_gp_camera_new
=yes
11181 ac_cv_lib_gphoto2_gp_camera_new
=no
11183 rm -f core conftest.err conftest.
$ac_objext \
11184 conftest
$ac_exeext conftest.
$ac_ext
11185 LIBS
=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11188 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11189 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11191 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11194 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11198 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11202 CPPFLAGS
=$ac_save_CPPFLAGS
11203 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11204 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11206 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11208 elif test -n "$PKG_CONFIG"; then :
11209 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11211 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11212 if test -n "$GPHOTO2_PORT_LIBS"; then :
11214 elif test -n "$PKG_CONFIG"; then :
11215 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11217 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11218 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11219 ac_save_CPPFLAGS
=$CPPFLAGS
11220 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11221 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11222 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11224 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11225 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_lib_save_LIBS
=$LIBS
11229 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11239 char gp_port_info_list_new ();
11243 return gp_port_info_list_new ();
11248 if ac_fn_c_try_link
"$LINENO"; then :
11249 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11251 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11253 rm -f core conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 LIBS
=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11258 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11259 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11261 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11264 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11268 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11272 CPPFLAGS
=$ac_save_CPPFLAGS
11273 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11274 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11277 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11278 case "x$with_gphoto" in
11279 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11281 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11282 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11285 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11286 case "x$with_gphoto" in
11287 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11289 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11290 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11295 if test "$ac_cv_header_resolv_h" = "yes"
11297 ac_save_LIBS
="$LIBS"
11298 for lib
in '' -lresolv
11300 LIBS
="$lib $ac_save_LIBS"
11301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 #ifdef HAVE_NETINET_IN_H
11304 #include <netinet/in.h>
11306 #include <resolv.h>
11310 res_query("foo",ns_c_in,0,0,0);
11315 if ac_fn_c_try_link
"$LINENO"; then :
11317 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11322 rm -f core conftest.err conftest.
$ac_objext \
11323 conftest
$ac_exeext conftest.
$ac_ext
11324 if test "${RESOLVLIBS+set}" = set; then
11328 LIBS
="$ac_save_LIBS"
11331 if test "x$with_lcms2" != "xno"
11333 if test -n "$LCMS2_CFLAGS"; then :
11335 elif test -n "$PKG_CONFIG"; then :
11336 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11339 if test -n "$LCMS2_LIBS"; then :
11341 elif test -n "$PKG_CONFIG"; then :
11342 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11345 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11346 ac_save_CPPFLAGS
=$CPPFLAGS
11347 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11348 for ac_header
in lcms2.h
11350 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11351 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11352 cat >>confdefs.h
<<_ACEOF
11353 #define HAVE_LCMS2_H 1
11360 if test "$ac_cv_header_lcms2_h" = "yes"
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11363 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11364 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11365 $as_echo_n "(cached) " >&6
11367 ac_check_lib_save_LIBS
=$LIBS
11368 LIBS
="-llcms2 $LIBS"
11369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11378 char cmsOpenProfileFromFile ();
11382 return cmsOpenProfileFromFile ();
11387 if ac_fn_c_try_link
"$LINENO"; then :
11388 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11390 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11392 rm -f core conftest.err conftest.
$ac_objext \
11393 conftest
$ac_exeext conftest.
$ac_ext
11394 LIBS
=$ac_check_lib_save_LIBS
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11397 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11398 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11400 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11410 CPPFLAGS
=$ac_save_CPPFLAGS
11411 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11412 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11415 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11416 case "x$with_cms" in
11417 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11419 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11420 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11424 if test "x$with_freetype" != "xno"
11426 if test -n "$FREETYPE_CFLAGS"; then :
11428 elif test -n "$PKG_CONFIG"; then :
11429 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11431 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11432 if test -n "$FREETYPE_LIBS"; then :
11434 elif test -n "$PKG_CONFIG"; then :
11435 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11437 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11438 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11439 ac_save_CPPFLAGS
=$CPPFLAGS
11440 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11442 $as_echo_n "checking for -lfreetype... " >&6; }
11443 if ${ac_cv_lib_soname_freetype+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11446 ac_check_soname_save_LIBS
=$LIBS
11447 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11457 char FT_Init_FreeType ();
11461 return FT_Init_FreeType ();
11466 if ac_fn_c_try_link
"$LINENO"; then :
11468 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11469 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'` ;;
11470 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11471 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11472 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LIBS
=$ac_check_soname_save_LIBS
11480 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11486 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11488 cat >>confdefs.h
<<_ACEOF
11489 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11494 if test "$ft_lib" = "yes"
11496 for ac_header
in ft2build.h \
11497 freetype
/freetype.h \
11498 freetype
/ftglyph.h \
11499 freetype
/fttypes.h \
11500 freetype
/tttables.h \
11501 freetype
/ftsnames.h \
11502 freetype
/ttnameid.h \
11503 freetype
/ftoutln.h \
11504 freetype
/ftwinfnt.h \
11505 freetype
/ftmodapi.h \
11506 freetype
/ftlcdfil.h
11508 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11509 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11510 # include <ft2build.h>
11513 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11514 cat >>confdefs.h
<<_ACEOF
11515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 #include <ft2build.h>
11525 #include <freetype/fttrigon.h>
11527 if ac_fn_c_try_cpp
"$LINENO"; then :
11529 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11531 wine_cv_fttrigon
=yes
11533 wine_cv_fttrigon
=no
11535 rm -f conftest.err conftest.i conftest.
$ac_ext
11536 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11538 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11540 cat >>confdefs.h
<<_ACEOF
11541 #define HAVE_FT_TRUETYPEENGINETYPE 1
11547 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11550 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11558 CPPFLAGS
=$ac_save_CPPFLAGS
11559 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11560 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11563 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11564 case "x$with_freetype" in
11566 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11567 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11570 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11573 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11574 if ${ac_cv_c_ppdev+:} false
; then :
11575 $as_echo_n "(cached) " >&6
11577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 #ifdef HAVE_SYS_IOCTL_H
11580 # include <sys/ioctl.h>
11582 #include <linux/ppdev.h>
11586 ioctl (1,PPCLAIM,0)
11591 if ac_fn_c_try_compile
"$LINENO"; then :
11592 ac_cv_c_ppdev
="yes"
11596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11599 $as_echo "$ac_cv_c_ppdev" >&6; }
11600 if test "$ac_cv_c_ppdev" = "yes"
11603 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11607 ac_wine_check_funcs_save_LIBS
="$LIBS"
11608 LIBS
="$LIBS $LIBPTHREAD"
11610 pthread_attr_get_np \
11611 pthread_getattr_np \
11612 pthread_getthreadid_np \
11613 pthread_get_stackaddr_np \
11614 pthread_get_stacksize_np
11616 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11617 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11618 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11619 cat >>confdefs.h
<<_ACEOF
11620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11626 LIBS
="$ac_wine_check_funcs_save_LIBS"
11628 if test "$ac_cv_header_zlib_h" = "yes"
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11631 $as_echo_n "checking for inflate in -lz... " >&6; }
11632 if ${ac_cv_lib_z_inflate+:} false
; then :
11633 $as_echo_n "(cached) " >&6
11635 ac_check_lib_save_LIBS
=$LIBS
11637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11655 if ac_fn_c_try_link
"$LINENO"; then :
11656 ac_cv_lib_z_inflate
=yes
11658 ac_cv_lib_z_inflate
=no
11660 rm -f core conftest.err conftest.
$ac_objext \
11661 conftest
$ac_exeext conftest.
$ac_ext
11662 LIBS
=$ac_check_lib_save_LIBS
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11665 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11666 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11668 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11675 if test "x$ZLIB" = "x"; then :
11676 case "x$with_zlib" in
11677 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11679 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11680 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11684 if test "x$enable_tools" != xno
11686 if test "$ac_cv_header_gettext_po_h" = "yes"
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11689 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11690 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11691 $as_echo_n "(cached) " >&6
11693 ac_check_lib_save_LIBS
=$LIBS
11694 LIBS
="-lgettextpo $LIBS"
11695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11704 char po_message_msgctxt ();
11708 return po_message_msgctxt ();
11713 if ac_fn_c_try_link
"$LINENO"; then :
11714 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11716 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11718 rm -f core conftest.err conftest.
$ac_objext \
11719 conftest
$ac_exeext conftest.
$ac_ext
11720 LIBS
=$ac_check_lib_save_LIBS
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11723 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11724 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11726 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11728 LIBGETTEXTPO
="-lgettextpo"
11733 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11734 case "x$with_gettextpo" in
11735 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11737 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11738 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11743 if test "x$with_gstreamer" != "xno"
11745 if test -n "$GSTREAMER_CFLAGS"; then :
11747 elif test -n "$PKG_CONFIG"; then :
11748 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11751 if test -n "$GSTREAMER_LIBS"; then :
11753 elif test -n "$PKG_CONFIG"; then :
11754 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11758 ac_save_CPPFLAGS
=$CPPFLAGS
11759 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11761 for i
in $GSTREAMER_CFLAGS
11764 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11767 GSTREAMER_CFLAGS
=$ac_gst_incl
11768 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11769 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11770 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11771 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11772 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11774 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 #include <gst/app/gstappsink.h>
11781 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11786 if ac_fn_c_try_compile
"$LINENO"; then :
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11788 $as_echo "yes" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11790 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11791 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11792 $as_echo_n "(cached) " >&6
11794 ac_check_lib_save_LIBS
=$LIBS
11795 LIBS
="-lgstreamer-0.10 $LIBS"
11796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11805 char gst_pad_get_caps_reffed ();
11809 return gst_pad_get_caps_reffed ();
11814 if ac_fn_c_try_link
"$LINENO"; then :
11815 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11817 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11819 rm -f core conftest.err conftest.
$ac_objext \
11820 conftest
$ac_exeext conftest.
$ac_ext
11821 LIBS
=$ac_check_lib_save_LIBS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11824 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11825 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11827 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11828 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11829 $as_echo_n "(cached) " >&6
11831 ac_check_lib_save_LIBS
=$LIBS
11832 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11842 char gst_app_buffer_new ();
11846 return gst_app_buffer_new ();
11851 if ac_fn_c_try_link
"$LINENO"; then :
11852 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11854 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11856 rm -f core conftest.err conftest.
$ac_objext \
11857 conftest
$ac_exeext conftest.
$ac_ext
11858 LIBS
=$ac_check_lib_save_LIBS
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11861 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11862 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11870 $as_echo "no" >&6; }
11872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11877 GSTREAMER_CFLAGS
=""
11881 CPPFLAGS
=$ac_save_CPPFLAGS
11882 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11883 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11886 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11887 case "x$with_gstreamer" in
11888 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11890 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11891 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11894 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11898 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11901 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11902 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11903 $as_echo_n "(cached) " >&6
11905 ac_check_lib_save_LIBS
=$LIBS
11906 LIBS
="-lasound $LIBS"
11907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11916 char snd_pcm_hw_params_get_access_mask ();
11920 return snd_pcm_hw_params_get_access_mask ();
11925 if ac_fn_c_try_link
"$LINENO"; then :
11926 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11928 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11930 rm -f core conftest.err conftest.
$ac_objext \
11931 conftest
$ac_exeext conftest.
$ac_ext
11932 LIBS
=$ac_check_lib_save_LIBS
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11935 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11936 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef HAVE_ALSA_ASOUNDLIB_H
11940 #include <alsa/asoundlib.h>
11941 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11942 #include <sys/asoundlib.h>
11947 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11952 if ac_fn_c_try_compile
"$LINENO"; then :
11953 ALSALIBS
="-lasound"
11955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11960 if test "x$with_oss" != xno
11962 ac_save_CPPFLAGS
="$CPPFLAGS"
11963 if test -f /etc
/oss.conf
11967 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11968 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11969 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11970 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11971 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11973 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11975 cat >>confdefs.h
<<_ACEOF
11976 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11979 OSS4INCL
="$ac_oss_incl"
11986 CPPFLAGS
="$ac_save_CPPFLAGS"
11987 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11989 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11993 if test "x$with_capi" != "xno"
11995 if test -n "$CAPI20_CFLAGS"; then :
11997 elif test -n "$PKG_CONFIG"; then :
11998 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12001 if test -n "$CAPI20_LIBS"; then :
12003 elif test -n "$PKG_CONFIG"; then :
12004 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12008 ac_save_CPPFLAGS
=$CPPFLAGS
12009 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12010 for ac_header
in capi20.h linux
/capi.h
12012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12013 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12015 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12016 cat >>confdefs.h
<<_ACEOF
12017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12024 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12027 $as_echo_n "checking for -lcapi20... " >&6; }
12028 if ${ac_cv_lib_soname_capi20+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 ac_check_soname_save_LIBS
=$LIBS
12032 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12042 char capi20_register ();
12046 return capi20_register ();
12051 if ac_fn_c_try_link
"$LINENO"; then :
12053 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12054 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'` ;;
12055 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12056 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12057 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12061 rm -f core conftest.err conftest.
$ac_objext \
12062 conftest
$ac_exeext conftest.
$ac_ext
12063 LIBS
=$ac_check_soname_save_LIBS
12065 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12067 $as_echo "not found" >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12071 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12073 cat >>confdefs.h
<<_ACEOF
12074 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12080 CPPFLAGS
=$ac_save_CPPFLAGS
12081 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12086 case "x$with_capi" in
12087 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12089 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12090 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12096 if test "x$with_cups" != "xno"
12098 ac_save_CPPFLAGS
="$CPPFLAGS"
12099 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12100 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12101 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12102 for ac_header
in cups
/cups.h
12104 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12105 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12106 cat >>confdefs.h
<<_ACEOF
12107 #define HAVE_CUPS_CUPS_H 1
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12110 $as_echo_n "checking for -lcups... " >&6; }
12111 if ${ac_cv_lib_soname_cups+:} false
; then :
12112 $as_echo_n "(cached) " >&6
12114 ac_check_soname_save_LIBS
=$LIBS
12115 LIBS
="-lcups $ac_cups_libs $LIBS"
12116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12125 char cupsGetDefault ();
12129 return cupsGetDefault ();
12134 if ac_fn_c_try_link
"$LINENO"; then :
12136 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12137 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'` ;;
12138 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12139 if test "x$ac_cv_lib_soname_cups" = x
; then :
12140 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12144 rm -f core conftest.err conftest.
$ac_objext \
12145 conftest
$ac_exeext conftest.
$ac_ext
12146 LIBS
=$ac_check_soname_save_LIBS
12148 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12150 $as_echo "not found" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12154 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12156 cat >>confdefs.h
<<_ACEOF
12157 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12160 CUPSINCL
="$ac_cups_cflags"
12166 CPPFLAGS
="$ac_save_CPPFLAGS"
12168 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12169 case "x$with_cups" in
12170 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12172 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12173 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12177 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12180 $as_echo_n "checking for -lfontconfig... " >&6; }
12181 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_check_soname_save_LIBS
=$LIBS
12185 LIBS
="-lfontconfig $LIBS"
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12204 if ac_fn_c_try_link
"$LINENO"; then :
12206 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12207 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'` ;;
12208 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12209 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12210 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12214 rm -f core conftest.err conftest.
$ac_objext \
12215 conftest
$ac_exeext conftest.
$ac_ext
12216 LIBS
=$ac_check_soname_save_LIBS
12218 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12220 $as_echo "not found" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12224 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12226 cat >>confdefs.h
<<_ACEOF
12227 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12232 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12234 ac_save_CPPFLAGS
="$CPPFLAGS"
12235 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12236 $as_unset ac_cv_header_fontconfig_fontconfig_h
12237 for ac_header
in fontconfig
/fontconfig.h
12239 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12240 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12241 cat >>confdefs.h
<<_ACEOF
12242 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12249 CPPFLAGS
="$ac_save_CPPFLAGS"
12250 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12252 FONTCONFIGINCL
="$X_CFLAGS"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12255 $as_echo_n "checking for -lfontconfig... " >&6; }
12256 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12257 $as_echo_n "(cached) " >&6
12259 ac_check_soname_save_LIBS
=$LIBS
12260 LIBS
="-lfontconfig $X_LIBS $LIBS"
12261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12279 if ac_fn_c_try_link
"$LINENO"; then :
12281 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12284 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12285 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12289 rm -f core conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 LIBS
=$ac_check_soname_save_LIBS
12293 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12295 $as_echo "not found" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12299 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12301 cat >>confdefs.h
<<_ACEOF
12302 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12309 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12310 case "x$with_fontconfig" in
12311 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12313 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12314 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12318 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12321 $as_echo_n "checking for -lgsm... " >&6; }
12322 if ${ac_cv_lib_soname_gsm+:} false
; then :
12323 $as_echo_n "(cached) " >&6
12325 ac_check_soname_save_LIBS
=$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 gsm_create ();
12340 return gsm_create ();
12345 if ac_fn_c_try_link
"$LINENO"; then :
12347 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12350 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12351 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12355 rm -f core conftest.err conftest.
$ac_objext \
12356 conftest
$ac_exeext conftest.
$ac_ext
12357 LIBS
=$ac_check_soname_save_LIBS
12359 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12361 $as_echo "not found" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12365 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12367 cat >>confdefs.h
<<_ACEOF
12368 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12374 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12375 case "x$with_gsm" in
12376 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12378 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12379 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12383 if test "x$with_jpeg" != "xno"
12385 if test -n "$JPEG_CFLAGS"; then :
12387 elif test -n "$PKG_CONFIG"; then :
12388 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12391 if test -n "$JPEG_LIBS"; then :
12393 elif test -n "$PKG_CONFIG"; then :
12394 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12398 ac_save_CPPFLAGS
=$CPPFLAGS
12399 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12400 for ac_header
in jpeglib.h
12402 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12404 cat >>confdefs.h
<<_ACEOF
12405 #define HAVE_JPEGLIB_H 1
12412 if test "$ac_cv_header_jpeglib_h" = "yes"
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12415 $as_echo_n "checking for -ljpeg... " >&6; }
12416 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12417 $as_echo_n "(cached) " >&6
12419 ac_check_soname_save_LIBS
=$LIBS
12420 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12430 char jpeg_start_decompress ();
12434 return jpeg_start_decompress ();
12439 if ac_fn_c_try_link
"$LINENO"; then :
12441 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12442 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'` ;;
12443 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12444 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12445 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12449 rm -f core conftest.err conftest.
$ac_objext \
12450 conftest
$ac_exeext conftest.
$ac_ext
12451 LIBS
=$ac_check_soname_save_LIBS
12453 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12455 $as_echo "not found" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12459 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12461 cat >>confdefs.h
<<_ACEOF
12462 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12470 CPPFLAGS
=$ac_save_CPPFLAGS
12471 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12472 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12475 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12476 case "x$with_jpeg" in
12477 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12479 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12480 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12484 if test "x$with_png" != "xno"
12486 if test -n "$PNG_CFLAGS"; then :
12488 elif test -n "$PKG_CONFIG"; then :
12489 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12491 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12492 if test -n "$PNG_LIBS"; then :
12494 elif test -n "$PKG_CONFIG"; then :
12495 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12497 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12499 ac_save_CPPFLAGS
=$CPPFLAGS
12500 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12501 for ac_header
in png.h
12503 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12504 if test "x$ac_cv_header_png_h" = xyes
; then :
12505 cat >>confdefs.h
<<_ACEOF
12506 #define HAVE_PNG_H 1
12513 if test "$ac_cv_header_png_h" = "yes"
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12516 $as_echo_n "checking for -lpng... " >&6; }
12517 if ${ac_cv_lib_soname_png+:} false
; then :
12518 $as_echo_n "(cached) " >&6
12520 ac_check_soname_save_LIBS
=$LIBS
12521 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12531 char png_create_read_struct ();
12535 return png_create_read_struct ();
12540 if ac_fn_c_try_link
"$LINENO"; then :
12542 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12543 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'` ;;
12544 *) 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'`
12545 if test "x$ac_cv_lib_soname_png" = x
; then :
12546 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12550 rm -f core conftest.err conftest.
$ac_objext \
12551 conftest
$ac_exeext conftest.
$ac_ext
12552 LIBS
=$ac_check_soname_save_LIBS
12554 if test "x$ac_cv_lib_soname_png" = "x"; then :
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12556 $as_echo "not found" >&6; }
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12560 $as_echo "$ac_cv_lib_soname_png" >&6; }
12562 cat >>confdefs.h
<<_ACEOF
12563 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12572 typeof(png_set_expand_gray_1_2_4_to_8) *p
12577 if ac_fn_c_try_compile
"$LINENO"; then :
12579 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12587 CPPFLAGS
=$ac_save_CPPFLAGS
12588 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12589 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12592 if test "x$ac_cv_lib_soname_png" = "x"; then :
12593 case "x$with_png" in
12594 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12596 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12597 This is an error since --with-png was requested." "$LINENO" 5 ;;
12601 if test "x$with_tiff" != "xno"
12603 if test -n "$TIFF_CFLAGS"; then :
12605 elif test -n "$PKG_CONFIG"; then :
12606 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12609 if test -n "$TIFF_LIBS"; then :
12611 elif test -n "$PKG_CONFIG"; then :
12612 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12616 ac_save_CPPFLAGS
=$CPPFLAGS
12617 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12618 for ac_header
in tiffio.h
12620 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12621 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12622 cat >>confdefs.h
<<_ACEOF
12623 #define HAVE_TIFFIO_H 1
12630 if test "$ac_cv_header_tiffio_h" = "yes"
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12633 $as_echo_n "checking for -ltiff... " >&6; }
12634 if ${ac_cv_lib_soname_tiff+:} false
; then :
12635 $as_echo_n "(cached) " >&6
12637 ac_check_soname_save_LIBS
=$LIBS
12638 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12648 char TIFFClientOpen ();
12652 return TIFFClientOpen ();
12657 if ac_fn_c_try_link
"$LINENO"; then :
12659 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12660 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'` ;;
12661 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12662 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12663 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12667 rm -f core conftest.err conftest.
$ac_objext \
12668 conftest
$ac_exeext conftest.
$ac_ext
12669 LIBS
=$ac_check_soname_save_LIBS
12671 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12673 $as_echo "not found" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12677 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12679 cat >>confdefs.h
<<_ACEOF
12680 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12686 CPPFLAGS
=$ac_save_CPPFLAGS
12687 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12688 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12691 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12692 case "x$with_tiff" in
12693 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12695 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12696 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12700 if test "x$with_mpg123" != "xno"
12702 if test -n "$MPG123_CFLAGS"; then :
12704 elif test -n "$PKG_CONFIG"; then :
12705 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12708 if test -n "$MPG123_LIBS"; then :
12710 elif test -n "$PKG_CONFIG"; then :
12711 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12714 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12715 ac_save_CPPFLAGS
=$CPPFLAGS
12716 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12717 for ac_header
in mpg123.h
12719 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12720 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12721 cat >>confdefs.h
<<_ACEOF
12722 #define HAVE_MPG123_H 1
12729 if test "$ac_cv_header_mpg123_h" = "yes"
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12732 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12733 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12734 $as_echo_n "(cached) " >&6
12736 ac_check_lib_save_LIBS
=$LIBS
12737 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12747 char mpg123_feed ();
12751 return mpg123_feed ();
12756 if ac_fn_c_try_link
"$LINENO"; then :
12757 ac_cv_lib_mpg123_mpg123_feed
=yes
12759 ac_cv_lib_mpg123_mpg123_feed
=no
12761 rm -f core conftest.err conftest.
$ac_objext \
12762 conftest
$ac_exeext conftest.
$ac_ext
12763 LIBS
=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12766 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12767 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12777 CPPFLAGS
=$ac_save_CPPFLAGS
12778 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12779 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12782 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12783 case "x$with_mpg123" in
12784 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12786 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12787 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12790 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}
12792 if test "$ac_cv_header_AL_al_h" = "yes"
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12795 $as_echo_n "checking for -lopenal... " >&6; }
12796 if ${ac_cv_lib_soname_openal+:} false
; then :
12797 $as_echo_n "(cached) " >&6
12799 ac_check_soname_save_LIBS
=$LIBS
12800 LIBS
="-lopenal $LIBS"
12801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12804 /* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12810 char alGetSource3i ();
12814 return alGetSource3i ();
12819 if ac_fn_c_try_link
"$LINENO"; then :
12821 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12822 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'` ;;
12823 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12824 if test "x$ac_cv_lib_soname_openal" = x
; then :
12825 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12829 rm -f core conftest.err conftest.
$ac_objext \
12830 conftest
$ac_exeext conftest.
$ac_ext
12831 LIBS
=$ac_check_soname_save_LIBS
12833 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12835 $as_echo "not found" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12839 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12841 cat >>confdefs.h
<<_ACEOF
12842 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12845 LIBOPENAL
="-lopenal"
12847 ac_cv_lib_openal
=yes
12849 cat >>confdefs.h
<<_ACEOF
12850 #define HAVE_OPENAL 1
12855 if test "x$ac_cv_lib_openal" != xyes
; then :
12856 case "x$with_openal" in
12857 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12859 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12860 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12863 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12865 if test "$ac_cv_header_kstat_h" = "yes"
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12868 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12869 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12870 $as_echo_n "(cached) " >&6
12872 ac_check_lib_save_LIBS
=$LIBS
12873 LIBS
="-lkstat $LIBS"
12874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12883 char kstat_open ();
12887 return kstat_open ();
12892 if ac_fn_c_try_link
"$LINENO"; then :
12893 ac_cv_lib_kstat_kstat_open
=yes
12895 ac_cv_lib_kstat_kstat_open
=no
12897 rm -f core conftest.err conftest.
$ac_objext \
12898 conftest
$ac_exeext conftest.
$ac_ext
12899 LIBS
=$ac_check_lib_save_LIBS
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12902 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12903 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12905 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12913 if test "$ac_cv_header_libprocstat_h" = "yes"
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12916 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12917 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12918 $as_echo_n "(cached) " >&6
12920 ac_check_lib_save_LIBS
=$LIBS
12921 LIBS
="-lprocstat $LIBS"
12922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12925 /* Override any GCC internal prototype to avoid an error.
12926 Use char because int might match the return type of a GCC
12927 builtin and then its argument prototype would still apply. */
12931 char procstat_open_sysctl ();
12935 return procstat_open_sysctl ();
12940 if ac_fn_c_try_link
"$LINENO"; then :
12941 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12943 ac_cv_lib_procstat_procstat_open_sysctl
=no
12945 rm -f core conftest.err conftest.
$ac_objext \
12946 conftest
$ac_exeext conftest.
$ac_ext
12947 LIBS
=$ac_check_lib_save_LIBS
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12950 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12951 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12953 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12955 LIBPROCSTAT
="-lprocstat"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12962 $as_echo_n "checking for -lodbc... " >&6; }
12963 if ${ac_cv_lib_soname_odbc+:} false
; then :
12964 $as_echo_n "(cached) " >&6
12966 ac_check_soname_save_LIBS
=$LIBS
12967 LIBS
="-lodbc $LIBS"
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12977 char SQLConnect ();
12981 return SQLConnect ();
12986 if ac_fn_c_try_link
"$LINENO"; then :
12988 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12991 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12992 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12996 rm -f core conftest.err conftest.
$ac_objext \
12997 conftest
$ac_exeext conftest.
$ac_ext
12998 LIBS
=$ac_check_soname_save_LIBS
13000 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13003 cat >>confdefs.h
<<_ACEOF
13004 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13009 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13011 cat >>confdefs.h
<<_ACEOF
13012 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13018 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13019 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13020 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13021 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13023 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13024 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13025 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13027 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13033 if test "x${GCC}" = "xyes"
13035 EXTRACFLAGS
="-Wall -pipe"
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13038 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13039 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13040 $as_echo_n "(cached) " >&6
13042 if test "$cross_compiling" = yes; then :
13043 ac_cv_c_gcc_strength_bug
="yes"
13045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13047 int L[4] = {0,1,2,3};
13051 static int Array[3];
13052 unsigned int B = 3;
13054 for(i=0; i<B; i++) Array[i] = i - 3;
13055 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13057 return (Array[1] != -2 || L[2] != 3)
13062 if ac_fn_c_try_run
"$LINENO"; then :
13063 ac_cv_c_gcc_strength_bug
="no"
13065 ac_cv_c_gcc_strength_bug
="yes"
13067 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13068 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13073 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13074 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13076 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13080 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13081 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13082 $as_echo_n "(cached) " >&6
13084 ac_wine_try_cflags_saved
=$CFLAGS
13085 CFLAGS
="$CFLAGS -fno-builtin"
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 int main(int argc, char **argv) { return 0; }
13090 if ac_fn_c_try_link
"$LINENO"; then :
13091 ac_cv_cflags__fno_builtin
=yes
13093 ac_cv_cflags__fno_builtin
=no
13095 rm -f core conftest.err conftest.
$ac_objext \
13096 conftest
$ac_exeext conftest.
$ac_ext
13097 CFLAGS
=$ac_wine_try_cflags_saved
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13100 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13101 if test $ac_cv_cflags__fno_builtin = yes; then :
13102 BUILTINFLAG
="-fno-builtin"
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13106 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13107 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13108 $as_echo_n "(cached) " >&6
13110 ac_wine_try_cflags_saved
=$CFLAGS
13111 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114 int main(int argc, char **argv) { return 0; }
13116 if ac_fn_c_try_link
"$LINENO"; then :
13117 ac_cv_cflags__fno_strict_aliasing
=yes
13119 ac_cv_cflags__fno_strict_aliasing
=no
13121 rm -f core conftest.err conftest.
$ac_objext \
13122 conftest
$ac_exeext conftest.
$ac_ext
13123 CFLAGS
=$ac_wine_try_cflags_saved
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13126 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13127 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13128 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13130 saved_CFLAGS
=$CFLAGS
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13132 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13133 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13134 $as_echo_n "(cached) " >&6
13136 ac_wine_try_cflags_saved
=$CFLAGS
13137 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13140 int main(int argc, char **argv) { return 0; }
13142 if ac_fn_c_try_link
"$LINENO"; then :
13143 ac_cv_cflags__Werror_unknown_warning_option
=yes
13145 ac_cv_cflags__Werror_unknown_warning_option
=no
13147 rm -f core conftest.err conftest.
$ac_objext \
13148 conftest
$ac_exeext conftest.
$ac_ext
13149 CFLAGS
=$ac_wine_try_cflags_saved
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13152 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13153 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13154 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13157 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13158 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13159 $as_echo_n "(cached) " >&6
13161 ac_wine_try_cflags_saved
=$CFLAGS
13162 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13165 int main(int argc, char **argv) { return 0; }
13167 if ac_fn_c_try_link
"$LINENO"; then :
13168 ac_cv_cflags__Wdeclaration_after_statement
=yes
13170 ac_cv_cflags__Wdeclaration_after_statement
=no
13172 rm -f core conftest.err conftest.
$ac_objext \
13173 conftest
$ac_exeext conftest.
$ac_ext
13174 CFLAGS
=$ac_wine_try_cflags_saved
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13177 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13178 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13179 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13182 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13183 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13184 $as_echo_n "(cached) " >&6
13186 ac_wine_try_cflags_saved
=$CFLAGS
13187 CFLAGS
="$CFLAGS -Wempty-body"
13188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13190 int main(int argc, char **argv) { return 0; }
13192 if ac_fn_c_try_link
"$LINENO"; then :
13193 ac_cv_cflags__Wempty_body
=yes
13195 ac_cv_cflags__Wempty_body
=no
13197 rm -f core conftest.err conftest.
$ac_objext \
13198 conftest
$ac_exeext conftest.
$ac_ext
13199 CFLAGS
=$ac_wine_try_cflags_saved
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13202 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13203 if test $ac_cv_cflags__Wempty_body = yes; then :
13204 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13207 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13208 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13209 $as_echo_n "(cached) " >&6
13211 ac_wine_try_cflags_saved
=$CFLAGS
13212 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13215 int main(int argc, char **argv) { return 0; }
13217 if ac_fn_c_try_link
"$LINENO"; then :
13218 ac_cv_cflags__Wignored_qualifiers
=yes
13220 ac_cv_cflags__Wignored_qualifiers
=no
13222 rm -f core conftest.err conftest.
$ac_objext \
13223 conftest
$ac_exeext conftest.
$ac_ext
13224 CFLAGS
=$ac_wine_try_cflags_saved
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13227 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13228 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13229 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13232 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13233 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13234 $as_echo_n "(cached) " >&6
13236 ac_wine_try_cflags_saved
=$CFLAGS
13237 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13240 int main(int argc, char **argv) { return 0; }
13242 if ac_fn_c_try_link
"$LINENO"; then :
13243 ac_cv_cflags__Wstrict_prototypes
=yes
13245 ac_cv_cflags__Wstrict_prototypes
=no
13247 rm -f core conftest.err conftest.
$ac_objext \
13248 conftest
$ac_exeext conftest.
$ac_ext
13249 CFLAGS
=$ac_wine_try_cflags_saved
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13252 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13253 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13254 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13257 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13258 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13259 $as_echo_n "(cached) " >&6
13261 ac_wine_try_cflags_saved
=$CFLAGS
13262 CFLAGS
="$CFLAGS -Wtype-limits"
13263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13265 int main(int argc, char **argv) { return 0; }
13267 if ac_fn_c_try_link
"$LINENO"; then :
13268 ac_cv_cflags__Wtype_limits
=yes
13270 ac_cv_cflags__Wtype_limits
=no
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 CFLAGS
=$ac_wine_try_cflags_saved
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13277 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13278 if test $ac_cv_cflags__Wtype_limits = yes; then :
13279 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13282 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13283 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13284 $as_echo_n "(cached) " >&6
13286 ac_wine_try_cflags_saved
=$CFLAGS
13287 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13290 int main(int argc, char **argv) { return 0; }
13292 if ac_fn_c_try_link
"$LINENO"; then :
13293 ac_cv_cflags__Wunused_but_set_parameter
=yes
13295 ac_cv_cflags__Wunused_but_set_parameter
=no
13297 rm -f core conftest.err conftest.
$ac_objext \
13298 conftest
$ac_exeext conftest.
$ac_ext
13299 CFLAGS
=$ac_wine_try_cflags_saved
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13302 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13303 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13304 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13307 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13308 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13309 $as_echo_n "(cached) " >&6
13311 ac_wine_try_cflags_saved
=$CFLAGS
13312 CFLAGS
="$CFLAGS -Wwrite-strings"
13313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13315 int main(int argc, char **argv) { return 0; }
13317 if ac_fn_c_try_link
"$LINENO"; then :
13318 ac_cv_cflags__Wwrite_strings
=yes
13320 ac_cv_cflags__Wwrite_strings
=no
13322 rm -f core conftest.err conftest.
$ac_objext \
13323 conftest
$ac_exeext conftest.
$ac_ext
13324 CFLAGS
=$ac_wine_try_cflags_saved
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13327 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13328 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13329 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13333 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13334 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13335 $as_echo_n "(cached) " >&6
13337 ac_wine_try_cflags_saved
=$CFLAGS
13338 CFLAGS
="$CFLAGS -Wpointer-arith"
13339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13341 int main(int argc, char **argv) { return 0; }
13343 if ac_fn_c_try_link
"$LINENO"; then :
13344 ac_cv_cflags__Wpointer_arith
=yes
13346 ac_cv_cflags__Wpointer_arith
=no
13348 rm -f core conftest.err conftest.
$ac_objext \
13349 conftest
$ac_exeext conftest.
$ac_ext
13350 CFLAGS
=$ac_wine_try_cflags_saved
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13353 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13354 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13355 saved_string_h_CFLAGS
=$CFLAGS
13356 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13358 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13359 if ${ac_cv_c_string_h_warnings+:} false
; then :
13360 $as_echo_n "(cached) " >&6
13362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13364 #include <string.h>
13373 if ac_fn_c_try_compile
"$LINENO"; then :
13374 ac_cv_c_string_h_warnings
=no
13376 ac_cv_c_string_h_warnings
=yes
13378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13381 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13382 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13383 CFLAGS
=$saved_string_h_CFLAGS
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13387 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13388 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13389 $as_echo_n "(cached) " >&6
13391 ac_wine_try_cflags_saved
=$CFLAGS
13392 CFLAGS
="$CFLAGS -Wlogical-op"
13393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13395 int main(int argc, char **argv) { return 0; }
13397 if ac_fn_c_try_link
"$LINENO"; then :
13398 ac_cv_cflags__Wlogical_op
=yes
13400 ac_cv_cflags__Wlogical_op
=no
13402 rm -f core conftest.err conftest.
$ac_objext \
13403 conftest
$ac_exeext conftest.
$ac_ext
13404 CFLAGS
=$ac_wine_try_cflags_saved
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13407 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13408 if test $ac_cv_cflags__Wlogical_op = yes; then :
13409 saved_string_h_CFLAGS
=$CFLAGS
13410 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13412 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13413 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13414 $as_echo_n "(cached) " >&6
13416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <string.h>
13419 char*f(const char *h,char n) {return strchr(h,n);}
13428 if ac_fn_c_try_compile
"$LINENO"; then :
13429 ac_cv_c_logicalop_noisy
=no
13431 ac_cv_c_logicalop_noisy
=yes
13433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13436 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13437 CFLAGS
=$saved_string_h_CFLAGS
13438 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13441 CFLAGS
=$saved_CFLAGS
13443 for ac_flag
in $CFLAGS; do
13445 -g) case $host_os in
13446 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13447 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13448 if ${ac_cv_cflags__gstabsp+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 ac_wine_try_cflags_saved
=$CFLAGS
13452 CFLAGS
="$CFLAGS -gstabs+"
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 int main(int argc, char **argv) { return 0; }
13457 if ac_fn_c_try_link
"$LINENO"; then :
13458 ac_cv_cflags__gstabsp
=yes
13460 ac_cv_cflags__gstabsp
=no
13462 rm -f core conftest.err conftest.
$ac_objext \
13463 conftest
$ac_exeext conftest.
$ac_ext
13464 CFLAGS
=$ac_wine_try_cflags_saved
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13467 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13468 if test $ac_cv_cflags__gstabsp = yes; then :
13469 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13471 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13472 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13473 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13474 $as_echo_n "(cached) " >&6
13476 ac_wine_try_cflags_saved
=$CFLAGS
13477 CFLAGS
="$CFLAGS -gdwarf-2"
13478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 int main(int argc, char **argv) { return 0; }
13482 if ac_fn_c_try_link
"$LINENO"; then :
13483 ac_cv_cflags__gdwarf_2
=yes
13485 ac_cv_cflags__gdwarf_2
=no
13487 rm -f core conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 CFLAGS
=$ac_wine_try_cflags_saved
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13492 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13493 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13494 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13497 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13498 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13499 $as_echo_n "(cached) " >&6
13501 ac_wine_try_cflags_saved
=$CFLAGS
13502 CFLAGS
="$CFLAGS -gstrict-dwarf"
13503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13507 if ac_fn_c_try_link
"$LINENO"; then :
13508 ac_cv_cflags__gstrict_dwarf
=yes
13510 ac_cv_cflags__gstrict_dwarf
=no
13512 rm -f core conftest.err conftest.
$ac_objext \
13513 conftest
$ac_exeext conftest.
$ac_ext
13514 CFLAGS
=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13517 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13518 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13519 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13526 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13527 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13528 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13529 $as_echo_n "(cached) " >&6
13531 ac_wine_try_cflags_saved
=$CFLAGS
13532 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 int main(int argc, char **argv) { return 0; }
13537 if ac_fn_c_try_link
"$LINENO"; then :
13538 ac_cv_cflags__fno_omit_frame_pointer
=yes
13540 ac_cv_cflags__fno_omit_frame_pointer
=no
13542 rm -f core conftest.err conftest.
$ac_objext \
13543 conftest
$ac_exeext conftest.
$ac_ext
13544 CFLAGS
=$ac_wine_try_cflags_saved
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13547 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13548 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13549 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13554 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13555 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13556 if ${ac_cv_cflags__Wno_format+:} false
; then :
13557 $as_echo_n "(cached) " >&6
13559 ac_wine_try_cflags_saved
=$CFLAGS
13560 CFLAGS
="$CFLAGS -Wno-format"
13561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int main(int argc, char **argv) { return 0; }
13565 if ac_fn_c_try_link
"$LINENO"; then :
13566 ac_cv_cflags__Wno_format
=yes
13568 ac_cv_cflags__Wno_format
=no
13570 rm -f core conftest.err conftest.
$ac_objext \
13571 conftest
$ac_exeext conftest.
$ac_ext
13572 CFLAGS
=$ac_wine_try_cflags_saved
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13575 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13576 if test $ac_cv_cflags__Wno_format = yes; then :
13577 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13581 if test "x$enable_maintainer_mode" = "xyes"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13584 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13585 if ${ac_cv_cflags__Werror+:} false
; then :
13586 $as_echo_n "(cached) " >&6
13588 ac_wine_try_cflags_saved
=$CFLAGS
13589 CFLAGS
="$CFLAGS -Werror"
13590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 int main(int argc, char **argv) { return 0; }
13594 if ac_fn_c_try_link
"$LINENO"; then :
13595 ac_cv_cflags__Werror
=yes
13597 ac_cv_cflags__Werror
=no
13599 rm -f core conftest.err conftest.
$ac_objext \
13600 conftest
$ac_exeext conftest.
$ac_ext
13601 CFLAGS
=$ac_wine_try_cflags_saved
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13604 $as_echo "$ac_cv_cflags__Werror" >&6; }
13605 if test $ac_cv_cflags__Werror = yes; then :
13606 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13610 saved_CFLAGS
="$CFLAGS"
13611 CFLAGS
="$CFLAGS -Werror"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13613 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13614 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13615 $as_echo_n "(cached) " >&6
13617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13628 if ac_fn_c_try_compile
"$LINENO"; then :
13629 ac_cv_have_ms_hook_prologue
="yes"
13631 ac_cv_have_ms_hook_prologue
="no"
13633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13636 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13637 CFLAGS
="$saved_CFLAGS"
13638 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13641 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13644 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13651 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13652 if ${ac_cv_c_fortify_enabled+:} false
; then :
13653 $as_echo_n "(cached) " >&6
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <string.h>
13661 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13662 #error Fortify enabled
13668 if ac_fn_c_try_compile
"$LINENO"; then :
13669 ac_cv_c_fortify_enabled
=no
13671 ac_cv_c_fortify_enabled
=yes
13673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13676 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13677 if test "$ac_cv_c_fortify_enabled" = yes
13679 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13684 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13685 if ${ac_cv_c_extern_prefix+:} false
; then :
13686 $as_echo_n "(cached) " >&6
13688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 extern int ac_test;
13694 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13699 if ac_fn_c_try_link
"$LINENO"; then :
13700 ac_cv_c_extern_prefix
="yes"
13702 ac_cv_c_extern_prefix
="no"
13704 rm -f core conftest.err conftest.
$ac_objext \
13705 conftest
$ac_exeext conftest.
$ac_ext
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13708 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13713 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13714 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13715 $as_echo_n "(cached) " >&6
13717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13720 #define __stdcall __attribute__((__stdcall__))
13722 int __stdcall ac_test(int i) { return i; }
13726 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13731 if ac_fn_c_try_link
"$LINENO"; then :
13732 ac_cv_c_stdcall_suffix
="yes"
13734 ac_cv_c_stdcall_suffix
="no"
13736 rm -f core conftest.err conftest.
$ac_objext \
13737 conftest
$ac_exeext conftest.
$ac_ext
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13740 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13741 *) ac_cv_c_stdcall_suffix
="no" ;;
13745 if test "$ac_cv_c_extern_prefix" = "yes"
13747 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13749 asm_name_prefix
="_"
13751 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13757 if test "$ac_cv_c_stdcall_suffix" = "yes"
13759 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13762 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13768 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13769 if ${ac_cv_asm_func_def+:} false
; then :
13770 $as_echo_n "(cached) " >&6
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13778 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13783 if ac_fn_c_try_link
"$LINENO"; then :
13784 ac_cv_asm_func_def
=".def"
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13792 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13797 if ac_fn_c_try_link
"$LINENO"; then :
13798 ac_cv_asm_func_def
=".type @function"
13800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13806 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13811 if ac_fn_c_try_link
"$LINENO"; then :
13812 ac_cv_asm_func_def
=".type 2"
13814 ac_cv_asm_func_def
="unknown"
13816 rm -f core conftest.err conftest.
$ac_objext \
13817 conftest
$ac_exeext conftest.
$ac_ext
13819 rm -f core conftest.err conftest.
$ac_objext \
13820 conftest
$ac_exeext conftest.
$ac_ext
13822 rm -f core conftest.err conftest.
$ac_objext \
13823 conftest
$ac_exeext conftest.
$ac_ext
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13826 $as_echo "$ac_cv_asm_func_def" >&6; }
13829 case "$ac_cv_asm_func_def" in
13831 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13833 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13835 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13837 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13839 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13841 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13843 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13845 asm_func_header
="" ;;
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13849 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13850 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13851 $as_echo_n "(cached) " >&6
13853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 asm(".text\n\t.long 0");
13864 if ac_fn_c_try_compile
"$LINENO"; then :
13865 ac_cv_c_asm_outside_funcs
="yes"
13867 ac_cv_c_asm_outside_funcs
="no"
13869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13872 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13875 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13876 if ${ac_cv_c_dot_previous+:} false
; then :
13877 $as_echo_n "(cached) " >&6
13879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13885 asm(".text\nac_test:\t.long 0\n\t.previous");
13890 if ac_fn_c_try_link
"$LINENO"; then :
13891 ac_cv_c_dot_previous
="yes"
13893 ac_cv_c_dot_previous
="no"
13895 rm -f core conftest.err conftest.
$ac_objext \
13896 conftest
$ac_exeext conftest.
$ac_ext
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13899 $as_echo "$ac_cv_c_dot_previous" >&6; }
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13902 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13903 if ${ac_cv_c_cfi_support+:} false
; then :
13904 $as_echo_n "(cached) " >&6
13906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13908 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13917 if ac_fn_c_try_compile
"$LINENO"; then :
13918 ac_cv_c_cfi_support
="yes"
13920 ac_cv_c_cfi_support
="no"
13922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13925 $as_echo "$ac_cv_c_cfi_support" >&6; }
13927 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13928 asm_func_trailer
=""
13929 if test "$ac_cv_c_dot_previous" = "yes"
13931 asm_func_trailer
="\\n\\t.previous"
13933 if test "$ac_cv_c_cfi_support" = "yes"
13935 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13936 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13938 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13940 UNWINDFLAGS
=-fasynchronous-unwind-tables
13943 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13947 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13950 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13952 cat >>confdefs.h
<<_ACEOF
13953 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13957 cat >>confdefs.h
<<_ACEOF
13958 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13963 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13966 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13971 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
13977 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13982 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13984 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13991 ac_save_CFLAGS
="$CFLAGS"
13992 CFLAGS
="$CFLAGS $BUILTINFLAG"
14070 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14071 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14072 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14073 cat >>confdefs.h
<<_ACEOF
14074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14080 CFLAGS
="$ac_save_CFLAGS"
14082 if test "$ac_cv_func_dlopen" = no
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14085 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14086 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14087 $as_echo_n "(cached) " >&6
14089 ac_check_lib_save_LIBS
=$LIBS
14091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14094 /* Override any GCC internal prototype to avoid an error.
14095 Use char because int might match the return type of a GCC
14096 builtin and then its argument prototype would still apply. */
14109 if ac_fn_c_try_link
"$LINENO"; then :
14110 ac_cv_lib_dl_dlopen
=yes
14112 ac_cv_lib_dl_dlopen
=no
14114 rm -f core conftest.err conftest.
$ac_objext \
14115 conftest
$ac_exeext conftest.
$ac_ext
14116 LIBS
=$ac_check_lib_save_LIBS
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14119 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14120 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14121 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14127 ac_wine_check_funcs_save_LIBS
="$LIBS"
14128 LIBS
="$LIBS $LIBDL"
14129 for ac_func
in dladdr
14131 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14132 if test "x$ac_cv_func_dladdr" = xyes
; then :
14133 cat >>confdefs.h
<<_ACEOF
14134 #define HAVE_DLADDR 1
14140 LIBS
="$ac_wine_check_funcs_save_LIBS"
14142 if test "$ac_cv_func_poll" = no
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14145 $as_echo_n "checking for poll in -lpoll... " >&6; }
14146 if ${ac_cv_lib_poll_poll+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 ac_check_lib_save_LIBS
=$LIBS
14150 LIBS
="-lpoll $LIBS"
14151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14169 if ac_fn_c_try_link
"$LINENO"; then :
14170 ac_cv_lib_poll_poll
=yes
14172 ac_cv_lib_poll_poll
=no
14174 rm -f core conftest.err conftest.
$ac_objext \
14175 conftest
$ac_exeext conftest.
$ac_ext
14176 LIBS
=$ac_check_lib_save_LIBS
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14179 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14180 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14181 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14189 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14190 if ${ac_cv_search_gethostbyname+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14193 ac_func_search_save_LIBS
=$LIBS
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14203 char gethostbyname ();
14207 return gethostbyname ();
14212 for ac_lib
in '' nsl
; do
14213 if test -z "$ac_lib"; then
14214 ac_res
="none required"
14217 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14219 if ac_fn_c_try_link
"$LINENO"; then :
14220 ac_cv_search_gethostbyname
=$ac_res
14222 rm -f core conftest.err conftest.
$ac_objext \
14224 if ${ac_cv_search_gethostbyname+:} false
; then :
14228 if ${ac_cv_search_gethostbyname+:} false
; then :
14231 ac_cv_search_gethostbyname
=no
14233 rm conftest.
$ac_ext
14234 LIBS
=$ac_func_search_save_LIBS
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14237 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14238 ac_res
=$ac_cv_search_gethostbyname
14239 if test "$ac_res" != no
; then :
14240 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14246 $as_echo_n "checking for library containing connect... " >&6; }
14247 if ${ac_cv_search_connect+:} false
; then :
14248 $as_echo_n "(cached) " >&6
14250 ac_func_search_save_LIBS
=$LIBS
14251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14269 for ac_lib
in '' socket
; do
14270 if test -z "$ac_lib"; then
14271 ac_res
="none required"
14274 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14276 if ac_fn_c_try_link
"$LINENO"; then :
14277 ac_cv_search_connect
=$ac_res
14279 rm -f core conftest.err conftest.
$ac_objext \
14281 if ${ac_cv_search_connect+:} false
; then :
14285 if ${ac_cv_search_connect+:} false
; then :
14288 ac_cv_search_connect
=no
14290 rm conftest.
$ac_ext
14291 LIBS
=$ac_func_search_save_LIBS
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14294 $as_echo "$ac_cv_search_connect" >&6; }
14295 ac_res
=$ac_cv_search_connect
14296 if test "$ac_res" != no
; then :
14297 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14303 $as_echo_n "checking for library containing inet_aton... " >&6; }
14304 if ${ac_cv_search_inet_aton+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 ac_func_search_save_LIBS
=$LIBS
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 /* Override any GCC internal prototype to avoid an error.
14312 Use char because int might match the return type of a GCC
14313 builtin and then its argument prototype would still apply. */
14321 return inet_aton ();
14326 for ac_lib
in '' resolv
; do
14327 if test -z "$ac_lib"; then
14328 ac_res
="none required"
14331 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14333 if ac_fn_c_try_link
"$LINENO"; then :
14334 ac_cv_search_inet_aton
=$ac_res
14336 rm -f core conftest.err conftest.
$ac_objext \
14338 if ${ac_cv_search_inet_aton+:} false
; then :
14342 if ${ac_cv_search_inet_aton+:} false
; then :
14345 ac_cv_search_inet_aton
=no
14347 rm conftest.
$ac_ext
14348 LIBS
=$ac_func_search_save_LIBS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14351 $as_echo "$ac_cv_search_inet_aton" >&6; }
14352 ac_res
=$ac_cv_search_inet_aton
14353 if test "$ac_res" != no
; then :
14354 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14373 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14374 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14375 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14376 cat >>confdefs.h
<<_ACEOF
14377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14386 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14387 if ${ac_cv_search_clock_gettime+:} false
; then :
14388 $as_echo_n "(cached) " >&6
14390 ac_func_search_save_LIBS
=$LIBS
14391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14394 /* Override any GCC internal prototype to avoid an error.
14395 Use char because int might match the return type of a GCC
14396 builtin and then its argument prototype would still apply. */
14400 char clock_gettime ();
14404 return clock_gettime ();
14409 for ac_lib
in '' rt
; do
14410 if test -z "$ac_lib"; then
14411 ac_res
="none required"
14414 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14416 if ac_fn_c_try_link
"$LINENO"; then :
14417 ac_cv_search_clock_gettime
=$ac_res
14419 rm -f core conftest.err conftest.
$ac_objext \
14421 if ${ac_cv_search_clock_gettime+:} false
; then :
14425 if ${ac_cv_search_clock_gettime+:} false
; then :
14428 ac_cv_search_clock_gettime
=no
14430 rm conftest.
$ac_ext
14431 LIBS
=$ac_func_search_save_LIBS
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14434 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14435 ac_res
=$ac_cv_search_clock_gettime
14436 if test "$ac_res" != no
; then :
14437 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14439 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14441 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14449 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14451 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14453 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14455 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14456 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14457 $as_echo_n "(cached) " >&6
14459 ac_check_lib_save_LIBS
=$LIBS
14460 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14470 char ldap_initialize ();
14474 return ldap_initialize ();
14479 if ac_fn_c_try_link
"$LINENO"; then :
14480 ac_cv_lib_ldap_r_ldap_initialize
=yes
14482 ac_cv_lib_ldap_r_ldap_initialize
=no
14484 rm -f core conftest.err conftest.
$ac_objext \
14485 conftest
$ac_exeext conftest.
$ac_ext
14486 LIBS
=$ac_check_lib_save_LIBS
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14489 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14490 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14492 $as_echo_n "checking for ber_init in -llber... " >&6; }
14493 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14494 $as_echo_n "(cached) " >&6
14496 ac_check_lib_save_LIBS
=$LIBS
14497 LIBS
="-llber $LIBPTHREAD $LIBS"
14498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14511 return ber_init ();
14516 if ac_fn_c_try_link
"$LINENO"; then :
14517 ac_cv_lib_lber_ber_init
=yes
14519 ac_cv_lib_lber_ber_init
=no
14521 rm -f core conftest.err conftest.
$ac_objext \
14522 conftest
$ac_exeext conftest.
$ac_ext
14523 LIBS
=$ac_check_lib_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14526 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14527 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14529 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14531 LDAPLIBS
="-lldap_r -llber"
14538 ac_wine_check_funcs_save_LIBS
="$LIBS"
14539 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14541 ldap_count_references \
14542 ldap_first_reference \
14543 ldap_next_reference \
14544 ldap_parse_reference \
14545 ldap_parse_sort_control \
14546 ldap_parse_sortresponse_control \
14547 ldap_parse_vlv_control \
14548 ldap_parse_vlvresponse_control
14550 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14551 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14552 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14553 cat >>confdefs.h
<<_ACEOF
14554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14560 LIBS
="$ac_wine_check_funcs_save_LIBS"
14562 if test "x$LDAPLIBS" = "x"; then :
14563 case "x$with_ldap" in
14564 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14566 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14567 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14572 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14573 if ${wine_cv_one_arg_mkdir+:} false
; then :
14574 $as_echo_n "(cached) " >&6
14576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14578 #include <sys/stat.h>
14587 if ac_fn_c_try_compile
"$LINENO"; then :
14588 wine_cv_one_arg_mkdir
=yes
14590 wine_cv_one_arg_mkdir
=no
14592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14595 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14596 if test "$wine_cv_one_arg_mkdir" = "yes"
14599 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14604 $as_echo_n "checking for sched_setaffinity... " >&6; }
14605 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14606 $as_echo_n "(cached) " >&6
14608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14610 #define _GNU_SOURCE
14615 sched_setaffinity(0, 0, 0);
14620 if ac_fn_c_try_link
"$LINENO"; then :
14621 wine_cv_have_sched_setaffinity
=yes
14623 wine_cv_have_sched_setaffinity
=no
14625 rm -f core conftest.err conftest.
$ac_objext \
14626 conftest
$ac_exeext conftest.
$ac_ext
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14629 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14630 if test "$wine_cv_have_sched_setaffinity" = "yes"
14633 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14638 $as_echo_n "checking for fallocate... " >&6; }
14639 if ${wine_cv_have_fallocate+:} false
; then :
14640 $as_echo_n "(cached) " >&6
14642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 #define _GNU_SOURCE
14649 fallocate(-1, 0, 0, 0);
14654 if ac_fn_c_try_link
"$LINENO"; then :
14655 wine_cv_have_fallocate
=yes
14657 wine_cv_have_fallocate
=no
14659 rm -f core conftest.err conftest.
$ac_objext \
14660 conftest
$ac_exeext conftest.
$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14663 $as_echo "$wine_cv_have_fallocate" >&6; }
14664 if test "$wine_cv_have_fallocate" = "yes"
14667 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14673 $as_echo_n "checking for inline... " >&6; }
14674 if ${ac_cv_c_inline+:} false
; then :
14675 $as_echo_n "(cached) " >&6
14678 for ac_kw
in inline __inline__ __inline
; do
14679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 #ifndef __cplusplus
14683 static $ac_kw foo_t static_foo () {return 0; }
14684 $ac_kw foo_t foo () {return 0; }
14688 if ac_fn_c_try_compile
"$LINENO"; then :
14689 ac_cv_c_inline
=$ac_kw
14691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14692 test "$ac_cv_c_inline" != no
&& break
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14697 $as_echo "$ac_cv_c_inline" >&6; }
14699 case $ac_cv_c_inline in
14702 case $ac_cv_c_inline in
14704 *) ac_val
=$ac_cv_c_inline;;
14706 cat >>confdefs.h
<<_ACEOF
14707 #ifndef __cplusplus
14708 #define inline $ac_val
14714 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14715 if test "x$ac_cv_type_mode_t" = xyes
; then :
14717 cat >>confdefs.h
<<_ACEOF
14718 #define HAVE_MODE_T 1
14723 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14724 if test "x$ac_cv_type_off_t" = xyes
; then :
14726 cat >>confdefs.h
<<_ACEOF
14727 #define HAVE_OFF_T 1
14732 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14733 if test "x$ac_cv_type_pid_t" = xyes
; then :
14735 cat >>confdefs.h
<<_ACEOF
14736 #define HAVE_PID_T 1
14741 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14742 if test "x$ac_cv_type_size_t" = xyes
; then :
14744 cat >>confdefs.h
<<_ACEOF
14745 #define HAVE_SIZE_T 1
14750 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14751 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14753 cat >>confdefs.h
<<_ACEOF
14754 #define HAVE_SSIZE_T 1
14759 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14760 if test "x$ac_cv_type_long_long" = xyes
; then :
14762 cat >>confdefs.h
<<_ACEOF
14763 #define HAVE_LONG_LONG 1
14768 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14769 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14771 cat >>confdefs.h
<<_ACEOF
14772 #define HAVE_FSBLKCNT_T 1
14777 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14778 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14780 cat >>confdefs.h
<<_ACEOF
14781 #define HAVE_FSFILCNT_T 1
14787 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14788 #include <signal.h>
14790 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14792 cat >>confdefs.h
<<_ACEOF
14793 #define HAVE_SIGSET_T 1
14799 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14801 if test "x$ac_cv_type_request_sense" = xyes
; then :
14803 cat >>confdefs.h
<<_ACEOF
14804 #define HAVE_REQUEST_SENSE 1
14811 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14812 #ifdef HAVE_SYS_SOCKET_H
14813 #include <sys/socket.h>
14815 #ifdef HAVE_SYS_SOCKETVAR_H
14816 #include <sys/socketvar.h>
14818 #ifdef HAVE_NET_ROUTE_H
14819 #include <net/route.h>
14821 #ifdef HAVE_NETINET_IN_H
14822 #include <netinet/in.h>
14824 #ifdef HAVE_NETINET_IN_SYSTM_H
14825 #include <netinet/in_systm.h>
14827 #ifdef HAVE_NETINET_IP_H
14828 #include <netinet/ip.h>
14830 #ifdef HAVE_NETINET_IN_PCB_H
14831 #include <netinet/in_pcb.h>
14834 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14836 cat >>confdefs.h
<<_ACEOF
14837 #define HAVE_STRUCT_XINPGEN 1
14844 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14847 #ifdef HAVE_SYS_LINK_H
14848 #include <sys/link.h>
14851 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14853 cat >>confdefs.h
<<_ACEOF
14854 #define HAVE_STRUCT_R_DEBUG 1
14859 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14862 #ifdef HAVE_SYS_LINK_H
14863 #include <sys/link.h>
14866 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14868 cat >>confdefs.h
<<_ACEOF
14869 #define HAVE_STRUCT_LINK_MAP 1
14876 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14877 #include <linux/input.h>
14880 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14882 cat >>confdefs.h
<<_ACEOF
14883 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14891 $as_echo_n "checking for sigaddset... " >&6; }
14892 if ${wine_cv_have_sigaddset+:} false
; then :
14893 $as_echo_n "(cached) " >&6
14895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14897 #include <signal.h>
14901 sigset_t set; sigaddset(&set,SIGTERM);
14906 if ac_fn_c_try_link
"$LINENO"; then :
14907 wine_cv_have_sigaddset
=yes
14909 wine_cv_have_sigaddset
=no
14911 rm -f core conftest.err conftest.
$ac_objext \
14912 conftest
$ac_exeext conftest.
$ac_ext
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14915 $as_echo "$wine_cv_have_sigaddset" >&6; }
14916 if test "$wine_cv_have_sigaddset" = "yes"
14919 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14925 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14926 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14927 $as_echo_n "(cached) " >&6
14929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14938 struct hostent *result;
14945 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14946 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14952 if ac_fn_c_try_link
"$LINENO"; then :
14953 wine_cv_linux_gethostbyname_r_6
=yes
14955 wine_cv_linux_gethostbyname_r_6
=no
14958 rm -f core conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14963 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14964 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14967 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14971 if test "$ac_cv_header_linux_joystick_h" = "yes"
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14974 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14975 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14976 $as_echo_n "(cached) " >&6
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 #include <sys/ioctl.h>
14982 #include <sys/types.h>
14983 #include <linux/joystick.h>
14985 struct js_event blub;
14986 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14987 #error "no 2.2 header"
14998 if ac_fn_c_try_compile
"$LINENO"; then :
14999 wine_cv_linux_joystick_22_api
=yes
15001 wine_cv_linux_joystick_22_api
=no
15003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15007 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15008 if test "$wine_cv_linux_joystick_22_api" = "yes"
15011 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15017 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15018 #ifdef HAVE_SYS_PARAM_H
15019 # include <sys/param.h>
15021 #ifdef HAVE_SYS_MOUNT_H
15022 # include <sys/mount.h>
15024 #ifdef HAVE_SYS_VFS_H
15025 # include <sys/vfs.h>
15027 #ifdef HAVE_SYS_STATFS_H
15028 # include <sys/statfs.h>
15031 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15033 cat >>confdefs.h
<<_ACEOF
15034 #define HAVE_STRUCT_STATFS_F_BFREE 1
15039 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15040 #ifdef HAVE_SYS_PARAM_H
15041 # include <sys/param.h>
15043 #ifdef HAVE_SYS_MOUNT_H
15044 # include <sys/mount.h>
15046 #ifdef HAVE_SYS_VFS_H
15047 # include <sys/vfs.h>
15049 #ifdef HAVE_SYS_STATFS_H
15050 # include <sys/statfs.h>
15053 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15055 cat >>confdefs.h
<<_ACEOF
15056 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15061 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15062 #ifdef HAVE_SYS_PARAM_H
15063 # include <sys/param.h>
15065 #ifdef HAVE_SYS_MOUNT_H
15066 # include <sys/mount.h>
15068 #ifdef HAVE_SYS_VFS_H
15069 # include <sys/vfs.h>
15071 #ifdef HAVE_SYS_STATFS_H
15072 # include <sys/statfs.h>
15075 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15077 cat >>confdefs.h
<<_ACEOF
15078 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15083 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15084 #ifdef HAVE_SYS_PARAM_H
15085 # include <sys/param.h>
15087 #ifdef HAVE_SYS_MOUNT_H
15088 # include <sys/mount.h>
15090 #ifdef HAVE_SYS_VFS_H
15091 # include <sys/vfs.h>
15093 #ifdef HAVE_SYS_STATFS_H
15094 # include <sys/statfs.h>
15097 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15099 cat >>confdefs.h
<<_ACEOF
15100 #define HAVE_STRUCT_STATFS_F_FFREE 1
15105 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15106 #ifdef HAVE_SYS_PARAM_H
15107 # include <sys/param.h>
15109 #ifdef HAVE_SYS_MOUNT_H
15110 # include <sys/mount.h>
15112 #ifdef HAVE_SYS_VFS_H
15113 # include <sys/vfs.h>
15115 #ifdef HAVE_SYS_STATFS_H
15116 # include <sys/statfs.h>
15119 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15121 cat >>confdefs.h
<<_ACEOF
15122 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15127 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15128 #ifdef HAVE_SYS_PARAM_H
15129 # include <sys/param.h>
15131 #ifdef HAVE_SYS_MOUNT_H
15132 # include <sys/mount.h>
15134 #ifdef HAVE_SYS_VFS_H
15135 # include <sys/vfs.h>
15137 #ifdef HAVE_SYS_STATFS_H
15138 # include <sys/statfs.h>
15141 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15143 cat >>confdefs.h
<<_ACEOF
15144 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15151 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15152 #include <sys/statvfs.h>
15155 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15157 cat >>confdefs.h
<<_ACEOF
15158 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15165 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15166 #include <dirent.h>
15169 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15171 cat >>confdefs.h
<<_ACEOF
15172 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15179 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15180 #ifdef HAVE_SYS_SOCKET_H
15181 # include <sys/socket.h>
15183 #ifdef HAVE_SYS_UN_H
15184 # include <sys/un.h>
15187 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15189 cat >>confdefs.h
<<_ACEOF
15190 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15195 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15196 #ifdef HAVE_SYS_SOCKET_H
15197 # include <sys/socket.h>
15199 #ifdef HAVE_SYS_UN_H
15200 # include <sys/un.h>
15203 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15205 cat >>confdefs.h
<<_ACEOF
15206 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15211 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15212 #ifdef HAVE_SYS_SOCKET_H
15213 # include <sys/socket.h>
15215 #ifdef HAVE_SYS_UN_H
15216 # include <sys/un.h>
15219 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15221 cat >>confdefs.h
<<_ACEOF
15222 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15229 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15230 #ifdef HAVE_SCSI_SG_H
15231 #include <scsi/sg.h>
15234 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15236 cat >>confdefs.h
<<_ACEOF
15237 #define HAVE_SCSIREQ_T_CMD 1
15242 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>
15243 #ifdef HAVE_SCSI_SG_H
15244 #include <scsi/sg.h>
15247 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15249 cat >>confdefs.h
<<_ACEOF
15250 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15257 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15259 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15261 cat >>confdefs.h
<<_ACEOF
15262 #define HAVE_SIGINFO_T_SI_FD 1
15269 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15270 #ifdef HAVE_SYS_MTIO_H
15271 #include <sys/mtio.h>
15274 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15276 cat >>confdefs.h
<<_ACEOF
15277 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15282 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15283 #ifdef HAVE_SYS_MTIO_H
15284 #include <sys/mtio.h>
15287 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15289 cat >>confdefs.h
<<_ACEOF
15290 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15295 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15296 #ifdef HAVE_SYS_MTIO_H
15297 #include <sys/mtio.h>
15300 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15302 cat >>confdefs.h
<<_ACEOF
15303 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15310 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15311 #include <getopt.h>
15314 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15316 cat >>confdefs.h
<<_ACEOF
15317 #define HAVE_STRUCT_OPTION_NAME 1
15324 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15325 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15327 cat >>confdefs.h
<<_ACEOF
15328 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15333 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15334 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15336 cat >>confdefs.h
<<_ACEOF
15337 #define HAVE_STRUCT_STAT_ST_MTIM 1
15342 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15343 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15345 cat >>confdefs.h
<<_ACEOF
15346 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15351 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15352 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15354 cat >>confdefs.h
<<_ACEOF
15355 #define HAVE_STRUCT_STAT_ST_CTIM 1
15360 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15361 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15363 cat >>confdefs.h
<<_ACEOF
15364 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15369 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15370 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15372 cat >>confdefs.h
<<_ACEOF
15373 #define HAVE_STRUCT_STAT_ST_ATIM 1
15378 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15379 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15381 cat >>confdefs.h
<<_ACEOF
15382 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15387 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15388 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15390 cat >>confdefs.h
<<_ACEOF
15391 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15396 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15397 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15399 cat >>confdefs.h
<<_ACEOF
15400 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15405 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15406 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15408 cat >>confdefs.h
<<_ACEOF
15409 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15414 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15415 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15417 cat >>confdefs.h
<<_ACEOF
15418 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15423 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15424 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15426 cat >>confdefs.h
<<_ACEOF
15427 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15434 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
15435 #include <sys/types.h>
15437 #ifdef HAVE_NETINET_IN_H
15438 #include <netinet/in.h>
15441 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15443 cat >>confdefs.h
<<_ACEOF
15444 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15451 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15452 #include <resolv.h>
15455 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15457 cat >>confdefs.h
<<_ACEOF
15458 #define HAVE_STRUCT___RES_STATE 1
15465 ac_fn_c_check_member
"$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
15466 #include <resolv.h>
15469 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15471 cat >>confdefs.h
<<_ACEOF
15472 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15479 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15480 #include <sys/types.h>
15482 #ifdef HAVE_NETINET_IN_H
15483 # include <netinet/in.h>
15485 #ifdef HAVE_ARPA_NAMESER_H
15486 # include <arpa/nameser.h>
15489 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15491 cat >>confdefs.h
<<_ACEOF
15492 #define HAVE_NS_MSG__MSG_PTR 1
15499 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15500 #include <sys/types.h>
15502 #ifdef HAVE_NETINET_IP_H
15503 #include <netinet/ip.h>
15505 #ifdef HAVE_NETINET_IP_ICMP_H
15506 #include <netinet/ip_icmp.h>
15508 #ifdef HAVE_NETINET_ICMP_VAR_H
15509 #include <netinet/icmp_var.h>
15512 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15514 cat >>confdefs.h
<<_ACEOF
15515 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15522 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15523 #include <sys/types.h>
15525 #ifdef HAVE_ALIAS_H
15528 #ifdef HAVE_SYS_SOCKET_H
15529 #include <sys/socket.h>
15531 #ifdef HAVE_SYS_SOCKETVAR_H
15532 #include <sys/socketvar.h>
15534 #ifdef HAVE_SYS_TIMEOUT_H
15535 #include <sys/timeout.h>
15537 #ifdef HAVE_NETINET_IN_H
15538 #include <netinet/in.h>
15540 #ifdef HAVE_NETINET_IN_SYSTM_H
15541 #include <netinet/in_systm.h>
15543 #ifdef HAVE_NETINET_IP_H
15544 #include <netinet/ip.h>
15546 #ifdef HAVE_NETINET_IP_VAR_H
15547 #include <netinet/ip_var.h>
15549 #ifdef HAVE_NETINET_IP_ICMP_H
15550 #include <netinet/ip_icmp.h>
15552 #ifdef HAVE_NETINET_ICMP_VAR_H
15553 #include <netinet/icmp_var.h>
15556 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15558 cat >>confdefs.h
<<_ACEOF
15559 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15566 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15567 #include <sys/types.h>
15569 #ifdef HAVE_SYS_SOCKETVAR_H
15570 #include <sys/socketvar.h>
15572 #ifdef HAVE_NETINET_IN_H
15573 #include <netinet/in.h>
15575 #ifdef HAVE_NETINET_IP_VAR_H
15576 #include <netinet/ip_var.h>
15579 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15581 cat >>confdefs.h
<<_ACEOF
15582 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15589 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
15590 #include <netinet/ip_var.h>
15593 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15595 cat >>confdefs.h
<<_ACEOF
15596 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15603 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15604 #include <sys/types.h>
15606 #ifdef HAVE_SYS_SOCKETVAR_H
15607 #include <sys/socketvar.h>
15609 #ifdef HAVE_NETINET_IN_H
15610 #include <netinet/in.h>
15612 #ifdef HAVE_NETINET_TCP_H
15613 #include <netinet/tcp.h>
15615 #ifdef HAVE_NETINET_TCP_VAR_H
15616 #include <netinet/tcp_var.h>
15619 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15621 cat >>confdefs.h
<<_ACEOF
15622 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15629 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
15630 #include <netinet/tcp_var.h>
15633 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15635 cat >>confdefs.h
<<_ACEOF
15636 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15643 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15644 #include <sys/types.h>
15646 #ifdef HAVE_NETINET_IN_H
15647 #include <netinet/in.h>
15649 #ifdef HAVE_NETINET_IP_VAR_H
15650 #include <netinet/ip_var.h>
15652 #ifdef HAVE_NETINET_UDP_H
15653 #include <netinet/udp.h>
15655 #ifdef HAVE_NETINET_UDP_VAR_H
15656 #include <netinet/udp_var.h>
15659 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15661 cat >>confdefs.h
<<_ACEOF
15662 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15669 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15670 #include <sys/types.h>
15672 #ifdef HAVE_NET_IF_H
15673 # include <net/if.h>
15676 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15678 cat >>confdefs.h
<<_ACEOF
15679 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15687 $as_echo_n "checking for timezone variable... " >&6; }
15688 if ${ac_cv_have_timezone+:} false
; then :
15689 $as_echo_n "(cached) " >&6
15691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15702 if ac_fn_c_try_link
"$LINENO"; then :
15703 ac_cv_have_timezone
="yes"
15705 ac_cv_have_timezone
="no"
15707 rm -f core conftest.err conftest.
$ac_objext \
15708 conftest
$ac_exeext conftest.
$ac_ext
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15711 $as_echo "$ac_cv_have_timezone" >&6; }
15712 if test "$ac_cv_have_timezone" = "yes"
15715 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15719 $as_echo_n "checking for daylight variable... " >&6; }
15720 if ${ac_cv_have_daylight+:} false
; then :
15721 $as_echo_n "(cached) " >&6
15723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15734 if ac_fn_c_try_link
"$LINENO"; then :
15735 ac_cv_have_daylight
="yes"
15737 ac_cv_have_daylight
="no"
15739 rm -f core conftest.err conftest.
$ac_objext \
15740 conftest
$ac_exeext conftest.
$ac_ext
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15743 $as_echo "$ac_cv_have_daylight" >&6; }
15744 if test "$ac_cv_have_daylight" = "yes"
15747 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15751 ac_save_LIBS
="$LIBS"
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15754 $as_echo_n "checking for isinf... " >&6; }
15755 if ${ac_cv_have_isinf+:} false
; then :
15756 $as_echo_n "(cached) " >&6
15758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15764 float f = 0.0; return isinf(f)
15769 if ac_fn_c_try_link
"$LINENO"; then :
15770 ac_cv_have_isinf
="yes"
15772 ac_cv_have_isinf
="no"
15774 rm -f core conftest.err conftest.
$ac_objext \
15775 conftest
$ac_exeext conftest.
$ac_ext
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15778 $as_echo "$ac_cv_have_isinf" >&6; }
15779 if test "$ac_cv_have_isinf" = "yes"
15782 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15787 $as_echo_n "checking for isnan... " >&6; }
15788 if ${ac_cv_have_isnan+:} false
; then :
15789 $as_echo_n "(cached) " >&6
15791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15797 float f = 0.0; return isnan(f)
15802 if ac_fn_c_try_link
"$LINENO"; then :
15803 ac_cv_have_isnan
="yes"
15805 ac_cv_have_isnan
="no"
15807 rm -f core conftest.err conftest.
$ac_objext \
15808 conftest
$ac_exeext conftest.
$ac_ext
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15811 $as_echo "$ac_cv_have_isnan" >&6; }
15812 if test "$ac_cv_have_isnan" = "yes"
15815 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15818 LIBS
="$ac_save_LIBS"
15822 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15823 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15824 if ${ac_cv_cpp_def___i386__+:} false
; then :
15825 $as_echo_n "(cached) " >&6
15827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15834 $EGREP "yes" >/dev
/null
2>&1; then :
15835 ac_cv_cpp_def___i386__
=yes
15837 ac_cv_cpp_def___i386__
=no
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15843 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15844 if test $ac_cv_cpp_def___i386__ = yes; then :
15845 CFLAGS
="$CFLAGS -D__i386__"
15846 LINTFLAGS
="$LINTFLAGS -D__i386__"
15848 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15849 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15850 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15851 $as_echo_n "(cached) " >&6
15853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15860 $EGREP "yes" >/dev
/null
2>&1; then :
15861 ac_cv_cpp_def___x86_64__
=yes
15863 ac_cv_cpp_def___x86_64__
=no
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15869 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15870 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15871 CFLAGS
="$CFLAGS -D__x86_64__"
15872 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15874 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15875 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15876 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15877 $as_echo_n "(cached) " >&6
15879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 #ifndef __sparc64__
15885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15886 $EGREP "yes" >/dev
/null
2>&1; then :
15887 ac_cv_cpp_def___sparc64__
=yes
15889 ac_cv_cpp_def___sparc64__
=no
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15895 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15896 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15897 CFLAGS
="$CFLAGS -D__sparc64__"
15898 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15900 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15901 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15902 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15912 $EGREP "yes" >/dev
/null
2>&1; then :
15913 ac_cv_cpp_def___sparc__
=yes
15915 ac_cv_cpp_def___sparc__
=no
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15921 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15922 if test $ac_cv_cpp_def___sparc__ = yes; then :
15923 CFLAGS
="$CFLAGS -D__sparc__"
15924 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15926 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15927 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15928 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15929 $as_echo_n "(cached) " >&6
15931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15933 #ifndef __powerpc64__
15937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15938 $EGREP "yes" >/dev
/null
2>&1; then :
15939 ac_cv_cpp_def___powerpc64__
=yes
15941 ac_cv_cpp_def___powerpc64__
=no
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15947 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15948 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15949 CFLAGS
="$CFLAGS -D__powerpc64__"
15950 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15952 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15953 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15954 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15955 $as_echo_n "(cached) " >&6
15957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15958 /* end confdefs.h. */
15959 #ifndef __powerpc__
15963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15964 $EGREP "yes" >/dev
/null
2>&1; then :
15965 ac_cv_cpp_def___powerpc__
=yes
15967 ac_cv_cpp_def___powerpc__
=no
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15973 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15974 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15975 CFLAGS
="$CFLAGS -D__powerpc__"
15976 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15978 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15979 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15980 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15981 $as_echo_n "(cached) " >&6
15983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15984 /* end confdefs.h. */
15985 #ifndef __aarch64__
15989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15990 $EGREP "yes" >/dev
/null
2>&1; then :
15991 ac_cv_cpp_def___aarch64__
=yes
15993 ac_cv_cpp_def___aarch64__
=no
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15999 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16000 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16001 CFLAGS
="$CFLAGS -D__aarch64__"
16002 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16004 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16005 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16006 if ${ac_cv_cpp_def___arm__+:} false
; then :
16007 $as_echo_n "(cached) " >&6
16009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16016 $EGREP "yes" >/dev
/null
2>&1; then :
16017 ac_cv_cpp_def___arm__
=yes
16019 ac_cv_cpp_def___arm__
=no
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16025 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16026 if test $ac_cv_cpp_def___arm__ = yes; then :
16027 CFLAGS
="$CFLAGS -D__arm__"
16028 LINTFLAGS
="$LINTFLAGS -D__arm__"
16032 case $host_vendor in
16033 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16034 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16035 if ${ac_cv_cpp_def___sun__+:} false
; then :
16036 $as_echo_n "(cached) " >&6
16038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16045 $EGREP "yes" >/dev
/null
2>&1; then :
16046 ac_cv_cpp_def___sun__
=yes
16048 ac_cv_cpp_def___sun__
=no
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16054 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16055 if test $ac_cv_cpp_def___sun__ = yes; then :
16056 CFLAGS
="$CFLAGS -D__sun__"
16057 LINTFLAGS
="$LINTFLAGS -D__sun__"
16065 ac_config_commands
="$ac_config_commands include/stamp-h"
16067 $as_echo_n "creating Makefile rules..." >&6
16069 wine_rules_file
=conf$
$rules.
make
16070 rm -f $wine_rules_file
16072 ALL_TEST_RESOURCES
=""
16075 wine_fn_append_file
()
16077 as_fn_append
$1 " \\$as_nl $2"
16080 wine_fn_append_rule
()
16082 $as_echo "$1" >>$wine_rules_file
16085 wine_fn_has_flag
()
16087 expr ",$2," : ".*,$1,.*" >/dev
/null
16090 wine_fn_all_dir_rules
()
16094 ac_makedep
="\$(MAKEDEP)"
16095 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16096 if test $ac_dir != tools
16098 ac_alldeps
="$2 $ac_makedep"
16100 ac_alldeps
="$2 include/config.h"
16103 *.
in) ac_input
=$ac_input:$2 ;;
16104 *) ac_makedep
="$2 $ac_makedep" ;;
16107 wine_fn_append_rule \
16108 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16109 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16110 depend: $ac_dir/__depend__
16111 .PHONY: $ac_dir/__depend__
16112 $ac_dir/__depend__: $ac_makedep dummy
16113 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16116 wine_fn_pot_rules
()
16121 test "x$with_gettextpo" = xyes ||
return
16123 if wine_fn_has_flag mc
$ac_flags
16125 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16126 wine_fn_append_rule \
16127 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16128 @cd $ac_dir && \$(MAKE) msg.pot
16129 $ac_dir/msg.pot: tools/wmc include"
16131 if wine_fn_has_flag po
$ac_flags
16133 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16134 wine_fn_append_rule \
16135 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16136 @cd $ac_dir && \$(MAKE) rsrc.pot
16137 $ac_dir/rsrc.pot: tools/wrc include"
16141 wine_fn_config_all_make_rules
()
16147 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16151 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
16152 wine_fn_append_rule \
16155 $ac_dir: $ac_dir/Makefile dummy
16156 @cd $ac_dir && \$(MAKE)"
16158 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
16160 wine_fn_append_rule \
16161 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16162 $ac_dir/__install__:: $ac_dir
16163 @cd $ac_dir && \$(MAKE) install
16164 $ac_dir/__uninstall__:: $ac_dir/Makefile
16165 @cd $ac_dir && \$(MAKE) uninstall
16166 install:: $ac_dir/__install__
16167 __uninstall__: $ac_dir/__uninstall__"
16169 if wine_fn_has_flag install-lib
$ac_flags
16171 wine_fn_append_rule \
16172 ".PHONY: $ac_dir/__install-lib__
16173 $ac_dir/__install-lib__:: $ac_dir
16174 @cd $ac_dir && \$(MAKE) install-lib
16175 install-lib:: $ac_dir/__install-lib__"
16178 if wine_fn_has_flag install-dev
$ac_flags
16180 wine_fn_append_rule \
16181 ".PHONY: $ac_dir/__install-dev
16182 $ac_dir/__install-dev__:: $ac_dir
16183 @cd $ac_dir && \$(MAKE) install-dev
16184 install-dev:: $ac_dir/__install-dev__"
16188 wine_fn_clean_rules
()
16195 if wine_fn_has_flag clean
$ac_flags
16197 wine_fn_append_rule \
16198 "__clean__: $ac_dir/__clean__
16199 .PHONY: $ac_dir/__clean__
16200 $ac_dir/__clean__: $ac_dir/Makefile
16201 @cd $ac_dir && \$(MAKE) clean
16202 \$(RM) $ac_dir/Makefile"
16204 wine_fn_append_rule \
16206 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16210 wine_fn_config_makefile
()
16216 wine_fn_config_all_make_rules
$ac_dir $ac_enable $ac_flags
16217 wine_fn_clean_rules
$ac_dir $ac_flags
16220 wine_fn_config_lib
()
16224 ac_dir
=dlls
/$ac_name
16225 wine_fn_config_all_make_rules
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
16226 wine_fn_clean_rules
$ac_dir $ac_flags
16228 if wine_fn_has_flag install-dev
$ac_flags
16231 wine_fn_append_rule \
16232 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16233 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
16234 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16235 $ac_dir/__uninstall__::
16236 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16237 install install-dev:: $ac_dir/__install__
16238 __uninstall__: $ac_dir/__uninstall__"
16241 wine_fn_append_rule \
16242 "__builddeps__: $ac_dir
16243 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16246 wine_fn_config_dll
()
16249 ac_dir
=dlls
/$ac_name
16252 ac_implib
=${4:-$ac_name}
16253 ac_file
=$ac_dir/lib
$ac_implib
16255 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16259 *16) ac_implibflags
=" -m16" ;;
16261 *) ac_dll
=$ac_dll.dll
;;
16264 wine_fn_config_all_make_rules
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
16267 wine_fn_has_flag implib
$ac_flags && ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16268 wine_fn_has_flag mc
$ac_flags && ac_clean
="$ac_clean $ac_dir/msg.pot"
16269 wine_fn_has_flag po
$ac_flags && ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16270 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16272 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16273 test "$ac_enable" != enable_win16 ||
return 0
16274 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
16276 wine_fn_append_rule \
16277 "$ac_dir: __builddeps__
16278 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16279 @cd $ac_dir && \$(MAKE) \$@"
16281 if wine_fn_has_flag install-lib
$ac_flags
16284 wine_fn_append_rule \
16285 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
16286 install install-lib:: $ac_dir/__install-lib__
16287 __uninstall__: $ac_dir/__uninstall__"
16288 if test -n "$DLLEXT"
16290 wine_fn_append_rule \
16291 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16292 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16293 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16294 $ac_dir/__uninstall__::
16295 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16297 wine_fn_append_rule \
16298 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16299 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16300 $ac_dir/__uninstall__::
16301 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16305 wine_fn_pot_rules
$ac_dir $ac_flags
16308 if wine_fn_has_flag staticimplib
$ac_flags
16310 wine_fn_append_rule \
16311 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16312 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16313 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
16314 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
16315 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16316 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16317 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16318 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16319 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16320 $ac_dir/__uninstall__::
16321 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16322 install install-dev:: $ac_dir/__install-dev__
16323 __uninstall__: $ac_dir/__uninstall__"
16325 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16327 wine_fn_append_rule \
16328 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16329 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16330 $ac_dir/__uninstall__::
16331 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16334 if test "x$CROSSTEST_DISABLE" = x
16336 wine_fn_append_rule \
16337 "__builddeps__: $ac_file.cross.a
16338 $ac_file.cross.a: $ac_dir/Makefile dummy
16339 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16342 elif wine_fn_has_flag implib
$ac_flags
16344 wine_fn_append_rule \
16345 "__builddeps__: $ac_file.$IMPLIBEXT
16346 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16348 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16349 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16350 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16351 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16352 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16353 $ac_dir/__uninstall__::
16354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16355 install install-dev:: $ac_dir/__install-dev__
16356 __uninstall__: $ac_dir/__uninstall__"
16357 if test "x$CROSSTEST_DISABLE" = x
16359 wine_fn_append_rule \
16360 "__builddeps__: $ac_file.cross.a
16361 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16362 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16365 if test "$ac_name" != "$ac_implib"
16367 wine_fn_append_rule \
16368 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16369 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16370 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16372 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16373 if test "x$CROSSTEST_DISABLE" = x
16375 wine_fn_append_rule \
16376 "__builddeps__: dlls/lib$ac_implib.cross.a
16377 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16378 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16384 wine_fn_config_program
()
16387 ac_dir
=programs
/$ac_name
16390 ac_program
=$ac_name
16394 *) ac_program
=$ac_program.exe
;;
16397 wine_fn_config_all_make_rules
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
16400 wine_fn_has_flag mc
$ac_flags && ac_clean
="$ac_clean $ac_dir/msg.pot"
16401 wine_fn_has_flag po
$ac_flags && ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16402 wine_fn_has_flag manpage
$ac_flags && ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16403 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16404 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16406 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16409 wine_fn_append_rule
"$ac_dir: __builddeps__"
16411 wine_fn_pot_rules
$ac_dir $ac_flags
16413 wine_fn_has_flag
install $ac_flags ||
return
16414 wine_fn_append_rule \
16415 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16416 install install-lib:: $ac_dir/__install__
16417 __uninstall__: $ac_dir/__uninstall__"
16419 if test -n "$DLLEXT"
16421 wine_fn_append_rule \
16422 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16423 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16424 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16425 $ac_dir/__uninstall__::
16426 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16428 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
16430 wine_fn_append_rule \
16431 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
16432 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16433 $ac_dir/__uninstall__::
16434 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16437 wine_fn_append_rule \
16438 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
16440 $ac_dir/__uninstall__::
16441 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
16444 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
16446 wine_fn_append_rule \
16447 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16448 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16449 $ac_dir/__uninstall__::
16450 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16455 wine_fn_config_test
()
16462 test "x$CROSSTEST_DISABLE" = x
&& ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16463 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16464 ac_clean
="$ac_clean $ac_dir/*.ok $ac_dir/testlist.c"
16466 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16467 wine_fn_all_dir_rules
$ac_dir Maketest.rules
16468 wine_fn_clean_rules
$ac_dir "$ac_flags" $ac_clean
16470 if test "x$enable_tests" = xno
; then :
16473 wine_fn_append_rule \
16476 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
16477 @cd $ac_dir && \$(MAKE)
16478 programs/winetest: $ac_dir
16479 check test: $ac_dir/__test__
16480 .PHONY: $ac_dir/__test__
16481 $ac_dir/__test__: dummy
16482 @cd $ac_dir && \$(MAKE) test
16484 \$(RM) $ac_dir/*.ok"
16486 if test "x$CROSSTEST_DISABLE" = x
16488 wine_fn_append_rule \
16489 "crosstest: $ac_dir/__crosstest__
16490 .PHONY: $ac_dir/__crosstest__
16491 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
16492 @cd $ac_dir && \$(MAKE) crosstest"
16497 wine_fn_config_tool
()
16501 if test "x$enable_tools" = xno
; then :
16505 wine_fn_config_all_make_rules
$ac_dir enable_tools
$ac_flags
16506 wine_fn_clean_rules
$ac_dir $ac_flags
16508 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16509 wine_fn_append_rule
"$ac_dir: libs/port"
16511 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16515 wine_fn_config_makerules
()
16519 wine_fn_append_rule \
16520 "$ac_rules: $ac_rules.in $ac_deps config.status
16521 @./config.status $ac_rules
16526 wine_fn_config_symlink
()
16529 if test "x$1" = "x-d"
16535 wine_fn_append_rule \
16537 @./config.status \$@
16540 test -n "$ac_linkdir" ||
return
16541 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
16544 if test "x$CROSSTEST_DISABLE" != x
16546 wine_fn_append_rule \
16548 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16550 wine_fn_append_rule
"
16551 # Rules automatically generated by configure
16556 Makefile: Makefile.in Make.vars.in Make.rules config.status
16557 @./config.status Make.tmp Makefile"
16559 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16560 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16561 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
16562 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
16563 if test "x$enable_fonts" != xno
; then
16564 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16565 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16566 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16567 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16568 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16570 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16571 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16572 if test "x$enable_tools" != xno
; then
16573 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
16574 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
16576 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16577 wine_fn_config_symlink wine
16578 if test "x$enable_win64" != xno
; then
16579 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16580 wine_fn_config_symlink wine64
16583 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16584 wine_fn_append_rule \
16586 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16587 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16588 wine_fn_append_rule \
16590 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16591 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16592 wine_fn_append_rule \
16594 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16595 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16596 wine_fn_append_rule \
16598 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16599 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16600 wine_fn_append_rule \
16602 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16603 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16604 wine_fn_append_rule \
16606 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16607 ac_config_commands
="$ac_config_commands include/wine"
16608 wine_fn_append_rule \
16610 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16612 wine_fn_config_makerules Make.rules
16613 MAKE_RULES
=Make.rules
16614 ac_config_files
="$ac_config_files Make.rules"
16616 wine_fn_config_makerules Maketest.rules Make.rules
16617 MAKE_TEST_RULES
=Maketest.rules
16618 ac_config_files
="$ac_config_files Maketest.rules"
16620 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
16621 MAKE_DLL_RULES
=dlls
/Makedll.rules
16622 ac_config_files
="$ac_config_files dlls/Makedll.rules"
16624 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
16625 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
16626 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
16628 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
16629 MAKE_PROG_RULES
=programs
/Makeprog.rules
16630 ac_config_files
="$ac_config_files programs/Makeprog.rules"
16633 wine_fn_config_dll acledit enable_acledit
16634 wine_fn_config_dll aclui enable_aclui implib
16635 wine_fn_config_dll activeds enable_activeds implib
16636 wine_fn_config_dll actxprxy enable_actxprxy clean
16637 wine_fn_config_lib adsiid
16638 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16639 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16640 wine_fn_config_dll advpack enable_advpack implib
16641 wine_fn_config_test dlls
/advpack
/tests advpack_test
16642 wine_fn_config_dll amstream enable_amstream clean
16643 wine_fn_config_test dlls
/amstream
/tests amstream_test
16644 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16648 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16657 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16658 wine_fn_config_dll apphelp enable_apphelp
16659 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16660 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16661 wine_fn_config_dll atl enable_atl clean
,implib
16662 wine_fn_config_test dlls
/atl
/tests atl_test
16663 wine_fn_config_dll atl100 enable_atl100 implib
16664 wine_fn_config_test dlls
/atl100
/tests atl100_test
16665 wine_fn_config_dll atl110 enable_atl110
16666 wine_fn_config_dll atl80 enable_atl80 implib
16667 wine_fn_config_test dlls
/atl80
/tests atl80_test
16668 wine_fn_config_dll authz enable_authz
16669 wine_fn_config_dll avicap32 enable_avicap32 implib
16670 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16671 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16672 wine_fn_config_dll avifile.dll16 enable_win16
16673 wine_fn_config_dll avrt enable_avrt implib
16674 wine_fn_config_dll bcrypt enable_bcrypt
16675 wine_fn_config_dll browseui enable_browseui clean
,po
16676 wine_fn_config_test dlls
/browseui
/tests browseui_test
16677 wine_fn_config_dll cabinet enable_cabinet implib
16678 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16679 wine_fn_config_dll capi2032 enable_capi2032 implib
16680 wine_fn_config_dll cards enable_cards implib
16681 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16682 wine_fn_config_dll clusapi enable_clusapi implib
16683 wine_fn_config_dll comcat enable_comcat
16684 wine_fn_config_test dlls
/comcat
/tests comcat_test
16685 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16686 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16687 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16688 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16689 wine_fn_config_dll
comm.drv16 enable_win16
16690 wine_fn_config_dll commdlg.dll16 enable_win16
16691 wine_fn_config_dll compobj.dll16 enable_win16
16692 wine_fn_config_dll compstui enable_compstui implib
16693 wine_fn_config_dll comsvcs enable_comsvcs implib
16694 wine_fn_config_dll credui enable_credui implib
,po
16695 wine_fn_config_test dlls
/credui
/tests credui_test
16696 wine_fn_config_dll crtdll enable_crtdll implib
16697 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16698 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16699 wine_fn_config_dll cryptdlg enable_cryptdlg po
16700 wine_fn_config_dll cryptdll enable_cryptdll implib
16701 wine_fn_config_dll cryptnet enable_cryptnet implib
16702 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16703 wine_fn_config_dll cryptui enable_cryptui implib
,po
16704 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16705 wine_fn_config_dll ctapi32 enable_ctapi32
16706 wine_fn_config_dll ctl3d.dll16 enable_win16
16707 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16708 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16709 wine_fn_config_dll d3d10 enable_d3d10 implib
16710 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16711 wine_fn_config_dll d3d10core enable_d3d10core implib
16712 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16713 wine_fn_config_dll d3d11 enable_d3d11
16714 wine_fn_config_dll d3d8 enable_d3d8 implib
16715 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16716 wine_fn_config_dll d3d9 enable_d3d9 implib
16717 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16718 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16719 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16720 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16721 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16722 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16723 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16724 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16725 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16726 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16727 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16728 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16729 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16730 wine_fn_config_dll d3dim enable_d3dim implib
16731 wine_fn_config_dll d3drm enable_d3drm implib
16732 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16733 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16734 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16735 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16736 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16737 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16738 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16739 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16740 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16741 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16742 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16743 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16744 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16745 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16746 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16747 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16748 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16749 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16750 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16751 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16752 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16753 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16754 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16755 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16756 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16757 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16758 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16759 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16760 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16761 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16762 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16763 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16764 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16765 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16766 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16767 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16768 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16769 wine_fn_config_dll dbgeng enable_dbgeng implib
16770 wine_fn_config_dll dbghelp enable_dbghelp implib
16771 wine_fn_config_dll dciman32 enable_dciman32 implib
16772 wine_fn_config_dll ddeml.dll16 enable_win16
16773 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16774 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16775 wine_fn_config_dll ddrawex enable_ddrawex clean
16776 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16777 wine_fn_config_dll devenum enable_devenum clean
,po
16778 wine_fn_config_test dlls
/devenum
/tests devenum_test
16779 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16780 wine_fn_config_dll difxapi enable_difxapi
16781 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16782 wine_fn_config_test dlls
/dinput
/tests dinput_test
16783 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16784 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16785 wine_fn_config_dll dispdib.dll16 enable_win16
16786 wine_fn_config_dll dispex enable_dispex clean
16787 wine_fn_config_test dlls
/dispex
/tests dispex_test
16788 wine_fn_config_dll display.drv16 enable_win16
16789 wine_fn_config_dll dmband enable_dmband clean
16790 wine_fn_config_test dlls
/dmband
/tests dmband_test
16791 wine_fn_config_dll dmcompos enable_dmcompos clean
16792 wine_fn_config_dll dmime enable_dmime clean
16793 wine_fn_config_test dlls
/dmime
/tests dmime_test
16794 wine_fn_config_dll dmloader enable_dmloader clean
16795 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16796 wine_fn_config_dll dmscript enable_dmscript clean
16797 wine_fn_config_dll dmstyle enable_dmstyle clean
16798 wine_fn_config_dll dmsynth enable_dmsynth clean
16799 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16800 wine_fn_config_dll dmusic enable_dmusic clean
16801 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16802 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16803 wine_fn_config_dll dnsapi enable_dnsapi implib
16804 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16805 wine_fn_config_dll dplay enable_dplay implib
16806 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16807 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16808 wine_fn_config_dll dpnaddr enable_dpnaddr
16809 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16810 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16811 wine_fn_config_dll dpnhpast enable_dpnhpast
16812 wine_fn_config_dll dpnlobby enable_dpnlobby
16813 wine_fn_config_dll dpwsockx enable_dpwsockx
16814 wine_fn_config_dll drmclien enable_drmclien
16815 wine_fn_config_dll dsound enable_dsound clean
,implib
16816 wine_fn_config_test dlls
/dsound
/tests dsound_test
16817 wine_fn_config_dll dssenh enable_dssenh
16818 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16819 wine_fn_config_dll dswave enable_dswave clean
16820 wine_fn_config_dll dwmapi enable_dwmapi implib
16821 wine_fn_config_dll dwrite enable_dwrite implib
16822 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16823 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16824 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16825 wine_fn_config_lib dxerr8
16826 wine_fn_config_lib dxerr9
16827 wine_fn_config_dll dxgi enable_dxgi implib
16828 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16829 wine_fn_config_lib dxguid
16830 wine_fn_config_dll explorerframe enable_explorerframe clean
16831 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16832 wine_fn_config_dll faultrep enable_faultrep implib
16833 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16834 wine_fn_config_dll fltlib enable_fltlib
16835 wine_fn_config_dll fusion enable_fusion
16836 wine_fn_config_test dlls
/fusion
/tests fusion_test
16837 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16838 wine_fn_config_dll gameux enable_gameux clean
16839 wine_fn_config_test dlls
/gameux
/tests gameux_test
16840 wine_fn_config_dll gdi.exe16 enable_win16
16841 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16842 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16843 wine_fn_config_dll gdiplus enable_gdiplus implib
16844 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16845 wine_fn_config_dll glu32 enable_glu32 implib
16846 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16847 wine_fn_config_dll gpkcsp enable_gpkcsp
16848 wine_fn_config_dll hal enable_hal
16849 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16850 wine_fn_config_dll hid enable_hid implib
16851 wine_fn_config_dll hlink enable_hlink clean
,implib
16852 wine_fn_config_test dlls
/hlink
/tests hlink_test
16853 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16854 wine_fn_config_dll httpapi enable_httpapi
16855 wine_fn_config_dll iccvid enable_iccvid po
16856 wine_fn_config_dll icmp enable_icmp
16857 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16858 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16859 wine_fn_config_dll ifsmgr.vxd enable_win16
16860 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16861 wine_fn_config_dll imagehlp enable_imagehlp implib
16862 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16863 wine_fn_config_dll imm.dll16 enable_win16
16864 wine_fn_config_dll imm32 enable_imm32 implib
16865 wine_fn_config_test dlls
/imm32
/tests imm32_test
16866 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16867 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16868 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16869 wine_fn_config_dll inetmib1 enable_inetmib1
16870 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16871 wine_fn_config_dll infosoft enable_infosoft clean
16872 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16873 wine_fn_config_dll initpki enable_initpki
16874 wine_fn_config_dll inkobj enable_inkobj
16875 wine_fn_config_dll inseng enable_inseng clean
16876 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16877 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16878 wine_fn_config_dll itircl enable_itircl
16879 wine_fn_config_dll itss enable_itss clean
16880 wine_fn_config_test dlls
/itss
/tests itss_test
16881 wine_fn_config_dll joy.cpl enable_joy_cpl po
16882 wine_fn_config_dll jscript enable_jscript clean
,po
16883 wine_fn_config_test dlls
/jscript
/tests jscript_test
16884 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16885 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16886 wine_fn_config_dll keyboard.drv16 enable_win16
16887 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16888 wine_fn_config_dll ktmw32 enable_ktmw32
16889 wine_fn_config_dll loadperf enable_loadperf implib
16890 wine_fn_config_dll localspl enable_localspl po
16891 wine_fn_config_test dlls
/localspl
/tests localspl_test
16892 wine_fn_config_dll localui enable_localui po
16893 wine_fn_config_test dlls
/localui
/tests localui_test
16894 wine_fn_config_dll lz32 enable_lz32 implib
16895 wine_fn_config_test dlls
/lz32
/tests lz32_test
16896 wine_fn_config_dll lzexpand.dll16 enable_win16
16897 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16898 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16899 wine_fn_config_dll mapistub enable_mapistub
16900 wine_fn_config_dll mciavi32 enable_mciavi32
16901 wine_fn_config_dll mcicda enable_mcicda
16902 wine_fn_config_dll mciqtz32 enable_mciqtz32
16903 wine_fn_config_dll mciseq enable_mciseq
16904 wine_fn_config_dll mciwave enable_mciwave
16905 wine_fn_config_dll mgmtapi enable_mgmtapi
16906 wine_fn_config_dll midimap enable_midimap
16907 wine_fn_config_dll mlang enable_mlang clean
,implib
16908 wine_fn_config_test dlls
/mlang
/tests mlang_test
16909 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16910 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16911 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16912 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16913 wine_fn_config_dll mmdevldr.vxd enable_win16
16914 wine_fn_config_dll mmsystem.dll16 enable_win16
16915 wine_fn_config_dll monodebg.vxd enable_win16
16916 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16917 wine_fn_config_dll mouse.drv16 enable_win16
16918 wine_fn_config_dll mpr enable_mpr implib
,po
16919 wine_fn_config_test dlls
/mpr
/tests mpr_test
16920 wine_fn_config_dll mprapi enable_mprapi implib
16921 wine_fn_config_dll msacm.dll16 enable_win16
16922 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16923 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16924 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16925 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16926 wine_fn_config_dll mscat32 enable_mscat32
16927 wine_fn_config_dll mscms enable_mscms implib
16928 wine_fn_config_test dlls
/mscms
/tests mscms_test
16929 wine_fn_config_dll mscoree enable_mscoree clean
16930 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16931 wine_fn_config_dll msctf enable_msctf clean
16932 wine_fn_config_test dlls
/msctf
/tests msctf_test
16933 wine_fn_config_dll msdaps enable_msdaps clean
16934 wine_fn_config_dll msdmo enable_msdmo implib
16935 wine_fn_config_dll msftedit enable_msftedit
16936 wine_fn_config_dll msg711.acm enable_msg711_acm
16937 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16938 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16939 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16940 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16941 wine_fn_config_dll msi enable_msi clean
,implib
,po
16942 wine_fn_config_test dlls
/msi
/tests msi_test
16943 wine_fn_config_dll msident enable_msident clean
16944 wine_fn_config_dll msimg32 enable_msimg32 implib
16945 wine_fn_config_dll msimsg enable_msimsg
16946 wine_fn_config_dll msimtf enable_msimtf clean
16947 wine_fn_config_dll msisip enable_msisip
16948 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16949 wine_fn_config_dll msls31 enable_msls31
16950 wine_fn_config_dll msnet32 enable_msnet32
16951 wine_fn_config_dll mspatcha enable_mspatcha
16952 wine_fn_config_dll msrle32 enable_msrle32 po
16953 wine_fn_config_dll mssign32 enable_mssign32
16954 wine_fn_config_dll mssip32 enable_mssip32
16955 wine_fn_config_dll mstask enable_mstask clean
16956 wine_fn_config_test dlls
/mstask
/tests mstask_test
16957 wine_fn_config_dll msvcirt enable_msvcirt
16958 wine_fn_config_dll msvcm80 enable_msvcm80
16959 wine_fn_config_dll msvcm90 enable_msvcm90
16960 wine_fn_config_dll msvcp100 enable_msvcp100
16961 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16962 wine_fn_config_dll msvcp110 enable_msvcp110
16963 wine_fn_config_dll msvcp60 enable_msvcp60
16964 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16965 wine_fn_config_dll msvcp70 enable_msvcp70
16966 wine_fn_config_dll msvcp71 enable_msvcp71
16967 wine_fn_config_dll msvcp80 enable_msvcp80
16968 wine_fn_config_dll msvcp90 enable_msvcp90
16969 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16970 wine_fn_config_dll msvcr100 enable_msvcr100
16971 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16972 wine_fn_config_dll msvcr110 enable_msvcr110
16973 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16974 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16975 wine_fn_config_dll msvcr80 enable_msvcr80
16976 wine_fn_config_dll msvcr90 enable_msvcr90
16977 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16978 wine_fn_config_dll msvcrt enable_msvcrt implib
16979 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16980 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16981 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16982 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16983 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16984 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16985 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16986 wine_fn_config_dll msvidc32 enable_msvidc32 po
16987 wine_fn_config_dll msvideo.dll16 enable_win16
16988 wine_fn_config_dll mswsock enable_mswsock implib
16989 wine_fn_config_dll msxml enable_msxml clean
16990 wine_fn_config_dll msxml2 enable_msxml2 clean
16991 wine_fn_config_dll msxml3 enable_msxml3 clean
16992 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
16993 wine_fn_config_dll msxml4 enable_msxml4 clean
16994 wine_fn_config_dll msxml6 enable_msxml6 clean
16995 wine_fn_config_dll nddeapi enable_nddeapi implib
16996 wine_fn_config_dll netapi32 enable_netapi32 implib
16997 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16998 wine_fn_config_dll netcfgx enable_netcfgx
16999 wine_fn_config_dll newdev enable_newdev implib
17000 wine_fn_config_dll normaliz enable_normaliz implib
17001 wine_fn_config_dll npmshtml enable_npmshtml
17002 wine_fn_config_dll ntdll enable_ntdll implib
17003 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17004 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17005 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17006 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17007 wine_fn_config_dll ntprint enable_ntprint
17008 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17009 wine_fn_config_dll objsel enable_objsel clean
17010 wine_fn_config_dll odbc32 enable_odbc32 implib
17011 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17012 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17013 wine_fn_config_dll odbccu32 enable_odbccu32
17014 wine_fn_config_dll ole2.dll16 enable_win16
17015 wine_fn_config_dll ole2conv.dll16 enable_win16
17016 wine_fn_config_dll ole2disp.dll16 enable_win16
17017 wine_fn_config_dll ole2nls.dll16 enable_win16
17018 wine_fn_config_dll ole2prox.dll16 enable_win16
17019 wine_fn_config_dll ole2thk.dll16 enable_win16
17020 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17021 wine_fn_config_test dlls
/ole32
/tests ole32_test
17022 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17023 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17024 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17025 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17026 wine_fn_config_dll olecli.dll16 enable_win16
17027 wine_fn_config_dll olecli32 enable_olecli32 implib
17028 wine_fn_config_dll oledb32 enable_oledb32 clean
17029 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17030 wine_fn_config_dll oledlg enable_oledlg implib
,po
17031 wine_fn_config_dll olepro32 enable_olepro32 implib
17032 wine_fn_config_dll olesvr.dll16 enable_win16
17033 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17034 wine_fn_config_dll olethk32 enable_olethk32
17035 wine_fn_config_dll openal32 enable_openal32
17036 wine_fn_config_dll opencl enable_opencl
17037 wine_fn_config_dll opengl32 enable_opengl32 implib
17038 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17039 wine_fn_config_dll pdh enable_pdh implib
17040 wine_fn_config_test dlls
/pdh
/tests pdh_test
17041 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17042 wine_fn_config_dll pidgen enable_pidgen
17043 wine_fn_config_dll powrprof enable_powrprof implib
17044 wine_fn_config_dll printui enable_printui
17045 wine_fn_config_dll propsys enable_propsys clean
,implib
17046 wine_fn_config_test dlls
/propsys
/tests propsys_test
17047 wine_fn_config_dll psapi enable_psapi implib
17048 wine_fn_config_test dlls
/psapi
/tests psapi_test
17049 wine_fn_config_dll pstorec enable_pstorec clean
17050 wine_fn_config_dll qcap enable_qcap
17051 wine_fn_config_test dlls
/qcap
/tests qcap_test
17052 wine_fn_config_dll qedit enable_qedit clean
17053 wine_fn_config_test dlls
/qedit
/tests qedit_test
17054 wine_fn_config_dll qmgr enable_qmgr clean
17055 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17056 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17057 wine_fn_config_dll quartz enable_quartz clean
,implib
17058 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17059 wine_fn_config_dll query enable_query
17060 wine_fn_config_dll rasapi16.dll16 enable_win16
17061 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17062 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17063 wine_fn_config_dll rasdlg enable_rasdlg implib
17064 wine_fn_config_dll regapi enable_regapi
17065 wine_fn_config_dll resutils enable_resutils implib
17066 wine_fn_config_dll riched20 enable_riched20 implib
17067 wine_fn_config_test dlls
/riched20
/tests riched20_test
17068 wine_fn_config_dll riched32 enable_riched32
17069 wine_fn_config_test dlls
/riched32
/tests riched32_test
17070 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17071 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17072 wine_fn_config_dll rsabase enable_rsabase
17073 wine_fn_config_dll rsaenh enable_rsaenh implib
17074 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17075 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17076 wine_fn_config_dll rtutils enable_rtutils implib
17077 wine_fn_config_dll samlib enable_samlib
17078 wine_fn_config_dll sane.ds enable_sane_ds po
17079 wine_fn_config_dll scarddlg enable_scarddlg
17080 wine_fn_config_dll sccbase enable_sccbase
17081 wine_fn_config_dll schannel enable_schannel
17082 wine_fn_config_test dlls
/schannel
/tests schannel_test
17083 wine_fn_config_dll scrrun enable_scrrun clean
17084 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17085 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17086 wine_fn_config_dll secur32 enable_secur32 implib
17087 wine_fn_config_test dlls
/secur32
/tests secur32_test
17088 wine_fn_config_dll security enable_security
17089 wine_fn_config_dll sensapi enable_sensapi implib
17090 wine_fn_config_dll serialui enable_serialui implib
,po
17091 wine_fn_config_test dlls
/serialui
/tests serialui_test
17092 wine_fn_config_dll setupapi enable_setupapi implib
,po
17093 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17094 wine_fn_config_dll setupx.dll16 enable_win16
17095 wine_fn_config_dll sfc enable_sfc implib
17096 wine_fn_config_dll sfc_os enable_sfc_os implib
17097 wine_fn_config_dll shdoclc enable_shdoclc po
17098 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17099 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17100 wine_fn_config_dll shell.dll16 enable_win16
17101 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17102 wine_fn_config_test dlls
/shell32
/tests shell32_test
17103 wine_fn_config_dll shfolder enable_shfolder implib
17104 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17105 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17106 wine_fn_config_dll slbcsp enable_slbcsp
17107 wine_fn_config_dll slc enable_slc implib
17108 wine_fn_config_dll snmpapi enable_snmpapi implib
17109 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17110 wine_fn_config_dll softpub enable_softpub
17111 wine_fn_config_dll sound.drv16 enable_win16
17112 wine_fn_config_dll spoolss enable_spoolss implib
17113 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17114 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17115 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17116 wine_fn_config_dll sti enable_sti clean
,implib
17117 wine_fn_config_test dlls
/sti
/tests sti_test
17118 wine_fn_config_dll storage.dll16 enable_win16
17119 wine_fn_config_dll stress.dll16 enable_win16
17120 wine_fn_config_lib strmbase
17121 wine_fn_config_lib strmiids
17122 wine_fn_config_dll svrapi enable_svrapi
17123 wine_fn_config_dll sxs enable_sxs implib
17124 wine_fn_config_test dlls
/sxs
/tests sxs_test
17125 wine_fn_config_dll system.drv16 enable_win16
17126 wine_fn_config_dll t2embed enable_t2embed
17127 wine_fn_config_dll tapi32 enable_tapi32 implib
17128 wine_fn_config_dll toolhelp.dll16 enable_win16
17129 wine_fn_config_dll traffic enable_traffic
17130 wine_fn_config_dll twain.dll16 enable_win16
17131 wine_fn_config_dll twain_32 enable_twain_32
17132 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17133 wine_fn_config_dll typelib.dll16 enable_win16
17134 wine_fn_config_dll unicows enable_unicows implib
17135 wine_fn_config_dll updspapi enable_updspapi
17136 wine_fn_config_dll url enable_url implib
17137 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17138 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17139 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17140 wine_fn_config_dll user.exe16 enable_win16
17141 wine_fn_config_dll user32 enable_user32 implib
,po
17142 wine_fn_config_test dlls
/user32
/tests user32_test
17143 wine_fn_config_dll userenv enable_userenv implib
17144 wine_fn_config_test dlls
/userenv
/tests userenv_test
17145 wine_fn_config_dll usp10 enable_usp10 implib
17146 wine_fn_config_test dlls
/usp10
/tests usp10_test
17147 wine_fn_config_lib uuid
17148 wine_fn_config_dll uxtheme enable_uxtheme implib
17149 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17150 wine_fn_config_dll vbscript enable_vbscript clean
17151 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17152 wine_fn_config_dll vcomp enable_vcomp
17153 wine_fn_config_dll vcomp100 enable_vcomp100
17154 wine_fn_config_dll vcomp90 enable_vcomp90
17155 wine_fn_config_dll vdhcp.vxd enable_win16
17156 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17157 wine_fn_config_dll ver.dll16 enable_win16
17158 wine_fn_config_dll version enable_version implib
17159 wine_fn_config_test dlls
/version
/tests version_test
17160 wine_fn_config_dll vmm.vxd enable_win16
17161 wine_fn_config_dll vnbt.vxd enable_win16
17162 wine_fn_config_dll vnetbios.vxd enable_win16
17163 wine_fn_config_dll vtdapi.vxd enable_win16
17164 wine_fn_config_dll vwin32.vxd enable_win16
17165 wine_fn_config_dll w32skrnl enable_win16
17166 wine_fn_config_dll w32sys.dll16 enable_win16
17167 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17168 wine_fn_config_dll wbemprox enable_wbemprox clean
17169 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17170 wine_fn_config_dll webservices enable_webservices implib
17171 wine_fn_config_dll wer enable_wer implib
17172 wine_fn_config_test dlls
/wer
/tests wer_test
17173 wine_fn_config_dll wevtapi enable_wevtapi
17174 wine_fn_config_dll wiaservc enable_wiaservc clean
17175 wine_fn_config_dll win32s16.dll16 enable_win16
17176 wine_fn_config_dll win87em.dll16 enable_win16
17177 wine_fn_config_dll winaspi.dll16 enable_win16
17178 wine_fn_config_dll windebug.dll16 enable_win16
17179 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17180 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17181 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17182 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17183 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17184 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17185 wine_fn_config_lib winecrt0
17186 wine_fn_config_dll wined3d enable_wined3d implib
17187 wine_fn_config_dll winegstreamer enable_winegstreamer
17188 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17189 wine_fn_config_dll winemac.drv enable_winemac_drv
17190 wine_fn_config_dll winemapi enable_winemapi
17191 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17192 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17193 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
17194 wine_fn_config_dll wineps16.drv16 enable_win16
17195 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17196 wine_fn_config_dll winex11.drv enable_winex11_drv
17197 wine_fn_config_dll wing.dll16 enable_win16
17198 wine_fn_config_dll wing32 enable_wing32
17199 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17200 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17201 wine_fn_config_dll wininet enable_wininet implib
,po
17202 wine_fn_config_test dlls
/wininet
/tests wininet_test
17203 wine_fn_config_dll winmm enable_winmm implib
,po
17204 wine_fn_config_test dlls
/winmm
/tests winmm_test
17205 wine_fn_config_dll winnls.dll16 enable_win16
17206 wine_fn_config_dll winnls32 enable_winnls32 implib
17207 wine_fn_config_dll winscard enable_winscard implib
17208 wine_fn_config_dll winsock.dll16 enable_win16
17209 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17210 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17211 wine_fn_config_dll winsta enable_winsta
17212 wine_fn_config_dll wintab.dll16 enable_win16
17213 wine_fn_config_dll wintab32 enable_wintab32 implib
17214 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17215 wine_fn_config_dll wintrust enable_wintrust implib
17216 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17217 wine_fn_config_dll wlanapi enable_wlanapi
17218 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17219 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17220 wine_fn_config_dll wmi enable_wmi
17221 wine_fn_config_dll wmiutils enable_wmiutils clean
17222 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17223 wine_fn_config_dll wmvcore enable_wmvcore
17224 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17225 wine_fn_config_dll wow32 enable_win16 implib
17226 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17227 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17228 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17229 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17230 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17231 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17232 wine_fn_config_dll wsock32 enable_wsock32 implib
17233 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17234 wine_fn_config_dll wuapi enable_wuapi clean
17235 wine_fn_config_dll wuaueng enable_wuaueng
17236 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17237 wine_fn_config_dll xinput1_1 enable_xinput1_1
17238 wine_fn_config_dll xinput1_2 enable_xinput1_2
17239 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17240 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17241 wine_fn_config_dll xinput1_4 enable_xinput1_4
17242 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17243 wine_fn_config_dll xmllite enable_xmllite
17244 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17245 wine_fn_config_dll xolehlp enable_xolehlp
17246 wine_fn_config_dll xpsprint enable_xpsprint
17247 wine_fn_config_dll xpssvcs enable_xpssvcs
17248 wine_fn_config_makefile documentation enable_documentation clean
17249 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17250 wine_fn_config_makefile include enable_include clean
,install-dev
17251 wine_fn_config_makefile libs
/port enable_libs_port
17252 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17253 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17254 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17255 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17256 wine_fn_config_program attrib enable_attrib
install,po
17257 wine_fn_config_program cabarc enable_cabarc
install
17258 wine_fn_config_program cacls enable_cacls
install
17259 wine_fn_config_program
clock enable_clock
install,po
17260 wine_fn_config_program cmd enable_cmd
install,po
17261 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17262 wine_fn_config_program conhost enable_conhost
install
17263 wine_fn_config_program control enable_control
install
17264 wine_fn_config_program cscript enable_cscript
install
17265 wine_fn_config_program dxdiag enable_dxdiag
install,po
17266 wine_fn_config_program eject enable_eject
install
17267 wine_fn_config_program
expand enable_expand
install
17268 wine_fn_config_program explorer enable_explorer
install,po
17269 wine_fn_config_program extrac32 enable_extrac32
install
17270 wine_fn_config_program findstr enable_findstr
install
17271 wine_fn_config_program hh enable_hh
install
17272 wine_fn_config_program hostname enable_hostname
install,po
17273 wine_fn_config_program icinfo enable_icinfo
install
17274 wine_fn_config_program iexplore enable_iexplore
install
17275 wine_fn_config_program ipconfig enable_ipconfig
install,po
17276 wine_fn_config_program lodctr enable_lodctr
install
17277 wine_fn_config_program mofcomp enable_mofcomp
install
17278 wine_fn_config_program mshta enable_mshta
install
17279 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17280 wine_fn_config_program net enable_net
install,po
17281 wine_fn_config_program netsh enable_netsh
install
17282 wine_fn_config_program netstat enable_netstat
install,po
17283 wine_fn_config_program ngen enable_ngen
install
17284 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17285 wine_fn_config_program oleview enable_oleview
install,po
17286 wine_fn_config_program
ping enable_ping
install
17287 wine_fn_config_program plugplay enable_plugplay
install
17288 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17289 wine_fn_config_program progman enable_progman
install,po
17290 wine_fn_config_program reg enable_reg
install,po
17291 wine_fn_config_program regasm enable_regasm
install
17292 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17293 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17294 wine_fn_config_program regsvcs enable_regsvcs
install
17295 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17296 wine_fn_config_program rpcss enable_rpcss clean
,install
17297 wine_fn_config_program rundll.exe16 enable_win16
install
17298 wine_fn_config_program rundll32 enable_rundll32
install
17299 wine_fn_config_program sc enable_sc
install
17300 wine_fn_config_program schtasks enable_schtasks
install
17301 wine_fn_config_program secedit enable_secedit
install
17302 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17303 wine_fn_config_program services enable_services clean
,install
17304 wine_fn_config_test programs
/services
/tests services.exe_test
17305 wine_fn_config_program spoolsv enable_spoolsv
install
17306 wine_fn_config_program start enable_start
install,po
17307 wine_fn_config_program svchost enable_svchost
install
17308 wine_fn_config_program taskkill enable_taskkill
install,po
17309 wine_fn_config_program tasklist enable_tasklist
install
17310 wine_fn_config_program taskmgr enable_taskmgr
install,po
17311 wine_fn_config_program termsv enable_termsv
install
17312 wine_fn_config_program uninstaller enable_uninstaller
install,po
17313 wine_fn_config_program unlodctr enable_unlodctr
install
17314 wine_fn_config_program view enable_view
install,po
17315 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17316 wine_fn_config_program winebrowser enable_winebrowser
install
17317 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17318 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17319 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17320 wine_fn_config_program winedevice enable_winedevice
install
17321 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17322 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17323 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17324 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17325 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17326 wine_fn_config_program winetest enable_winetest clean
17327 wine_fn_config_program winevdm enable_win16
install
17328 wine_fn_config_program winhelp.exe16 enable_win16
install
17329 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17330 wine_fn_config_program winoldap.mod16 enable_win16
install
17331 wine_fn_config_program winver enable_winver
install
17332 wine_fn_config_program wmic enable_wmic
install,po
17333 wine_fn_config_program wordpad enable_wordpad
install,po
17334 wine_fn_config_program
write enable_write
install,po
17335 wine_fn_config_program wscript enable_wscript clean
,install
17336 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17337 wine_fn_config_program wusa enable_wusa
install
17338 wine_fn_config_program xcopy enable_xcopy
install,po
17339 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17340 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17341 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17342 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17343 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17344 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17345 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17346 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17397 ac_config_commands
="$ac_config_commands Makefile"
17400 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17404 if test "x$enable_maintainer_mode" = xyes
17406 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
17407 cd \$(srcdir) && autoconf --warnings=all
17408 \$(srcdir)/include/config.h.in: include/stamp-h.in
17409 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17410 cd \$(srcdir) && autoheader --warnings=all
17411 @echo timestamp > \$@"
17414 if test "x$with_gettextpo" = xyes
17416 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17417 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17418 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17419 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17420 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17421 msgcat -o \$@ \$(ALL_POT_FILES)"
17424 if test "$MSGFMT" != false
17426 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17428 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17433 if test "x$enable_tools" != xno
17435 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
17437 \$(RM) tools/makedep\$(EXEEXT)"
17440 if test -n "$with_wine64"
17442 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17443 fonts server tools:
17444 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17445 $with_wine64/loader/wine:
17446 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17447 $with_wine64/loader/wine-preloader:
17448 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17450 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17453 $as_echo " done" >&6
17454 cat >confcache
<<\_ACEOF
17455 # This file is a shell script that caches the results of configure
17456 # tests run on this system so they can be shared between configure
17457 # scripts and configure runs, see configure's option --config-cache.
17458 # It is not useful on other systems. If it contains results you don't
17459 # want to keep, you may remove or edit it.
17461 # config.status only pays attention to the cache file if you give it
17462 # the --recheck option to rerun configure.
17464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17466 # following values.
17470 # The following way of writing the cache mishandles newlines in values,
17471 # but we know of no workaround that is simple, portable, and efficient.
17472 # So, we kill variables containing newlines.
17473 # Ultrix sh set writes to stderr and can't be redirected directly,
17474 # and sets the high bit in the cache file unless we assign to the vars.
17476 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17477 eval ac_val
=\$
$ac_var
17481 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17482 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17485 _ | IFS | as_nl
) ;; #(
17486 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17487 *) { eval $ac_var=; unset $ac_var;} ;;
17493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17494 *${as_nl}ac_space
=\
*)
17495 # `set' does not quote correctly, so add quotes: double-quote
17496 # substitution turns \\\\ into \\, and sed turns \\ into \.
17499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17502 # `set' quotes correctly as required by POSIX, so do not add quotes.
17503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17516 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17517 if test -w "$cache_file"; then
17518 if test "x$cache_file" != "x/dev/null"; then
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17520 $as_echo "$as_me: updating cache $cache_file" >&6;}
17521 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17522 cat confcache
>"$cache_file"
17524 case $cache_file in #(
17526 mv -f confcache
"$cache_file"$$
&&
17527 mv -f "$cache_file"$$
"$cache_file" ;; #(
17529 mv -f confcache
"$cache_file" ;;
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17535 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17540 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17541 # Let make expand exec_prefix.
17542 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17544 DEFS
=-DHAVE_CONFIG_H
17549 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17550 # 1. Remove the extension, and $U if already installed.
17551 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17552 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17553 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17554 # will be set to the directory where LIBOBJS objects are built.
17555 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17556 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17558 LIBOBJS
=$ac_libobjs
17560 LTLIBOBJS
=$ac_ltlibobjs
17564 : "${CONFIG_STATUS=./config.status}"
17566 ac_clean_files_save
=$ac_clean_files
17567 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17569 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17571 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17573 # Generated by $as_me.
17574 # Run this file to recreate the current configuration.
17575 # Compiler output produced by configure, useful for debugging
17576 # configure, is in config.log if it exists.
17579 ac_cs_recheck=false
17582 SHELL=\${CONFIG_SHELL-$SHELL}
17585 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17586 ## -------------------- ##
17587 ## M4sh Initialization. ##
17588 ## -------------------- ##
17590 # Be more Bourne compatible
17591 DUALCASE
=1; export DUALCASE
# for MKS sh
17592 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17595 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17596 # is contrary to our usage. Disable this feature.
17597 alias -g '${1+"$@"}'='"$@"'
17598 setopt NO_GLOB_SUBST
17600 case `(set -o) 2>/dev/null` in #(
17612 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17613 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17616 # Prefer a ksh shell builtin over an external printf program on Solaris,
17617 # but without wasting forks for bash or zsh.
17618 if test -z "$BASH_VERSION$ZSH_VERSION" \
17619 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17620 as_echo='print
-r --'
17621 as_echo_n='print
-rn --'
17622 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17623 as_echo='printf %s
\n'
17624 as_echo_n='printf %s
'
17626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17627 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17628 as_echo_n='/usr
/ucb
/echo -n'
17630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17631 as_echo_n_body='eval
17635 expr "X$arg" : "X\\(.*\\)$as_nl";
17636 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17638 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17640 export as_echo_n_body
17641 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17643 export as_echo_body
17644 as_echo='sh
-c $as_echo_body as_echo
'
17647 # The user is always right.
17648 if test "${PATH_SEPARATOR+set}" != set; then
17650 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17651 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17658 # We need space, tab and new line, in precisely that order. Quoting is
17659 # there to prevent editors from complaining about space-tab.
17660 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17661 # splitting by setting IFS to empty value.)
17664 # Find who we are. Look in the path if we contain no directory separator.
17667 *[\\/]* ) as_myself=$0 ;;
17668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17669 for as_dir in $PATH
17672 test -z "$as_dir" && as_dir=.
17673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17679 # We did not find ourselves, most probably we were run as `sh COMMAND'
17680 # in which case we are not to be found in the path.
17681 if test "x$as_myself" = x
; then
17684 if test ! -f "$as_myself"; then
17685 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17689 # Unset variables that we do not need and which cause bugs (e.g. in
17690 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17691 # suppresses any "Segmentation fault" message there. '((' could
17692 # trigger a bug in pdksh 5.2.14.
17693 for as_var
in BASH_ENV ENV MAIL MAILPATH
17694 do eval test x\
${$as_var+set} = xset \
17695 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17708 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17711 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17712 # ----------------------------------------
17713 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17714 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17715 # script with STATUS, using 1 if that was 0.
17718 as_status
=$1; test $as_status -eq 0 && as_status
=1
17720 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17721 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17723 $as_echo "$as_me: error: $2" >&2
17724 as_fn_exit
$as_status
17728 # as_fn_set_status STATUS
17729 # -----------------------
17730 # Set $? to STATUS, without forking.
17731 as_fn_set_status
()
17734 } # as_fn_set_status
17736 # as_fn_exit STATUS
17737 # -----------------
17738 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17742 as_fn_set_status
$1
17748 # Portably unset VAR.
17751 { eval $1=; unset $1;}
17753 as_unset
=as_fn_unset
17754 # as_fn_append VAR VALUE
17755 # ----------------------
17756 # Append the text in VALUE to the end of the definition contained in VAR. Take
17757 # advantage of any shell optimizations that allow amortized linear growth over
17758 # repeated appends, instead of the typical quadratic growth present in naive
17760 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17761 eval 'as_fn_append ()
17772 # as_fn_arith ARG...
17773 # ------------------
17774 # Perform arithmetic evaluation on the ARGs, and store the result in the
17775 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17776 # must be portable across $(()) and expr.
17777 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17778 eval 'as_fn_arith ()
17785 as_val
=`expr "$@" || test $? -eq 1`
17790 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17791 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17797 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17798 as_basename
=basename
17803 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17809 as_me
=`$as_basename -- "$0" ||
17810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17811 X"$0" : 'X\(//\)$' \| \
17812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17814 sed '/^.*\/\([^/][^/]*\)\/*$/{
17828 # Avoid depending upon Character Ranges.
17829 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17830 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17831 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17832 as_cr_digits
='0123456789'
17833 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17835 ECHO_C
= ECHO_N
= ECHO_T
=
17836 case `echo -n x` in #(((((
17838 case `echo 'xy\c'` in
17839 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17841 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17848 rm -f conf$$ conf$$.exe conf$$.
file
17849 if test -d conf$$.dir
; then
17850 rm -f conf$$.dir
/conf$$.
file
17853 mkdir conf$$.dir
2>/dev
/null
17855 if (echo >conf$$.
file) 2>/dev
/null
; then
17856 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17858 # ... but there are two gotchas:
17859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17861 # In both cases, we have to default to `cp -pR'.
17862 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17864 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17872 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17873 rmdir conf$$.dir
2>/dev
/null
17878 # Create "$as_dir" as a directory, including parents if necessary.
17883 -*) as_dir
=.
/$as_dir;;
17885 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17889 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17890 *) as_qdir
=$as_dir;;
17892 as_dirs
="'$as_qdir' $as_dirs"
17893 as_dir
=`$as_dirname -- "$as_dir" ||
17894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17895 X"$as_dir" : 'X\(//\)[^/]' \| \
17896 X"$as_dir" : 'X\(//\)$' \| \
17897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17898 $as_echo X"$as_dir" |
17899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17903 /^X\(\/\/\)[^/].*/{
17916 test -d "$as_dir" && break
17918 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17919 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17923 if mkdir
-p .
2>/dev
/null
; then
17924 as_mkdir_p
='mkdir -p "$as_dir"'
17926 test -d .
/-p && rmdir .
/-p
17931 # as_fn_executable_p FILE
17932 # -----------------------
17933 # Test if FILE is an executable regular file.
17934 as_fn_executable_p
()
17936 test -f "$1" && test -x "$1"
17937 } # as_fn_executable_p
17938 as_test_x
='test -x'
17939 as_executable_p
=as_fn_executable_p
17941 # Sed expression to map a string onto a valid CPP name.
17942 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17944 # Sed expression to map a string onto a valid variable name.
17945 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17949 ## ----------------------------------- ##
17950 ## Main body of $CONFIG_STATUS script. ##
17951 ## ----------------------------------- ##
17953 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17956 # Save the log message, to keep $0 and so on meaningful, and to
17957 # report actual input values of CONFIG_FILES etc. instead of their
17958 # values after options handling.
17960 This file was extended by Wine $as_me 1.7.3, which was
17961 generated by GNU Autoconf 2.69. Invocation command line was
17963 CONFIG_FILES = $CONFIG_FILES
17964 CONFIG_HEADERS = $CONFIG_HEADERS
17965 CONFIG_LINKS = $CONFIG_LINKS
17966 CONFIG_COMMANDS = $CONFIG_COMMANDS
17969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17974 case $ac_config_files in *"
17975 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17978 case $ac_config_headers in *"
17979 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17984 # Files that config.status was made for.
17985 config_files="$ac_config_files"
17986 config_headers="$ac_config_headers"
17987 config_links="$ac_config_links"
17988 config_commands="$ac_config_commands"
17992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17994 \`$as_me' instantiates files and other configuration actions
17995 from templates according to the current configuration. Unless the files
17996 and actions are specified as TAGs, all are instantiated by default.
17998 Usage: $0 [OPTION]... [TAG]...
18000 -h, --help print this help, then exit
18001 -V, --version print version number and configuration settings, then exit
18002 --config print configuration, then exit
18003 -q, --quiet, --silent
18004 do not print progress messages
18005 -d, --debug don't remove temporary files
18006 --recheck update $as_me by reconfiguring in the same conditions
18007 --file=FILE[:TEMPLATE]
18008 instantiate the configuration file FILE
18009 --header=FILE[:TEMPLATE]
18010 instantiate the configuration header FILE
18012 Configuration files:
18015 Configuration headers:
18018 Configuration links:
18021 Configuration commands:
18024 Report bugs to <wine-devel@winehq.org>.
18025 Wine home page: <http://www.winehq.org>."
18028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18029 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18031 Wine config.status 1.7.3
18032 configured by $0, generated by GNU Autoconf 2.69,
18033 with options \\"\$ac_cs_config\\"
18035 Copyright (C) 2012 Free Software Foundation, Inc.
18036 This config.status script is free software; the Free Software Foundation
18037 gives unlimited permission to copy, distribute and modify it."
18043 test -n "\$AWK" || AWK=awk
18046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18047 # The default lists apply if the user does not specify any file.
18053 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18054 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18058 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18070 # Handling of the options.
18071 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18073 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18074 $as_echo "$ac_cs_version"; exit ;;
18075 --config |
--confi |
--conf |
--con |
--co |
--c )
18076 $as_echo "$ac_cs_config"; exit ;;
18077 --debug |
--debu |
--deb |
--de |
--d |
-d )
18079 --file |
--fil |
--fi |
--f )
18082 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18083 '') as_fn_error $?
"missing file argument" ;;
18085 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18086 ac_need_defaults
=false
;;
18087 --header |
--heade |
--head |
--hea )
18090 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18092 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18093 ac_need_defaults
=false
;;
18095 # Conflict between --help and --header
18096 as_fn_error $?
"ambiguous option: \`$1'
18097 Try \`$0 --help' for more information.";;
18098 --help |
--hel |
-h )
18099 $as_echo "$ac_cs_usage"; exit ;;
18100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18101 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18104 # This is an error.
18105 -*) as_fn_error $?
"unrecognized option: \`$1'
18106 Try \`$0 --help' for more information." ;;
18108 *) as_fn_append ac_config_targets
" $1"
18109 ac_need_defaults
=false
;;
18115 ac_configure_extra_args
=
18117 if $ac_cs_silent; then
18119 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18124 if \$ac_cs_recheck; then
18125 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18128 CONFIG_SHELL='$SHELL'
18129 export CONFIG_SHELL
18134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18139 ## Running $as_me. ##
18145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18149 wine_fn_output_makefile ()
18151 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18152 `cat $wine_rules_file`
18154 as_fn_error $? "could not create Makefile" "$LINENO" 5
18159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18161 # Handling of arguments.
18162 for ac_config_target
in $ac_config_targets
18164 case $ac_config_target in
18165 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18166 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18167 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18168 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
18169 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18170 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18171 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18172 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18173 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18174 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
18175 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18176 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18177 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18178 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18179 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18180 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18181 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18182 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18183 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18184 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18185 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
18186 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
18187 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18188 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
18189 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18190 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18192 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18197 # If the user did not use the arguments to specify the items to instantiate,
18198 # then the envvar interface is used. Set only those that are not.
18199 # We use the long form for the default assignment because of an extremely
18200 # bizarre bug on SunOS 4.1.3.
18201 if $ac_need_defaults; then
18202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18204 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18205 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18208 # Have a temporary directory for convenience. Make it in the build tree
18209 # simply because there is no reason against having it here, and in addition,
18210 # creating and moving files from /tmp can sometimes cause problems.
18211 # Hook for its removal unless debugging.
18212 # Note that there is a small window in which the directory will not be cleaned:
18213 # after its creation but before its name has been assigned to `$tmp'.
18217 trap 'exit_status=$?
18218 : "${ac_tmp:=$tmp}"
18219 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18221 trap 'as_fn_exit 1' 1 2 13 15
18223 # Create a (secure) tmp directory for tmp files.
18226 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18230 tmp
=.
/conf$$
-$RANDOM
18231 (umask 077 && mkdir
"$tmp")
18232 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18235 # Set up the scripts for CONFIG_FILES section.
18236 # No need to generate them if there are no CONFIG_FILES.
18237 # This happens for instance with `./config.status config.h'.
18238 if test -n "$CONFIG_FILES"; then
18240 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18241 ac_cs_awk_getline
=:
18242 ac_cs_awk_pipe_init
=
18243 ac_cs_awk_read_file
='
18244 while ((getline aline < (F[key])) > 0)
18247 ac_cs_awk_pipe_fini
=
18249 ac_cs_awk_getline
=false
18250 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18251 ac_cs_awk_read_file
='
18253 print "cat " F[key] " &&"
18254 '$ac_cs_awk_pipe_init
18255 # The final `:' finishes the AND list.
18256 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18258 ac_cr
=`echo X | tr X '\015'`
18259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18260 # But we know of no other shell where ac_cr would be empty at this
18261 # point, so we can use a bashism as a fallback.
18262 if test "x$ac_cr" = x
; then
18263 eval ac_cr
=\$
\'\\r
\'
18265 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18269 ac_cs_awk_cr
=$ac_cr
18272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18275 # Create commands to substitute file output variables.
18277 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18278 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18279 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18282 } >conf$
$files.sh
&&
18283 . .
/conf$
$files.sh ||
18284 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18285 rm -f conf$
$files.sh
18288 echo "cat >conf$$subs.awk <<_ACEOF" &&
18289 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18291 } >conf$$subs.sh ||
18292 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18295 for ac_last_try in false false false false false :; do
18296 . ./conf$$subs.sh ||
18297 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18299 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18300 if test $ac_delim_n = $ac_delim_num; then
18302 elif $ac_last_try; then
18303 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18305 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18308 rm -f conf$$subs.sh
18310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18311 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18315 s/^/S["/; s
/!.
*/"]=/
18325 s/\(.\{148\}\)..*/\1/
18327 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18332 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18339 s/\(.\{148\}\)..*/\1/
18341 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18345 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18350 ' <conf$$subs.awk | sed '
18355 ' >>$CONFIG_STATUS || ac_write_fail=1
18356 rm -f conf$$subs.awk
18357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18359 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18360 for (key in S) S_is_set[key] = 1
18362 \$ac_cs_awk_pipe_init
18366 nfields = split(line, field, "@
")
18368 len = length(field[1])
18369 for (i = 2; i < nfields; i++) {
18371 keylen = length(key)
18372 if (S_is_set[key]) {
18374 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18375 len += length(value) + length(field[++i])
18380 if (nfields == 3 && !substed) {
18382 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18383 \$ac_cs_awk_read_file
18389 \$ac_cs_awk_pipe_fini
18392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18393 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18394 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18397 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18398 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18401 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18402 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18403 # trailing colons and then remove the whole line if VPATH becomes empty
18404 # (actually we leave an empty line to preserve line numbers).
18405 if test "x
$srcdir" = x.; then
18406 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 fi # test -n "$CONFIG_FILES"
18427 # Set up the scripts for CONFIG_HEADERS section.
18428 # No need to generate them if there are no CONFIG_HEADERS.
18429 # This happens for instance with `./config.status Makefile'.
18430 if test -n "$CONFIG_HEADERS"; then
18431 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18435 # Transform confdefs.h into an awk script `defines.awk', embedded as
18436 # here-document in config.status, that substitutes the proper values into
18437 # config.h.in to produce config.h.
18439 # Create a delimiter string that does not exist in confdefs.h, to ease
18440 # handling of long lines.
18442 for ac_last_try in false false :; do
18443 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18444 if test -z "$ac_tt"; then
18446 elif $ac_last_try; then
18447 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18449 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18453 # For the awk script, D is an array of macro values keyed by name,
18454 # likewise P contains macro parameters if any. Preserve backslash
18455 # newline sequences.
18457 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18459 s/.\{148\}/&'"$ac_delim"'/g
18462 s/^[ ]*#[ ]*define[ ][ ]*/ /
18469 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18471 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18475 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18476 D["\
1"]=" \
3\\\\\\n
"\\/p
18478 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18483 s/.\{148\}/&'"$ac_delim"'/g
18488 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18491 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18493 ' <confdefs.h | sed '
18494 s/'"$ac_delim"'/"\\\
18495 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18498 for (key in D) D_is_set[key] = 1
18501 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18503 split(line, arg, " ")
18504 if (arg[1] == "#") {
18508 defundef
= substr
(arg
[1], 2)
18511 split(mac1
, mac2
, "(") #)
18513 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18514 if (D_is_set
[macro
]) {
18515 # Preserve the white space surrounding the "#".
18516 print prefix
"define", macro P
[macro
] D
[macro
]
18519 # Replace #undef with comments. This is necessary, for example,
18520 # in the case of _POSIX_SOURCE, which is predefined and required
18521 # on some systems where configure will not decide to define it.
18522 if (defundef
== "undef") {
18523 print
"/*", prefix defundef
, macro
, "*/"
18531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18532 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18533 fi # test -n "$CONFIG_HEADERS"
18536 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18541 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18543 case $ac_mode$ac_tag in
18545 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18546 :[FH
]-) ac_tag
=-:-;;
18547 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18564 -) ac_f
="$ac_tmp/stdin";;
18565 *) # Look for the file first in the build tree, then in the source tree
18566 # (if the path is not absolute). The absolute path cannot be DOS-style,
18567 # because $ac_f cannot contain `:'.
18571 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18573 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18575 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18576 as_fn_append ac_file_inputs
" '$ac_f'"
18579 # Let's still pretend it is `configure' which instantiates (i.e., don't
18580 # use $as_me), people would be surprised to read:
18581 # /* config.h. Generated by config.status. */
18582 configure_input
='Generated from '`
18583 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18585 if test x
"$ac_file" != x-
; then
18586 configure_input
="$ac_file. $configure_input"
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18588 $as_echo "$as_me: creating $ac_file" >&6;}
18590 # Neutralize special characters interpreted by sed in replacement strings.
18591 case $configure_input in #(
18592 *\
&* |
*\|
* |
*\\* )
18593 ac_sed_conf_input
=`$as_echo "$configure_input" |
18594 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18595 *) ac_sed_conf_input
=$configure_input;;
18599 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18600 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18605 ac_dir
=`$as_dirname -- "$ac_file" ||
18606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18607 X"$ac_file" : 'X\(//\)[^/]' \| \
18608 X"$ac_file" : 'X\(//\)$' \| \
18609 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18610 $as_echo X"$ac_file" |
18611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18615 /^X\(\/\/\)[^/].*/{
18628 as_dir
="$ac_dir"; as_fn_mkdir_p
18632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18634 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18635 # A ".." for each directory in $ac_dir_suffix.
18636 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18637 case $ac_top_builddir_sub in
18638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18642 ac_abs_top_builddir
=$ac_pwd
18643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18644 # for backward compatibility:
18645 ac_top_builddir
=$ac_top_build_prefix
18648 .
) # We are building in place.
18650 ac_top_srcdir
=$ac_top_builddir_sub
18651 ac_abs_top_srcdir
=$ac_pwd ;;
18652 [\\/]* | ?
:[\\/]* ) # Absolute name.
18653 ac_srcdir
=$srcdir$ac_dir_suffix;
18654 ac_top_srcdir
=$srcdir
18655 ac_abs_top_srcdir
=$srcdir ;;
18656 *) # Relative name.
18657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18671 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18672 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18674 ac_MKDIR_P
=$MKDIR_P
18676 [\\/$
]* | ?
:[\\/]* ) ;;
18677 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18682 # If the template does not know about datarootdir, expand it.
18683 # FIXME: This hack should be removed a few years after 2.60.
18684 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18695 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18696 *datarootdir
*) ac_datarootdir_seen
=yes;;
18697 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18699 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18702 ac_datarootdir_hack='
18703 s&@datadir@&$datadir&g
18704 s&@docdir@&$docdir&g
18705 s&@infodir@&$infodir&g
18706 s&@localedir@&$localedir&g
18707 s&@mandir@&$mandir&g
18708 s&\\\${datarootdir}&$datarootdir&g' ;;
18712 # Neutralize VPATH when `$srcdir' = `.'.
18713 # Shell code in configure.ac might set extrasub.
18714 # FIXME: do we really want to maintain this feature?
18715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18716 ac_sed_extra="$ac_vpsub
18719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18721 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18722 s|@configure_input@|
$ac_sed_conf_input|
;t t
18723 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18724 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18725 s
&@srcdir@
&$ac_srcdir&;t t
18726 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18727 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18728 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18729 s
&@builddir@
&$ac_builddir&;t t
18730 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18731 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18732 s
&@INSTALL@
&$ac_INSTALL&;t t
18733 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18734 $ac_datarootdir_hack
18736 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18737 if $ac_cs_awk_getline; then
18738 $AWK -f "$ac_tmp/subs.
awk"
18740 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18742 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18745 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18747 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18749 which seems to be undefined. Please make sure it is defined" >&5
18750 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18751 which seems to be undefined. Please make sure it is defined" >&2;}
18753 rm -f "$ac_tmp/stdin"
18755 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18756 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18764 if test x"$ac_file" != x-; then
18766 $as_echo "/* $configure_input */" \
18767 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18768 } >"$ac_tmp/config.h" \
18769 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18770 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18772 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18775 mv "$ac_tmp/config.h" "$ac_file" \
18776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18779 $as_echo "/* $configure_input */" \
18780 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18781 || as_fn_error $? "could not create -" "$LINENO" 5
18789 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18792 # Prefer the file from the source tree if names are identical.
18793 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18794 ac_source=$srcdir/$ac_source
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18798 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18800 if test ! -r "$ac_source"; then
18801 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18805 # Try a relative symlink, then a hard link, then a copy.
18807 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18808 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18810 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18811 ln "$ac_source" "$ac_file" 2>/dev/null ||
18812 cp -p "$ac_source" "$ac_file" ||
18813 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18816 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18817 $as_echo "$as_me: executing $ac_file commands" >&6;}
18822 case $ac_file$ac_mode in
18823 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18824 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18825 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18826 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18827 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18828 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18829 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18830 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18831 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18832 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18833 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18834 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18835 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18836 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18837 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18838 "Makefile":C) wine_fn_output_makefile Makefile ;;
18846 ac_clean_files=$ac_clean_files_save
18848 test $ac_write_fail = 0 ||
18849 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18852 # configure is writing to config.log, and then calls config.status.
18853 # config.status does its own redirection, appending to config.log.
18854 # Unfortunately, on DOS this fails, as config.log is still kept open
18855 # by configure, so config.status won't be able to
write to it
; its
18856 # output is simply discarded. So we exec the FD to /dev/null,
18857 # effectively closing config.log, so it can be properly (re)opened and
18858 # appended to by config.status. When coming back to configure, we
18859 # need to make the FD available again.
18860 if test "$no_create" != yes; then
18862 ac_config_status_args
=
18863 test "$silent" = yes &&
18864 ac_config_status_args
="$ac_config_status_args --quiet"
18866 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18868 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18869 # would make configure fail if this is the last instruction.
18870 $ac_cs_success || as_fn_exit
1
18872 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18874 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18878 if test "$no_create" = "yes"
18884 if test "x$wine_notices != "x
; then
18887 for msg
in $wine_notices; do
18889 if test -n "$msg"; then
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18891 $as_echo "$as_me: $msg" >&6;}
18896 for msg
in $wine_warnings; do
18898 if test -n "$msg"; then
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18901 $as_echo "$as_me: WARNING: $msg" >&2;}
18907 $as_me: Finished. Do '${ac_make}' to compile Wine.