2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.8.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='7.8'
615 PACKAGE_STRING
='Wine 7.8'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
736 EXCESS_PRECISION_CFLAGS
756 SYSTEMCONFIGURATION_LIBS
759 APPLICATIONSERVICES_LIBS
773 WINEPRELOADER_LDFLAGS
861 program_transform_name
874 enable_option_checking
879 enable_maintainer_mode
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1061 enable_directmanipulation
1098 enable_explorerframe
1153 enable_light_msstyles
1168 enable_mfmediaengine
1229 enable_msvcp140_atomic_wait
1296 enable_photometadatahandler
1377 enable_uiautomationcore
1397 enable_vcruntime140_1
1415 enable_windows_devices_enumeration
1416 enable_windows_gaming_input
1417 enable_windows_globalization
1418 enable_windows_media_devices
1419 enable_windows_media_speech
1420 enable_windows_networking
1421 enable_windowscodecs
1422 enable_windowscodecsext
1424 enable_wineandroid_drv
1426 enable_winecoreaudio_drv
1429 enable_winegstreamer
1435 enable_winepulse_drv
1439 enable_winexinput_sys
1484 enable_xactengine2_0
1485 enable_xactengine2_4
1486 enable_xactengine2_7
1487 enable_xactengine2_9
1488 enable_xactengine3_0
1489 enable_xactengine3_1
1490 enable_xactengine3_2
1491 enable_xactengine3_3
1492 enable_xactengine3_4
1493 enable_xactengine3_5
1494 enable_xactengine3_6
1495 enable_xactengine3_7
1542 enable_wmcodecdspuuid
1550 enable_aspnet_regiis
1595 enable_presentationfontcache
1610 enable_servicemodelreg
1635 enable_winemenubuilder
1637 enable_winemsibuilder
1662 ac_precious_vars
='build_alias
1743 # Initialize some variables set by options.
1745 ac_init_version
=false
1746 ac_unrecognized_opts
=
1747 ac_unrecognized_sep
=
1748 # The variables have the same names as the options, with
1749 # dashes changed to underlines.
1750 cache_file
=/dev
/null
1757 program_transform_name
=s
,x
,x
,
1765 # Installation directory options.
1766 # These are left unexpanded so users can "make install exec_prefix=/foo"
1767 # and all the variables that are supposed to be based on exec_prefix
1768 # by default will actually change.
1769 # Use braces instead of parens because sh, perl, etc. also accept them.
1770 # (The list follows the same order as the GNU Coding Standards.)
1771 bindir
='${exec_prefix}/bin'
1772 sbindir
='${exec_prefix}/sbin'
1773 libexecdir
='${exec_prefix}/libexec'
1774 datarootdir
='${prefix}/share'
1775 datadir
='${datarootdir}'
1776 sysconfdir
='${prefix}/etc'
1777 sharedstatedir
='${prefix}/com'
1778 localstatedir
='${prefix}/var'
1779 runstatedir
='${localstatedir}/run'
1780 includedir
='${prefix}/include'
1781 oldincludedir
='/usr/include'
1782 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1783 infodir
='${datarootdir}/info'
1788 libdir
='${exec_prefix}/lib'
1789 localedir
='${datarootdir}/locale'
1790 mandir
='${datarootdir}/man'
1796 # If the previous option needs an argument, assign it.
1797 if test -n "$ac_prev"; then
1798 eval $ac_prev=\
$ac_option
1804 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1809 case $ac_dashdash$ac_option in
1813 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1815 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1816 bindir
=$ac_optarg ;;
1818 -build |
--build |
--buil |
--bui |
--bu)
1819 ac_prev
=build_alias
;;
1820 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1821 build_alias
=$ac_optarg ;;
1823 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1824 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1825 ac_prev
=cache_file
;;
1826 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1827 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1828 cache_file
=$ac_optarg ;;
1830 --config-cache |
-C)
1831 cache_file
=config.cache
;;
1833 -datadir |
--datadir |
--datadi |
--datad)
1835 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1836 datadir
=$ac_optarg ;;
1838 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1839 |
--dataroo |
--dataro |
--datar)
1840 ac_prev
=datarootdir
;;
1841 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1842 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1843 datarootdir
=$ac_optarg ;;
1845 -disable-* |
--disable-*)
1846 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1847 # Reject names that are not valid shell variable names.
1848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1849 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1850 ac_useropt_orig
=$ac_useropt
1851 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1852 case $ac_user_opts in
1854 "enable_
$ac_useropt"
1856 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1857 ac_unrecognized_sep
=', ';;
1859 eval enable_
$ac_useropt=no
;;
1861 -docdir |
--docdir |
--docdi |
--doc |
--do)
1863 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1864 docdir
=$ac_optarg ;;
1866 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1868 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1869 dvidir
=$ac_optarg ;;
1871 -enable-* |
--enable-*)
1872 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1875 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1876 ac_useropt_orig
=$ac_useropt
1877 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1880 "enable_
$ac_useropt"
1882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1883 ac_unrecognized_sep
=', ';;
1885 eval enable_
$ac_useropt=\
$ac_optarg ;;
1887 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1888 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1889 |
--exec |
--exe |
--ex)
1890 ac_prev
=exec_prefix
;;
1891 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1892 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1893 |
--exec=* |
--exe=* |
--ex=*)
1894 exec_prefix
=$ac_optarg ;;
1896 -gas |
--gas |
--ga |
--g)
1897 # Obsolete; use --with-gas.
1900 -help |
--help |
--hel |
--he |
-h)
1901 ac_init_help
=long
;;
1902 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1903 ac_init_help
=recursive
;;
1904 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1905 ac_init_help
=short
;;
1907 -host |
--host |
--hos |
--ho)
1908 ac_prev
=host_alias
;;
1909 -host=* |
--host=* |
--hos=* |
--ho=*)
1910 host_alias
=$ac_optarg ;;
1912 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1914 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1916 htmldir
=$ac_optarg ;;
1918 -includedir |
--includedir |
--includedi |
--included |
--include \
1919 |
--includ |
--inclu |
--incl |
--inc)
1920 ac_prev
=includedir
;;
1921 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1922 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1923 includedir
=$ac_optarg ;;
1925 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1927 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1928 infodir
=$ac_optarg ;;
1930 -libdir |
--libdir |
--libdi |
--libd)
1932 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1933 libdir
=$ac_optarg ;;
1935 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1936 |
--libexe |
--libex |
--libe)
1937 ac_prev
=libexecdir
;;
1938 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1939 |
--libexe=* |
--libex=* |
--libe=*)
1940 libexecdir
=$ac_optarg ;;
1942 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1943 ac_prev
=localedir
;;
1944 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1945 localedir
=$ac_optarg ;;
1947 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1948 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1949 ac_prev
=localstatedir
;;
1950 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1951 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1952 localstatedir
=$ac_optarg ;;
1954 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1956 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1957 mandir
=$ac_optarg ;;
1959 -nfp |
--nfp |
--nf)
1960 # Obsolete; use --without-fp.
1963 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1964 |
--no-cr |
--no-c |
-n)
1967 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1968 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1971 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1972 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1973 |
--oldin |
--oldi |
--old |
--ol |
--o)
1974 ac_prev
=oldincludedir
;;
1975 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1976 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1977 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1978 oldincludedir
=$ac_optarg ;;
1980 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1982 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1983 prefix
=$ac_optarg ;;
1985 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1986 |
--program-pre |
--program-pr |
--program-p)
1987 ac_prev
=program_prefix
;;
1988 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1989 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1990 program_prefix
=$ac_optarg ;;
1992 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1993 |
--program-suf |
--program-su |
--program-s)
1994 ac_prev
=program_suffix
;;
1995 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1996 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1997 program_suffix
=$ac_optarg ;;
1999 -program-transform-name |
--program-transform-name \
2000 |
--program-transform-nam |
--program-transform-na \
2001 |
--program-transform-n |
--program-transform- \
2002 |
--program-transform |
--program-transfor \
2003 |
--program-transfo |
--program-transf \
2004 |
--program-trans |
--program-tran \
2005 |
--progr-tra |
--program-tr |
--program-t)
2006 ac_prev
=program_transform_name
;;
2007 -program-transform-name=* |
--program-transform-name=* \
2008 |
--program-transform-nam=* |
--program-transform-na=* \
2009 |
--program-transform-n=* |
--program-transform-=* \
2010 |
--program-transform=* |
--program-transfor=* \
2011 |
--program-transfo=* |
--program-transf=* \
2012 |
--program-trans=* |
--program-tran=* \
2013 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2014 program_transform_name
=$ac_optarg ;;
2016 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2018 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2019 pdfdir
=$ac_optarg ;;
2021 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2023 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2026 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2027 |
-silent |
--silent |
--silen |
--sile |
--sil)
2030 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2031 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2032 |
--run |
--ru |
--r)
2033 ac_prev
=runstatedir
;;
2034 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2035 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2036 |
--run=* |
--ru=* |
--r=*)
2037 runstatedir
=$ac_optarg ;;
2039 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2041 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2043 sbindir
=$ac_optarg ;;
2045 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2046 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2047 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2049 ac_prev
=sharedstatedir
;;
2050 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2051 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2052 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2054 sharedstatedir
=$ac_optarg ;;
2056 -site |
--site |
--sit)
2058 -site=* |
--site=* |
--sit=*)
2061 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2063 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2064 srcdir
=$ac_optarg ;;
2066 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2067 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2068 ac_prev
=sysconfdir
;;
2069 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2070 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2071 sysconfdir
=$ac_optarg ;;
2073 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2074 ac_prev
=target_alias
;;
2075 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2076 target_alias
=$ac_optarg ;;
2078 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2081 -version |
--version |
--versio |
--versi |
--vers |
-V)
2082 ac_init_version
=: ;;
2085 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2086 # Reject names that are not valid shell variable names.
2087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2088 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2089 ac_useropt_orig
=$ac_useropt
2090 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2091 case $ac_user_opts in
2095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2096 ac_unrecognized_sep
=', ';;
2098 eval with_
$ac_useropt=\
$ac_optarg ;;
2100 -without-* |
--without-*)
2101 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2102 # Reject names that are not valid shell variable names.
2103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2104 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2105 ac_useropt_orig
=$ac_useropt
2106 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2107 case $ac_user_opts in
2111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2112 ac_unrecognized_sep
=', ';;
2114 eval with_
$ac_useropt=no
;;
2117 # Obsolete; use --with-x.
2120 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2121 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2122 ac_prev
=x_includes
;;
2123 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2124 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2125 x_includes
=$ac_optarg ;;
2127 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2128 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2129 ac_prev
=x_libraries
;;
2130 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2131 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2132 x_libraries
=$ac_optarg ;;
2134 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2135 Try \`$0 --help' for more information"
2139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2140 # Reject names that are not valid shell variable names.
2141 case $ac_envvar in #(
2142 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2143 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2145 eval $ac_envvar=\
$ac_optarg
2146 export $ac_envvar ;;
2149 # FIXME: should be removed in autoconf 3.0.
2150 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2152 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2159 if test -n "$ac_prev"; then
2160 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2161 as_fn_error $?
"missing argument to $ac_option"
2164 if test -n "$ac_unrecognized_opts"; then
2165 case $enable_option_checking in
2167 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2168 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2172 # Check all directory arguments for consistency.
2173 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2174 datadir sysconfdir sharedstatedir localstatedir includedir \
2175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2176 libdir localedir mandir runstatedir
2178 eval ac_val
=\$
$ac_var
2179 # Remove trailing slashes.
2182 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2183 eval $ac_var=\
$ac_val;;
2185 # Be sure to have absolute directory names.
2187 [\\/$
]* | ?
:[\\/]* ) continue;;
2188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2190 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2193 # There might be people who depend on the old broken behavior: `$host'
2194 # used to hold the argument of --host etc.
2195 # FIXME: To remove some day.
2198 target
=$target_alias
2200 # FIXME: To remove some day.
2201 if test "x$host_alias" != x
; then
2202 if test "x$build_alias" = x
; then
2203 cross_compiling
=maybe
2204 elif test "x$build_alias" != "x$host_alias"; then
2210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2212 test "$silent" = yes && exec 6>/dev
/null
2215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2216 ac_ls_di
=`ls -di .` &&
2217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2218 as_fn_error $?
"working directory cannot be determined"
2219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2220 as_fn_error $?
"pwd does not report name of working directory"
2223 # Find the source files, if location was not specified.
2224 if test -z "$srcdir"; then
2225 ac_srcdir_defaulted
=yes
2226 # Try the directory containing this script, then the parent directory.
2227 ac_confdir
=`$as_dirname -- "$as_myself" ||
2228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2229 X"$as_myself" : 'X\(//\)[^/]' \| \
2230 X"$as_myself" : 'X\(//\)$' \| \
2231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2232 printf "%s\n" X"$as_myself" |
2233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2251 if test ! -r "$srcdir/$ac_unique_file"; then
2255 ac_srcdir_defaulted
=no
2257 if test ! -r "$srcdir/$ac_unique_file"; then
2258 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2259 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2261 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2265 # When building in place, set srcdir=.
2266 if test "$ac_abs_confdir" = "$ac_pwd"; then
2269 # Remove unnecessary trailing slashes from srcdir.
2270 # Double slashes in file names in object file debugging info
2271 # mess up M-x gdb in Emacs.
2273 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2275 for ac_var
in $ac_precious_vars; do
2276 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2277 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2278 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2279 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2283 # Report the --help message.
2285 if test "$ac_init_help" = "long"; then
2286 # Omit some internal or obsolete options to make the list less imposing.
2287 # This message is too long to be a string in the A/UX 3.1 sh.
2289 \`configure' configures Wine 7.8 to adapt to many kinds of systems.
2291 Usage: $0 [OPTION]... [VAR=VALUE]...
2293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2294 VAR=VALUE. See below for descriptions of some of the useful variables.
2296 Defaults for the options are specified in brackets.
2299 -h, --help display this help and exit
2300 --help=short display options specific to this package
2301 --help=recursive display the short help of all the included packages
2302 -V, --version display version information and exit
2303 -q, --quiet, --silent do not print \`checking ...' messages
2304 --cache-file=FILE cache test results in FILE [disabled]
2305 -C, --config-cache alias for \`--cache-file=config.cache'
2306 -n, --no-create do not create output files
2307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2309 Installation directories:
2310 --prefix=PREFIX install architecture-independent files in PREFIX
2311 [$ac_default_prefix]
2312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2315 By default, \`make install' will install all the files in
2316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2318 for instance \`--prefix=\$HOME'.
2320 For better control, use the options below.
2322 Fine tuning of the installation directories:
2323 --bindir=DIR user executables [EPREFIX/bin]
2324 --sbindir=DIR system admin executables [EPREFIX/sbin]
2325 --libexecdir=DIR program executables [EPREFIX/libexec]
2326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2329 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2330 --libdir=DIR object code libraries [EPREFIX/lib]
2331 --includedir=DIR C header files [PREFIX/include]
2332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2335 --infodir=DIR info documentation [DATAROOTDIR/info]
2336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2337 --mandir=DIR man documentation [DATAROOTDIR/man]
2338 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2339 --htmldir=DIR html documentation [DOCDIR]
2340 --dvidir=DIR dvi documentation [DOCDIR]
2341 --pdfdir=DIR pdf documentation [DOCDIR]
2342 --psdir=DIR ps documentation [DOCDIR]
2348 --x-includes=DIR X include files are
in DIR
2349 --x-libraries=DIR X library files are
in DIR
2352 --build=BUILD configure
for building on BUILD
[guessed
]
2353 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2357 if test -n "$ac_init_help"; then
2358 case $ac_init_help in
2359 short | recursive
) echo "Configuration of Wine 7.8:";;
2364 --disable-option-checking ignore unrecognized
--enable/--with options
2365 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2366 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2367 --disable-win16 do not include Win16 support
2368 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2370 --disable-tests do not build the regression tests
2371 --enable-build-id include .buildid section in output objects
2372 --enable-maintainer-mode
2373 enable maintainer-specific build rules
2374 --enable-silent-rules use silent build rules (override: "make V=1")
2375 --enable-werror treat compilation warnings as errors
2376 --disable-largefile omit support for large files
2379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2381 --without-alsa do not use the Alsa sound support
2382 --without-capi do not use CAPI (ISDN support)
2383 --without-coreaudio do not use the CoreAudio sound support
2384 --without-cups do not use CUPS
2385 --without-dbus do not use DBus (dynamic device support)
2386 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2387 --without-fontconfig do not use fontconfig
2388 --without-freetype do not use the FreeType library
2389 --without-gettext do not use gettext
2390 --with-gettextpo use the GetTextPO library to rebuild po files
2391 --without-gphoto do not use gphoto (Digital Camera support)
2392 --without-gnutls do not use GnuTLS (schannel support)
2393 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2394 --without-gstreamer do not use GStreamer (codecs support)
2395 --without-inotify do not use inotify (filesystem change notifications)
2396 --without-krb5 do not use krb5 (Kerberos)
2397 --without-ldap do not use LDAP
2398 --without-mingw do not use the MinGW cross-compiler
2399 --without-netapi do not use the Samba NetAPI library
2400 --without-openal do not use OpenAL
2401 --without-opencl do not use OpenCL
2402 --without-opengl do not use OpenGL
2403 --without-osmesa do not use the OSMesa library
2404 --without-oss do not use the OSS sound support
2405 --without-pcap do not use the Packet Capture library
2406 --without-pthread do not use the pthread library
2407 --without-pulse do not use PulseAudio sound support
2408 --without-sane do not use SANE (scanner support)
2409 --without-sdl do not use SDL
2410 --without-udev do not use udev (plug and play support)
2411 --without-unwind do not use the libunwind library (exception
2413 --without-usb do not use the libusb library
2414 --without-v4l2 do not use v4l2 (video capture)
2415 --without-vulkan do not use Vulkan
2416 --without-xcomposite do not use the Xcomposite extension
2417 --without-xcursor do not use the Xcursor extension
2418 --without-xfixes do not use Xfixes for clipboard change notifications
2419 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2420 --without-xinput do not use the Xinput extension
2421 --without-xinput2 do not use the Xinput 2 extension
2422 --without-xrandr do not use Xrandr (multi-monitor support)
2423 --without-xrender do not use the Xrender extension
2424 --without-xshape do not use the Xshape extension
2425 --without-xshm do not use XShm (shared memory extension)
2426 --without-xxf86vm do not use XFree video mode extension
2427 --with-system-dllpath=PATH
2428 load external PE dependencies from colon-separated
2430 --with-wine-tools=DIR use Wine tools from directory DIR
2431 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2432 --with-x use the X Window System
2434 Some influential environment variables:
2435 CC C compiler command
2436 CFLAGS C compiler flags
2437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2438 nonstandard directory <lib dir>
2439 LIBS libraries to pass to the linker, e.g. -l<library>
2440 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2441 you have headers in a nonstandard directory <include dir>
2442 CXX C++ compiler command
2443 CXXFLAGS C++ compiler flags
2444 OBJC Objective C compiler command
2445 OBJCFLAGS Objective C compiler flags
2447 C compiler flags for the PE faudio, overriding the bundled
2450 Linker flags for the PE faudio, overriding the bundled version
2452 C compiler flags for the PE gsm, overriding the bundled version
2453 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2455 C compiler flags for the PE jpeg, overriding the bundled version
2457 Linker flags for the PE jpeg, overriding the bundled version
2459 C compiler flags for the PE jxr, overriding the bundled version
2460 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2462 C compiler flags for the PE lcms2, overriding the bundled
2465 Linker flags for the PE lcms2, overriding the bundled version
2467 C compiler flags for the PE mpg123, overriding the bundled
2470 Linker flags for the PE mpg123, overriding the bundled version
2472 C compiler flags for the PE png, overriding the bundled version
2473 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2475 C compiler flags for the PE tiff, overriding the bundled version
2477 Linker flags for the PE tiff, overriding the bundled version
2479 C compiler flags for the PE vkd3d, overriding the bundled
2482 Linker flags for the PE vkd3d, overriding the bundled version
2484 C compiler flags for the PE xml2, overriding the bundled version
2486 Linker flags for the PE xml2, overriding the bundled version
2488 C compiler flags for the PE xslt, overriding the bundled version
2490 Linker flags for the PE xslt, overriding the bundled version
2492 C compiler flags for the PE zlib, overriding the bundled version
2494 Linker flags for the PE zlib, overriding the bundled version
2495 XMKMF Path to xmkmf, Makefile generator for X Window System
2498 C compiler flags for libinotify, overriding pkg-config
2500 Linker flags for libinotify, overriding pkg-config
2501 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2502 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2504 C compiler flags for gnutls, overriding pkg-config
2505 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2506 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2507 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2508 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2509 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2511 C compiler flags for libgphoto2, overriding pkg-config
2513 Linker flags for libgphoto2, overriding pkg-config
2515 C compiler flags for libgphoto2_port, overriding pkg-config
2517 Linker flags for libgphoto2_port, overriding pkg-config
2519 C compiler flags for freetype2, overriding pkg-config
2521 Linker flags for freetype2, overriding pkg-config
2523 C compiler flags for libpulse, overriding pkg-config
2524 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2526 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2527 gstreamer-audio-1.0, overriding pkg-config
2529 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2530 gstreamer-audio-1.0, overriding pkg-config
2531 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2532 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2534 C compiler flags for libunwind, overriding pkg-config
2535 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2536 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2537 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2539 C compiler flags for capi20, overriding pkg-config
2540 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2541 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2542 CUPS_LIBS Linker flags for cups, overriding pkg-config
2544 C compiler flags for fontconfig, overriding pkg-config
2546 Linker flags for fontconfig, overriding pkg-config
2547 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2548 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2550 C compiler flags for krb5-gssapi, overriding pkg-config
2551 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2553 C compiler flags for netapi, overriding pkg-config
2554 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2555 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2556 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2558 Use these variables to override the choices made by `configure' or to
help
2559 it to
find libraries and programs with nonstandard names
/locations.
2561 Report bugs to
<wine-devel@winehq.org
>.
2562 Wine home page
: <https
://www.winehq.org
>.
2567 if test "$ac_init_help" = "recursive"; then
2568 # If there are subdirs, report their specific --help.
2569 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2570 test -d "$ac_dir" ||
2571 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2576 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2578 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2579 # A ".." for each directory in $ac_dir_suffix.
2580 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2581 case $ac_top_builddir_sub in
2582 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2583 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2586 ac_abs_top_builddir
=$ac_pwd
2587 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2588 # for backward compatibility:
2589 ac_top_builddir
=$ac_top_build_prefix
2592 .
) # We are building in place.
2594 ac_top_srcdir
=$ac_top_builddir_sub
2595 ac_abs_top_srcdir
=$ac_pwd ;;
2596 [\\/]* | ?
:[\\/]* ) # Absolute name.
2597 ac_srcdir
=$srcdir$ac_dir_suffix;
2598 ac_top_srcdir
=$srcdir
2599 ac_abs_top_srcdir
=$srcdir ;;
2601 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2602 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2603 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2605 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2607 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2608 # Check for configure.gnu first; this name is used for a wrapper for
2609 # Metaconfig's "Configure" on case-insensitive file systems.
2610 if test -f "$ac_srcdir/configure.gnu"; then
2612 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2613 elif test -f "$ac_srcdir/configure"; then
2615 $SHELL "$ac_srcdir/configure" --help=recursive
2617 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2619 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2623 test -n "$ac_init_help" && exit $ac_status
2624 if $ac_init_version; then
2627 generated by GNU Autoconf
2.71
2629 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2630 This configure
script is free software
; the Free Software Foundation
2631 gives unlimited permission to copy
, distribute and modify it.
2636 ## ------------------------ ##
2637 ## Autoconf initialization. ##
2638 ## ------------------------ ##
2640 # ac_fn_c_try_compile LINENO
2641 # --------------------------
2642 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2643 ac_fn_c_try_compile
()
2645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2646 rm -f conftest.
$ac_objext conftest.beam
2647 if { { ac_try
="$ac_compile"
2649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 printf "%s\n" "$ac_try_echo"; } >&5
2654 (eval "$ac_compile") 2>conftest.err
2656 if test -s conftest.err; then
2657 grep -v '^ *+' conftest.err >conftest.er1
2658 cat conftest.er1 >&5
2659 mv -f conftest.er1 conftest.err
2661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2662 test $ac_status = 0; } && {
2663 test -z "$ac_c_werror_flag" ||
2664 test ! -s conftest.err
2665 } && test -s conftest.$ac_objext
2669 printf "%s\n" "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_compile
2679 # ac_fn_cxx_try_compile LINENO
2680 # ----------------------------
2681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2682 ac_fn_cxx_try_compile ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 rm -f conftest.$ac_objext conftest.beam
2686 if { { ac_try="$ac_compile"
2688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2689 *) ac_try_echo
=$ac_try;;
2691 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 printf "%s\n" "$ac_try_echo"; } >&5
2693 (eval "$ac_compile") 2>conftest.err
2695 if test -s conftest.err
; then
2696 grep -v '^ *+' conftest.err
>conftest.er1
2697 cat conftest.er1
>&5
2698 mv -f conftest.er1 conftest.err
2700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; } && {
2702 test -z "$ac_cxx_werror_flag" ||
2703 test ! -s conftest.err
2704 } && test -s conftest.
$ac_objext
2708 printf "%s\n" "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.
$ac_ext >&5
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status
$ac_retval
2716 } # ac_fn_cxx_try_compile
2718 # ac_fn_c_try_link LINENO
2719 # -----------------------
2720 # Try to link conftest.$ac_ext, and return whether this succeeded.
2723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2724 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2725 if { { ac_try
="$ac_link"
2727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 printf "%s\n" "$ac_try_echo"; } >&5
2732 (eval "$ac_link") 2>conftest.err
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest$ac_exeext && {
2744 test "$cross_compiling" = yes ||
2745 test -x conftest$ac_exeext
2750 printf "%s\n" "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2755 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2756 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2757 # interfere with the next link command; also delete a directory that is
2758 # left behind by Apple's compiler. We do this before executing the actions.
2759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2763 } # ac_fn_c_try_link
2765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2766 # -------------------------------------------------------
2767 # Tests whether HEADER exists and can be compiled using the include files in
2768 # INCLUDES, setting the cache variable VAR accordingly.
2769 ac_fn_c_check_header_compile ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 printf %s "checking for $2... " >&6; }
2774 if eval test \${$3+y}
2776 printf %s "(cached) " >&6
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2783 if ac_fn_c_try_compile "$LINENO"
2789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2793 printf "%s\n" "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_header_compile
2798 # ac_fn_objc_try_compile LINENO
2799 # -----------------------------
2800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_objc_try_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext conftest.beam
2805 if { { ac_try="$ac_compile"
2807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2808 *) ac_try_echo
=$ac_try;;
2810 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_compile") 2>conftest.err
2814 if test -s conftest.err
; then
2815 grep -v '^ *+' conftest.err
>conftest.er1
2816 cat conftest.er1
>&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_objc_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.
$ac_objext
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.
$ac_ext >&5
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status
$ac_retval
2835 } # ac_fn_objc_try_compile
2837 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2838 # ----------------------------------------------------------
2839 # Tests whether HEADER exists and can be compiled using the include files in
2840 # INCLUDES, setting the cache variable VAR accordingly.
2841 ac_fn_objc_check_header_compile
()
2843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2845 printf %s
"checking for $2... " >&6; }
2846 if eval test \
${$3+y}
2848 printf %s
"(cached) " >&6
2850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2855 if ac_fn_objc_try_compile
"$LINENO"
2861 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2865 printf "%s\n" "$ac_res" >&6; }
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 } # ac_fn_objc_check_header_compile
2870 # ac_fn_c_check_func LINENO FUNC VAR
2871 # ----------------------------------
2872 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2873 ac_fn_c_check_func
()
2875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 printf %s
"checking for $2... " >&6; }
2878 if eval test \
${$3+y}
2880 printf %s
"(cached) " >&6
2882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $2 innocuous_$2
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $2 (); below. */
2894 /* Override any GCC internal prototype to avoid an error.
2895 Use char because int might match the return type of a GCC
2896 builtin and then its argument prototype would still apply. */
2901 /* The GNU C library defines this for functions which it implements
2902 to always fail with ENOSYS. Some functions are actually named
2903 something starting with __ and the normal name is an alias. */
2904 #if defined __stub_$2 || defined __stub___$2
2916 if ac_fn_c_try_link
"$LINENO"
2922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2923 conftest
$ac_exeext conftest.
$ac_ext
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2927 printf "%s\n" "$ac_res" >&6; }
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 } # ac_fn_c_check_func
2932 # ac_fn_c_try_cpp LINENO
2933 # ----------------------
2934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2937 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2938 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } > conftest.i && {
2954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2970 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2971 # ----------------------------------------------------
2972 # Tries to find if the field MEMBER exists in type AGGR, after including
2973 # INCLUDES, setting cache variable VAR accordingly.
2974 ac_fn_c_check_member ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2978 printf %s "checking for $2.$3... " >&6; }
2979 if eval test \${$4+y}
2981 printf %s "(cached) " >&6
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2996 if ac_fn_c_try_compile "$LINENO"
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3007 if (sizeof ac_aggr.$3)
3013 if ac_fn_c_try_compile "$LINENO"
3019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 printf "%s\n" "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_member
3030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3031 # -------------------------------------------
3032 # Tests whether TYPE exists after having included INCLUDES, setting cache
3033 # variable VAR accordingly.
3034 ac_fn_c_check_type ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 printf %s "checking for $2... " >&6; }
3039 if eval test \${$3+y}
3041 printf %s "(cached) " >&6
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3056 if ac_fn_c_try_compile "$LINENO"
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3070 if ac_fn_c_try_compile "$LINENO"
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 printf "%s\n" "$ac_res" >&6; }
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 } # ac_fn_c_check_type
3086 ac_configure_args_raw=
3091 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3093 as_fn_append ac_configure_args_raw " '$ac_arg'"
3096 case $ac_configure_args_raw in
3100 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3101 ac_unsafe_a="$ac_unsafe_z#~
"
3102 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3103 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3106 cat >config.log <<_ACEOF
3107 This file contains any messages produced by compilers while
3108 running configure, to aid debugging if configure makes a mistake.
3110 It was created by Wine $as_me 7.8, which was
3111 generated by GNU Autoconf 2.71. Invocation command line was
3113 $ $0$ac_configure_args_raw
3123 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3124 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3125 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3126 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3127 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3129 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3130 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3132 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3133 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3134 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3135 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3136 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3137 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3138 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 case $as_dir in #(((
3149 *) as_dir=$as_dir/ ;;
3151 printf "%s
\n" "PATH
: $as_dir"
3167 # Keep a trace of the command line.
3168 # Strip out --no-create and --no-recursion so they do not pile up.
3169 # Strip out --silent because we don't want to record it for future runs.
3170 # Also quote any args containing shell meta-characters.
3171 # Make two passes to allow for proper duplicate-argument suppression.
3175 ac_must_keep_next=false
3181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3183 | -silent | --silent | --silen | --sile | --sil)
3186 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3189 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3191 as_fn_append ac_configure_args1 " '$ac_arg'"
3192 if test $ac_must_keep_next = true; then
3193 ac_must_keep_next=false # Got value, back to normal.
3196 *=* | --config-cache | -C | -disable-* | --disable-* \
3197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3199 | -with-* | --with-* | -without-* | --without-* | --x)
3200 case "$ac_configure_args0 " in
3201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3204 -* ) ac_must_keep_next=true ;;
3207 as_fn_append ac_configure_args " '$ac_arg'"
3212 { ac_configure_args0=; unset ac_configure_args0;}
3213 { ac_configure_args1=; unset ac_configure_args1;}
3215 # When interrupted or exit'd, cleanup temporary files, and complete
3216 # config.log. We remove comments because anyway the quotes in there
3217 # would cause problems or look ugly.
3218 # WARNING: Use '\'' to represent an apostrophe within the trap.
3219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3220 trap 'exit_status=$?
3223 # Save into config.log some information that might help in debugging.
3227 printf "%s
\n" "## ---------------- ##
3228 ## Cache variables. ##
3229 ## ---------------- ##"
3231 # The following way of writing the cache mishandles newlines in values,
3233 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3234 eval ac_val
=\$
$ac_var
3238 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3239 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3242 _ | IFS | as_nl
) ;; #(
3243 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3244 *) { eval $ac_var=; unset $ac_var;} ;;
3249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3250 *${as_nl}ac_space
=\
*)
3252 "s/'\''/'\''\\\\'\'''\''/g;
3253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3263 printf "%s\n" "## ----------------- ##
3264 ## Output variables. ##
3265 ## ----------------- ##"
3267 for ac_var
in $ac_subst_vars
3269 eval ac_val
=\$
$ac_var
3271 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3273 printf "%s\n" "$ac_var='\''$ac_val'\''"
3277 if test -n "$ac_subst_files"; then
3278 printf "%s\n" "## ------------------- ##
3279 ## File substitutions. ##
3280 ## ------------------- ##"
3282 for ac_var in $ac_subst_files
3284 eval ac_val=\$$ac_var
3286 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3288 printf "%s\n" "$ac_var='\''$ac_val'\''"
3293 if test -s confdefs.h
; then
3294 printf "%s\n" "## ----------- ##
3301 test "$ac_signal" != 0 &&
3302 printf "%s\n" "$as_me: caught signal $ac_signal"
3303 printf "%s\n" "$as_me: exit $exit_status"
3305 rm -f core
*.core core.conftest.
* &&
3306 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3309 for ac_signal in 1 2 13 15; do
3310 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3315 rm -f -r conftest* confdefs.h
3317 printf "%s\n" "/* confdefs.h */" > confdefs.h
3319 # Predefined preprocessor variables.
3321 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3323 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3334 # Let the site file select an alternate cache file if it wants to.
3335 # Prefer an explicitly selected file to automatically selected ones.
3336 if test -n "$CONFIG_SITE"; then
3337 ac_site_files="$CONFIG_SITE"
3338 elif test "x$prefix" != xNONE; then
3339 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3341 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3344 for ac_site_file in $ac_site_files
3346 case $ac_site_file in #(
3350 ac_site_file=./$ac_site_file ;;
3352 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3354 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3355 sed 's
/^
/|
/' "$ac_site_file" >&5
3357 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3359 as_fn_error $? "failed to load site script $ac_site_file
3360 See \`config.log
' for more details" "$LINENO" 5; }
3364 if test -r "$cache_file"; then
3365 # Some versions of bash will fail to source /dev/null (special files
3366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3369 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3372 *) . "./$cache_file";;
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3377 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3381 # Test code for whether the C compiler supports C89 (global declarations)
3382 ac_c_conftest_c89_globals='
3383 /* Does the compiler advertise C89 conformance?
3384 Do not
test the value of __STDC__
, because some compilers
set it to
0
3385 while being otherwise adequately conformant.
*/
3386 #if !defined __STDC__
3387 # error "Compiler does not advertise C89 conformance"
3393 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3394 struct buf
{ int x
; };
3395 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3396 static char
*e
(p
, i
)
3402 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3407 s
= g
(p
, va_arg
(v
,int
));
3412 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3413 function prototypes and stuff
, but not \xHH hex character constants.
3414 These
do not provoke an error unfortunately
, instead are silently treated
3415 as an
"x". The following induces an error
, until -std is added to get
3416 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3417 array size
at least. It is necessary to
write \x00 == 0 to get something
3418 that is true only with
-std.
*/
3419 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3421 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3422 inside
strings and character constants.
*/
3423 #define FOO(x) '\''x'\''
3424 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3426 int
test (int i
, double x
);
3427 struct s1
{int
(*f
) (int a
);};
3428 struct s2
{int
(*f
) (double a
);};
3429 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3432 # Test code for whether the C compiler supports C89 (body of main).
3433 ac_c_conftest_c89_main='
3434 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3437 # Test code for whether the C compiler supports C99 (global declarations)
3438 ac_c_conftest_c99_globals='
3439 // Does the compiler advertise C99 conformance?
3440 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3441 # error "Compiler does not advertise C99 conformance"
3444 #include <stdbool.h>
3445 extern int puts
(const char
*);
3446 extern int
printf (const char
*, ...
);
3447 extern int dprintf
(int
, const char
*, ...
);
3448 extern void
*malloc
(size_t
);
3450 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3451 // dprintf is used instead of fprintf to avoid needing to
declare
3453 #define debug(...) dprintf (2, __VA_ARGS__)
3454 #define showlist(...) puts (#__VA_ARGS__)
3455 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3457 test_varargs_macros
(void
)
3462 debug
("X = %d\n", x
);
3463 showlist
(The first
, second
, and third items.
);
3464 report
(x
>y
, "x is %d but y is %d", x
, y
);
3467 // Check long long types.
3468 #define BIG64 18446744073709551615ull
3469 #define BIG32 4294967295ul
3470 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3472 #error "your preprocessor is broken"
3476 #error "your preprocessor is broken"
3478 static long long int bignum
= -9223372036854775807LL;
3479 static unsigned long long int ubignum
= BIG64
;
3481 struct incomplete_array
3489 const wchar_t
*name
;
3493 typedef const char
*ccp
;
3496 test_restrict
(ccp restrict text
)
3498 // See
if C
++-style comments work.
3499 // Iterate through items via the restricted pointer.
3500 // Also check
for declarations
in for loops.
3501 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3506 // Check varargs and va_copy.
3508 test_varargs
(const char
*format
, ...
)
3511 va_start
(args
, format
);
3513 va_copy
(args_copy
, args
);
3515 const char
*str
= "";
3523 case '\''s
'\'': // string
3524 str
= va_arg
(args_copy
, const char
*);
3526 case '\''d
'\'': // int
3527 number
= va_arg
(args_copy
, int
);
3529 case '\''f
'\'': // float
3530 fnumber
= va_arg
(args_copy
, double
);
3539 return *str
&& number
&& fnumber
;
3543 # Test code for whether the C compiler supports C99 (body of main).
3544 ac_c_conftest_c99_main='
3546 _Bool success
= false
;
3547 success |
= (argc
!= 0);
3550 if (test_restrict
("String literal") == 0)
3552 char
*restrict newvar
= "Another string";
3555 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3556 test_varargs_macros
();
3558 // Check flexible array members.
3559 struct incomplete_array
*ia
=
3560 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3562 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3563 ia-
>data
[i
] = i
* 1.234;
3565 // Check named initializers.
3566 struct named_init ni
= {
3568 .name
= L
"Test wide string",
3569 .average
= 543.34343,
3574 int dynamic_array
[ni.number
];
3575 dynamic_array
[0] = argv
[0][0];
3576 dynamic_array
[ni.number
- 1] = 543;
3578 // work around unused variable warnings
3579 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3580 || dynamic_array
[ni.number
- 1] != 543);
3583 # Test code for whether the C compiler supports C11 (global declarations)
3584 ac_c_conftest_c11_globals='
3585 // Does the compiler advertise C11 conformance?
3586 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3587 # error "Compiler does not advertise C11 conformance"
3591 char _Alignas
(double
) aligned_as_double
;
3592 char _Alignas
(0) no_special_alignment
;
3593 extern char aligned_as_int
;
3594 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3599 int_alignment
= _Alignof
(int
),
3600 int_array_alignment
= _Alignof
(int
[100]),
3601 char_alignment
= _Alignof
(char
)
3603 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3606 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3608 // Check _Static_assert.
3609 struct test_static_assert
3612 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3613 "_Static_assert does not work in struct");
3617 // Check UTF-8 literals.
3618 #define u8 syntax error!
3619 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3621 // Check duplicate typedefs.
3622 typedef long
*long_ptr
;
3623 typedef long int
*long_ptr
;
3624 typedef long_ptr long_ptr
;
3626 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3630 struct
{ int i
; int j
; };
3631 struct
{ int k
; long int l
; } w
;
3637 # Test code for whether the C compiler supports C11 (body of main).
3638 ac_c_conftest_c11_main='
3639 _Static_assert
((offsetof
(struct anonymous
, i
)
3640 == offsetof
(struct anonymous
, w.k
)),
3641 "Anonymous union alignment botch");
3647 # Test code for whether the C compiler supports C11 (complete).
3648 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3649 ${ac_c_conftest_c99_globals}
3650 ${ac_c_conftest_c11_globals}
3653 main (int argc, char **argv)
3656 ${ac_c_conftest_c89_main}
3657 ${ac_c_conftest_c99_main}
3658 ${ac_c_conftest_c11_main}
3663 # Test code for whether the C compiler supports C99 (complete).
3664 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3665 ${ac_c_conftest_c99_globals}
3668 main (int argc, char **argv)
3671 ${ac_c_conftest_c89_main}
3672 ${ac_c_conftest_c99_main}
3677 # Test code for whether the C compiler supports C89 (complete).
3678 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3681 main (int argc, char **argv)
3684 ${ac_c_conftest_c89_main}
3689 # Test code for whether the C++ compiler supports C++98 (global declarations)
3690 ac_cxx_conftest_cxx98_globals='
3691 // Does the compiler advertise C
++98 conformance?
3692 #if !defined __cplusplus || __cplusplus < 199711L
3693 # error "Compiler does not advertise C++98 conformance"
3696 // These inclusions are to reject old compilers that
3697 // lack the unsuffixed header files.
3699 #include <exception>
3701 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3702 extern void assert
(int
);
3704 extern int strcmp
(const char
*, const char
*);
3707 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3708 using std
::exception
;
3713 void test_exception_syntax
()
3717 } catch
(const char
*s
) {
3718 // Extra parentheses suppress a warning when building autoconf itself
,
3719 // due to lint rules shared with
more typical C programs.
3720 assert
(!(strcmp
) (s
, "test"));
3724 template
<typename T
> struct test_template
3727 explicit test_template
(T t
) : val
(t
) {}
3728 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3731 } // anonymous namespace
3734 # Test code for whether the C++ compiler supports C++98 (body of main)
3735 ac_cxx_conftest_cxx98_main='
3739 test_exception_syntax
();
3740 test_template
<double
> tt
(2.0);
3741 assert
(tt.add
(4) == 6.0);
3742 assert
(true
&& !false
);
3746 # Test code for whether the C++ compiler supports C++11 (global declarations)
3747 ac_cxx_conftest_cxx11_globals='
3748 // Does the compiler advertise C
++ 2011 conformance?
3749 #if !defined __cplusplus || __cplusplus < 201103L
3750 # error "Compiler does not advertise C++11 conformance"
3755 constexpr int get_val
() { return 20; }
3766 delegate
(int n
) : n
(n
) {}
3767 delegate
(): delegate
(2354) {}
3769 virtual int getval
() { return this-
>n
; };
3774 class overridden
: public delegate
3777 overridden
(int n
): delegate
(n
) {}
3778 virtual int getval
() override final
{ return this-
>n
* 2; }
3784 nocopy
(int i
): i
(i
) {}
3786 nocopy
(const nocopy
&) = delete
;
3787 nocopy
& operator
=(const nocopy
&) = delete
;
3792 // for testing lambda expressions
3793 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3798 // for testing variadic templates and trailing
return types
3799 template
<typename V
> auto
sum(V first
) -> V
3803 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3805 return first
+ sum(rest...
);
3810 # Test code for whether the C++ compiler supports C++11 (body of main)
3811 ac_cxx_conftest_cxx11_main='
3813 // Test auto and decltype
3815 auto a2
= 48573953.4;
3816 auto a3
= "String literal";
3819 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3821 decltype
(a2
) a4
= 34895.034;
3825 short sa
[cxx11test
::get_val
()] = { 0 };
3828 // Test initializer lists
3829 cxx11test
::testinit il
= { 4323, 435234.23544 };
3832 // Test range-based
for
3833 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3834 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3835 for (auto
&x
: array
) { x
+= 23; }
3838 // Test lambda expressions
3839 using cxx11test
::eval;
3840 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3842 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3844 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3848 // Test use of variadic templates
3849 using cxx11test
::sum;
3852 auto c
= sum(1.0, 2.0, 3.0);
3855 // Test constructor delegation
3856 cxx11test
::delegate d1
;
3857 cxx11test
::delegate d2
();
3858 cxx11test
::delegate d3
(45);
3861 // Test override and final
3862 cxx11test
::overridden o1
(55464);
3869 // Test template brackets
3870 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3874 char const
*utf8
= u8
"UTF-8 string \u2500";
3875 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3876 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3880 # Test code for whether the C compiler supports C++11 (complete).
3881 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3882 ${ac_cxx_conftest_cxx11_globals}
3885 main (int argc, char **argv)
3888 ${ac_cxx_conftest_cxx98_main}
3889 ${ac_cxx_conftest_cxx11_main}
3894 # Test code for whether the C compiler supports C++98 (complete).
3895 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3897 main (int argc, char **argv)
3900 ${ac_cxx_conftest_cxx98_main}
3905 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3906 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3907 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3908 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3909 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3910 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3911 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3912 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3913 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3915 # Auxiliary files required by this configure script.
3916 ac_aux_files="config.guess config.sub"
3918 # Locations in which to look for auxiliary files.
3919 ac_aux_dir_candidates="${srcdir}/tools"
3921 # Search for a directory containing all of the required auxiliary files,
3922 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3923 # If we don't
find one directory that contains all the files we need
,
3924 # we report the set of missing files from the *first* directory in
3925 # $ac_aux_dir_candidates and give up.
3926 ac_missing_aux_files
=""
3927 ac_first_candidate
=:
3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 for as_dir
in $ac_aux_dir_candidates
3934 case $as_dir in #(((
3937 *) as_dir
=$as_dir/ ;;
3941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3942 ac_aux_dir_found
=yes
3944 for ac_aux
in $ac_aux_files
3946 # As a special case, if "install-sh" is required, that requirement
3947 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3948 # and $ac_install_sh is set appropriately for whichever one is found.
3949 if test x
"$ac_aux" = x
"install-sh"
3951 if test -f "${as_dir}install-sh"; then
3952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3953 ac_install_sh
="${as_dir}install-sh -c"
3954 elif test -f "${as_dir}install.sh"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3956 ac_install_sh
="${as_dir}install.sh -c"
3957 elif test -f "${as_dir}shtool"; then
3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3959 ac_install_sh
="${as_dir}shtool install -c"
3962 if $ac_first_candidate; then
3963 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3969 if test -f "${as_dir}${ac_aux}"; then
3970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3973 if $ac_first_candidate; then
3974 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3981 if test "$ac_aux_dir_found" = yes; then
3982 ac_aux_dir
="$as_dir"
3985 ac_first_candidate
=false
3994 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3998 # These three variables are undocumented and unsupported,
3999 # and are intended to be withdrawn in a future Autoconf release.
4000 # They can cause serious problems if a builder's source tree is in a directory
4001 # whose full name contains unusual characters.
4002 if test -f "${ac_aux_dir}config.guess"; then
4003 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4005 if test -f "${ac_aux_dir}config.sub"; then
4006 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4008 if test -f "$ac_aux_dir/configure"; then
4009 ac_configure
="$SHELL ${ac_aux_dir}configure"
4012 # Check that the precious variables saved in the cache have kept the same
4014 ac_cache_corrupted
=false
4015 for ac_var
in $ac_precious_vars; do
4016 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4017 eval ac_new_set
=\
$ac_env_${ac_var}_set
4018 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4019 eval ac_new_val
=\
$ac_env_${ac_var}_value
4020 case $ac_old_set,$ac_new_set in
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4023 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4024 ac_cache_corrupted
=: ;;
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4028 ac_cache_corrupted
=: ;;
4031 if test "x$ac_old_val" != "x$ac_new_val"; then
4032 # differences in whitespace do not lead to failure.
4033 ac_old_val_w
=`echo x $ac_old_val`
4034 ac_new_val_w
=`echo x $ac_new_val`
4035 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4038 ac_cache_corrupted
=:
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4041 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4042 eval $ac_var=\
$ac_old_val
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4045 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4047 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4050 # Pass precious variables to config.status.
4051 if test "$ac_new_set" = set; then
4053 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4054 *) ac_arg
=$ac_var=$ac_new_val ;;
4056 case " $ac_configure_args " in
4057 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4058 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4062 if $ac_cache_corrupted; then
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4066 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4067 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4068 and start over" "$LINENO" 5
4070 ## -------------------- ##
4071 ## Main body of script. ##
4072 ## -------------------- ##
4075 ac_cpp
='$CPP $CPPFLAGS'
4076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4082 ac_config_headers
="$ac_config_headers include/config.h"
4086 libwine_version
="1.0"
4089 # Check whether --enable-win16 was given.
4090 if test ${enable_win16+y}
4092 enableval
=$enable_win16;
4095 # Check whether --enable-win64 was given.
4096 if test ${enable_win64+y}
4098 enableval
=$enable_win64;
4101 # Check whether --enable-tests was given.
4102 if test ${enable_tests+y}
4104 enableval
=$enable_tests;
4107 # Check whether --enable-build-id was given.
4108 if test ${enable_build_id+y}
4110 enableval
=$enable_build_id;
4113 # Check whether --enable-maintainer-mode was given.
4114 if test ${enable_maintainer_mode+y}
4116 enableval
=$enable_maintainer_mode;
4119 # Check whether --enable-silent-rules was given.
4120 if test ${enable_silent_rules+y}
4122 enableval
=$enable_silent_rules;
4125 # Check whether --enable-werror was given.
4126 if test ${enable_werror+y}
4128 enableval
=$enable_werror;
4133 # Check whether --with-alsa was given.
4134 if test ${with_alsa+y}
4140 # Check whether --with-capi was given.
4141 if test ${with_capi+y}
4147 # Check whether --with-coreaudio was given.
4148 if test ${with_coreaudio+y}
4150 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4154 # Check whether --with-cups was given.
4155 if test ${with_cups+y}
4161 # Check whether --with-dbus was given.
4162 if test ${with_dbus+y}
4168 # Check whether --with-float-abi was given.
4169 if test ${with_float_abi+y}
4171 withval
=$with_float_abi;
4175 # Check whether --with-fontconfig was given.
4176 if test ${with_fontconfig+y}
4178 withval
=$with_fontconfig;
4182 # Check whether --with-freetype was given.
4183 if test ${with_freetype+y}
4185 withval
=$with_freetype;
4189 # Check whether --with-gettext was given.
4190 if test ${with_gettext+y}
4192 withval
=$with_gettext;
4196 # Check whether --with-gettextpo was given.
4197 if test ${with_gettextpo+y}
4199 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4203 # Check whether --with-gphoto was given.
4204 if test ${with_gphoto+y}
4206 withval
=$with_gphoto;
4210 # Check whether --with-gnutls was given.
4211 if test ${with_gnutls+y}
4213 withval
=$with_gnutls;
4217 # Check whether --with-gssapi was given.
4218 if test ${with_gssapi+y}
4220 withval
=$with_gssapi;
4224 # Check whether --with-gstreamer was given.
4225 if test ${with_gstreamer+y}
4227 withval
=$with_gstreamer;
4231 # Check whether --with-inotify was given.
4232 if test ${with_inotify+y}
4234 withval
=$with_inotify;
4238 # Check whether --with-krb5 was given.
4239 if test ${with_krb5+y}
4245 # Check whether --with-ldap was given.
4246 if test ${with_ldap+y}
4248 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4252 # Check whether --with-mingw was given.
4253 if test ${with_mingw+y}
4255 withval
=$with_mingw;
4259 # Check whether --with-netapi was given.
4260 if test ${with_netapi+y}
4262 withval
=$with_netapi;
4266 # Check whether --with-openal was given.
4267 if test ${with_openal+y}
4269 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4273 # Check whether --with-opencl was given.
4274 if test ${with_opencl+y}
4276 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4280 # Check whether --with-opengl was given.
4281 if test ${with_opengl+y}
4283 withval
=$with_opengl;
4287 # Check whether --with-osmesa was given.
4288 if test ${with_osmesa+y}
4290 withval
=$with_osmesa;
4294 # Check whether --with-oss was given.
4295 if test ${with_oss+y}
4301 # Check whether --with-pcap was given.
4302 if test ${with_pcap+y}
4304 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4308 # Check whether --with-pthread was given.
4309 if test ${with_pthread+y}
4311 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4315 # Check whether --with-pulse was given.
4316 if test ${with_pulse+y}
4318 withval
=$with_pulse;
4322 # Check whether --with-sane was given.
4323 if test ${with_sane+y}
4329 # Check whether --with-sdl was given.
4330 if test ${with_sdl+y}
4336 # Check whether --with-udev was given.
4337 if test ${with_udev+y}
4343 # Check whether --with-unwind was given.
4344 if test ${with_unwind+y}
4346 withval
=$with_unwind;
4350 # Check whether --with-usb was given.
4351 if test ${with_usb+y}
4357 # Check whether --with-v4l2 was given.
4358 if test ${with_v4l2+y}
4364 # Check whether --with-vulkan was given.
4365 if test ${with_vulkan+y}
4367 withval
=$with_vulkan;
4371 # Check whether --with-xcomposite was given.
4372 if test ${with_xcomposite+y}
4374 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4378 # Check whether --with-xcursor was given.
4379 if test ${with_xcursor+y}
4381 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4385 # Check whether --with-xfixes was given.
4386 if test ${with_xfixes+y}
4388 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4392 # Check whether --with-xinerama was given.
4393 if test ${with_xinerama+y}
4395 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4399 # Check whether --with-xinput was given.
4400 if test ${with_xinput+y}
4402 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4406 # Check whether --with-xinput2 was given.
4407 if test ${with_xinput2+y}
4409 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4413 # Check whether --with-xrandr was given.
4414 if test ${with_xrandr+y}
4416 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4420 # Check whether --with-xrender was given.
4421 if test ${with_xrender+y}
4423 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4427 # Check whether --with-xshape was given.
4428 if test ${with_xshape+y}
4430 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4434 # Check whether --with-xshm was given.
4435 if test ${with_xshm+y}
4437 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4441 # Check whether --with-xxf86vm was given.
4442 if test ${with_xxf86vm+y}
4444 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
4449 # Check whether --with-system-dllpath was given.
4450 if test ${with_system_dllpath+y}
4452 withval
=$with_system_dllpath; system_dllpath
=$withval
4457 # Check whether --with-wine-tools was given.
4458 if test ${with_wine_tools+y}
4460 withval
=$with_wine_tools;
4464 # Check whether --with-wine64 was given.
4465 if test ${with_wine64+y}
4467 withval
=$with_wine64;
4474 # Make sure we can run config.sub.
4475 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4476 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4479 printf %s
"checking build system type... " >&6; }
4480 if test ${ac_cv_build+y}
4482 printf %s
"(cached) " >&6
4484 ac_build_alias
=$build_alias
4485 test "x$ac_build_alias" = x
&&
4486 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4487 test "x$ac_build_alias" = x
&&
4488 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4489 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4490 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4494 printf "%s\n" "$ac_cv_build" >&6; }
4495 case $ac_cv_build in
4497 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4500 ac_save_IFS
=$IFS; IFS
='-'
4506 # Remember, the first character of IFS is used to create $*,
4507 # except with old shells:
4510 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4514 printf %s
"checking host system type... " >&6; }
4515 if test ${ac_cv_host+y}
4517 printf %s
"(cached) " >&6
4519 if test "x$host_alias" = x
; then
4520 ac_cv_host
=$ac_cv_build
4522 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4523 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4528 printf "%s\n" "$ac_cv_host" >&6; }
4531 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4534 ac_save_IFS
=$IFS; IFS
='-'
4540 # Remember, the first character of IFS is used to create $*,
4541 # except with old shells:
4544 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4548 dlldir
=\
${libdir}/wine
4550 fontdir
=\
${datadir}/wine
/fonts
4552 nlsdir
=\
${datadir}/wine
/nls
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4558 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4560 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4561 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4563 printf %s
"(cached) " >&6
4565 cat >conftest.
make <<\_ACEOF
4568 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4573 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4575 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4579 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 printf "%s\n" "yes" >&6; }
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 printf "%s\n" "no" >&6; }
4586 SET_MAKE
="MAKE=${MAKE-make}"
4599 ac_cpp
='$CPP $CPPFLAGS'
4600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4605 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 printf %s
"checking for $ac_word... " >&6; }
4608 if test ${ac_cv_prog_CC+y}
4610 printf %s
"(cached) " >&6
4612 if test -n "$CC"; then
4613 ac_cv_prog_CC
="$CC" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 case $as_dir in #(((
4622 *) as_dir
=$as_dir/ ;;
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4637 if test -n "$CC"; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 printf "%s\n" "$CC" >&6; }
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 printf "%s\n" "no" >&6; }
4647 if test -z "$ac_cv_prog_CC"; then
4649 # Extract the first word of "gcc", so it can be a program name with args.
4650 set dummy gcc
; ac_word
=$2
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 printf %s
"checking for $ac_word... " >&6; }
4653 if test ${ac_cv_prog_ac_ct_CC+y}
4655 printf %s
"(cached) " >&6
4657 if test -n "$ac_ct_CC"; then
4658 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 case $as_dir in #(((
4667 *) as_dir
=$as_dir/ ;;
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CC
="gcc"
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4682 if test -n "$ac_ct_CC"; then
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4684 printf "%s\n" "$ac_ct_CC" >&6; }
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 printf "%s\n" "no" >&6; }
4690 if test "x$ac_ct_CC" = x
; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned
=yes ;;
4705 if test -z "$CC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4708 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s
"checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_CC+y}
4713 printf %s
"(cached) " >&6
4715 if test -n "$CC"; then
4716 ac_cv_prog_CC
="$CC" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 case $as_dir in #(((
4725 *) as_dir
=$as_dir/ ;;
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4740 if test -n "$CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4742 printf "%s\n" "$CC" >&6; }
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4751 if test -z "$CC"; then
4752 # Extract the first word of "cc", so it can be a program name with args.
4753 set dummy cc
; ac_word
=$2
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 printf %s
"checking for $ac_word... " >&6; }
4756 if test ${ac_cv_prog_CC+y}
4758 printf %s
"(cached) " >&6
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC
="$CC" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 case $as_dir in #(((
4771 *) as_dir
=$as_dir/ ;;
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4775 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4776 ac_prog_rejected
=yes
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4787 if test $ac_prog_rejected = yes; then
4788 # We found a bogon in the path, so make sure we never use it.
4789 set dummy
$ac_cv_prog_CC
4791 if test $# != 0; then
4792 # We chose a different compiler from the bogus one.
4793 # However, it has the same basename, so the bogon will be chosen
4794 # first if we set CC to just the basename; use the full file name.
4796 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4802 if test -n "$CC"; then
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804 printf "%s\n" "$CC" >&6; }
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 printf "%s\n" "no" >&6; }
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4814 for ac_prog
in cl.exe
4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4817 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 printf %s
"checking for $ac_word... " >&6; }
4820 if test ${ac_cv_prog_CC+y}
4822 printf %s
"(cached) " >&6
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC
="$CC" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 case $as_dir in #(((
4834 *) as_dir
=$as_dir/ ;;
4836 for ac_exec_ext
in '' $ac_executable_extensions; do
4837 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4858 test -n "$CC" && break
4861 if test -z "$CC"; then
4863 for ac_prog
in cl.exe
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy
$ac_prog; ac_word
=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s
"checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_ac_ct_CC+y}
4871 printf %s
"(cached) " >&6
4873 if test -n "$ac_ct_CC"; then
4874 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 case $as_dir in #(((
4883 *) as_dir
=$as_dir/ ;;
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_CC
="$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4897 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4898 if test -n "$ac_ct_CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 printf "%s\n" "$ac_ct_CC" >&6; }
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$ac_ct_CC" && break
4910 if test "x$ac_ct_CC" = x
; then
4913 case $cross_compiling:$ac_tool_warned in
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned
=yes ;;
4924 if test -z "$CC"; then
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4927 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s
"checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_CC+y}
4932 printf %s
"(cached) " >&6
4934 if test -n "$CC"; then
4935 ac_cv_prog_CC
="$CC" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 case $as_dir in #(((
4944 *) as_dir
=$as_dir/ ;;
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4959 if test -n "$CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4961 printf "%s\n" "$CC" >&6; }
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4969 if test -z "$ac_cv_prog_CC"; then
4971 # Extract the first word of "clang", so it can be a program name with args.
4972 set dummy clang
; ac_word
=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s
"checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4977 printf %s
"(cached) " >&6
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4986 case $as_dir in #(((
4989 *) as_dir
=$as_dir/ ;;
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC
="clang"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5003 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5012 if test "x$ac_ct_CC" = x
; then
5015 case $cross_compiling:$ac_tool_warned in
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned
=yes ;;
5030 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error $?
"no acceptable C compiler found in \$PATH
5033 See \`config.log' for more details" "$LINENO" 5; }
5035 # Provide some information about the compiler.
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5039 for ac_option
in --version -v -V -qversion -version; do
5040 { { ac_try
="$ac_compiler $ac_option >&5"
5042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5046 printf "%s\n" "$ac_try_echo"; } >&5
5047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5049 if test -s conftest.err; then
5051 ... rest of stderr output deleted ...
5052 10q' conftest.err >conftest.er1
5053 cat conftest.er1 >&5
5055 rm -f conftest.er1 conftest.err
5056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5071 ac_clean_files_save=$ac_clean_files
5072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5073 # Try to create an executable without -o first, disregard a.out.
5074 # It will help us diagnose broken compilers, and finding out an intuition
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5077 printf %s "checking whether the C compiler works... " >&6; }
5078 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5080 # The possible output files:
5081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5084 for ac_file in $ac_files
5087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5093 if { { ac_try="$ac_link_default"
5095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5096 *) ac_try_echo
=$ac_try;;
5098 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_link_default") 2>&5
5102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5103 test $ac_status = 0; }
5105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5108 # so that the user can short-circuit this test for compilers unknown to
5110 for ac_file
in $ac_files ''
5112 test -f "$ac_file" ||
continue
5114 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5117 # We found the default executable, but exeext='' is most
5121 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5123 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5125 # We set ac_cv_exeext here because the later test for it is not
5126 # safe: cross compilers may not add the suffix if given an `-o'
5127 # argument, so we may need to know it at that point already.
5128 # Even if this section looks crufty: it has the advantage of
5135 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5140 if test -z "$ac_file"
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 printf "%s\n" "no" >&6; }
5144 printf "%s\n" "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.
$ac_ext >&5
5147 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5149 as_fn_error
77 "C compiler cannot create executables
5150 See \`config.log' for more details" "$LINENO" 5; }
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 printf "%s\n" "yes" >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5156 printf %s
"checking for C compiler default output file name... " >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5158 printf "%s\n" "$ac_file" >&6; }
5159 ac_exeext
=$ac_cv_exeext
5161 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5162 ac_clean_files
=$ac_clean_files_save
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5164 printf %s
"checking for suffix of executables... " >&6; }
5165 if { { ac_try
="$ac_link"
5167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 printf "%s\n" "$ac_try_echo"; } >&5
5172 (eval "$ac_link") 2>&5
5174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175 test $ac_status = 0; }
5177 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5178 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5179 # work properly (i.e., refer to `conftest.exe'), while it won't with
5181 for ac_file
in conftest.exe conftest conftest.
*; do
5182 test -f "$ac_file" ||
continue
5184 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5185 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5191 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5192 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5193 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5194 See \`config.log' for more details" "$LINENO" 5; }
5196 rm -f conftest conftest
$ac_cv_exeext
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5198 printf "%s\n" "$ac_cv_exeext" >&6; }
5200 rm -f conftest.
$ac_ext
5201 EXEEXT
=$ac_cv_exeext
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5209 FILE *f = fopen ("conftest.out", "w");
5210 return ferror (f) || fclose (f) != 0;
5216 ac_clean_files
="$ac_clean_files conftest.out"
5217 # Check that the compiler produces executables we can run. If not, either
5218 # the compiler is broken, or we cross compile.
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5220 printf %s
"checking whether we are cross compiling... " >&6; }
5221 if test "$cross_compiling" != yes; then
5222 { { ac_try
="$ac_link"
5224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link") 2>&5
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5233 if { ac_try='./conftest$ac_cv_exeext'
5234 { { case "(($ac_try" in
5235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5236 *) ac_try_echo
=$ac_try;;
5238 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_try") 2>&5
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }; }; then
5246 if test "$cross_compiling" = maybe
; then
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error
77 "cannot run C compiled programs.
5252 If you meant to cross compile, use \`--host'.
5253 See \`config.log' for more details" "$LINENO" 5; }
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5258 printf "%s\n" "$cross_compiling" >&6; }
5260 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5261 ac_clean_files
=$ac_clean_files_save
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5263 printf %s
"checking for suffix of object files... " >&6; }
5264 if test ${ac_cv_objext+y}
5266 printf %s
"(cached) " >&6
5268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5279 rm -f conftest.o conftest.obj
5280 if { { ac_try
="$ac_compile"
5282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_compile") 2>&5
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5292 for ac_file in conftest.o conftest.obj conftest.*; do
5293 test -f "$ac_file" || continue;
5295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5301 printf "%s\n" "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5307 See \
`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5312 printf "%s\n" "$ac_cv_objext" >&6; }
5313 OBJEXT=$ac_cv_objext
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5316 printf %s "checking whether the compiler supports GNU C... " >&6; }
5317 if test ${ac_cv_c_compiler_gnu+y}
5319 printf %s "(cached) " >&6
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5335 if ac_fn_c_try_compile "$LINENO"
5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5346 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349 if test $ac_compiler_gnu = yes; then
5354 ac_test_CFLAGS=${CFLAGS+y}
5355 ac_save_CFLAGS=$CFLAGS
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5357 printf %s "checking whether $CC accepts -g... " >&6; }
5358 if test ${ac_cv_prog_cc_g+y}
5360 printf %s "(cached) " >&6
5362 ac_save_c_werror_flag=$ac_c_werror_flag
5363 ac_c_werror_flag=yes
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5393 if ac_fn_c_try_compile "$LINENO"
5397 ac_c_werror_flag=$ac_save_c_werror_flag
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5410 if ac_fn_c_try_compile "$LINENO"
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 ac_c_werror_flag=$ac_save_c_werror_flag
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5422 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5423 if test $ac_test_CFLAGS; then
5424 CFLAGS=$ac_save_CFLAGS
5425 elif test $ac_cv_prog_cc_g = yes; then
5426 if test "$GCC" = yes; then
5432 if test "$GCC" = yes; then
5439 if test x$ac_prog_cc_stdc = xno
5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5442 printf %s "checking for $CC option to enable C11 features... " >&6; }
5443 if test ${ac_cv_prog_cc_c11+y}
5445 printf %s "(cached) " >&6
5447 ac_cv_prog_cc_c11=no
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5451 $ac_c_conftest_c11_program
5453 for ac_arg in '' -std=gnu11
5455 CC="$ac_save_CC $ac_arg"
5456 if ac_fn_c_try_compile "$LINENO"
5458 ac_cv_prog_cc_c11=$ac_arg
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam
5461 test "x$ac_cv_prog_cc_c11" != "xno" && break
5463 rm -f conftest.$ac_ext
5467 if test "x$ac_cv_prog_cc_c11" = xno
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5470 printf "%s\n" "unsupported" >&6; }
5472 if test "x$ac_cv_prog_cc_c11" = x
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5475 printf "%s\n" "none needed" >&6; }
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5479 CC="$CC $ac_cv_prog_cc_c11"
5481 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5485 if test x$ac_prog_cc_stdc = xno
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5488 printf %s "checking for $CC option to enable C99 features... " >&6; }
5489 if test ${ac_cv_prog_cc_c99+y}
5491 printf %s "(cached) " >&6
5493 ac_cv_prog_cc_c99=no
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 $ac_c_conftest_c99_program
5499 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5501 CC="$ac_save_CC $ac_arg"
5502 if ac_fn_c_try_compile "$LINENO"
5504 ac_cv_prog_cc_c99=$ac_arg
5506 rm -f core conftest.err conftest.$ac_objext conftest.beam
5507 test "x$ac_cv_prog_cc_c99" != "xno" && break
5509 rm -f conftest.$ac_ext
5513 if test "x$ac_cv_prog_cc_c99" = xno
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5516 printf "%s\n" "unsupported" >&6; }
5518 if test "x$ac_cv_prog_cc_c99" = x
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5521 printf "%s\n" "none needed" >&6; }
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5524 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5525 CC="$CC $ac_cv_prog_cc_c99"
5527 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5531 if test x$ac_prog_cc_stdc = xno
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5534 printf %s "checking for $CC option to enable C89 features... " >&6; }
5535 if test ${ac_cv_prog_cc_c89+y}
5537 printf %s "(cached) " >&6
5539 ac_cv_prog_cc_c89=no
5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 $ac_c_conftest_c89_program
5545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5547 CC="$ac_save_CC $ac_arg"
5548 if ac_fn_c_try_compile "$LINENO"
5550 ac_cv_prog_cc_c89=$ac_arg
5552 rm -f core conftest.err conftest.$ac_objext conftest.beam
5553 test "x$ac_cv_prog_cc_c89" != "xno" && break
5555 rm -f conftest.$ac_ext
5559 if test "x$ac_cv_prog_cc_c89" = xno
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5562 printf "%s\n" "unsupported" >&6; }
5564 if test "x$ac_cv_prog_cc_c89" = x
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5567 printf "%s\n" "none needed" >&6; }
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5570 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5571 CC="$CC $ac_cv_prog_cc_c89"
5573 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5591 ac_cpp='$CXXCPP $CPPFLAGS'
5592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5595 if test -z "$CXX"; then
5596 if test -n "$CCC"; then
5599 if test -n "$ac_tool_prefix"; then
5600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 printf %s "checking for $ac_word... " >&6; }
5606 if test ${ac_cv_prog_CXX+y}
5608 printf %s "(cached) " >&6
5610 if test -n "$CXX"; then
5611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 case $as_dir in #(((
5620 *) as_dir=$as_dir/ ;;
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5635 if test -n "$CXX"; then
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5637 printf "%s\n" "$CXX" >&6; }
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 printf "%s\n" "no" >&6; }
5644 test -n "$CXX" && break
5647 if test -z "$CXX"; then
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_prog", so it can be a program name with args.
5652 set dummy $ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_ac_ct_CXX+y}
5657 printf %s "(cached) " >&6
5659 if test -n "$ac_ct_CXX"; then
5660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 case $as_dir in #(((
5669 *) as_dir=$as_dir/ ;;
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5683 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5684 if test -n "$ac_ct_CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5686 printf "%s\n" "$ac_ct_CXX" >&6; }
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$ac_ct_CXX" && break
5696 if test "x$ac_ct_CXX" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5703 ac_tool_warned=yes ;;
5711 # Provide some information about the compiler.
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5715 for ac_option in --version -v -V -qversion; do
5716 { { ac_try="$ac_compiler $ac_option >&5"
5718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5719 *) ac_try_echo
=$ac_try;;
5721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 printf "%s\n" "$ac_try_echo"; } >&5
5723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5725 if test -s conftest.err
; then
5727 ... rest of stderr output deleted ...
5728 10q' conftest.err
>conftest.er1
5729 cat conftest.er1
>&5
5731 rm -f conftest.er1 conftest.err
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5737 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5738 if test ${ac_cv_cxx_compiler_gnu+y}
5740 printf %s
"(cached) " >&6
5742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5756 if ac_fn_cxx_try_compile
"$LINENO"
5762 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5763 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5767 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5768 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5770 if test $ac_compiler_gnu = yes; then
5775 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5776 ac_save_CXXFLAGS
=$CXXFLAGS
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5778 printf %s
"checking whether $CXX accepts -g... " >&6; }
5779 if test ${ac_cv_prog_cxx_g+y}
5781 printf %s
"(cached) " >&6
5783 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5784 ac_cxx_werror_flag
=yes
5787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5798 if ac_fn_cxx_try_compile
"$LINENO"
5800 ac_cv_prog_cxx_g
=yes
5803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5814 if ac_fn_cxx_try_compile
"$LINENO"
5818 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5831 if ac_fn_cxx_try_compile
"$LINENO"
5833 ac_cv_prog_cxx_g
=yes
5835 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5837 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5839 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5840 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5843 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5844 if test $ac_test_CXXFLAGS; then
5845 CXXFLAGS
=$ac_save_CXXFLAGS
5846 elif test $ac_cv_prog_cxx_g = yes; then
5847 if test "$GXX" = yes; then
5853 if test "$GXX" = yes; then
5859 ac_prog_cxx_stdcxx
=no
5860 if test x
$ac_prog_cxx_stdcxx = xno
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5863 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5864 if test ${ac_cv_prog_cxx_11+y}
5866 printf %s
"(cached) " >&6
5868 ac_cv_prog_cxx_11
=no
5870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5872 $ac_cxx_conftest_cxx11_program
5874 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5876 CXX
="$ac_save_CXX $ac_arg"
5877 if ac_fn_cxx_try_compile
"$LINENO"
5879 ac_cv_prog_cxx_cxx11
=$ac_arg
5881 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5882 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5884 rm -f conftest.
$ac_ext
5888 if test "x$ac_cv_prog_cxx_cxx11" = xno
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5891 printf "%s\n" "unsupported" >&6; }
5893 if test "x$ac_cv_prog_cxx_cxx11" = x
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5896 printf "%s\n" "none needed" >&6; }
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5900 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5902 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5903 ac_prog_cxx_stdcxx
=cxx11
5906 if test x
$ac_prog_cxx_stdcxx = xno
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5909 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5910 if test ${ac_cv_prog_cxx_98+y}
5912 printf %s
"(cached) " >&6
5914 ac_cv_prog_cxx_98
=no
5916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5918 $ac_cxx_conftest_cxx98_program
5920 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5922 CXX
="$ac_save_CXX $ac_arg"
5923 if ac_fn_cxx_try_compile
"$LINENO"
5925 ac_cv_prog_cxx_cxx98
=$ac_arg
5927 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5928 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5930 rm -f conftest.
$ac_ext
5934 if test "x$ac_cv_prog_cxx_cxx98" = xno
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5937 printf "%s\n" "unsupported" >&6; }
5939 if test "x$ac_cv_prog_cxx_cxx98" = x
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5942 printf "%s\n" "none needed" >&6; }
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5945 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5946 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5948 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5949 ac_prog_cxx_stdcxx
=cxx98
5954 ac_cpp
='$CPP $CPPFLAGS'
5955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5961 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s
"checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_CPPBIN+y}
5966 printf %s
"(cached) " >&6
5968 if test -n "$CPPBIN"; then
5969 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5975 case $as_dir in #(((
5978 *) as_dir
=$as_dir/ ;;
5980 for ac_exec_ext
in '' $ac_executable_extensions; do
5981 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5992 CPPBIN
=$ac_cv_prog_CPPBIN
5993 if test -n "$CPPBIN"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5995 printf "%s\n" "$CPPBIN" >&6; }
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6003 if test -z "$ac_cv_prog_CPPBIN"; then
6004 ac_ct_CPPBIN
=$CPPBIN
6005 # Extract the first word of "cpp", so it can be a program name with args.
6006 set dummy cpp
; ac_word
=$2
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 printf %s
"checking for $ac_word... " >&6; }
6009 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6011 printf %s
"(cached) " >&6
6013 if test -n "$ac_ct_CPPBIN"; then
6014 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 case $as_dir in #(((
6023 *) as_dir
=$as_dir/ ;;
6025 for ac_exec_ext
in '' $ac_executable_extensions; do
6026 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6037 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6038 if test -n "$ac_ct_CPPBIN"; then
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6040 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 printf "%s\n" "no" >&6; }
6046 if test "x$ac_ct_CPPBIN" = x
; then
6049 case $cross_compiling:$ac_tool_warned in
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned
=yes ;;
6055 CPPBIN
=$ac_ct_CPPBIN
6058 CPPBIN
="$ac_cv_prog_CPPBIN"
6062 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6064 if test -n "$ac_tool_prefix"; then
6065 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6066 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s
"checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_LD+y}
6071 printf %s
"(cached) " >&6
6073 if test -n "$LD"; then
6074 ac_cv_prog_LD
="$LD" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 case $as_dir in #(((
6083 *) as_dir
=$as_dir/ ;;
6085 for ac_exec_ext
in '' $ac_executable_extensions; do
6086 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6098 if test -n "$LD"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6100 printf "%s\n" "$LD" >&6; }
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6108 if test -z "$ac_cv_prog_LD"; then
6110 # Extract the first word of "ld", so it can be a program name with args.
6111 set dummy ld
; ac_word
=$2
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 printf %s
"checking for $ac_word... " >&6; }
6114 if test ${ac_cv_prog_ac_ct_LD+y}
6116 printf %s
"(cached) " >&6
6118 if test -n "$ac_ct_LD"; then
6119 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6125 case $as_dir in #(((
6128 *) as_dir
=$as_dir/ ;;
6130 for ac_exec_ext
in '' $ac_executable_extensions; do
6131 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_LD
="ld"
6133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6142 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6143 if test -n "$ac_ct_LD"; then
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6145 printf "%s\n" "$ac_ct_LD" >&6; }
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 printf "%s\n" "no" >&6; }
6151 if test "x$ac_ct_LD" = x
; then
6154 case $cross_compiling:$ac_tool_warned in
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned
=yes ;;
6169 with_fontconfig
=${with_fontconfig:-no}
6171 *-mingw32*|
*-cygwin*)
6172 enable_win16
=${enable_win16:-no}
6173 with_mingw
=${with_mingw:-no}
6180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6186 printf %s
"checking whether $CC works... " >&6; }
6187 if test ${wine_cv_cc_m32+y}
6189 printf %s
"(cached) " >&6
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6202 if ac_fn_c_try_link
"$LINENO"
6208 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6209 conftest
$ac_exeext conftest.
$ac_ext
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6212 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6213 test $wine_cv_cc_m32 != no || as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6215 notice_platform
="32-bit "
6216 TARGETFLAGS
="$TARGETFLAGS -m32"
6217 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6218 export PKG_CONFIG_PATH
6219 enable_win16
=${enable_win16:-yes}
6220 with_unwind
=${with_unwind:-no}
6222 if test "x${GCC}" = "xyes"
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6225 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6226 if test ${wine_cv_builtin_ms_va_list+y}
6228 printf %s
"(cached) " >&6
6230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6236 void func(__builtin_ms_va_list *args);
6241 if ac_fn_c_try_compile
"$LINENO"
6243 wine_cv_builtin_ms_va_list
=yes
6245 wine_cv_builtin_ms_va_list
=no
6247 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6250 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6251 test $wine_cv_builtin_ms_va_list != no || as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6256 notice_platform
="64-bit "
6257 TARGETFLAGS
="$TARGETFLAGS -m64"
6258 enable_wow64
=${enable_wow64:-yes}
6259 enable_wow64win
=${enable_wow64win:-yes}
6260 enable_wow64cpu
=${enable_wow64cpu:-yes}
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6265 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6266 if test ${wine_cv_thumb2+y}
6268 printf %s
"(cached) " >&6
6270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6276 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6281 if ac_fn_c_try_link
"$LINENO"
6287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6288 conftest
$ac_exeext conftest.
$ac_ext
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6291 printf "%s\n" "$wine_cv_thumb2" >&6; }
6292 if test x
"$wine_cv_thumb2" = xyes
6294 CFLAGS
="$CFLAGS -mthumb"
6295 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6297 CFLAGS
="$CFLAGS -marm"
6298 TARGETFLAGS
="$TARGETFLAGS -marm"
6300 case $with_float_abi in
6302 float_abi
=$with_float_abi ;;
6309 saved_CFLAGS
=$CFLAGS
6310 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6312 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6313 if test ${wine_cv_float_abi+y}
6315 printf %s
"(cached) " >&6
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6323 asm("vmrs r2,fpscr");
6328 if ac_fn_c_try_link
"$LINENO"
6330 wine_cv_float_abi
=yes
6332 wine_cv_float_abi
=no
6334 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6335 conftest
$ac_exeext conftest.
$ac_ext
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6338 printf "%s\n" "$wine_cv_float_abi" >&6; }
6339 if test $wine_cv_float_abi = no
6342 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6344 CFLAGS
=$saved_CFLAGS
6348 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6349 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6352 enable_wow64
=${enable_wow64:-yes}
6353 enable_wow64win
=${enable_wow64win:-yes}
6356 enable_win16
=${enable_win16:-yes}
6357 with_unwind
=${with_unwind:-no}
6361 enable_win16
=${enable_win16:-no}
6362 enable_win64
=${enable_win64:-no}
6363 enable_wow64
=${enable_wow64:-no}
6364 enable_wow64win
=${enable_wow64win:-no}
6365 enable_wow64cpu
=${enable_wow64cpu:-no}
6367 enable_winetest
=${enable_winetest:-$enable_tests}
6369 if test "x$enable_win64" = "xyes"
6371 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6372 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6376 cygwin
*|mingw32
*) toolsext
=".exe"
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6383 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6384 if test ${wine_cv_toolsdir+y}
6386 printf %s
"(cached) " >&6
6388 wine_cv_toolsdir
="$with_wine_tools"
6389 if test -z "$with_wine_tools"; then
6390 if test "$cross_compiling" = "yes"; then
6391 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6392 elif test -n "$with_wine64"; then
6393 wine_cv_toolsdir
="$with_wine64"
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6398 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6399 if test -z "$wine_cv_toolsdir"; then
6400 wine_makedep
=tools
/makedep
$toolsext
6401 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6402 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6403 enable_tools
=${enable_tools:-no}
6404 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6406 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6408 toolsdir
=$wine_cv_toolsdir
6410 MAKEDEP
=$wine_makedep
6412 RUNTESTFLAGS
="-q -P wine"
6414 SED_CMD
="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6417 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6419 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy
$ac_prog; ac_word
=$2
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 printf %s
"checking for $ac_word... " >&6; }
6428 if test ${ac_cv_prog_FLEX+y}
6430 printf %s
"(cached) " >&6
6432 if test -n "$FLEX"; then
6433 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6439 case $as_dir in #(((
6442 *) as_dir
=$as_dir/ ;;
6444 for ac_exec_ext
in '' $ac_executable_extensions; do
6445 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_FLEX
="$ac_prog"
6447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6456 FLEX
=$ac_cv_prog_FLEX
6457 if test -n "$FLEX"; then
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6459 printf "%s\n" "$FLEX" >&6; }
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 printf "%s\n" "no" >&6; }
6466 test -n "$FLEX" && break
6468 test -n "$FLEX" || FLEX
="none"
6470 if test "$FLEX" = "none"
6472 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6475 printf %s
"checking whether flex is recent enough... " >&6; }
6476 if test ${wine_cv_recent_flex+y}
6478 printf %s
"(cached) " >&6
6480 cat >conftest.l
<<EOF
6482 #include "prediluvian.h"
6486 if $FLEX -t conftest.l
>/dev
/null
2>&5
6488 wine_cv_recent_flex
=yes
6490 wine_cv_recent_flex
=no
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6494 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6495 test $wine_cv_recent_flex != no || as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6497 for ac_prog
in bison
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy
$ac_prog; ac_word
=$2
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 printf %s
"checking for $ac_word... " >&6; }
6503 if test ${ac_cv_prog_BISON+y}
6505 printf %s
"(cached) " >&6
6507 if test -n "$BISON"; then
6508 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6514 case $as_dir in #(((
6517 *) as_dir
=$as_dir/ ;;
6519 for ac_exec_ext
in '' $ac_executable_extensions; do
6520 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_BISON
="$ac_prog"
6522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6531 BISON
=$ac_cv_prog_BISON
6532 if test -n "$BISON"; then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6534 printf "%s\n" "$BISON" >&6; }
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 printf "%s\n" "no" >&6; }
6541 test -n "$BISON" && break
6543 test -n "$BISON" || BISON
="none"
6545 if test "$BISON" = "none"
6547 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6550 printf %s
"checking whether bison is recent enough... " >&6; }
6551 if test ${wine_cv_recent_bison+y}
6553 printf %s
"(cached) " >&6
6555 cat >conftest.y
<<EOF
6556 %define parse.error verbose
6560 if $BISON conftest.y
>/dev
/null
2>&5
6562 wine_cv_recent_bison
=yes
6564 wine_cv_recent_bison
=no
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6568 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6569 test $wine_cv_recent_bison != no || as_fn_error $?
"Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6571 if test -n "$ac_tool_prefix"; then
6572 for ac_prog
in ar gar
6574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6575 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 printf %s
"checking for $ac_word... " >&6; }
6578 if test ${ac_cv_prog_AR+y}
6580 printf %s
"(cached) " >&6
6582 if test -n "$AR"; then
6583 ac_cv_prog_AR
="$AR" # Let the user override the test.
6585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6589 case $as_dir in #(((
6592 *) as_dir
=$as_dir/ ;;
6594 for ac_exec_ext
in '' $ac_executable_extensions; do
6595 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6607 if test -n "$AR"; then
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6609 printf "%s\n" "$AR" >&6; }
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 printf "%s\n" "no" >&6; }
6616 test -n "$AR" && break
6619 if test -z "$AR"; then
6621 for ac_prog
in ar gar
6623 # Extract the first word of "$ac_prog", so it can be a program name with args.
6624 set dummy
$ac_prog; ac_word
=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s
"checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_ac_ct_AR+y}
6629 printf %s
"(cached) " >&6
6631 if test -n "$ac_ct_AR"; then
6632 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 case $as_dir in #(((
6641 *) as_dir
=$as_dir/ ;;
6643 for ac_exec_ext
in '' $ac_executable_extensions; do
6644 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_AR
="$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6655 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6656 if test -n "$ac_ct_AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6658 printf "%s\n" "$ac_ct_AR" >&6; }
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$ac_ct_AR" && break
6668 if test "x$ac_ct_AR" = x
; then
6671 case $cross_compiling:$ac_tool_warned in
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned
=yes ;;
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6683 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 printf %s
"checking for $ac_word... " >&6; }
6686 if test ${ac_cv_prog_STRIP+y}
6688 printf %s
"(cached) " >&6
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6697 case $as_dir in #(((
6700 *) as_dir
=$as_dir/ ;;
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6714 STRIP
=$ac_cv_prog_STRIP
6715 if test -n "$STRIP"; then
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6717 printf "%s\n" "$STRIP" >&6; }
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 printf "%s\n" "no" >&6; }
6725 if test -z "$ac_cv_prog_STRIP"; then
6727 # Extract the first word of "strip", so it can be a program name with args.
6728 set dummy strip
; ac_word
=$2
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 printf %s
"checking for $ac_word... " >&6; }
6731 if test ${ac_cv_prog_ac_ct_STRIP+y}
6733 printf %s
"(cached) " >&6
6735 if test -n "$ac_ct_STRIP"; then
6736 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6742 case $as_dir in #(((
6745 *) as_dir
=$as_dir/ ;;
6747 for ac_exec_ext
in '' $ac_executable_extensions; do
6748 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_STRIP
="strip"
6750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6759 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6762 printf "%s\n" "$ac_ct_STRIP" >&6; }
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 printf "%s\n" "no" >&6; }
6768 if test "x$ac_ct_STRIP" = x
; then
6771 case $cross_compiling:$ac_tool_warned in
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned
=yes ;;
6780 STRIP
="$ac_cv_prog_STRIP"
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 printf %s
"checking for $ac_word... " >&6; }
6788 if test ${ac_cv_prog_RANLIB+y}
6790 printf %s
"(cached) " >&6
6792 if test -n "$RANLIB"; then
6793 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6799 case $as_dir in #(((
6802 *) as_dir
=$as_dir/ ;;
6804 for ac_exec_ext
in '' $ac_executable_extensions; do
6805 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6816 RANLIB
=$ac_cv_prog_RANLIB
6817 if test -n "$RANLIB"; then
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6819 printf "%s\n" "$RANLIB" >&6; }
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 printf "%s\n" "no" >&6; }
6827 if test -z "$ac_cv_prog_RANLIB"; then
6828 ac_ct_RANLIB
=$RANLIB
6829 # Extract the first word of "ranlib", so it can be a program name with args.
6830 set dummy ranlib
; ac_word
=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s
"checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6835 printf %s
"(cached) " >&6
6837 if test -n "$ac_ct_RANLIB"; then
6838 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6844 case $as_dir in #(((
6847 *) as_dir
=$as_dir/ ;;
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6861 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6862 if test -n "$ac_ct_RANLIB"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6864 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6870 if test "x$ac_ct_RANLIB" = x
; then
6873 case $cross_compiling:$ac_tool_warned in
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned
=yes ;;
6879 RANLIB
=$ac_ct_RANLIB
6882 RANLIB
="$ac_cv_prog_RANLIB"
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6886 printf %s
"checking whether ln -s works... " >&6; }
6888 if test "$LN_S" = "ln -s"; then
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6890 printf "%s\n" "yes" >&6; }
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6893 printf "%s\n" "no, using $LN_S" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6897 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6898 if test ${ac_cv_path_GREP+y}
6900 printf %s
"(cached) " >&6
6902 if test -z "$GREP"; then
6903 ac_path_GREP_found
=false
6904 # Loop through the user's path and test for each of PROGNAME-LIST
6905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6906 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6909 case $as_dir in #(((
6912 *) as_dir
=$as_dir/ ;;
6914 for ac_prog
in grep ggrep
6916 for ac_exec_ext
in '' $ac_executable_extensions; do
6917 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6918 as_fn_executable_p
"$ac_path_GREP" ||
continue
6919 # Check for GNU ac_path_GREP and select it if it is found.
6920 # Check for GNU $ac_path_GREP
6921 case `"$ac_path_GREP" --version 2>&1` in
6923 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6926 printf %s
0123456789 >"conftest.in"
6929 cat "conftest.in" "conftest.in" >"conftest.tmp"
6930 mv "conftest.tmp" "conftest.in"
6931 cp "conftest.in" "conftest.nl"
6932 printf "%s\n" 'GREP' >> "conftest.nl"
6933 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6934 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6935 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6936 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6937 # Best one so far, save it but keep looking for a better one
6938 ac_cv_path_GREP
="$ac_path_GREP"
6939 ac_path_GREP_max
=$ac_count
6941 # 10*(2^10) chars as input seems more than enough
6942 test $ac_count -gt 10 && break
6944 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6947 $ac_path_GREP_found && break 3
6952 if test -z "$ac_cv_path_GREP"; then
6953 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6956 ac_cv_path_GREP
=$GREP
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6961 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6962 GREP
="$ac_cv_path_GREP"
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6966 printf %s
"checking for egrep... " >&6; }
6967 if test ${ac_cv_path_EGREP+y}
6969 printf %s
"(cached) " >&6
6971 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6972 then ac_cv_path_EGREP
="$GREP -E"
6974 if test -z "$EGREP"; then
6975 ac_path_EGREP_found
=false
6976 # Loop through the user's path and test for each of PROGNAME-LIST
6977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6978 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6981 case $as_dir in #(((
6984 *) as_dir
=$as_dir/ ;;
6986 for ac_prog
in egrep
6988 for ac_exec_ext
in '' $ac_executable_extensions; do
6989 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6990 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6991 # Check for GNU ac_path_EGREP and select it if it is found.
6992 # Check for GNU $ac_path_EGREP
6993 case `"$ac_path_EGREP" --version 2>&1` in
6995 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6998 printf %s
0123456789 >"conftest.in"
7001 cat "conftest.in" "conftest.in" >"conftest.tmp"
7002 mv "conftest.tmp" "conftest.in"
7003 cp "conftest.in" "conftest.nl"
7004 printf "%s\n" 'EGREP' >> "conftest.nl"
7005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7006 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7007 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7009 # Best one so far, save it but keep looking for a better one
7010 ac_cv_path_EGREP
="$ac_path_EGREP"
7011 ac_path_EGREP_max
=$ac_count
7013 # 10*(2^10) chars as input seems more than enough
7014 test $ac_count -gt 10 && break
7016 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7019 $ac_path_EGREP_found && break 3
7024 if test -z "$ac_cv_path_EGREP"; then
7025 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7028 ac_cv_path_EGREP
=$EGREP
7033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7034 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7035 EGREP
="$ac_cv_path_EGREP"
7038 # Extract the first word of "ldconfig", so it can be a program name with args.
7039 set dummy ldconfig
; ac_word
=$2
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 printf %s
"checking for $ac_word... " >&6; }
7042 if test ${ac_cv_path_LDCONFIG+y}
7044 printf %s
"(cached) " >&6
7048 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 for as_dir
in /sbin
/usr
/sbin
$PATH
7055 case $as_dir in #(((
7058 *) as_dir
=$as_dir/ ;;
7060 for ac_exec_ext
in '' $ac_executable_extensions; do
7061 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7062 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7070 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7074 LDCONFIG
=$ac_cv_path_LDCONFIG
7075 if test -n "$LDCONFIG"; then
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7077 printf "%s\n" "$LDCONFIG" >&6; }
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 printf "%s\n" "no" >&6; }
7084 for ac_prog
in msgfmt
7086 # Extract the first word of "$ac_prog", so it can be a program name with args.
7087 set dummy
$ac_prog; ac_word
=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s
"checking for $ac_word... " >&6; }
7090 if test ${ac_cv_prog_MSGFMT+y}
7092 printf %s
"(cached) " >&6
7094 if test -n "$MSGFMT"; then
7095 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 case $as_dir in #(((
7104 *) as_dir
=$as_dir/ ;;
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_MSGFMT
="$ac_prog"
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7118 MSGFMT
=$ac_cv_prog_MSGFMT
7119 if test -n "$MSGFMT"; then
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7121 printf "%s\n" "$MSGFMT" >&6; }
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 printf "%s\n" "no" >&6; }
7128 test -n "$MSGFMT" && break
7130 test -n "$MSGFMT" || MSGFMT
="false"
7132 if test ${ac_tool_prefix+y}
7134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7135 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s
"checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_PKG_CONFIG+y}
7140 printf %s
"(cached) " >&6
7142 if test -n "$PKG_CONFIG"; then
7143 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7149 case $as_dir in #(((
7152 *) as_dir
=$as_dir/ ;;
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7166 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7167 if test -n "$PKG_CONFIG"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7169 printf "%s\n" "$PKG_CONFIG" >&6; }
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7177 if ${ac_cv_prog_PKG_CONFIG:+false} :
7179 if test "x$cross_compiling" = xyes
7183 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7184 # Extract the first word of "pkg-config", so it can be a program name with args.
7185 set dummy pkg-config
; ac_word
=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s
"checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 printf %s
"(cached) " >&6
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 case $as_dir in #(((
7202 *) as_dir
=$as_dir/ ;;
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG
="pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7216 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7228 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7231 if test "x$enable_maintainer_mode" != "xyes"
7238 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7239 for ac_prog
in fontforge
7241 # Extract the first word of "$ac_prog", so it can be a program name with args.
7242 set dummy
$ac_prog; ac_word
=$2
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 printf %s
"checking for $ac_word... " >&6; }
7245 if test ${ac_cv_prog_FONTFORGE+y}
7247 printf %s
"(cached) " >&6
7249 if test -n "$FONTFORGE"; then
7250 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7256 case $as_dir in #(((
7259 *) as_dir
=$as_dir/ ;;
7261 for ac_exec_ext
in '' $ac_executable_extensions; do
7262 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_FONTFORGE
="$ac_prog"
7264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7273 FONTFORGE
=$ac_cv_prog_FONTFORGE
7274 if test -n "$FONTFORGE"; then
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7276 printf "%s\n" "$FONTFORGE" >&6; }
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 printf "%s\n" "no" >&6; }
7283 test -n "$FONTFORGE" && break
7285 test -n "$FONTFORGE" || FONTFORGE
="false"
7287 for ac_prog
in rsvg-convert rsvg
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy
$ac_prog; ac_word
=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s
"checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_RSVG+y}
7295 printf %s
"(cached) " >&6
7297 if test -n "$RSVG"; then
7298 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7304 case $as_dir in #(((
7307 *) as_dir
=$as_dir/ ;;
7309 for ac_exec_ext
in '' $ac_executable_extensions; do
7310 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_RSVG
="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7321 RSVG
=$ac_cv_prog_RSVG
7322 if test -n "$RSVG"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7324 printf "%s\n" "$RSVG" >&6; }
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$RSVG" && break
7333 test -n "$RSVG" || RSVG
="false"
7335 for ac_prog
in convert
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy
$ac_prog; ac_word
=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s
"checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_CONVERT+y}
7343 printf %s
"(cached) " >&6
7345 if test -n "$CONVERT"; then
7346 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7352 case $as_dir in #(((
7355 *) as_dir
=$as_dir/ ;;
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_CONVERT
="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7369 CONVERT
=$ac_cv_prog_CONVERT
7370 if test -n "$CONVERT"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7372 printf "%s\n" "$CONVERT" >&6; }
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$CONVERT" && break
7381 test -n "$CONVERT" || CONVERT
="false"
7383 for ac_prog
in icotool
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy
$ac_prog; ac_word
=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s
"checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_ICOTOOL+y}
7391 printf %s
"(cached) " >&6
7393 if test -n "$ICOTOOL"; then
7394 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7400 case $as_dir in #(((
7403 *) as_dir
=$as_dir/ ;;
7405 for ac_exec_ext
in '' $ac_executable_extensions; do
7406 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_ICOTOOL
="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7417 ICOTOOL
=$ac_cv_prog_ICOTOOL
7418 if test -n "$ICOTOOL"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7420 printf "%s\n" "$ICOTOOL" >&6; }
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$ICOTOOL" && break
7429 test -n "$ICOTOOL" || ICOTOOL
="false"
7431 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7432 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7434 if test "$CONVERT" = false
7436 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7439 printf %s
"checking for recent enough imagemagick... " >&6; }
7440 convert_version
=`convert --version | head -n1`
7441 if test "x$convert_version" != "x"
7443 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7444 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7445 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7450 if test "$CONVERT" = false
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7453 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7454 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7461 if test "$ICOTOOL" = false
7463 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7466 printf %s
"checking for recent enough icotool... " >&6; }
7467 icotool_version
=`icotool --version | head -n1`
7468 if test "x$icotool_version" != "x"
7470 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7475 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7478 if test "$ICOTOOL" = false
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7481 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7482 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7495 test "x$with_gettext" != xno || MSGFMT
=false
7496 if test "$MSGFMT" != "false"
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7499 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7500 if test ${wine_cv_msgfmt_contexts+y}
7502 printf %s
"(cached) " >&6
7504 cat >conftest.po
<<EOF
7510 if $MSGFMT -o /dev
/null conftest.po
2>&5
7512 wine_cv_msgfmt_contexts
=yes
7514 wine_cv_msgfmt_contexts
=no
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7518 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7519 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7521 if test "$MSGFMT" = false
7523 case "x$with_gettext" in
7524 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7526 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7527 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7529 enable_po
=${enable_po:-no}
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7534 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7535 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7537 printf %s
"(cached) " >&6
7539 ac_check_lib_save_LIBS
=$LIBS
7541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 /* Override any GCC internal prototype to avoid an error.
7545 Use char because int might match the return type of a GCC
7546 builtin and then its argument prototype would still apply. */
7547 char i386_set_ldt ();
7551 return i386_set_ldt ();
7556 if ac_fn_c_try_link
"$LINENO"
7558 ac_cv_lib_i386_i386_set_ldt
=yes
7560 ac_cv_lib_i386_i386_set_ldt
=no
7562 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7563 conftest
$ac_exeext conftest.
$ac_ext
7564 LIBS
=$ac_check_lib_save_LIBS
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7567 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7568 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7579 # Check whether --enable-largefile was given.
7580 if test ${enable_largefile+y}
7582 enableval
=$enable_largefile;
7585 if test "$enable_largefile" != no
; then
7587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7588 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7589 if test ${ac_cv_sys_largefile_CC+y}
7591 printf %s
"(cached) " >&6
7593 ac_cv_sys_largefile_CC
=no
7594 if test "$GCC" != yes; then
7597 # IRIX 6.2 and later do not support large files by default,
7598 # so use the C compiler's -n32 option if that helps.
7599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 #include <sys/types.h>
7602 /* Check that off_t can represent 2**63 - 1 correctly.
7603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7604 since some C++ compilers masquerading as C compilers
7605 incorrectly reject 9223372036854775807. */
7606 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7608 && LARGE_OFF_T % 2147483647 == 1)
7618 if ac_fn_c_try_compile
"$LINENO"
7622 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7624 if ac_fn_c_try_compile
"$LINENO"
7626 ac_cv_sys_largefile_CC
=' -n32'; break
7628 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7632 rm -f conftest.
$ac_ext
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7636 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7637 if test "$ac_cv_sys_largefile_CC" != no
; then
7638 CC
=$CC$ac_cv_sys_largefile_CC
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7642 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7643 if test ${ac_cv_sys_file_offset_bits+y}
7645 printf %s
"(cached) " >&6
7648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7667 if ac_fn_c_try_compile
"$LINENO"
7669 ac_cv_sys_file_offset_bits
=no
; break
7671 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #define _FILE_OFFSET_BITS 64
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7692 if ac_fn_c_try_compile
"$LINENO"
7694 ac_cv_sys_file_offset_bits
=64; break
7696 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7697 ac_cv_sys_file_offset_bits
=unknown
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7702 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7703 case $ac_cv_sys_file_offset_bits in #(
7706 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7710 if test $ac_cv_sys_file_offset_bits = unknown
; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7712 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7713 if test ${ac_cv_sys_large_files+y}
7715 printf %s
"(cached) " >&6
7718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7720 #include <sys/types.h>
7721 /* Check that off_t can represent 2**63 - 1 correctly.
7722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7723 since some C++ compilers masquerading as C compilers
7724 incorrectly reject 9223372036854775807. */
7725 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7727 && LARGE_OFF_T % 2147483647 == 1)
7737 if ac_fn_c_try_compile
"$LINENO"
7739 ac_cv_sys_large_files
=no
; break
7741 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #define _LARGE_FILES 1
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7762 if ac_fn_c_try_compile
"$LINENO"
7764 ac_cv_sys_large_files
=1; break
7766 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7767 ac_cv_sys_large_files
=unknown
7771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7772 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7773 case $ac_cv_sys_large_files in #(
7776 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7784 ac_header
= ac_cache
=
7785 for ac_item
in $ac_header_c_list
7787 if test $ac_cache; then
7788 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7789 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7790 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7792 ac_header
= ac_cache
=
7793 elif test $ac_header; then
7807 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7810 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7813 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7814 if test "x$ac_cv_header_AL_al_h" = xyes
7816 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7819 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7820 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7822 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7825 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7826 if test "x$ac_cv_header_CL_cl_h" = xyes
7828 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7831 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7834 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7840 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7846 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_EGL_egl_h" = xyes
7852 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7858 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7864 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7870 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7876 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_Security_Security_h" = xyes
7882 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7888 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7894 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_arpa_inet_h" = xyes
7900 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7906 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_asm_types_h" = xyes
7912 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_asm_user_h" = xyes
7918 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_elf_h" = xyes
7924 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_float_h" = xyes
7930 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_gettext_po_h" = xyes
7936 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_libproc_h" = xyes
7942 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_link_h" = xyes
7948 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7954 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_filter_h" = xyes
7960 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7966 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7972 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_input_h" = xyes
7978 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7984 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_major_h" = xyes
7990 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_param_h" = xyes
7996 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_serial_h" = xyes
8002 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_types_h" = xyes
8008 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8014 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_lwp_h" = xyes
8020 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8026 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_mach_mach_h" = xyes
8032 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_machine_cpu_h" = xyes
8038 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8044 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_mntent_h" = xyes
8050 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netdb_h" = xyes
8056 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_netinet_in_h" = xyes
8062 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8068 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8074 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8080 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8086 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_port_h" = xyes
8092 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_pthread_h" = xyes
8098 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_pwd_h" = xyes
8104 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8110 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sched_h" = xyes
8116 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8122 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8128 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_scsi_sg_h" = xyes
8134 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_stdint_h" = xyes
8140 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_attr_h" = xyes
8146 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_auxv_h" = xyes
8152 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_cdio_h" = xyes
8158 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_epoll_h" = xyes
8164 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_event_h" = xyes
8170 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_filio_h" = xyes
8176 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_ipc_h" = xyes
8182 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_link_h" = xyes
8188 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_modem_h" = xyes
8194 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_mtio_h" = xyes
8200 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_param_h" = xyes
8206 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_prctl_h" = xyes
8212 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8218 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_queue_h" = xyes
8224 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_random_h" = xyes
8230 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_resource_h" = xyes
8236 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8242 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_shm_h" = xyes
8248 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_signal_h" = xyes
8254 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8260 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_sockio_h" = xyes
8266 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8272 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_strtio_h" = xyes
8278 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_syscall_h" = xyes
8284 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8290 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_times_h" = xyes
8296 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_uio_h" = xyes
8302 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_user_h" = xyes
8308 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_utsname_h" = xyes
8314 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_vnode_h" = xyes
8320 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_syscall_h" = xyes
8326 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_utime_h" = xyes
8332 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8338 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8344 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8352 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8356 if test $ac_cv_header_sys_mkdev_h = no
; then
8357 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8361 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8367 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8368 if test ${ac_cv_header_stat_broken+y}
8370 printf %s
"(cached) " >&6
8372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 #include <sys/types.h>
8375 #include <sys/stat.h>
8377 #if defined S_ISBLK && defined S_IFDIR
8378 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8381 #if defined S_ISBLK && defined S_IFCHR
8382 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8385 #if defined S_ISLNK && defined S_IFREG
8386 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8389 #if defined S_ISSOCK && defined S_IFREG
8390 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8394 if ac_fn_c_try_compile
"$LINENO"
8396 ac_cv_header_stat_broken
=no
8398 ac_cv_header_stat_broken
=yes
8400 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8403 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8404 if test $ac_cv_header_stat_broken = yes; then
8406 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8412 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8417 if test "x$ac_cv_header_sys_conf_h" = xyes
8419 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8427 if test "x$ac_cv_header_sys_mount_h" = xyes
8429 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8437 if test "x$ac_cv_header_sys_statfs_h" = xyes
8439 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8447 if test "x$ac_cv_header_sys_user_h" = xyes
8449 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8453 #ifdef HAVE_SYS_PARAM_H
8454 # include <sys/param.h>
8457 if test "x$ac_cv_header_sys_vfs_h" = xyes
8459 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8464 saved_sysctl_h_CFLAGS
=$CFLAGS
8465 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8466 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8467 #ifdef HAVE_SYS_PARAM_H
8468 # include <sys/param.h>
8471 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8473 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8477 CFLAGS
=$saved_sysctl_h_CFLAGS
8479 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8480 #include <sys/socket.h>
8481 #ifdef HAVE_SYS_SOCKETVAR_H
8482 # include <sys/socketvar.h>
8484 #ifdef HAVE_NET_ROUTE_H
8485 # include <net/route.h>
8487 #ifdef HAVE_NETINET_IN_H
8488 # include <netinet/in.h>
8490 #ifdef HAVE_NETINET_IN_SYSTM_H
8491 # include <netinet/in_systm.h>
8493 #ifdef HAVE_NET_IF_H
8494 # include <net/if.h>
8496 #ifdef HAVE_NETINET_IP_H
8497 # include <netinet/ip.h>
8500 if test "x$ac_cv_header_netinet_ip_h" = xyes
8502 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8505 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8506 #include <sys/socket.h>
8507 #ifdef HAVE_SYS_SOCKETVAR_H
8508 # include <sys/socketvar.h>
8510 #ifdef HAVE_NET_ROUTE_H
8511 # include <net/route.h>
8513 #ifdef HAVE_NETINET_IN_H
8514 # include <netinet/in.h>
8516 #ifdef HAVE_NETINET_IN_SYSTM_H
8517 # include <netinet/in_systm.h>
8519 #ifdef HAVE_NET_IF_H
8520 # include <net/if.h>
8522 #ifdef HAVE_NETINET_IP_H
8523 # include <netinet/ip.h>
8526 if test "x$ac_cv_header_net_if_h" = xyes
8528 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8531 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8532 #include <sys/socket.h>
8533 #ifdef HAVE_SYS_SOCKETVAR_H
8534 # include <sys/socketvar.h>
8536 #ifdef HAVE_NET_ROUTE_H
8537 # include <net/route.h>
8539 #ifdef HAVE_NETINET_IN_H
8540 # include <netinet/in.h>
8542 #ifdef HAVE_NETINET_IN_SYSTM_H
8543 # include <netinet/in_systm.h>
8545 #ifdef HAVE_NET_IF_H
8546 # include <net/if.h>
8548 #ifdef HAVE_NETINET_IP_H
8549 # include <netinet/ip.h>
8552 if test "x$ac_cv_header_net_if_arp_h" = xyes
8554 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8557 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8558 #include <sys/socket.h>
8559 #ifdef HAVE_SYS_SOCKETVAR_H
8560 # include <sys/socketvar.h>
8562 #ifdef HAVE_NET_ROUTE_H
8563 # include <net/route.h>
8565 #ifdef HAVE_NETINET_IN_H
8566 # include <netinet/in.h>
8568 #ifdef HAVE_NETINET_IN_SYSTM_H
8569 # include <netinet/in_systm.h>
8571 #ifdef HAVE_NET_IF_H
8572 # include <net/if.h>
8574 #ifdef HAVE_NETINET_IP_H
8575 # include <netinet/ip.h>
8578 if test "x$ac_cv_header_net_if_dl_h" = xyes
8580 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8583 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8584 #include <sys/socket.h>
8585 #ifdef HAVE_SYS_SOCKETVAR_H
8586 # include <sys/socketvar.h>
8588 #ifdef HAVE_NET_ROUTE_H
8589 # include <net/route.h>
8591 #ifdef HAVE_NETINET_IN_H
8592 # include <netinet/in.h>
8594 #ifdef HAVE_NETINET_IN_SYSTM_H
8595 # include <netinet/in_systm.h>
8597 #ifdef HAVE_NET_IF_H
8598 # include <net/if.h>
8600 #ifdef HAVE_NETINET_IP_H
8601 # include <netinet/ip.h>
8604 if test "x$ac_cv_header_net_if_types_h" = xyes
8606 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8609 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8610 #include <sys/socket.h>
8611 #ifdef HAVE_SYS_SOCKETVAR_H
8612 # include <sys/socketvar.h>
8614 #ifdef HAVE_NET_ROUTE_H
8615 # include <net/route.h>
8617 #ifdef HAVE_NETINET_IN_H
8618 # include <netinet/in.h>
8620 #ifdef HAVE_NETINET_IN_SYSTM_H
8621 # include <netinet/in_systm.h>
8623 #ifdef HAVE_NET_IF_H
8624 # include <net/if.h>
8626 #ifdef HAVE_NETINET_IP_H
8627 # include <netinet/ip.h>
8630 if test "x$ac_cv_header_net_route_h" = xyes
8632 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8635 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8636 #include <sys/socket.h>
8637 #ifdef HAVE_SYS_SOCKETVAR_H
8638 # include <sys/socketvar.h>
8640 #ifdef HAVE_NET_ROUTE_H
8641 # include <net/route.h>
8643 #ifdef HAVE_NETINET_IN_H
8644 # include <netinet/in.h>
8646 #ifdef HAVE_NETINET_IN_SYSTM_H
8647 # include <netinet/in_systm.h>
8649 #ifdef HAVE_NET_IF_H
8650 # include <net/if.h>
8652 #ifdef HAVE_NETINET_IP_H
8653 # include <netinet/ip.h>
8656 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8658 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8661 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8662 #include <sys/socket.h>
8663 #ifdef HAVE_SYS_SOCKETVAR_H
8664 # include <sys/socketvar.h>
8666 #ifdef HAVE_NET_ROUTE_H
8667 # include <net/route.h>
8669 #ifdef HAVE_NETINET_IN_H
8670 # include <netinet/in.h>
8672 #ifdef HAVE_NETINET_IN_SYSTM_H
8673 # include <netinet/in_systm.h>
8675 #ifdef HAVE_NET_IF_H
8676 # include <net/if.h>
8678 #ifdef HAVE_NETINET_IP_H
8679 # include <netinet/ip.h>
8682 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8684 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8687 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8688 #include <sys/socket.h>
8689 #ifdef HAVE_SYS_SOCKETVAR_H
8690 # include <sys/socketvar.h>
8692 #ifdef HAVE_NET_ROUTE_H
8693 # include <net/route.h>
8695 #ifdef HAVE_NETINET_IN_H
8696 # include <netinet/in.h>
8698 #ifdef HAVE_NETINET_IN_SYSTM_H
8699 # include <netinet/in_systm.h>
8701 #ifdef HAVE_NET_IF_H
8702 # include <net/if.h>
8704 #ifdef HAVE_NETINET_IP_H
8705 # include <netinet/ip.h>
8708 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8710 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8713 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8714 #include <sys/socket.h>
8715 #ifdef HAVE_SYS_SOCKETVAR_H
8716 # include <sys/socketvar.h>
8718 #ifdef HAVE_NET_ROUTE_H
8719 # include <net/route.h>
8721 #ifdef HAVE_NETINET_IN_H
8722 # include <netinet/in.h>
8724 #ifdef HAVE_NETINET_IN_SYSTM_H
8725 # include <netinet/in_systm.h>
8727 #ifdef HAVE_NET_IF_H
8728 # include <net/if.h>
8730 #ifdef HAVE_NETINET_IP_H
8731 # include <netinet/ip.h>
8734 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8736 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8739 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8740 #include <sys/socket.h>
8741 #ifdef HAVE_SYS_SOCKETVAR_H
8742 # include <sys/socketvar.h>
8744 #ifdef HAVE_NET_ROUTE_H
8745 # include <net/route.h>
8747 #ifdef HAVE_NETINET_IN_H
8748 # include <netinet/in.h>
8750 #ifdef HAVE_NETINET_IN_SYSTM_H
8751 # include <netinet/in_systm.h>
8753 #ifdef HAVE_NET_IF_H
8754 # include <net/if.h>
8756 #ifdef HAVE_NETINET_IP_H
8757 # include <netinet/ip.h>
8760 if test "x$ac_cv_header_netinet_udp_h" = xyes
8762 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8765 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8766 #include <sys/socket.h>
8767 #ifdef HAVE_SYS_SOCKETVAR_H
8768 # include <sys/socketvar.h>
8770 #ifdef HAVE_NET_ROUTE_H
8771 # include <net/route.h>
8773 #ifdef HAVE_NETINET_IN_H
8774 # include <netinet/in.h>
8776 #ifdef HAVE_NETINET_IN_SYSTM_H
8777 # include <netinet/in_systm.h>
8779 #ifdef HAVE_NET_IF_H
8780 # include <net/if.h>
8782 #ifdef HAVE_NETINET_IP_H
8783 # include <netinet/ip.h>
8786 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8788 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8791 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8792 #include <sys/socket.h>
8793 #ifdef HAVE_SYS_SOCKETVAR_H
8794 # include <sys/socketvar.h>
8796 #ifdef HAVE_NET_ROUTE_H
8797 # include <net/route.h>
8799 #ifdef HAVE_NETINET_IN_H
8800 # include <netinet/in.h>
8802 #ifdef HAVE_NETINET_IN_SYSTM_H
8803 # include <netinet/in_systm.h>
8805 #ifdef HAVE_NET_IF_H
8806 # include <net/if.h>
8808 #ifdef HAVE_NETINET_IP_H
8809 # include <netinet/ip.h>
8812 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8814 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8817 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8818 #include <sys/socket.h>
8819 #ifdef HAVE_SYS_SOCKETVAR_H
8820 # include <sys/socketvar.h>
8822 #ifdef HAVE_NET_ROUTE_H
8823 # include <net/route.h>
8825 #ifdef HAVE_NETINET_IN_H
8826 # include <netinet/in.h>
8828 #ifdef HAVE_NETINET_IN_SYSTM_H
8829 # include <netinet/in_systm.h>
8831 #ifdef HAVE_NET_IF_H
8832 # include <net/if.h>
8834 #ifdef HAVE_NETINET_IP_H
8835 # include <netinet/ip.h>
8838 if test "x$ac_cv_header_sys_un_h" = xyes
8840 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8846 #include <sys/socket.h>
8847 #ifdef HAVE_SYS_SOCKETVAR_H
8848 # include <sys/socketvar.h>
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8856 #ifdef HAVE_NETINET_IP_H
8857 # include <netinet/ip.h>
8859 #ifdef HAVE_NETINET_IP_VAR_H
8860 # include <netinet/ip_var.h>
8862 #ifdef HAVE_NETINET_IP_ICMP_H
8863 # include <netinet/ip_icmp.h>
8865 #ifdef HAVE_NETINET_UDP_H
8866 # include <netinet/udp.h>
8868 #ifdef HAVE_NETINET_TCP_H
8869 # include <netinet/tcp.h>
8872 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8874 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8877 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8878 #include <sys/socket.h>
8879 #ifdef HAVE_SYS_SOCKETVAR_H
8880 # include <sys/socketvar.h>
8882 #ifdef HAVE_NETINET_IN_H
8883 # include <netinet/in.h>
8885 #ifdef HAVE_NETINET_IN_SYSTM_H
8886 # include <netinet/in_systm.h>
8888 #ifdef HAVE_NETINET_IP_H
8889 # include <netinet/ip.h>
8891 #ifdef HAVE_NETINET_IP_VAR_H
8892 # include <netinet/ip_var.h>
8894 #ifdef HAVE_NETINET_IP_ICMP_H
8895 # include <netinet/ip_icmp.h>
8897 #ifdef HAVE_NETINET_UDP_H
8898 # include <netinet/udp.h>
8900 #ifdef HAVE_NETINET_TCP_H
8901 # include <netinet/tcp.h>
8904 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8906 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8909 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8910 #include <sys/socket.h>
8911 #ifdef HAVE_SYS_SOCKETVAR_H
8912 # include <sys/socketvar.h>
8914 #ifdef HAVE_NETINET_IN_H
8915 # include <netinet/in.h>
8917 #ifdef HAVE_NETINET_IN_SYSTM_H
8918 # include <netinet/in_systm.h>
8920 #ifdef HAVE_NETINET_IP_H
8921 # include <netinet/ip.h>
8923 #ifdef HAVE_NETINET_IP_VAR_H
8924 # include <netinet/ip_var.h>
8926 #ifdef HAVE_NETINET_IP_ICMP_H
8927 # include <netinet/ip_icmp.h>
8929 #ifdef HAVE_NETINET_UDP_H
8930 # include <netinet/udp.h>
8932 #ifdef HAVE_NETINET_TCP_H
8933 # include <netinet/tcp.h>
8936 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8938 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8941 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8942 #include <sys/socket.h>
8943 #ifdef HAVE_SYS_SOCKETVAR_H
8944 # include <sys/socketvar.h>
8946 #ifdef HAVE_NETINET_IN_H
8947 # include <netinet/in.h>
8949 #ifdef HAVE_NETINET_IN_SYSTM_H
8950 # include <netinet/in_systm.h>
8952 #ifdef HAVE_NETINET_IP_H
8953 # include <netinet/ip.h>
8955 #ifdef HAVE_NETINET_IP_VAR_H
8956 # include <netinet/ip_var.h>
8958 #ifdef HAVE_NETINET_IP_ICMP_H
8959 # include <netinet/ip_icmp.h>
8961 #ifdef HAVE_NETINET_UDP_H
8962 # include <netinet/udp.h>
8964 #ifdef HAVE_NETINET_TCP_H
8965 # include <netinet/tcp.h>
8968 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8970 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8976 #include <sys/socket.h>
8977 #ifdef HAVE_ASM_TYPES_H
8978 # include <asm/types.h>
8980 #ifdef HAVE_LINUX_TYPES_H
8981 # include <linux/types.h>
8984 if test "x$ac_cv_header_linux_ipx_h" = xyes
8986 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8990 #include <sys/socket.h>
8991 #ifdef HAVE_ASM_TYPES_H
8992 # include <asm/types.h>
8994 #ifdef HAVE_LINUX_TYPES_H
8995 # include <linux/types.h>
8998 if test "x$ac_cv_header_linux_irda_h" = xyes
9000 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9003 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9004 #include <sys/socket.h>
9005 #ifdef HAVE_ASM_TYPES_H
9006 # include <asm/types.h>
9008 #ifdef HAVE_LINUX_TYPES_H
9009 # include <linux/types.h>
9012 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9014 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9019 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9020 #include <sys/socket.h>
9021 #ifdef HAVE_NETINET_IN_H
9022 # include <netinet/in.h>
9024 #ifdef HAVE_ARPA_NAMESER_H
9025 # include <arpa/nameser.h>
9028 if test "x$ac_cv_header_resolv_h" = xyes
9030 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9037 if test "x$ac_cv_header_ifaddrs_h" = xyes
9039 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9046 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9048 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9054 #ifdef HAVE_SYS_UCONTEXT_H
9055 #include <sys/ucontext.h>
9058 if test "x$ac_cv_header_sys_thr_h" = xyes
9060 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9066 #include <pthread.h>
9069 if test "x$ac_cv_header_pthread_np_h" = xyes
9071 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9076 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9077 #include <sys/types.h>
9078 #ifdef HAVE_ASM_TYPES_H
9079 #include <asm/types.h>
9082 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9084 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9089 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9090 #include <sys/param.h>
9092 #include <sys/socket.h>
9093 #ifdef HAVE_SYS_QUEUE_H
9094 #include <sys/queue.h>
9097 if test "x$ac_cv_header_libprocstat_h" = xyes
9099 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9113 UNIXDLLFLAGS
="-fPIC"
9115 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9121 WINELOADER_LDFLAGS
=""
9123 WINEPRELOADER_LDFLAGS
=""
9126 # Extract the first word of "ldd", so it can be a program name with args.
9127 set dummy ldd
; ac_word
=$2
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 printf %s
"checking for $ac_word... " >&6; }
9130 if test ${ac_cv_path_LDD+y}
9132 printf %s
"(cached) " >&6
9136 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9140 as_dummy
="/sbin:/usr/sbin:$PATH"
9141 for as_dir
in $as_dummy
9144 case $as_dir in #(((
9147 *) as_dir
=$as_dir/ ;;
9149 for ac_exec_ext
in '' $ac_executable_extensions; do
9150 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9151 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9159 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9164 if test -n "$LDD"; then
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9166 printf "%s\n" "$LDD" >&6; }
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 printf "%s\n" "no" >&6; }
9173 if test -n "$ac_tool_prefix"; then
9174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9175 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 printf %s
"checking for $ac_word... " >&6; }
9178 if test ${ac_cv_prog_OTOOL+y}
9180 printf %s
"(cached) " >&6
9182 if test -n "$OTOOL"; then
9183 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9189 case $as_dir in #(((
9192 *) as_dir
=$as_dir/ ;;
9194 for ac_exec_ext
in '' $ac_executable_extensions; do
9195 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9196 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9206 OTOOL
=$ac_cv_prog_OTOOL
9207 if test -n "$OTOOL"; then
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9209 printf "%s\n" "$OTOOL" >&6; }
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 printf "%s\n" "no" >&6; }
9217 if test -z "$ac_cv_prog_OTOOL"; then
9219 # Extract the first word of "otool", so it can be a program name with args.
9220 set dummy otool
; ac_word
=$2
9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222 printf %s
"checking for $ac_word... " >&6; }
9223 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9225 printf %s
"(cached) " >&6
9227 if test -n "$ac_ct_OTOOL"; then
9228 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9234 case $as_dir in #(((
9237 *) as_dir
=$as_dir/ ;;
9239 for ac_exec_ext
in '' $ac_executable_extensions; do
9240 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_ac_ct_OTOOL
="otool"
9242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9251 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9252 if test -n "$ac_ct_OTOOL"; then
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9254 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 printf "%s\n" "no" >&6; }
9260 if test "x$ac_ct_OTOOL" = x
; then
9263 case $cross_compiling:$ac_tool_warned in
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9266 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9267 ac_tool_warned
=yes ;;
9272 OTOOL
="$ac_cv_prog_OTOOL"
9275 if test -n "$ac_tool_prefix"; then
9276 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9277 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 printf %s
"checking for $ac_word... " >&6; }
9280 if test ${ac_cv_prog_READELF+y}
9282 printf %s
"(cached) " >&6
9284 if test -n "$READELF"; then
9285 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9291 case $as_dir in #(((
9294 *) as_dir
=$as_dir/ ;;
9296 for ac_exec_ext
in '' $ac_executable_extensions; do
9297 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9298 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9308 READELF
=$ac_cv_prog_READELF
9309 if test -n "$READELF"; then
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9311 printf "%s\n" "$READELF" >&6; }
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9314 printf "%s\n" "no" >&6; }
9319 if test -z "$ac_cv_prog_READELF"; then
9320 ac_ct_READELF
=$READELF
9321 # Extract the first word of "readelf", so it can be a program name with args.
9322 set dummy readelf
; ac_word
=$2
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9324 printf %s
"checking for $ac_word... " >&6; }
9325 if test ${ac_cv_prog_ac_ct_READELF+y}
9327 printf %s
"(cached) " >&6
9329 if test -n "$ac_ct_READELF"; then
9330 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9336 case $as_dir in #(((
9339 *) as_dir
=$as_dir/ ;;
9341 for ac_exec_ext
in '' $ac_executable_extensions; do
9342 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9343 ac_cv_prog_ac_ct_READELF
="readelf"
9344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9353 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9354 if test -n "$ac_ct_READELF"; then
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9356 printf "%s\n" "$ac_ct_READELF" >&6; }
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 printf "%s\n" "no" >&6; }
9362 if test "x$ac_ct_READELF" = x
; then
9365 case $cross_compiling:$ac_tool_warned in
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9368 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9369 ac_tool_warned
=yes ;;
9371 READELF
=$ac_ct_READELF
9374 READELF
="$ac_cv_prog_READELF"
9382 CONFIGURE_TARGETS
=""
9385 wine_fn_append_file
()
9387 as_fn_append
$1 " \\$as_nl $2"
9390 wine_fn_append_rule
()
9392 as_fn_append wine_rules
"$as_nl$1"
9395 wine_fn_config_makefile
()
9397 wine_fn_append_file SUBDIRS
$1
9398 if eval test \"x\$
"$2"\" = x
"no"
9400 wine_fn_append_file DISABLED_SUBDIRS
$1
9404 wine_fn_config_symlink
()
9407 wine_fn_append_rule \
9409 @./config.status \$@"
9410 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
9414 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
9415 WINELOADER_PROGRAMS
="$wine_binary"
9417 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9421 if test -n "$ac_tool_prefix"; then
9422 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9423 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425 printf %s
"checking for $ac_word... " >&6; }
9426 if test ${ac_cv_prog_DLLTOOL+y}
9428 printf %s
"(cached) " >&6
9430 if test -n "$DLLTOOL"; then
9431 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9437 case $as_dir in #(((
9440 *) as_dir
=$as_dir/ ;;
9442 for ac_exec_ext
in '' $ac_executable_extensions; do
9443 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9444 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9454 DLLTOOL
=$ac_cv_prog_DLLTOOL
9455 if test -n "$DLLTOOL"; then
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9457 printf "%s\n" "$DLLTOOL" >&6; }
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9460 printf "%s\n" "no" >&6; }
9465 if test -z "$ac_cv_prog_DLLTOOL"; then
9466 ac_ct_DLLTOOL
=$DLLTOOL
9467 # Extract the first word of "dlltool", so it can be a program name with args.
9468 set dummy dlltool
; ac_word
=$2
9469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9470 printf %s
"checking for $ac_word... " >&6; }
9471 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9473 printf %s
"(cached) " >&6
9475 if test -n "$ac_ct_DLLTOOL"; then
9476 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9482 case $as_dir in #(((
9485 *) as_dir
=$as_dir/ ;;
9487 for ac_exec_ext
in '' $ac_executable_extensions; do
9488 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9489 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9499 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9500 if test -n "$ac_ct_DLLTOOL"; then
9501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9502 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9505 printf "%s\n" "no" >&6; }
9508 if test "x$ac_ct_DLLTOOL" = x
; then
9511 case $cross_compiling:$ac_tool_warned in
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9514 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9515 ac_tool_warned
=yes ;;
9517 DLLTOOL
=$ac_ct_DLLTOOL
9520 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9524 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9526 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9527 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9528 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9530 printf %s
"(cached) " >&6
9532 ac_wine_try_cflags_saved
=$CFLAGS
9533 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9536 int main(int argc, char **argv) { return 0; }
9538 if ac_fn_c_try_link
"$LINENO"
9540 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9542 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9544 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9545 conftest
$ac_exeext conftest.
$ac_ext
9546 CFLAGS
=$ac_wine_try_cflags_saved
9548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9549 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9550 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9552 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9555 enable_loader
=${enable_loader:-no}
9556 enable_server
=${enable_server:-no}
9557 with_x
=${with_x:-no}
9558 with_pthread
=${with_pthread:-no}
9563 ac_cpp
='$OBJCPP $CPPFLAGS'
9564 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9565 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9566 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9569 ac_cpp
='$OBJCPP $CPPFLAGS'
9570 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9571 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9572 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9573 if test -n "$ac_tool_prefix"; then
9574 for ac_prog
in gcc objcc objc cc CC clang
9576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9577 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9579 printf %s
"checking for $ac_word... " >&6; }
9580 if test ${ac_cv_prog_OBJC+y}
9582 printf %s
"(cached) " >&6
9584 if test -n "$OBJC"; then
9585 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9591 case $as_dir in #(((
9594 *) as_dir
=$as_dir/ ;;
9596 for ac_exec_ext
in '' $ac_executable_extensions; do
9597 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9598 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9608 OBJC
=$ac_cv_prog_OBJC
9609 if test -n "$OBJC"; then
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9611 printf "%s\n" "$OBJC" >&6; }
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 printf "%s\n" "no" >&6; }
9618 test -n "$OBJC" && break
9621 if test -z "$OBJC"; then
9623 for ac_prog
in gcc objcc objc cc CC clang
9625 # Extract the first word of "$ac_prog", so it can be a program name with args.
9626 set dummy
$ac_prog; ac_word
=$2
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 printf %s
"checking for $ac_word... " >&6; }
9629 if test ${ac_cv_prog_ac_ct_OBJC+y}
9631 printf %s
"(cached) " >&6
9633 if test -n "$ac_ct_OBJC"; then
9634 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9640 case $as_dir in #(((
9643 *) as_dir
=$as_dir/ ;;
9645 for ac_exec_ext
in '' $ac_executable_extensions; do
9646 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9657 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9658 if test -n "$ac_ct_OBJC"; then
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9660 printf "%s\n" "$ac_ct_OBJC" >&6; }
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 printf "%s\n" "no" >&6; }
9667 test -n "$ac_ct_OBJC" && break
9670 if test "x$ac_ct_OBJC" = x
; then
9673 case $cross_compiling:$ac_tool_warned in
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9677 ac_tool_warned
=yes ;;
9683 # Provide some information about the compiler.
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9687 for ac_option
in --version -v -V -qversion; do
9688 { { ac_try
="$ac_compiler $ac_option >&5"
9690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9694 printf "%s\n" "$ac_try_echo"; } >&5
9695 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9697 if test -s conftest.err; then
9699 ... rest of stderr output deleted ...
9700 10q' conftest.err >conftest.er1
9701 cat conftest.er1 >&5
9703 rm -f conftest.er1 conftest.err
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9705 test $ac_status = 0; }
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9709 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9710 if test ${ac_cv_objc_compiler_gnu+y}
9712 printf %s "(cached) " >&6
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9728 if ac_fn_objc_try_compile "$LINENO"
9734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9735 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9739 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9740 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9742 if test $ac_compiler_gnu = yes; then
9747 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9748 ac_save_OBJCFLAGS=$OBJCFLAGS
9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9750 printf %s "checking whether $OBJC accepts -g... " >&6; }
9751 if test ${ac_cv_prog_objc_g+y}
9753 printf %s "(cached) " >&6
9755 ac_save_objc_werror_flag=$ac_objc_werror_flag
9756 ac_objc_werror_flag=yes
9757 ac_cv_prog_objc_g=no
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9770 if ac_fn_objc_try_compile "$LINENO"
9772 ac_cv_prog_objc_g=yes
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9786 if ac_fn_objc_try_compile "$LINENO"
9790 ac_objc_werror_flag=$ac_save_objc_werror_flag
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9803 if ac_fn_objc_try_compile "$LINENO"
9805 ac_cv_prog_objc_g=yes
9807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 ac_objc_werror_flag=$ac_save_objc_werror_flag
9814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9815 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9816 if test $ac_test_OBJCFLAGS; then
9817 OBJCFLAGS=$ac_save_OBJCFLAGS
9818 elif test $ac_cv_prog_objc_g = yes; then
9819 if test "$GOBJC" = yes; then
9825 if test "$GOBJC" = yes; then
9832 ac_cpp='$OBJCPP $CPPFLAGS'
9833 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9834 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9835 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9838 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9839 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9841 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9846 ac_cpp='$CPP $CPPFLAGS'
9847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9852 DLLFLAGS="$DLLFLAGS -fPIC"
9854 COREFOUNDATION_LIBS="-framework CoreFoundation"
9856 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9858 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9860 CORESERVICES_LIBS="-framework CoreServices"
9862 APPKIT_LIBS="-framework AppKit"
9864 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9867 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9869 wine_can_build_preloader=yes
9870 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9872 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9873 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9875 printf %s "(cached) " >&6
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int main(int argc, char **argv) { return 0; }
9883 if ac_fn_c_try_link "$LINENO"
9885 ac_cv_cflags__Wl__no_new_main__e__main=yes
9887 ac_cv_cflags__Wl__no_new_main__e__main=no
9889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9890 conftest$ac_exeext conftest.$ac_ext
9891 CFLAGS=$ac_wine_try_cflags_saved
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9894 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9895 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9897 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9899 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9900 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9902 printf %s "(cached) " >&6
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int main(int argc, char **argv) { return 0; }
9910 if ac_fn_c_try_link "$LINENO"
9912 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9914 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9921 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9922 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9924 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9926 wine_can_build_preloader=no
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9930 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9931 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9933 printf %s "(cached) " >&6
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int main(int argc, char **argv) { return 0; }
9941 if ac_fn_c_try_link "$LINENO"
9943 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9945 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9952 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9953 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9955 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9957 wine_can_build_preloader=no
9960 if test "$wine_can_build_preloader" = "yes"
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9963 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9964 if test ${ac_cv_cflags__Wl__no_pie+y}
9966 printf %s "(cached) " >&6
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 CFLAGS="$CFLAGS -Wl,-no_pie"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9974 if ac_fn_c_try_link "$LINENO"
9976 ac_cv_cflags__Wl__no_pie=yes
9978 ac_cv_cflags__Wl__no_pie=no
9980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9985 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9986 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9988 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9990 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9991 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9993 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9996 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9998 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10001 if test "$ac_cv_header_Security_Security_h" = "yes"
10003 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10006 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10008 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10010 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10012 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10014 OPENAL_LIBS="-framework OpenAL"
10017 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10019 ac_cv_lib_openal=yes
10021 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10023 OPENCL_LIBS="-framework OpenCL"
10025 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10027 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10029 ac_save_LIBS="$LIBS"
10030 LIBS="$LIBS $IOKIT_LIBS"
10031 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10032 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10034 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10038 LIBS="$ac_save_LIBS"
10041 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10043 CARBON_LIBS="-framework Carbon"
10046 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10048 METAL_LIBS="-framework Metal"
10052 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10055 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10057 ac_cpp='$OBJCPP $CPPFLAGS'
10058 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10059 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10060 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 #include <Metal/Metal.h>
10068 id<MTLDevice> device; device.registryID;
10073 if ac_fn_objc_try_compile "$LINENO"
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10076 printf "%s\n" "yes" >&6; }
10078 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 printf "%s\n" "no" >&6; }
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10086 ac_cpp='$CPP $CPPFLAGS'
10087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10093 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10095 ac_save_LIBS="$LIBS"
10096 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10097 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10098 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10100 enable_winemac_drv=${enable_winemac_drv:-yes}
10103 LIBS="$ac_save_LIBS"
10106 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10107 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10109 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10111 WINELOADER_DEPENDS="wine_info.plist"
10113 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10118 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10120 DLLFLAGS="$DLLFLAGS -fPIC"
10122 LDEXECFLAGS="-Wl,-pie"
10123 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10125 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10126 if test ${ac_cv_cflags__Wl__z_defs+y}
10128 printf %s "(cached) " >&6
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 CFLAGS="$CFLAGS -Wl,-z,defs"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10134 int main(int argc, char **argv) { return 0; }
10136 if ac_fn_c_try_link "$LINENO"
10138 ac_cv_cflags__Wl__z_defs=yes
10140 ac_cv_cflags__Wl__z_defs=no
10142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10143 conftest$ac_exeext conftest.$ac_ext
10144 CFLAGS=$ac_wine_try_cflags_saved
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10147 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10148 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10150 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10153 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10154 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10156 printf %s "(cached) " >&6
10158 ac_wine_try_cflags_saved=$CFLAGS
10159 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 int main(int argc, char **argv) { return 0; }
10164 if ac_fn_c_try_link "$LINENO"
10166 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10168 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10175 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10178 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10180 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10183 printf %s "checking for -lEGL... " >&6; }
10184 if test ${ac_cv_lib_soname_EGL+y}
10186 printf %s "(cached) " >&6
10188 ac_check_soname_save_LIBS=$LIBS
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 char eglGetProcAddress ();
10200 return eglGetProcAddress ();
10205 if ac_fn_c_try_link "$LINENO"
10208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10209 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest
$ac_exeext |
grep "libEGL\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10211 if ${ac_cv_lib_soname_EGL:+false} :
10213 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10217 ac_cv_lib_soname_EGL=
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_EGL:+false} :
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10226 printf "%s\n" "not found" >&6; }
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10230 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10232 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10237 printf %s "checking for -lGLESv2... " >&6; }
10238 if test ${ac_cv_lib_soname_GLESv2+y}
10240 printf %s "(cached) " >&6
10242 ac_check_soname_save_LIBS=$LIBS
10243 LIBS="-lGLESv2 $LIBS"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10259 if ac_fn_c_try_link "$LINENO"
10262 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10263 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest
$ac_exeext |
grep "libGLESv2\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10264 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10265 if ${ac_cv_lib_soname_GLESv2:+false} :
10267 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 ac_cv_lib_soname_GLESv2=
10273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_GLESv2:+false} :
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 printf "%s\n" "not found" >&6; }
10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10284 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10286 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10291 if test "x$exec_prefix" = xNONE
10294 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10295 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10296 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10297 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10304 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10306 test "$ac_cv_sys_file_offset_bits" = 64 &&
10307 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10311 DLLFLAGS="$DLLFLAGS -fno-PIC"
10312 LDDLLFLAGS="-fno-PIC"
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10314 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10315 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10317 printf %s "(cached) " >&6
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int main(int argc, char **argv) { return 0; }
10325 if ac_fn_c_try_link "$LINENO"
10327 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10329 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10332 conftest$ac_exeext conftest.$ac_ext
10333 CFLAGS=$ac_wine_try_cflags_saved
10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10336 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10337 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10339 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10343 DLLFLAGS="$DLLFLAGS -fPIC"
10344 LDDLLFLAGS="-fPIC" ;;
10346 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10348 echo '{ global: *; };' >conftest.map
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10350 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10351 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10353 printf %s "(cached) " >&6
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int main(int argc, char **argv) { return 0; }
10361 if ac_fn_c_try_link "$LINENO"
10363 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10365 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10372 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10373 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10375 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10380 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10381 if test ${ac_cv_cflags__Wl__z_defs+y}
10383 printf %s "(cached) " >&6
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 CFLAGS="$CFLAGS -Wl,-z,defs"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int main(int argc, char **argv) { return 0; }
10391 if ac_fn_c_try_link "$LINENO"
10393 ac_cv_cflags__Wl__z_defs=yes
10395 ac_cv_cflags__Wl__z_defs=no
10397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10402 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10403 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10405 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10408 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10409 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10411 printf %s "(cached) " >&6
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 int main(int argc, char **argv) { return 0; }
10419 if ac_fn_c_try_link "$LINENO"
10421 ac_cv_cflags__Wl___export_dynamic=yes
10423 ac_cv_cflags__Wl___export_dynamic=no
10425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10426 conftest$ac_exeext conftest.$ac_ext
10427 CFLAGS=$ac_wine_try_cflags_saved
10429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10430 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10431 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10433 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10435 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10438 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10440 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10441 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10443 printf %s "(cached) " >&6
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10449 int main(int argc, char **argv) { return 0; }
10451 if ac_fn_c_try_link "$LINENO"
10453 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10462 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10463 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10466 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10467 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10471 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10472 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10474 printf %s "(cached) " >&6
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int main(int argc, char **argv) { return 0; }
10482 if ac_fn_c_try_link "$LINENO"
10484 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10489 conftest$ac_exeext conftest.$ac_ext
10490 CFLAGS=$ac_wine_try_cflags_saved
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10493 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10494 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10497 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10498 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10501 # Extract the first word of "prelink", so it can be a program name with args.
10502 set dummy prelink; ac_word=$2
10503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10504 printf %s "checking for $ac_word... " >&6; }
10505 if test ${ac_cv_path_PRELINK+y}
10507 printf %s "(cached) " >&6
10511 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10515 for as_dir in /sbin /usr/sbin $PATH
10518 case $as_dir in #(((
10521 *) as_dir=$as_dir/ ;;
10523 for ac_exec_ext in '' $ac_executable_extensions; do
10524 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10525 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10533 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10537 PRELINK=$ac_cv_path_PRELINK
10538 if test -n "$PRELINK"; then
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10540 printf "%s\n" "$PRELINK" >&6; }
10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 printf "%s\n" "no" >&6; }
10547 if test "x$PRELINK" = xfalse
10549 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10553 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10554 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10556 printf %s "(cached) " >&6
10558 ac_wine_try_cflags_saved=$CFLAGS
10559 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int main(int argc, char **argv) { return 0; }
10564 if ac_fn_c_try_link "$LINENO"
10566 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10568 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10571 conftest$ac_exeext conftest.$ac_ext
10572 CFLAGS=$ac_wine_try_cflags_saved
10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10575 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10576 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10578 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10582 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10584 LIBWINE_DEPENDS="wine.map"
10586 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10590 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10591 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10592 enable_winemac_drv=${enable_winemac_drv:-no}
10595 if test "x$with_mingw" != xno
10597 case "x$with_mingw" in
10598 x|xyes) case "$host_cpu" in
10600 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10602 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10604 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
10605 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10606 mingw32-gcc clang" ;;
10608 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
10609 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10611 ac_prefix_list="" ;;
10613 for ac_prog in $ac_prefix_list
10615 # Extract the first word of "$ac_prog", so it can be a program name with args.
10616 set dummy $ac_prog; ac_word=$2
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10618 printf %s "checking for $ac_word... " >&6; }
10619 if test ${ac_cv_prog_CROSSCC+y}
10621 printf %s "(cached) " >&6
10623 if test -n "$CROSSCC"; then
10624 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10630 case $as_dir in #(((
10633 *) as_dir=$as_dir/ ;;
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10637 ac_cv_prog_CROSSCC="$ac_prog"
10638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10647 CROSSCC=$ac_cv_prog_CROSSCC
10648 if test -n "$CROSSCC"; then
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10650 printf "%s\n" "$CROSSCC" >&6; }
10652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10653 printf "%s\n" "no" >&6; }
10657 test -n "$CROSSCC" && break
10659 test -n "$CROSSCC" || CROSSCC="false"
10661 *) CROSSCC=$with_mingw ;;
10663 if test "$CROSSCC" != "false"
10666 saved_CFLAGS=$CFLAGS
10667 saved_LDFLAGS=$LDFLAGS
10668 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10670 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10675 CFLAGS=$CROSSCFLAGS
10676 LDFLAGS=$CROSSLDFLAGS
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10678 printf %s "checking whether $CROSSCC works... " >&6; }
10679 if test ${wine_cv_crosscc+y}
10681 printf %s "(cached) " >&6
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10694 if ac_fn_c_try_compile "$LINENO"
10696 wine_cv_crosscc=yes
10700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10703 printf "%s\n" "$wine_cv_crosscc" >&6; }
10704 if test $wine_cv_crosscc = yes
10708 while test $# -ge 1
10711 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10712 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10717 llvm_target=$CROSSTARGET
10718 llvm_cflags="-fuse-ld=lld"
10719 if test -z "$llvm_target"
10722 *i[3456789]86*) llvm_target=i686-windows ;;
10723 *) llvm_target=$host_cpu-windows ;;
10726 case $llvm_target in
10727 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10729 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10731 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10732 if eval test \${$as_ac_var+y}
10734 printf %s "(cached) " >&6
10736 ac_wine_try_cflags_saved=$CFLAGS
10737 ac_wine_try_cflags_saved_cc=$CC
10738 ac_wine_try_cflags_saved_exeext=$ac_exeext
10739 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10744 int __cdecl mainCRTStartup(void) { return 0; }
10746 if ac_fn_c_try_link "$LINENO"
10748 eval "$as_ac_var=yes"
10750 eval "$as_ac_var=no"
10752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10753 conftest$ac_exeext conftest.$ac_ext
10754 CFLAGS=$ac_wine_try_cflags_saved
10755 CC=$ac_wine_try_cflags_saved_cc
10756 ac_exeext=$ac_wine_try_cflags_saved_exeext
10758 eval ac_res=\$$as_ac_var
10759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10760 printf "%s\n" "$ac_res" >&6; }
10761 if eval test \"x\$"$as_ac_var"\" = x"yes"
10763 CROSSTARGET=$llvm_target
10764 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10765 DELAYLOADFLAG="-Wl,-delayload,"
10767 CFLAGS="$CFLAGS $llvm_cflags"
10770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10771 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10772 if test ${wine_cv_crosscc_c99+y}
10774 printf %s "(cached) " >&6
10776 wine_cv_crosscc_c99=no
10777 for arg in '' '-std=gnu99'
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10782 $ac_c_conftest_c99_program
10784 if ac_fn_c_try_compile "$LINENO"
10786 wine_cv_crosscc_c99=$arg
10788 wine_cv_crosscc_c99=no
10790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10791 test "x$wine_cv_crosscc_c99" != xno && break
10795 case "x$wine_cv_crosscc_c99" in
10796 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10797 printf "%s\n" "none needed" >&6; } ;;
10798 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10799 printf "%s\n" "unsupported" >&6; } ;;
10800 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10801 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10802 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10806 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10807 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10809 printf %s "(cached) " >&6
10811 ac_wine_try_cflags_saved=$CFLAGS
10812 ac_wine_try_cflags_saved_cc=$CC
10813 ac_wine_try_cflags_saved_exeext=$ac_exeext
10814 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10819 int __cdecl mainCRTStartup(void) { return 0; }
10821 if ac_fn_c_try_link "$LINENO"
10823 ac_cv_crosscflags__fno_strict_aliasing=yes
10825 ac_cv_crosscflags__fno_strict_aliasing=no
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10828 conftest$ac_exeext conftest.$ac_ext
10829 CFLAGS=$ac_wine_try_cflags_saved
10830 CC=$ac_wine_try_cflags_saved_cc
10831 ac_exeext=$ac_wine_try_cflags_saved_exeext
10833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10834 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10835 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10837 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10840 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10841 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10843 printf %s "(cached) " >&6
10845 ac_wine_try_cflags_saved=$CFLAGS
10846 ac_wine_try_cflags_saved_cc=$CC
10847 ac_wine_try_cflags_saved_exeext=$ac_exeext
10848 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853 int __cdecl mainCRTStartup(void) { return 0; }
10855 if ac_fn_c_try_link "$LINENO"
10857 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10859 ac_cv_crosscflags__Werror_unknown_warning_option=no
10861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10862 conftest$ac_exeext conftest.$ac_ext
10863 CFLAGS=$ac_wine_try_cflags_saved
10864 CC=$ac_wine_try_cflags_saved_cc
10865 ac_exeext=$ac_wine_try_cflags_saved_exeext
10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10868 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10869 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10871 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10874 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10875 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10877 printf %s "(cached) " >&6
10879 ac_wine_try_cflags_saved=$CFLAGS
10880 ac_wine_try_cflags_saved_cc=$CC
10881 ac_wine_try_cflags_saved_exeext=$ac_exeext
10882 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10887 int __cdecl mainCRTStartup(void) { return 0; }
10889 if ac_fn_c_try_link "$LINENO"
10891 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10893 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10896 conftest$ac_exeext conftest.$ac_ext
10897 CFLAGS=$ac_wine_try_cflags_saved
10898 CC=$ac_wine_try_cflags_saved_cc
10899 ac_exeext=$ac_wine_try_cflags_saved_exeext
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10902 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10903 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10905 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10908 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10909 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10911 printf %s "(cached) " >&6
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_cc=$CC
10915 ac_wine_try_cflags_saved_exeext=$ac_exeext
10916 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10921 int __cdecl mainCRTStartup(void) { return 0; }
10923 if ac_fn_c_try_link "$LINENO"
10925 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10927 ac_cv_crosscflags__Wdeclaration_after_statement=no
10929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10930 conftest$ac_exeext conftest.$ac_ext
10931 CFLAGS=$ac_wine_try_cflags_saved
10932 CC=$ac_wine_try_cflags_saved_cc
10933 ac_exeext=$ac_wine_try_cflags_saved_exeext
10935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10936 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10937 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10939 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10942 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10943 if test ${ac_cv_crosscflags__Wempty_body+y}
10945 printf %s "(cached) " >&6
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_cc=$CC
10949 ac_wine_try_cflags_saved_exeext=$ac_exeext
10950 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10955 int __cdecl mainCRTStartup(void) { return 0; }
10957 if ac_fn_c_try_link "$LINENO"
10959 ac_cv_crosscflags__Wempty_body=yes
10961 ac_cv_crosscflags__Wempty_body=no
10963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10964 conftest$ac_exeext conftest.$ac_ext
10965 CFLAGS=$ac_wine_try_cflags_saved
10966 CC=$ac_wine_try_cflags_saved_cc
10967 ac_exeext=$ac_wine_try_cflags_saved_exeext
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10970 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10971 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10973 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10976 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10977 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10979 printf %s "(cached) " >&6
10981 ac_wine_try_cflags_saved=$CFLAGS
10982 ac_wine_try_cflags_saved_cc=$CC
10983 ac_wine_try_cflags_saved_exeext=$ac_exeext
10984 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10989 int __cdecl mainCRTStartup(void) { return 0; }
10991 if ac_fn_c_try_link "$LINENO"
10993 ac_cv_crosscflags__Wignored_qualifiers=yes
10995 ac_cv_crosscflags__Wignored_qualifiers=no
10997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10998 conftest$ac_exeext conftest.$ac_ext
10999 CFLAGS=$ac_wine_try_cflags_saved
11000 CC=$ac_wine_try_cflags_saved_cc
11001 ac_exeext=$ac_wine_try_cflags_saved_exeext
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11004 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11005 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11007 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11010 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11011 if test ${ac_cv_crosscflags__Winit_self+y}
11013 printf %s "(cached) " >&6
11015 ac_wine_try_cflags_saved=$CFLAGS
11016 ac_wine_try_cflags_saved_cc=$CC
11017 ac_wine_try_cflags_saved_exeext=$ac_exeext
11018 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11023 int __cdecl mainCRTStartup(void) { return 0; }
11025 if ac_fn_c_try_link "$LINENO"
11027 ac_cv_crosscflags__Winit_self=yes
11029 ac_cv_crosscflags__Winit_self=no
11031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11032 conftest$ac_exeext conftest.$ac_ext
11033 CFLAGS=$ac_wine_try_cflags_saved
11034 CC=$ac_wine_try_cflags_saved_cc
11035 ac_exeext=$ac_wine_try_cflags_saved_exeext
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11038 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11039 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11041 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11044 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11045 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11047 printf %s "(cached) " >&6
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_cc=$CC
11051 ac_wine_try_cflags_saved_exeext=$ac_exeext
11052 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11059 if ac_fn_c_try_link "$LINENO"
11061 ac_cv_crosscflags__Wpacked_not_aligned=yes
11063 ac_cv_crosscflags__Wpacked_not_aligned=no
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 CC=$ac_wine_try_cflags_saved_cc
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11072 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11073 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11078 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11079 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11081 printf %s "(cached) " >&6
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_cc=$CC
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11093 if ac_fn_c_try_link "$LINENO"
11095 ac_cv_crosscflags__Wpragma_pack=yes
11097 ac_cv_crosscflags__Wpragma_pack=no
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 CC=$ac_wine_try_cflags_saved_cc
11103 ac_exeext=$ac_wine_try_cflags_saved_exeext
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11106 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11107 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11112 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11113 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11115 printf %s "(cached) " >&6
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_cc=$CC
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 int __cdecl mainCRTStartup(void) { return 0; }
11127 if ac_fn_c_try_link "$LINENO"
11129 ac_cv_crosscflags__Wshift_overflow_2=yes
11131 ac_cv_crosscflags__Wshift_overflow_2=no
11133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11134 conftest$ac_exeext conftest.$ac_ext
11135 CFLAGS=$ac_wine_try_cflags_saved
11136 CC=$ac_wine_try_cflags_saved_cc
11137 ac_exeext=$ac_wine_try_cflags_saved_exeext
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11140 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11141 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11146 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11147 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11149 printf %s "(cached) " >&6
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_cc=$CC
11153 ac_wine_try_cflags_saved_exeext=$ac_exeext
11154 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 int __cdecl mainCRTStartup(void) { return 0; }
11161 if ac_fn_c_try_link "$LINENO"
11163 ac_cv_crosscflags__Wstrict_prototypes=yes
11165 ac_cv_crosscflags__Wstrict_prototypes=no
11167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11168 conftest$ac_exeext conftest.$ac_ext
11169 CFLAGS=$ac_wine_try_cflags_saved
11170 CC=$ac_wine_try_cflags_saved_cc
11171 ac_exeext=$ac_wine_try_cflags_saved_exeext
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11174 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11175 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11180 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11181 if test ${ac_cv_crosscflags__Wtype_limits+y}
11183 printf %s "(cached) " >&6
11185 ac_wine_try_cflags_saved=$CFLAGS
11186 ac_wine_try_cflags_saved_cc=$CC
11187 ac_wine_try_cflags_saved_exeext=$ac_exeext
11188 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 int __cdecl mainCRTStartup(void) { return 0; }
11195 if ac_fn_c_try_link "$LINENO"
11197 ac_cv_crosscflags__Wtype_limits=yes
11199 ac_cv_crosscflags__Wtype_limits=no
11201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11202 conftest$ac_exeext conftest.$ac_ext
11203 CFLAGS=$ac_wine_try_cflags_saved
11204 CC=$ac_wine_try_cflags_saved_cc
11205 ac_exeext=$ac_wine_try_cflags_saved_exeext
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11208 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11209 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11214 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11215 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11217 printf %s "(cached) " >&6
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_cc=$CC
11221 ac_wine_try_cflags_saved_exeext=$ac_exeext
11222 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11227 int __cdecl mainCRTStartup(void) { return 0; }
11229 if ac_fn_c_try_link "$LINENO"
11231 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11233 ac_cv_crosscflags__Wunused_but_set_parameter=no
11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11236 conftest$ac_exeext conftest.$ac_ext
11237 CFLAGS=$ac_wine_try_cflags_saved
11238 CC=$ac_wine_try_cflags_saved_cc
11239 ac_exeext=$ac_wine_try_cflags_saved_exeext
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11242 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11243 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11245 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11248 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11249 if test ${ac_cv_crosscflags__Wvla+y}
11251 printf %s "(cached) " >&6
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_cc=$CC
11255 ac_wine_try_cflags_saved_exeext=$ac_exeext
11256 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 int __cdecl mainCRTStartup(void) { return 0; }
11263 if ac_fn_c_try_link "$LINENO"
11265 ac_cv_crosscflags__Wvla=yes
11267 ac_cv_crosscflags__Wvla=no
11269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11270 conftest$ac_exeext conftest.$ac_ext
11271 CFLAGS=$ac_wine_try_cflags_saved
11272 CC=$ac_wine_try_cflags_saved_cc
11273 ac_exeext=$ac_wine_try_cflags_saved_exeext
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11276 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11277 if test "x$ac_cv_crosscflags__Wvla" = xyes
11279 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11282 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11283 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11285 printf %s "(cached) " >&6
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_cc=$CC
11289 ac_wine_try_cflags_saved_exeext=$ac_exeext
11290 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11295 int __cdecl mainCRTStartup(void) { return 0; }
11297 if ac_fn_c_try_link "$LINENO"
11299 ac_cv_crosscflags__Wwrite_strings=yes
11301 ac_cv_crosscflags__Wwrite_strings=no
11303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11304 conftest$ac_exeext conftest.$ac_ext
11305 CFLAGS=$ac_wine_try_cflags_saved
11306 CC=$ac_wine_try_cflags_saved_cc
11307 ac_exeext=$ac_wine_try_cflags_saved_exeext
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11310 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11311 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11313 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11316 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11317 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11319 printf %s "(cached) " >&6
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_cc=$CC
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11329 int __cdecl mainCRTStartup(void) { return 0; }
11331 if ac_fn_c_try_link "$LINENO"
11333 ac_cv_crosscflags__Wpointer_arith=yes
11335 ac_cv_crosscflags__Wpointer_arith=no
11337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11338 conftest$ac_exeext conftest.$ac_ext
11339 CFLAGS=$ac_wine_try_cflags_saved
11340 CC=$ac_wine_try_cflags_saved_cc
11341 ac_exeext=$ac_wine_try_cflags_saved_exeext
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11344 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11345 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11350 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11351 if test ${ac_cv_crosscflags__Wlogical_op+y}
11353 printf %s "(cached) " >&6
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_cc=$CC
11357 ac_wine_try_cflags_saved_exeext=$ac_exeext
11358 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11363 int __cdecl mainCRTStartup(void) { return 0; }
11365 if ac_fn_c_try_link "$LINENO"
11367 ac_cv_crosscflags__Wlogical_op=yes
11369 ac_cv_crosscflags__Wlogical_op=no
11371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11372 conftest$ac_exeext conftest.$ac_ext
11373 CFLAGS=$ac_wine_try_cflags_saved
11374 CC=$ac_wine_try_cflags_saved_cc
11375 ac_exeext=$ac_wine_try_cflags_saved_exeext
11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11378 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11379 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11381 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11384 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11385 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11387 printf %s "(cached) " >&6
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_cc=$CC
11391 ac_wine_try_cflags_saved_exeext=$ac_exeext
11392 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 int __cdecl mainCRTStartup(void) { return 0; }
11399 if ac_fn_c_try_link "$LINENO"
11401 ac_cv_crosscflags__Wabsolute_value=yes
11403 ac_cv_crosscflags__Wabsolute_value=no
11405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11406 conftest$ac_exeext conftest.$ac_ext
11407 CFLAGS=$ac_wine_try_cflags_saved
11408 CC=$ac_wine_try_cflags_saved_cc
11409 ac_exeext=$ac_wine_try_cflags_saved_exeext
11411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11412 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11413 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11415 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11419 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11420 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11421 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11423 printf %s "(cached) " >&6
11425 ac_wine_try_cflags_saved=$CFLAGS
11426 ac_wine_try_cflags_saved_cc=$CC
11427 ac_wine_try_cflags_saved_exeext=$ac_exeext
11428 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11433 int __cdecl mainCRTStartup(void) { return 0; }
11435 if ac_fn_c_try_link "$LINENO"
11437 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11439 ac_cv_crosscflags__fno_omit_frame_pointer=no
11441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11442 conftest$ac_exeext conftest.$ac_ext
11443 CFLAGS=$ac_wine_try_cflags_saved
11444 CC=$ac_wine_try_cflags_saved_cc
11445 ac_exeext=$ac_wine_try_cflags_saved_exeext
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11448 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11449 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11453 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11454 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11455 if test ${ac_cv_crosscflags__Wno_format+y}
11457 printf %s "(cached) " >&6
11459 ac_wine_try_cflags_saved=$CFLAGS
11460 ac_wine_try_cflags_saved_cc=$CC
11461 ac_wine_try_cflags_saved_exeext=$ac_exeext
11462 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11467 int __cdecl mainCRTStartup(void) { return 0; }
11469 if ac_fn_c_try_link "$LINENO"
11471 ac_cv_crosscflags__Wno_format=yes
11473 ac_cv_crosscflags__Wno_format=no
11475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11476 conftest$ac_exeext conftest.$ac_ext
11477 CFLAGS=$ac_wine_try_cflags_saved
11478 CC=$ac_wine_try_cflags_saved_cc
11479 ac_exeext=$ac_wine_try_cflags_saved_exeext
11481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11482 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11483 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11485 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11488 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11489 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11491 printf %s "(cached) " >&6
11493 ac_wine_try_cflags_saved=$CFLAGS
11494 ac_wine_try_cflags_saved_cc=$CC
11495 ac_wine_try_cflags_saved_exeext=$ac_exeext
11496 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 int __cdecl mainCRTStartup(void) { return 0; }
11503 if ac_fn_c_try_link "$LINENO"
11505 ac_cv_crosscflags__Wformat_overflow=yes
11507 ac_cv_crosscflags__Wformat_overflow=no
11509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11510 conftest$ac_exeext conftest.$ac_ext
11511 CFLAGS=$ac_wine_try_cflags_saved
11512 CC=$ac_wine_try_cflags_saved_cc
11513 ac_exeext=$ac_wine_try_cflags_saved_exeext
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11516 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11517 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11519 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11522 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11523 if test ${ac_cv_crosscflags__Wnonnull+y}
11525 printf %s "(cached) " >&6
11527 ac_wine_try_cflags_saved=$CFLAGS
11528 ac_wine_try_cflags_saved_cc=$CC
11529 ac_wine_try_cflags_saved_exeext=$ac_exeext
11530 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11535 int __cdecl mainCRTStartup(void) { return 0; }
11537 if ac_fn_c_try_link "$LINENO"
11539 ac_cv_crosscflags__Wnonnull=yes
11541 ac_cv_crosscflags__Wnonnull=no
11543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11544 conftest$ac_exeext conftest.$ac_ext
11545 CFLAGS=$ac_wine_try_cflags_saved
11546 CC=$ac_wine_try_cflags_saved_cc
11547 ac_exeext=$ac_wine_try_cflags_saved_exeext
11549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11550 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11551 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11553 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11556 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11557 if test ${ac_cv_crosscflags__mcx16+y}
11559 printf %s "(cached) " >&6
11561 ac_wine_try_cflags_saved=$CFLAGS
11562 ac_wine_try_cflags_saved_cc=$CC
11563 ac_wine_try_cflags_saved_exeext=$ac_exeext
11564 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11569 int __cdecl mainCRTStartup(void) { return 0; }
11571 if ac_fn_c_try_link "$LINENO"
11573 ac_cv_crosscflags__mcx16=yes
11575 ac_cv_crosscflags__mcx16=no
11577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11578 conftest$ac_exeext conftest.$ac_ext
11579 CFLAGS=$ac_wine_try_cflags_saved
11580 CC=$ac_wine_try_cflags_saved_cc
11581 ac_exeext=$ac_wine_try_cflags_saved_exeext
11583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11584 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11585 if test "x$ac_cv_crosscflags__mcx16" = xyes
11587 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11589 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11590 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11591 if test ${ac_cv_crosscflags__Wno_format+y}
11593 printf %s "(cached) " >&6
11595 ac_wine_try_cflags_saved=$CFLAGS
11596 ac_wine_try_cflags_saved_cc=$CC
11597 ac_wine_try_cflags_saved_exeext=$ac_exeext
11598 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11603 int __cdecl mainCRTStartup(void) { return 0; }
11605 if ac_fn_c_try_link "$LINENO"
11607 ac_cv_crosscflags__Wno_format=yes
11609 ac_cv_crosscflags__Wno_format=no
11611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11612 conftest$ac_exeext conftest.$ac_ext
11613 CFLAGS=$ac_wine_try_cflags_saved
11614 CC=$ac_wine_try_cflags_saved_cc
11615 ac_exeext=$ac_wine_try_cflags_saved_exeext
11617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11618 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11619 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11621 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11626 if test -z "$CROSSDEBUG"
11628 for ac_flag in $CROSSCFLAGS; do
11630 -gdwarf*) CROSSDEBUG=dwarf ;;
11631 -gcodeview) CROSSDEBUG=pdb ;;
11632 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11637 ac_debug_format_seen=""
11638 for ac_flag in $CROSSCFLAGS; do
11640 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11643 if test "x$ac_debug_format_seen" = x
11645 case $CROSSDEBUG in
11646 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11647 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11648 if test ${ac_cv_crosscflags__gdwarf_4+y}
11650 printf %s "(cached) " >&6
11652 ac_wine_try_cflags_saved=$CFLAGS
11653 ac_wine_try_cflags_saved_cc=$CC
11654 ac_wine_try_cflags_saved_exeext=$ac_exeext
11655 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11660 int __cdecl mainCRTStartup(void) { return 0; }
11662 if ac_fn_c_try_link "$LINENO"
11664 ac_cv_crosscflags__gdwarf_4=yes
11666 ac_cv_crosscflags__gdwarf_4=no
11668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11669 conftest$ac_exeext conftest.$ac_ext
11670 CFLAGS=$ac_wine_try_cflags_saved
11671 CC=$ac_wine_try_cflags_saved_cc
11672 ac_exeext=$ac_wine_try_cflags_saved_exeext
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11675 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11676 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11678 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11680 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11681 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11682 if test ${ac_cv_crosscflags__gcodeview+y}
11684 printf %s "(cached) " >&6
11686 ac_wine_try_cflags_saved=$CFLAGS
11687 ac_wine_try_cflags_saved_cc=$CC
11688 ac_wine_try_cflags_saved_exeext=$ac_exeext
11689 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11694 int __cdecl mainCRTStartup(void) { return 0; }
11696 if ac_fn_c_try_link "$LINENO"
11698 ac_cv_crosscflags__gcodeview=yes
11700 ac_cv_crosscflags__gcodeview=no
11702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11703 conftest$ac_exeext conftest.$ac_ext
11704 CFLAGS=$ac_wine_try_cflags_saved
11705 CC=$ac_wine_try_cflags_saved_cc
11706 ac_exeext=$ac_wine_try_cflags_saved_exeext
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11709 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11710 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11712 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11718 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11719 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11721 printf %s "(cached) " >&6
11723 ac_wine_try_cflags_saved=$CFLAGS
11724 ac_wine_try_cflags_saved_cc=$CC
11725 ac_wine_try_cflags_saved_exeext=$ac_exeext
11726 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11731 int __cdecl mainCRTStartup(void) { return 0; }
11733 if ac_fn_c_try_link "$LINENO"
11735 ac_cv_crosscflags__fexcess_precision_standard=yes
11737 ac_cv_crosscflags__fexcess_precision_standard=no
11739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11740 conftest$ac_exeext conftest.$ac_ext
11741 CFLAGS=$ac_wine_try_cflags_saved
11742 CC=$ac_wine_try_cflags_saved_cc
11743 ac_exeext=$ac_wine_try_cflags_saved_exeext
11745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11746 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11747 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11749 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11753 if test "x$enable_werror" = "xyes"
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11756 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11757 if test ${ac_cv_crosscflags__Werror+y}
11759 printf %s "(cached) " >&6
11761 ac_wine_try_cflags_saved=$CFLAGS
11762 ac_wine_try_cflags_saved_cc=$CC
11763 ac_wine_try_cflags_saved_exeext=$ac_exeext
11764 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11769 int __cdecl mainCRTStartup(void) { return 0; }
11771 if ac_fn_c_try_link "$LINENO"
11773 ac_cv_crosscflags__Werror=yes
11775 ac_cv_crosscflags__Werror=no
11777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11778 conftest$ac_exeext conftest.$ac_ext
11779 CFLAGS=$ac_wine_try_cflags_saved
11780 CC=$ac_wine_try_cflags_saved_cc
11781 ac_exeext=$ac_wine_try_cflags_saved_exeext
11783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11784 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11785 if test "x$ac_cv_crosscflags__Werror" = xyes
11787 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11790 if test "x$enable_build_id" = "xyes"
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11793 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11794 if test ${ac_cv_crosscflags__Wl___build_id+y}
11796 printf %s "(cached) " >&6
11798 ac_wine_try_cflags_saved=$CFLAGS
11799 ac_wine_try_cflags_saved_cc=$CC
11800 ac_wine_try_cflags_saved_exeext=$ac_exeext
11801 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 int __cdecl mainCRTStartup(void) { return 0; }
11808 if ac_fn_c_try_link "$LINENO"
11810 ac_cv_crosscflags__Wl___build_id=yes
11812 ac_cv_crosscflags__Wl___build_id=no
11814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11815 conftest$ac_exeext conftest.$ac_ext
11816 CFLAGS=$ac_wine_try_cflags_saved
11817 CC=$ac_wine_try_cflags_saved_cc
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11821 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11822 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11824 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11825 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11829 CFLAGS=$saved_CFLAGS
11830 LDFLAGS=$saved_LDFLAGS
11834 if test "x$CROSSTARGET" = "x"
11836 case "x$with_mingw" in
11837 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11839 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11840 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11846 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11850 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11852 case "$host_cpu" in
11854 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11856 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11858 for ac_prog in $ac_prefix_list
11860 # Extract the first word of "$ac_prog", so it can be a program name with args.
11861 set dummy $ac_prog; ac_word=$2
11862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11863 printf %s "checking for $ac_word... " >&6; }
11864 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11866 printf %s "(cached) " >&6
11868 if test -n "$MINGW_PKG_CONFIG"; then
11869 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11872 for as_dir in $PATH
11875 case $as_dir in #(((
11878 *) as_dir=$as_dir/ ;;
11880 for ac_exec_ext in '' $ac_executable_extensions; do
11881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11882 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11892 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11893 if test -n "$MINGW_PKG_CONFIG"; then
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11895 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898 printf "%s\n" "no" >&6; }
11902 test -n "$MINGW_PKG_CONFIG" && break
11904 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11906 if ${FAUDIO_PE_CFLAGS:+false} :
11908 if test ${MINGW_PKG_CONFIG+y}
11910 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11913 if ${FAUDIO_PE_LIBS:+false} :
11915 if test ${MINGW_PKG_CONFIG+y}
11917 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11920 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11924 printf %s "checking for MinGW FAudio.h... " >&6; }
11925 if test ${ac_cv_mingw_header_FAudio_h+y}
11927 printf %s "(cached) " >&6
11929 ac_wine_check_headers_saved_cc=$CC
11930 ac_wine_check_headers_saved_exeext=$ac_exeext
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11936 #include <FAudio.h>
11945 if ac_fn_c_try_compile "$LINENO"
11947 ac_cv_mingw_header_FAudio_h=yes
11949 ac_cv_mingw_header_FAudio_h=no
11951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11952 CC=$ac_wine_check_headers_saved_cc
11953 ac_exeext=$ac_wine_check_headers_saved_exeext
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11956 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11957 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11960 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11961 if test ${ac_cv_mingw_lib_FAudio+y}
11963 printf %s "(cached) " >&6
11965 ac_wine_check_headers_saved_cc=$CC
11966 ac_wine_check_headers_saved_exeext=$ac_exeext
11967 ac_wine_check_headers_saved_libs=$LIBS
11970 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 char FAudio_CommitOperationSet ();
11981 return FAudio_CommitOperationSet ();
11986 if ac_fn_c_try_link "$LINENO"
11988 ac_cv_mingw_lib_FAudio=yes
11990 ac_cv_mingw_lib_FAudio=no
11992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11993 conftest$ac_exeext conftest.$ac_ext
11994 CC=$ac_wine_check_headers_saved_cc
11995 ac_exeext=$ac_wine_check_headers_saved_exeext
11996 LIBS=$ac_wine_check_headers_saved_libs
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11999 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12000 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12004 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12007 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12009 CPPFLAGS=$ac_save_CPPFLAGS
12011 if test "x$FAUDIO_PE_LIBS" = "x"
12013 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12016 if ${JPEG_PE_CFLAGS:+false} :
12018 if test ${MINGW_PKG_CONFIG+y}
12020 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12023 if ${JPEG_PE_LIBS:+false} :
12025 if test ${MINGW_PKG_CONFIG+y}
12027 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12031 ac_save_CPPFLAGS=$CPPFLAGS
12032 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12034 printf %s "checking for MinGW jpeglib.h... " >&6; }
12035 if test ${ac_cv_mingw_header_jpeglib_h+y}
12037 printf %s "(cached) " >&6
12039 ac_wine_check_headers_saved_cc=$CC
12040 ac_wine_check_headers_saved_exeext=$ac_exeext
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12045 #include <stddef.h>
12047 #include <jpeglib.h>
12056 if ac_fn_c_try_compile "$LINENO"
12058 ac_cv_mingw_header_jpeglib_h=yes
12060 ac_cv_mingw_header_jpeglib_h=no
12062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12063 CC=$ac_wine_check_headers_saved_cc
12064 ac_exeext=$ac_wine_check_headers_saved_exeext
12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12067 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12068 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12071 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12072 if test ${ac_cv_mingw_lib_jpeg+y}
12074 printf %s "(cached) " >&6
12076 ac_wine_check_headers_saved_cc=$CC
12077 ac_wine_check_headers_saved_exeext=$ac_exeext
12078 ac_wine_check_headers_saved_libs=$LIBS
12081 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 char jpeg_start_decompress ();
12092 return jpeg_start_decompress ();
12097 if ac_fn_c_try_link "$LINENO"
12099 ac_cv_mingw_lib_jpeg=yes
12101 ac_cv_mingw_lib_jpeg=no
12103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12104 conftest$ac_exeext conftest.$ac_ext
12105 CC=$ac_wine_check_headers_saved_cc
12106 ac_exeext=$ac_wine_check_headers_saved_exeext
12107 LIBS=$ac_wine_check_headers_saved_libs
12109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12110 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12111 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12115 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12118 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12120 CPPFLAGS=$ac_save_CPPFLAGS
12122 if test "x$JPEG_PE_LIBS" = "x"
12124 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12127 if ${LCMS2_PE_CFLAGS:+false} :
12129 if test ${MINGW_PKG_CONFIG+y}
12131 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12134 if ${LCMS2_PE_LIBS:+false} :
12136 if test ${MINGW_PKG_CONFIG+y}
12138 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12141 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12142 ac_save_CPPFLAGS=$CPPFLAGS
12143 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12145 printf %s "checking for MinGW lcms2.h... " >&6; }
12146 if test ${ac_cv_mingw_header_lcms2_h+y}
12148 printf %s "(cached) " >&6
12150 ac_wine_check_headers_saved_cc=$CC
12151 ac_wine_check_headers_saved_exeext=$ac_exeext
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12166 if ac_fn_c_try_compile "$LINENO"
12168 ac_cv_mingw_header_lcms2_h=yes
12170 ac_cv_mingw_header_lcms2_h=no
12172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12173 CC=$ac_wine_check_headers_saved_cc
12174 ac_exeext=$ac_wine_check_headers_saved_exeext
12176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12177 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12178 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12181 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12182 if test ${ac_cv_mingw_lib_lcms2+y}
12184 printf %s "(cached) " >&6
12186 ac_wine_check_headers_saved_cc=$CC
12187 ac_wine_check_headers_saved_exeext=$ac_exeext
12188 ac_wine_check_headers_saved_libs=$LIBS
12191 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 char cmsOpenProfileFromFile ();
12202 return cmsOpenProfileFromFile ();
12207 if ac_fn_c_try_link "$LINENO"
12209 ac_cv_mingw_lib_lcms2=yes
12211 ac_cv_mingw_lib_lcms2=no
12213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12214 conftest$ac_exeext conftest.$ac_ext
12215 CC=$ac_wine_check_headers_saved_cc
12216 ac_exeext=$ac_wine_check_headers_saved_exeext
12217 LIBS=$ac_wine_check_headers_saved_libs
12219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12220 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12221 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12225 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12228 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12232 if test "x$LCMS2_PE_LIBS" = "x"
12234 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12237 if ${MPG123_PE_CFLAGS:+false} :
12239 if test ${MINGW_PKG_CONFIG+y}
12241 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12244 if ${MPG123_PE_LIBS:+false} :
12246 if test ${MINGW_PKG_CONFIG+y}
12248 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12251 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12252 ac_save_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12255 printf %s "checking for MinGW mpg123.h... " >&6; }
12256 if test ${ac_cv_mingw_header_mpg123_h+y}
12258 printf %s "(cached) " >&6
12260 ac_wine_check_headers_saved_cc=$CC
12261 ac_wine_check_headers_saved_exeext=$ac_exeext
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 #include <mpg123.h>
12276 if ac_fn_c_try_compile "$LINENO"
12278 ac_cv_mingw_header_mpg123_h=yes
12280 ac_cv_mingw_header_mpg123_h=no
12282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12283 CC=$ac_wine_check_headers_saved_cc
12284 ac_exeext=$ac_wine_check_headers_saved_exeext
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12287 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12288 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12291 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12292 if test ${ac_cv_mingw_lib_mpg123+y}
12294 printf %s "(cached) " >&6
12296 ac_wine_check_headers_saved_cc=$CC
12297 ac_wine_check_headers_saved_exeext=$ac_exeext
12298 ac_wine_check_headers_saved_libs=$LIBS
12301 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12308 char mpg123_feed ();
12312 return mpg123_feed ();
12317 if ac_fn_c_try_link "$LINENO"
12319 ac_cv_mingw_lib_mpg123=yes
12321 ac_cv_mingw_lib_mpg123=no
12323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12324 conftest$ac_exeext conftest.$ac_ext
12325 CC=$ac_wine_check_headers_saved_cc
12326 ac_exeext=$ac_wine_check_headers_saved_exeext
12327 LIBS=$ac_wine_check_headers_saved_libs
12329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12330 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12331 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12335 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12338 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12340 CPPFLAGS=$ac_save_CPPFLAGS
12342 if test "x$MPG123_PE_LIBS" = "x"
12344 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12347 if ${PNG_PE_CFLAGS:+false} :
12349 if test ${MINGW_PKG_CONFIG+y}
12351 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12354 if ${PNG_PE_LIBS:+false} :
12356 if test ${MINGW_PKG_CONFIG+y}
12358 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12362 ac_save_CPPFLAGS=$CPPFLAGS
12363 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12365 printf %s "checking for MinGW png.h... " >&6; }
12366 if test ${ac_cv_mingw_header_png_h+y}
12368 printf %s "(cached) " >&6
12370 ac_wine_check_headers_saved_cc=$CC
12371 ac_wine_check_headers_saved_exeext=$ac_exeext
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12386 if ac_fn_c_try_compile "$LINENO"
12388 ac_cv_mingw_header_png_h=yes
12390 ac_cv_mingw_header_png_h=no
12392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12393 CC=$ac_wine_check_headers_saved_cc
12394 ac_exeext=$ac_wine_check_headers_saved_exeext
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12397 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12398 if test "x$ac_cv_mingw_header_png_h" = xyes
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12401 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12402 if test ${ac_cv_mingw_lib_png+y}
12404 printf %s "(cached) " >&6
12406 ac_wine_check_headers_saved_cc=$CC
12407 ac_wine_check_headers_saved_exeext=$ac_exeext
12408 ac_wine_check_headers_saved_libs=$LIBS
12411 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 char png_create_read_struct ();
12422 return png_create_read_struct ();
12427 if ac_fn_c_try_link "$LINENO"
12429 ac_cv_mingw_lib_png=yes
12431 ac_cv_mingw_lib_png=no
12433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12434 conftest$ac_exeext conftest.$ac_ext
12435 CC=$ac_wine_check_headers_saved_cc
12436 ac_exeext=$ac_wine_check_headers_saved_exeext
12437 LIBS=$ac_wine_check_headers_saved_libs
12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12440 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12441 if test "x$ac_cv_mingw_lib_png" = xyes
12445 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12448 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12450 CPPFLAGS=$ac_save_CPPFLAGS
12452 if test "x$PNG_PE_LIBS" = "x"
12454 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12457 if ${TIFF_PE_CFLAGS:+false} :
12459 if test ${MINGW_PKG_CONFIG+y}
12461 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12464 if ${TIFF_PE_LIBS:+false} :
12466 if test ${MINGW_PKG_CONFIG+y}
12468 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12472 ac_save_CPPFLAGS=$CPPFLAGS
12473 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12475 printf %s "checking for MinGW tiffio.h... " >&6; }
12476 if test ${ac_cv_mingw_header_tiffio_h+y}
12478 printf %s "(cached) " >&6
12480 ac_wine_check_headers_saved_cc=$CC
12481 ac_wine_check_headers_saved_exeext=$ac_exeext
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 #include <tiffio.h>
12496 if ac_fn_c_try_compile "$LINENO"
12498 ac_cv_mingw_header_tiffio_h=yes
12500 ac_cv_mingw_header_tiffio_h=no
12502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12503 CC=$ac_wine_check_headers_saved_cc
12504 ac_exeext=$ac_wine_check_headers_saved_exeext
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12507 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12508 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12511 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12512 if test ${ac_cv_mingw_lib_tiff+y}
12514 printf %s "(cached) " >&6
12516 ac_wine_check_headers_saved_cc=$CC
12517 ac_wine_check_headers_saved_exeext=$ac_exeext
12518 ac_wine_check_headers_saved_libs=$LIBS
12521 LIBS="-ltiff $TIFF_PE_LIBS $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. */
12528 char TIFFClientOpen ();
12532 return TIFFClientOpen ();
12537 if ac_fn_c_try_link "$LINENO"
12539 ac_cv_mingw_lib_tiff=yes
12541 ac_cv_mingw_lib_tiff=no
12543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12544 conftest$ac_exeext conftest.$ac_ext
12545 CC=$ac_wine_check_headers_saved_cc
12546 ac_exeext=$ac_wine_check_headers_saved_exeext
12547 LIBS=$ac_wine_check_headers_saved_libs
12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12550 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12551 if test "x$ac_cv_mingw_lib_tiff" = xyes
12555 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12558 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12560 CPPFLAGS=$ac_save_CPPFLAGS
12562 if test "x$TIFF_PE_LIBS" = "x"
12564 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12567 if ${XML2_PE_CFLAGS:+false} :
12569 if test ${MINGW_PKG_CONFIG+y}
12571 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12574 if ${XML2_PE_LIBS:+false} :
12576 if test ${MINGW_PKG_CONFIG+y}
12578 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12581 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12582 ac_save_CPPFLAGS=$CPPFLAGS
12583 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12585 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12586 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12588 printf %s "(cached) " >&6
12590 ac_wine_check_headers_saved_cc=$CC
12591 ac_wine_check_headers_saved_exeext=$ac_exeext
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 #include <libxml/parser.h>
12606 if ac_fn_c_try_compile "$LINENO"
12608 ac_cv_mingw_header_libxml_parser_h=yes
12610 ac_cv_mingw_header_libxml_parser_h=no
12612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12613 CC=$ac_wine_check_headers_saved_cc
12614 ac_exeext=$ac_wine_check_headers_saved_exeext
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12617 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12618 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12623 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12624 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12626 printf %s "(cached) " >&6
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 #include <libxml/xmlsave.h>
12644 if ac_fn_c_try_compile "$LINENO"
12646 ac_cv_mingw_header_libxml_xmlsave_h=yes
12648 ac_cv_mingw_header_libxml_xmlsave_h=no
12650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12651 CC=$ac_wine_check_headers_saved_cc
12652 ac_exeext=$ac_wine_check_headers_saved_exeext
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12655 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12656 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12661 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12662 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12664 printf %s "(cached) " >&6
12666 ac_wine_check_headers_saved_cc=$CC
12667 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 #include <libxml/SAX2.h>
12682 if ac_fn_c_try_compile "$LINENO"
12684 ac_cv_mingw_header_libxml_SAX2_h=yes
12686 ac_cv_mingw_header_libxml_SAX2_h=no
12688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12689 CC=$ac_wine_check_headers_saved_cc
12690 ac_exeext=$ac_wine_check_headers_saved_exeext
12692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12693 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12694 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12698 if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12701 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12702 if test ${ac_cv_mingw_lib_xml2+y}
12704 printf %s "(cached) " >&6
12706 ac_wine_check_headers_saved_cc=$CC
12707 ac_wine_check_headers_saved_exeext=$ac_exeext
12708 ac_wine_check_headers_saved_libs=$LIBS
12711 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 char xmlFirstElementChild ();
12722 return xmlFirstElementChild ();
12727 if ac_fn_c_try_link "$LINENO"
12729 ac_cv_mingw_lib_xml2=yes
12731 ac_cv_mingw_lib_xml2=no
12733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12734 conftest$ac_exeext conftest.$ac_ext
12735 CC=$ac_wine_check_headers_saved_cc
12736 ac_exeext=$ac_wine_check_headers_saved_exeext
12737 LIBS=$ac_wine_check_headers_saved_libs
12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12740 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12741 if test "x$ac_cv_mingw_lib_xml2" = xyes
12745 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12751 CPPFLAGS=$ac_save_CPPFLAGS
12753 if test "x$XML2_PE_LIBS" = "x"
12755 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12758 if ${XSLT_PE_CFLAGS:+false} :
12760 if test ${MINGW_PKG_CONFIG+y}
12762 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12765 if ${XSLT_PE_LIBS:+false} :
12767 if test ${MINGW_PKG_CONFIG+y}
12769 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12772 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12773 ac_save_CPPFLAGS=$CPPFLAGS
12774 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12776 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12777 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12779 printf %s "(cached) " >&6
12781 ac_wine_check_headers_saved_cc=$CC
12782 ac_wine_check_headers_saved_exeext=$ac_exeext
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 #include <libxslt/pattern.h>
12797 if ac_fn_c_try_compile "$LINENO"
12799 ac_cv_mingw_header_libxslt_pattern_h=yes
12801 ac_cv_mingw_header_libxslt_pattern_h=no
12803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12804 CC=$ac_wine_check_headers_saved_cc
12805 ac_exeext=$ac_wine_check_headers_saved_exeext
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12808 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12809 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12814 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12815 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12817 printf %s "(cached) " >&6
12819 ac_wine_check_headers_saved_cc=$CC
12820 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 #include <libxslt/transform.h>
12835 if ac_fn_c_try_compile "$LINENO"
12837 ac_cv_mingw_header_libxslt_transform_h=yes
12839 ac_cv_mingw_header_libxslt_transform_h=no
12841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12842 CC=$ac_wine_check_headers_saved_cc
12843 ac_exeext=$ac_wine_check_headers_saved_exeext
12845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12846 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12847 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12851 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12854 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12855 if test ${ac_cv_mingw_lib_xslt+y}
12857 printf %s "(cached) " >&6
12859 ac_wine_check_headers_saved_cc=$CC
12860 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 ac_wine_check_headers_saved_libs=$LIBS
12864 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 char xsltCompilePattern ();
12875 return xsltCompilePattern ();
12880 if ac_fn_c_try_link "$LINENO"
12882 ac_cv_mingw_lib_xslt=yes
12884 ac_cv_mingw_lib_xslt=no
12886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12887 conftest$ac_exeext conftest.$ac_ext
12888 CC=$ac_wine_check_headers_saved_cc
12889 ac_exeext=$ac_wine_check_headers_saved_exeext
12890 LIBS=$ac_wine_check_headers_saved_libs
12892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12893 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12894 if test "x$ac_cv_mingw_lib_xslt" = xyes
12898 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12904 CPPFLAGS=$ac_save_CPPFLAGS
12906 if test "x$XSLT_PE_LIBS" = "x"
12908 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12911 if ${VKD3D_PE_CFLAGS:+false} :
12913 if test ${MINGW_PKG_CONFIG+y}
12915 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12918 if ${VKD3D_PE_LIBS:+false} :
12920 if test ${MINGW_PKG_CONFIG+y}
12922 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12925 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12926 ac_save_CPPFLAGS=$CPPFLAGS
12927 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12929 printf %s "checking for MinGW vkd3d.h... " >&6; }
12930 if test ${ac_cv_mingw_header_vkd3d_h+y}
12932 printf %s "(cached) " >&6
12934 ac_wine_check_headers_saved_cc=$CC
12935 ac_wine_check_headers_saved_exeext=$ac_exeext
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12950 if ac_fn_c_try_compile "$LINENO"
12952 ac_cv_mingw_header_vkd3d_h=yes
12954 ac_cv_mingw_header_vkd3d_h=no
12956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12957 CC=$ac_wine_check_headers_saved_cc
12958 ac_exeext=$ac_wine_check_headers_saved_exeext
12960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12961 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12962 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12967 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12968 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12970 printf %s "(cached) " >&6
12972 ac_wine_check_headers_saved_cc=$CC
12973 ac_wine_check_headers_saved_exeext=$ac_exeext
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 #include <vkd3d_shader.h>
12988 if ac_fn_c_try_compile "$LINENO"
12990 ac_cv_mingw_header_vkd3d_shader_h=yes
12992 ac_cv_mingw_header_vkd3d_shader_h=no
12994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12995 CC=$ac_wine_check_headers_saved_cc
12996 ac_exeext=$ac_wine_check_headers_saved_exeext
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12999 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13000 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13004 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
13007 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
13008 if test ${ac_cv_mingw_lib_vkd3d+y}
13010 printf %s "(cached) " >&6
13012 ac_wine_check_headers_saved_cc=$CC
13013 ac_wine_check_headers_saved_exeext=$ac_exeext
13014 ac_wine_check_headers_saved_libs=$LIBS
13017 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 char vkd3d_serialize_versioned_root_signature ();
13028 return vkd3d_serialize_versioned_root_signature ();
13033 if ac_fn_c_try_link "$LINENO"
13035 ac_cv_mingw_lib_vkd3d=yes
13037 ac_cv_mingw_lib_vkd3d=no
13039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13040 conftest$ac_exeext conftest.$ac_ext
13041 CC=$ac_wine_check_headers_saved_cc
13042 ac_exeext=$ac_wine_check_headers_saved_exeext
13043 LIBS=$ac_wine_check_headers_saved_libs
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13046 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13047 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13054 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13055 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13057 printf %s "(cached) " >&6
13059 ac_wine_check_headers_saved_cc=$CC
13060 ac_wine_check_headers_saved_exeext=$ac_exeext
13061 ac_wine_check_headers_saved_libs=$LIBS
13064 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 char vkd3d_shader_compile ();
13075 return vkd3d_shader_compile ();
13080 if ac_fn_c_try_link "$LINENO"
13082 ac_cv_mingw_lib_vkd3d_shader=yes
13084 ac_cv_mingw_lib_vkd3d_shader=no
13086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13087 conftest$ac_exeext conftest.$ac_ext
13088 CC=$ac_wine_check_headers_saved_cc
13089 ac_exeext=$ac_wine_check_headers_saved_exeext
13090 LIBS=$ac_wine_check_headers_saved_libs
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13093 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13094 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13100 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13109 CPPFLAGS=$ac_save_CPPFLAGS
13111 if test "x$VKD3D_PE_LIBS" = "x"
13113 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13116 if ${ZLIB_PE_CFLAGS:+false} :
13118 if test ${MINGW_PKG_CONFIG+y}
13120 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13123 if ${ZLIB_PE_LIBS:+false} :
13125 if test ${MINGW_PKG_CONFIG+y}
13127 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13130 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13131 ac_save_CPPFLAGS=$CPPFLAGS
13132 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13134 printf %s "checking for MinGW zlib.h... " >&6; }
13135 if test ${ac_cv_mingw_header_zlib_h+y}
13137 printf %s "(cached) " >&6
13139 ac_wine_check_headers_saved_cc=$CC
13140 ac_wine_check_headers_saved_exeext=$ac_exeext
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13155 if ac_fn_c_try_compile "$LINENO"
13157 ac_cv_mingw_header_zlib_h=yes
13159 ac_cv_mingw_header_zlib_h=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13162 CC=$ac_wine_check_headers_saved_cc
13163 ac_exeext=$ac_wine_check_headers_saved_exeext
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13166 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13167 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13170 printf %s "checking for inflate in MinGW -lz... " >&6; }
13171 if test ${ac_cv_mingw_lib_z+y}
13173 printf %s "(cached) " >&6
13175 ac_wine_check_headers_saved_cc=$CC
13176 ac_wine_check_headers_saved_exeext=$ac_exeext
13177 ac_wine_check_headers_saved_libs=$LIBS
13180 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13184 /* Override any GCC internal prototype to avoid an error.
13185 Use char because int might match the return type of a GCC
13186 builtin and then its argument prototype would still apply. */
13196 if ac_fn_c_try_link "$LINENO"
13198 ac_cv_mingw_lib_z=yes
13200 ac_cv_mingw_lib_z=no
13202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13203 conftest$ac_exeext conftest.$ac_ext
13204 CC=$ac_wine_check_headers_saved_cc
13205 ac_exeext=$ac_wine_check_headers_saved_exeext
13206 LIBS=$ac_wine_check_headers_saved_libs
13208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13209 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13210 if test "x$ac_cv_mingw_lib_z" = xyes
13214 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13217 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13219 CPPFLAGS=$ac_save_CPPFLAGS
13221 if test "x$ZLIB_PE_LIBS" = "x"
13223 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13227 if ${FAUDIO_PE_LIBS:+false} :
13229 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13230 if ${FAUDIO_PE_CFLAGS:+false} :
13232 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13242 if ${GSM_PE_LIBS:+false} :
13245 if ${GSM_PE_CFLAGS:+false} :
13247 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13257 if ${JPEG_PE_LIBS:+false} :
13260 if ${JPEG_PE_CFLAGS:+false} :
13262 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13272 if ${JXR_PE_LIBS:+false} :
13275 if ${JXR_PE_CFLAGS:+false} :
13277 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13287 if ${LCMS2_PE_LIBS:+false} :
13289 LCMS2_PE_LIBS=lcms2
13290 if ${LCMS2_PE_CFLAGS:+false} :
13292 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13302 if ${MPG123_PE_LIBS:+false} :
13304 MPG123_PE_LIBS=mpg123
13305 if ${MPG123_PE_CFLAGS:+false} :
13307 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13317 if ${PNG_PE_LIBS:+false} :
13319 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13320 if ${PNG_PE_CFLAGS:+false} :
13322 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13332 if ${TIFF_PE_LIBS:+false} :
13334 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13335 if ${TIFF_PE_CFLAGS:+false} :
13337 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13347 if ${VKD3D_PE_LIBS:+false} :
13349 VKD3D_PE_LIBS=vkd3d
13350 if ${VKD3D_PE_CFLAGS:+false} :
13352 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13362 if ${XML2_PE_LIBS:+false} :
13365 if ${XML2_PE_CFLAGS:+false} :
13367 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13377 if ${XSLT_PE_LIBS:+false} :
13380 if ${XSLT_PE_CFLAGS:+false} :
13382 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13392 if ${ZLIB_PE_LIBS:+false} :
13395 if ${ZLIB_PE_CFLAGS:+false} :
13397 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13409 if test "$ac_cv_header_pthread_h" = "yes"
13411 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13412 if test "x$ac_cv_func_pthread_create" = xyes
13416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13417 printf %s "checking for pthread_create in -lpthread... " >&6; }
13418 if test ${ac_cv_lib_pthread_pthread_create+y}
13420 printf %s "(cached) " >&6
13422 ac_check_lib_save_LIBS=$LIBS
13423 LIBS="-lpthread $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13430 char pthread_create ();
13434 return pthread_create ();
13439 if ac_fn_c_try_link "$LINENO"
13441 ac_cv_lib_pthread_pthread_create=yes
13443 ac_cv_lib_pthread_pthread_create=no
13445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13446 conftest$ac_exeext conftest.$ac_ext
13447 LIBS=$ac_check_lib_save_LIBS
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13450 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13451 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13453 PTHREAD_LIBS="-lpthread"
13460 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13462 case "x$with_pthread" in
13464 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13465 Wine cannot support threads without libpthread.
13466 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13473 ac_cpp='$CPP $CPPFLAGS'
13474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13478 printf %s "checking how to run the C preprocessor... " >&6; }
13479 # On Suns, sometimes $CPP names a directory.
13480 if test -n "$CPP" && test -d "$CPP"; then
13483 if test -z "$CPP"; then
13484 if test ${ac_cv_prog_CPP+y}
13486 printf %s "(cached) " >&6
13488 # Double quotes because $CC needs to be expanded
13489 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13491 ac_preproc_ok=false
13492 for ac_c_preproc_warn_flag in '' yes
13494 # Use a header file that comes with gcc, so configuring glibc
13495 # with a fresh cross-compiler works.
13496 # On the NeXT, cc -E runs the code through the compiler's parser,
13497 # not just through cpp. "Syntax error" is here to catch this case.
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13500 #include <limits.h>
13503 if ac_fn_c_try_cpp "$LINENO"
13507 # Broken: fails on valid input.
13510 rm -f conftest.err conftest.i conftest.$ac_ext
13512 # OK, works on sane cases. Now check whether nonexistent headers
13513 # can be detected and how.
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 #include <ac_nonexistent.h>
13518 if ac_fn_c_try_cpp "$LINENO"
13520 # Broken: success on invalid input.
13523 # Passes both tests.
13527 rm -f conftest.err conftest.i conftest.$ac_ext
13530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13531 rm -f conftest.i conftest.err conftest.
$ac_ext
13538 ac_cv_prog_CPP
=$CPP
13541 CPP
=$ac_cv_prog_CPP
13543 ac_cv_prog_CPP
=$CPP
13545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13546 printf "%s\n" "$CPP" >&6; }
13547 ac_preproc_ok
=false
13548 for ac_c_preproc_warn_flag
in '' yes
13550 # Use a header file that comes with gcc, so configuring glibc
13551 # with a fresh cross-compiler works.
13552 # On the NeXT, cc -E runs the code through the compiler's parser,
13553 # not just through cpp. "Syntax error" is here to catch this case.
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 #include <limits.h>
13559 if ac_fn_c_try_cpp
"$LINENO"
13563 # Broken: fails on valid input.
13566 rm -f conftest.err conftest.i conftest.
$ac_ext
13568 # OK, works on sane cases. Now check whether nonexistent headers
13569 # can be detected and how.
13570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 #include <ac_nonexistent.h>
13574 if ac_fn_c_try_cpp
"$LINENO"
13576 # Broken: success on invalid input.
13579 # Passes both tests.
13583 rm -f conftest.err conftest.i conftest.
$ac_ext
13586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13587 rm -f conftest.i conftest.err conftest.
$ac_ext
13592 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13593 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13594 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13595 See \`config.log' for more details" "$LINENO" 5; }
13599 ac_cpp
='$CPP $CPPFLAGS'
13600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13606 printf %s
"checking for X... " >&6; }
13609 # Check whether --with-x was given.
13610 if test ${with_x+y}
13615 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13616 if test "x$with_x" = xno
; then
13617 # The user explicitly disabled X.
13620 case $x_includes,$x_libraries in #(
13621 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13622 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13624 printf %s
"(cached) " >&6
13626 # One or both of the vars are not set, and there is no cached value.
13629 # Do we need to do anything special at all?
13632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <X11/Xlib.h>
13643 if ac_fn_c_try_link
"$LINENO"
13645 # We can compile and link X programs with no special options.
13649 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13650 conftest
$ac_exeext conftest.
$ac_ext
13651 LIBS
="$ac_save_LIBS"
13652 # If that didn't work, only try xmkmf and file system searches
13653 # for native compilation.
13654 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13656 rm -f -r conftest.dir
13657 if mkdir conftest.dir
; then
13659 cat >Imakefile
<<'_ACEOF'
13661 @echo incroot='${INCROOT}'
13663 @echo usrlibdir='${USRLIBDIR}'
13665 @echo libdir='${LIBDIR}'
13667 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13668 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13669 for ac_var
in incroot usrlibdir libdir
; do
13670 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13672 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13673 for ac_extension
in a so sl dylib la dll
; do
13674 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13675 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13676 ac_im_usrlibdir
=$ac_im_libdir; break
13679 # Screen out bogus values from the imake configuration. They are
13680 # bogus both because they are the default anyway, and because
13681 # using them would break gcc on systems where it needs fixed includes.
13682 case $ac_im_incroot in
13683 /usr
/include
) ac_x_includes
= ;;
13684 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13686 case $ac_im_usrlibdir in
13687 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13688 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13692 rm -f -r conftest.dir
13695 # Standard set of common directories for X headers.
13696 # Check X11 before X11Rn because it is often a symlink to the current release.
13710 /usr/local/X11/include
13711 /usr/local/X11R7/include
13712 /usr/local/X11R6/include
13713 /usr/local/X11R5/include
13714 /usr/local/X11R4/include
13716 /usr/local/include/X11
13717 /usr/local/include/X11R7
13718 /usr/local/include/X11R6
13719 /usr/local/include/X11R5
13720 /usr/local/include/X11R4
13726 /usr/XFree86/include/X11
13730 /usr/unsupported/include
13731 /usr/athena/include
13732 /usr/local/x11r5/include
13733 /usr/lpp/Xamples/include
13735 /usr/openwin/include
13736 /usr/openwin/share/include'
13738 if test "$ac_x_includes" = no
; then
13739 # Guess where to find include files, by looking for Xlib.h.
13740 # First, try using that file with no special directory specified.
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 #include <X11/Xlib.h>
13745 if ac_fn_c_try_cpp
"$LINENO"
13747 # We can compile using X headers with no special include directory.
13750 for ac_dir
in $ac_x_header_dirs; do
13751 if test -r "$ac_dir/X11/Xlib.h"; then
13752 ac_x_includes
=$ac_dir
13757 rm -f conftest.err conftest.i conftest.
$ac_ext
13758 fi # $ac_x_includes = no
13760 if test "$ac_x_libraries" = no
; then
13761 # Check for the libraries.
13762 # See if we find them without any special options.
13763 # Don't add to $LIBS permanently.
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 #include <X11/Xlib.h>
13777 if ac_fn_c_try_link
"$LINENO"
13780 # We can link X programs with no special library path.
13784 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13786 # Don't even attempt the hair of trying to link an X program!
13787 for ac_extension
in a so sl dylib la dll
; do
13788 if test -r "$ac_dir/libX11.$ac_extension"; then
13789 ac_x_libraries
=$ac_dir
13795 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13796 conftest
$ac_exeext conftest.
$ac_ext
13797 fi # $ac_x_libraries = no
13800 # Record the results.
13801 case $ac_x_includes,$ac_x_libraries in #(
13802 no
,* |
*,no |
*\'*) :
13803 # Didn't find X, or a directory has "'" in its name.
13804 ac_cv_have_x
="have_x=no" ;; #(
13806 # Record where we found X for the cache.
13807 ac_cv_have_x
="have_x=yes\
13808 ac_x_includes='$ac_x_includes'\
13809 ac_x_libraries='$ac_x_libraries'" ;;
13815 eval "$ac_cv_have_x"
13818 if test "$have_x" != yes; then
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13820 printf "%s\n" "$have_x" >&6; }
13823 # If each of the values was on the command line, it overrides each guess.
13824 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13825 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13826 # Update the cache value to reflect the command line values.
13827 ac_cv_have_x
="have_x=yes\
13828 ac_x_includes='$x_includes'\
13829 ac_x_libraries='$x_libraries'"
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13831 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13834 if test "$no_x" = yes; then
13835 # Not all programs may use this symbol, but it does not hurt to define it.
13837 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13839 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13841 if test -n "$x_includes"; then
13842 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13845 # It would also be nice to do this for all -L options, not just this one.
13846 if test -n "$x_libraries"; then
13847 X_LIBS
="$X_LIBS -L$x_libraries"
13848 # For Solaris; some versions of Sun CC require a space after -R and
13849 # others require no space. Words are not sufficient . . . .
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13851 printf %s
"checking whether -R must be followed by a space... " >&6; }
13852 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13853 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13854 ac_c_werror_flag
=yes
13855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13866 if ac_fn_c_try_link
"$LINENO"
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13869 printf "%s\n" "no" >&6; }
13870 X_LIBS
="$X_LIBS -R$x_libraries"
13872 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13884 if ac_fn_c_try_link
"$LINENO"
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13887 printf "%s\n" "yes" >&6; }
13888 X_LIBS
="$X_LIBS -R $x_libraries"
13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13891 printf "%s\n" "neither works" >&6; }
13893 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13894 conftest
$ac_exeext conftest.
$ac_ext
13896 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13897 conftest
$ac_exeext conftest.
$ac_ext
13898 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13899 LIBS
=$ac_xsave_LIBS
13902 # Check for system-dependent libraries X programs must link with.
13903 # Do this before checking for the system-independent R6 libraries
13904 # (-lICE), since we may need -lsocket or whatever for X linking.
13906 if test "$ISC" = yes; then
13907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13909 # Martyn Johnson says this is needed for Ultrix, if the X
13910 # libraries were built with DECnet support. And Karl Berry says
13911 # the Alpha needs dnet_stub (dnet does not exist).
13912 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13919 char XOpenDisplay ();
13923 return XOpenDisplay ();
13928 if ac_fn_c_try_link
"$LINENO"
13932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13933 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13934 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13936 printf %s
"(cached) " >&6
13938 ac_check_lib_save_LIBS
=$LIBS
13939 LIBS
="-ldnet $LIBS"
13940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13950 return dnet_ntoa ();
13955 if ac_fn_c_try_link
"$LINENO"
13957 ac_cv_lib_dnet_dnet_ntoa
=yes
13959 ac_cv_lib_dnet_dnet_ntoa
=no
13961 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13962 conftest
$ac_exeext conftest.
$ac_ext
13963 LIBS
=$ac_check_lib_save_LIBS
13965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13966 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13967 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13969 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13972 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13974 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13975 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13977 printf %s
"(cached) " >&6
13979 ac_check_lib_save_LIBS
=$LIBS
13980 LIBS
="-ldnet_stub $LIBS"
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13991 return dnet_ntoa ();
13996 if ac_fn_c_try_link
"$LINENO"
13998 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14000 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14002 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14003 conftest
$ac_exeext conftest.
$ac_ext
14004 LIBS
=$ac_check_lib_save_LIBS
14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14007 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14008 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14015 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 LIBS
="$ac_xsave_LIBS"
14019 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14020 # to get the SysV transport functions.
14021 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14023 # The nsl library prevents programs from opening the X display
14024 # on Irix 5.2, according to T.E. Dickey.
14025 # The functions gethostbyname, getservbyname, and inet_addr are
14026 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14027 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14028 if test "x$ac_cv_func_gethostbyname" = xyes
14033 if test $ac_cv_func_gethostbyname = no
; then
14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14035 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14036 if test ${ac_cv_lib_nsl_gethostbyname+y}
14038 printf %s
"(cached) " >&6
14040 ac_check_lib_save_LIBS
=$LIBS
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 char gethostbyname ();
14052 return gethostbyname ();
14057 if ac_fn_c_try_link
"$LINENO"
14059 ac_cv_lib_nsl_gethostbyname
=yes
14061 ac_cv_lib_nsl_gethostbyname
=no
14063 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 LIBS
=$ac_check_lib_save_LIBS
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14068 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14069 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14074 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14076 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14077 if test ${ac_cv_lib_bsd_gethostbyname+y}
14079 printf %s
"(cached) " >&6
14081 ac_check_lib_save_LIBS
=$LIBS
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 char gethostbyname ();
14093 return gethostbyname ();
14098 if ac_fn_c_try_link
"$LINENO"
14100 ac_cv_lib_bsd_gethostbyname
=yes
14102 ac_cv_lib_bsd_gethostbyname
=no
14104 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14105 conftest
$ac_exeext conftest.
$ac_ext
14106 LIBS
=$ac_check_lib_save_LIBS
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14109 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14110 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14118 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14119 # socket/setsockopt and other routines are undefined under SCO ODT
14120 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14121 # on later versions), says Simon Leinen: it contains gethostby*
14122 # variants that don't use the name server (or something). -lsocket
14123 # must be given before -lnsl if both are needed. We assume that
14124 # if connect needs -lnsl, so does gethostbyname.
14125 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14126 if test "x$ac_cv_func_connect" = xyes
14131 if test $ac_cv_func_connect = no
; then
14132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14133 printf %s
"checking for connect in -lsocket... " >&6; }
14134 if test ${ac_cv_lib_socket_connect+y}
14136 printf %s
"(cached) " >&6
14138 ac_check_lib_save_LIBS
=$LIBS
14139 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14155 if ac_fn_c_try_link
"$LINENO"
14157 ac_cv_lib_socket_connect
=yes
14159 ac_cv_lib_socket_connect
=no
14161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14162 conftest
$ac_exeext conftest.
$ac_ext
14163 LIBS
=$ac_check_lib_save_LIBS
14165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14166 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14167 if test "x$ac_cv_lib_socket_connect" = xyes
14169 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14174 # Guillermo Gomez says -lposix is necessary on A/UX.
14175 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14176 if test "x$ac_cv_func_remove" = xyes
14181 if test $ac_cv_func_remove = no
; then
14182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14183 printf %s
"checking for remove in -lposix... " >&6; }
14184 if test ${ac_cv_lib_posix_remove+y}
14186 printf %s
"(cached) " >&6
14188 ac_check_lib_save_LIBS
=$LIBS
14189 LIBS
="-lposix $LIBS"
14190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14193 /* Override any GCC internal prototype to avoid an error.
14194 Use char because int might match the return type of a GCC
14195 builtin and then its argument prototype would still apply. */
14205 if ac_fn_c_try_link
"$LINENO"
14207 ac_cv_lib_posix_remove
=yes
14209 ac_cv_lib_posix_remove
=no
14211 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14212 conftest
$ac_exeext conftest.
$ac_ext
14213 LIBS
=$ac_check_lib_save_LIBS
14215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14216 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14217 if test "x$ac_cv_lib_posix_remove" = xyes
14219 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14224 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14225 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14226 if test "x$ac_cv_func_shmat" = xyes
14231 if test $ac_cv_func_shmat = no
; then
14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14233 printf %s
"checking for shmat in -lipc... " >&6; }
14234 if test ${ac_cv_lib_ipc_shmat+y}
14236 printf %s
"(cached) " >&6
14238 ac_check_lib_save_LIBS
=$LIBS
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14255 if ac_fn_c_try_link
"$LINENO"
14257 ac_cv_lib_ipc_shmat
=yes
14259 ac_cv_lib_ipc_shmat
=no
14261 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14262 conftest
$ac_exeext conftest.
$ac_ext
14263 LIBS
=$ac_check_lib_save_LIBS
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14266 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14267 if test "x$ac_cv_lib_ipc_shmat" = xyes
14269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14275 # Check for libraries that X11R6 Xt/Xaw programs need.
14276 ac_save_LDFLAGS
=$LDFLAGS
14277 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14278 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14279 # check for ICE first), but we must link in the order -lSM -lICE or
14280 # we get undefined symbols. So assume we have SM if we have ICE.
14281 # These have to be linked with before -lX11, unlike the other
14282 # libraries we check for below, so use a different variable.
14283 # John Interrante, Karl Berry
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14285 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14286 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14288 printf %s
"(cached) " >&6
14290 ac_check_lib_save_LIBS
=$LIBS
14291 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply. */
14298 char IceConnectionNumber ();
14302 return IceConnectionNumber ();
14307 if ac_fn_c_try_link
"$LINENO"
14309 ac_cv_lib_ICE_IceConnectionNumber
=yes
14311 ac_cv_lib_ICE_IceConnectionNumber
=no
14313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14314 conftest
$ac_exeext conftest.
$ac_ext
14315 LIBS
=$ac_check_lib_save_LIBS
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14318 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14319 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14321 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14324 LDFLAGS
=$ac_save_LDFLAGS
14329 if test "$have_x" = "yes"
14331 ac_save_CPPFLAGS
="$CPPFLAGS"
14332 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14335 printf %s
"checking for -lX11... " >&6; }
14336 if test ${ac_cv_lib_soname_X11+y}
14338 printf %s
"(cached) " >&6
14340 ac_check_soname_save_LIBS
=$LIBS
14341 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14345 /* Override any GCC internal prototype to avoid an error.
14346 Use char because int might match the return type of a GCC
14347 builtin and then its argument prototype would still apply. */
14348 char XCreateWindow ();
14352 return XCreateWindow ();
14357 if ac_fn_c_try_link
"$LINENO"
14360 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14361 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'` ;;
14362 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14363 if ${ac_cv_lib_soname_X11:+false} :
14365 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14369 ac_cv_lib_soname_X11
=
14371 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 LIBS
=$ac_check_soname_save_LIBS
14375 if ${ac_cv_lib_soname_X11:+false} :
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14378 printf "%s\n" "not found" >&6; }
14381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14382 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14384 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14389 printf %s
"checking for -lXext... " >&6; }
14390 if test ${ac_cv_lib_soname_Xext+y}
14392 printf %s
"(cached) " >&6
14394 ac_check_soname_save_LIBS
=$LIBS
14395 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14402 char XextCreateExtension ();
14406 return XextCreateExtension ();
14411 if ac_fn_c_try_link
"$LINENO"
14414 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14415 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'` ;;
14416 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14417 if ${ac_cv_lib_soname_Xext:+false} :
14419 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14423 ac_cv_lib_soname_Xext
=
14425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14426 conftest
$ac_exeext conftest.
$ac_ext
14427 LIBS
=$ac_check_soname_save_LIBS
14429 if ${ac_cv_lib_soname_Xext:+false} :
14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14432 printf "%s\n" "not found" >&6; }
14435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14436 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14438 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14440 X_LIBS
="$X_LIBS -lXext"
14442 X_LIBS
="$X_LIBS -lX11"
14444 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14451 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14453 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14463 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14465 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14475 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14477 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14487 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14499 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14511 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14523 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14535 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14547 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14559 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14571 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14583 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14595 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14597 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14607 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14609 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14619 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14626 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14629 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14630 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14632 printf %s
"(cached) " >&6
14634 ac_check_lib_save_LIBS
=$LIBS
14635 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 char XkbQueryExtension ();
14646 return XkbQueryExtension ();
14651 if ac_fn_c_try_link
"$LINENO"
14653 ac_cv_lib_X11_XkbQueryExtension
=yes
14655 ac_cv_lib_X11_XkbQueryExtension
=no
14657 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LIBS
=$ac_check_lib_save_LIBS
14661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14662 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14663 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14666 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14672 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14675 printf %s
"checking for -lXcursor... " >&6; }
14676 if test ${ac_cv_lib_soname_Xcursor+y}
14678 printf %s
"(cached) " >&6
14680 ac_check_soname_save_LIBS
=$LIBS
14681 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14688 char XcursorImageLoadCursor ();
14692 return XcursorImageLoadCursor ();
14697 if ac_fn_c_try_link
"$LINENO"
14700 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14701 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'` ;;
14702 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14703 if ${ac_cv_lib_soname_Xcursor:+false} :
14705 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14709 ac_cv_lib_soname_Xcursor
=
14711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14712 conftest
$ac_exeext conftest.
$ac_ext
14713 LIBS
=$ac_check_soname_save_LIBS
14715 if ${ac_cv_lib_soname_Xcursor:+false} :
14717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14718 printf "%s\n" "not found" >&6; }
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14722 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14724 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14729 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14731 case "x$with_xcursor" in
14732 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14734 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14735 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14740 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14743 printf %s
"checking for -lXi... " >&6; }
14744 if test ${ac_cv_lib_soname_Xi+y}
14746 printf %s
"(cached) " >&6
14748 ac_check_soname_save_LIBS
=$LIBS
14749 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14753 /* Override any GCC internal prototype to avoid an error.
14754 Use char because int might match the return type of a GCC
14755 builtin and then its argument prototype would still apply. */
14756 char XOpenDevice ();
14760 return XOpenDevice ();
14765 if ac_fn_c_try_link
"$LINENO"
14768 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14769 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'` ;;
14770 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14771 if ${ac_cv_lib_soname_Xi:+false} :
14773 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14777 ac_cv_lib_soname_Xi
=
14779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14780 conftest
$ac_exeext conftest.
$ac_ext
14781 LIBS
=$ac_check_soname_save_LIBS
14783 if ${ac_cv_lib_soname_Xi:+false} :
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14786 printf "%s\n" "not found" >&6; }
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14790 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14792 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14797 if test "x$ac_cv_lib_soname_Xi" = "x"
14799 case "x$with_xinput" in
14800 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14802 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14803 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14808 if test "x$ac_cv_lib_soname_Xi" != x
14810 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14812 case "x$with_xinput2" in
14813 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14815 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14816 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14822 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14825 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14826 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14828 printf %s
"(cached) " >&6
14830 ac_check_lib_save_LIBS
=$LIBS
14831 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14835 /* Override any GCC internal prototype to avoid an error.
14836 Use char because int might match the return type of a GCC
14837 builtin and then its argument prototype would still apply. */
14838 char XShmQueryExtension ();
14842 return XShmQueryExtension ();
14847 if ac_fn_c_try_link
"$LINENO"
14849 ac_cv_lib_Xext_XShmQueryExtension
=yes
14851 ac_cv_lib_Xext_XShmQueryExtension
=no
14853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14854 conftest
$ac_exeext conftest.
$ac_ext
14855 LIBS
=$ac_check_lib_save_LIBS
14857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14858 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14859 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14862 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14867 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14869 case "x$with_xshm" in
14870 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14872 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14873 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14878 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14881 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14882 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14884 printf %s
"(cached) " >&6
14886 ac_check_lib_save_LIBS
=$LIBS
14887 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14894 char XShapeQueryExtension ();
14898 return XShapeQueryExtension ();
14903 if ac_fn_c_try_link
"$LINENO"
14905 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14907 ac_cv_lib_Xext_XShapeQueryExtension
=no
14909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14910 conftest
$ac_exeext conftest.
$ac_ext
14911 LIBS
=$ac_check_lib_save_LIBS
14913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14914 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14915 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14918 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14923 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14925 case "x$with_xshape" in
14926 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14928 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14929 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14934 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14937 printf %s
"checking for -lXxf86vm... " >&6; }
14938 if test ${ac_cv_lib_soname_Xxf86vm+y}
14940 printf %s
"(cached) " >&6
14942 ac_check_soname_save_LIBS
=$LIBS
14943 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14947 /* Override any GCC internal prototype to avoid an error.
14948 Use char because int might match the return type of a GCC
14949 builtin and then its argument prototype would still apply. */
14950 char XF86VidModeQueryExtension ();
14954 return XF86VidModeQueryExtension ();
14959 if ac_fn_c_try_link
"$LINENO"
14962 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14963 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'` ;;
14964 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14965 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14967 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14971 ac_cv_lib_soname_Xxf86vm
=
14973 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14974 conftest
$ac_exeext conftest.
$ac_ext
14975 LIBS
=$ac_check_soname_save_LIBS
14977 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14980 printf "%s\n" "not found" >&6; }
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14984 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14986 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14991 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14993 case "x$with_xxf86vm" in
14994 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14996 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14997 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15002 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15005 printf %s
"checking for -lXrender... " >&6; }
15006 if test ${ac_cv_lib_soname_Xrender+y}
15008 printf %s
"(cached) " >&6
15010 ac_check_soname_save_LIBS
=$LIBS
15011 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 char XRenderQueryExtension ();
15022 return XRenderQueryExtension ();
15027 if ac_fn_c_try_link
"$LINENO"
15030 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15031 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'` ;;
15032 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15033 if ${ac_cv_lib_soname_Xrender:+false} :
15035 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15039 ac_cv_lib_soname_Xrender
=
15041 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15042 conftest
$ac_exeext conftest.
$ac_ext
15043 LIBS
=$ac_check_soname_save_LIBS
15045 if ${ac_cv_lib_soname_Xrender:+false} :
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15048 printf "%s\n" "not found" >&6; }
15051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15052 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15054 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15057 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15058 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15060 printf %s
"(cached) " >&6
15062 ac_check_lib_save_LIBS
=$LIBS
15063 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15067 /* Override any GCC internal prototype to avoid an error.
15068 Use char because int might match the return type of a GCC
15069 builtin and then its argument prototype would still apply. */
15070 char XRenderSetPictureTransform ();
15074 return XRenderSetPictureTransform ();
15079 if ac_fn_c_try_link
"$LINENO"
15081 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15083 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15085 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15086 conftest
$ac_exeext conftest.
$ac_ext
15087 LIBS
=$ac_check_lib_save_LIBS
15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15090 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15091 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15094 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15099 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15100 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15102 printf %s
"(cached) " >&6
15104 ac_check_lib_save_LIBS
=$LIBS
15105 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15109 /* Override any GCC internal prototype to avoid an error.
15110 Use char because int might match the return type of a GCC
15111 builtin and then its argument prototype would still apply. */
15112 char XRenderCreateLinearGradient ();
15116 return XRenderCreateLinearGradient ();
15121 if ac_fn_c_try_link
"$LINENO"
15123 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15125 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15127 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15128 conftest
$ac_exeext conftest.
$ac_ext
15129 LIBS
=$ac_check_lib_save_LIBS
15131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15132 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15133 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15136 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15143 if test "x$ac_cv_lib_soname_Xrender" = "x"
15145 case "x$with_xrender" in
15146 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15148 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15149 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15154 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <X11/Xlib.h>
15159 #include <X11/extensions/Xrandr.h>
15163 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15168 if ac_fn_c_try_compile
"$LINENO"
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15171 printf %s
"checking for -lXrandr... " >&6; }
15172 if test ${ac_cv_lib_soname_Xrandr+y}
15174 printf %s
"(cached) " >&6
15176 ac_check_soname_save_LIBS
=$LIBS
15177 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 char XRRQueryExtension ();
15188 return XRRQueryExtension ();
15193 if ac_fn_c_try_link
"$LINENO"
15196 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15197 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'` ;;
15198 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15199 if ${ac_cv_lib_soname_Xrandr:+false} :
15201 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 ac_cv_lib_soname_Xrandr
=
15207 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15208 conftest
$ac_exeext conftest.
$ac_ext
15209 LIBS
=$ac_check_soname_save_LIBS
15211 if ${ac_cv_lib_soname_Xrandr:+false} :
15213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15214 printf "%s\n" "not found" >&6; }
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15218 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15220 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 #include <X11/Xlib.h>
15225 #include <X11/extensions/Xrandr.h>
15229 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15234 if ac_fn_c_try_compile
"$LINENO"
15237 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15240 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15242 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15245 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15247 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15249 case "x$with_xrandr" in
15250 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15252 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15253 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15258 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15262 #include <X11/Xlib.h>
15263 #include <X11/extensions/Xfixes.h>
15267 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15272 if ac_fn_c_try_compile
"$LINENO"
15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15275 printf %s
"checking for -lXfixes... " >&6; }
15276 if test ${ac_cv_lib_soname_Xfixes+y}
15278 printf %s
"(cached) " >&6
15280 ac_check_soname_save_LIBS
=$LIBS
15281 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15288 char XFixesQueryVersion ();
15292 return XFixesQueryVersion ();
15297 if ac_fn_c_try_link
"$LINENO"
15300 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15301 dylib
) ac_cv_lib_soname_Xfixes
=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15302 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15303 if ${ac_cv_lib_soname_Xfixes:+false} :
15305 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15309 ac_cv_lib_soname_Xfixes
=
15311 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15312 conftest
$ac_exeext conftest.
$ac_ext
15313 LIBS
=$ac_check_soname_save_LIBS
15315 if ${ac_cv_lib_soname_Xfixes:+false} :
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15318 printf "%s\n" "not found" >&6; }
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15322 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15324 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15329 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15331 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15333 case "x$with_xfixes" in
15334 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15336 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15337 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15342 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 #include <X11/Xlib.h>
15347 #include <X11/extensions/Xinerama.h>
15351 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15356 if ac_fn_c_try_compile
"$LINENO"
15358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15359 printf %s
"checking for -lXinerama... " >&6; }
15360 if test ${ac_cv_lib_soname_Xinerama+y}
15362 printf %s
"(cached) " >&6
15364 ac_check_soname_save_LIBS
=$LIBS
15365 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15369 /* Override any GCC internal prototype to avoid an error.
15370 Use char because int might match the return type of a GCC
15371 builtin and then its argument prototype would still apply. */
15372 char XineramaQueryScreens ();
15376 return XineramaQueryScreens ();
15381 if ac_fn_c_try_link
"$LINENO"
15384 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15385 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'` ;;
15386 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15387 if ${ac_cv_lib_soname_Xinerama:+false} :
15389 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15393 ac_cv_lib_soname_Xinerama
=
15395 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15396 conftest
$ac_exeext conftest.
$ac_ext
15397 LIBS
=$ac_check_soname_save_LIBS
15399 if ${ac_cv_lib_soname_Xinerama:+false} :
15401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15402 printf "%s\n" "not found" >&6; }
15405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15406 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15408 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15413 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15415 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15417 case "x$with_xinerama" in
15418 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15420 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15421 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15426 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15429 printf %s
"checking for -lXcomposite... " >&6; }
15430 if test ${ac_cv_lib_soname_Xcomposite+y}
15432 printf %s
"(cached) " >&6
15434 ac_check_soname_save_LIBS
=$LIBS
15435 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15442 char XCompositeRedirectWindow ();
15446 return XCompositeRedirectWindow ();
15451 if ac_fn_c_try_link
"$LINENO"
15454 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15455 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'` ;;
15456 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15457 if ${ac_cv_lib_soname_Xcomposite:+false} :
15459 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15463 ac_cv_lib_soname_Xcomposite
=
15465 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15466 conftest
$ac_exeext conftest.
$ac_ext
15467 LIBS
=$ac_check_soname_save_LIBS
15469 if ${ac_cv_lib_soname_Xcomposite:+false} :
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15472 printf "%s\n" "not found" >&6; }
15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15476 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15478 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15483 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15485 case "x$with_xcomposite" in
15486 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15488 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15489 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15494 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15495 #include <X11/Xlib.h>
15498 if test "x$ac_cv_member_XICCallback_callback" = xyes
15501 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15505 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15506 #include <X11/Xlib.h>
15509 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15512 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15520 if test "x$with_opengl" != "xno"
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15523 printf %s
"checking for -lGL... " >&6; }
15524 if test ${ac_cv_lib_soname_GL+y}
15526 printf %s
"(cached) " >&6
15528 ac_check_soname_save_LIBS
=$LIBS
15529 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15536 char glXCreateContext ();
15540 return glXCreateContext ();
15545 if ac_fn_c_try_link
"$LINENO"
15548 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15549 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'` ;;
15550 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15551 if ${ac_cv_lib_soname_GL:+false} :
15553 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15557 ac_cv_lib_soname_GL
=
15559 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15560 conftest
$ac_exeext conftest.
$ac_ext
15561 LIBS
=$ac_check_soname_save_LIBS
15563 if ${ac_cv_lib_soname_GL:+false} :
15565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15566 printf "%s\n" "not found" >&6; }
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15568 printf %s
"checking for -lGL... " >&6; }
15569 if test ${ac_cv_lib_soname_GL+y}
15571 printf %s
"(cached) " >&6
15573 ac_check_soname_save_LIBS
=$LIBS
15574 LIBS
="-lGL $X_LIBS -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"
15575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15578 /* Override any GCC internal prototype to avoid an error.
15579 Use char because int might match the return type of a GCC
15580 builtin and then its argument prototype would still apply. */
15581 char glXCreateContext ();
15585 return glXCreateContext ();
15590 if ac_fn_c_try_link
"$LINENO"
15593 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15594 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'` ;;
15595 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15596 if ${ac_cv_lib_soname_GL:+false} :
15598 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15602 ac_cv_lib_soname_GL
=
15604 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15605 conftest
$ac_exeext conftest.
$ac_ext
15606 LIBS
=$ac_check_soname_save_LIBS
15608 if ${ac_cv_lib_soname_GL:+false} :
15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15611 printf "%s\n" "not found" >&6; }
15612 if test -f /usr
/X11R
6/lib
/libGL.a
15614 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15615 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15617 opengl_msg
="No OpenGL library found on this system."
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15621 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15623 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15625 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"
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15629 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15631 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15635 if test "x$with_osmesa" != "xno"
15637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15638 printf %s
"checking for -lOSMesa... " >&6; }
15639 if test ${ac_cv_lib_soname_OSMesa+y}
15641 printf %s
"(cached) " >&6
15643 ac_check_soname_save_LIBS
=$LIBS
15644 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 char OSMesaGetProcAddress ();
15655 return OSMesaGetProcAddress ();
15660 if ac_fn_c_try_link
"$LINENO"
15663 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15664 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'` ;;
15665 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15666 if ${ac_cv_lib_soname_OSMesa:+false} :
15668 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15672 ac_cv_lib_soname_OSMesa
=
15674 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15675 conftest
$ac_exeext conftest.
$ac_ext
15676 LIBS
=$ac_check_soname_save_LIBS
15678 if ${ac_cv_lib_soname_OSMesa:+false} :
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15681 printf "%s\n" "not found" >&6; }
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15685 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15687 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15691 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15693 case "x$with_osmesa" in
15694 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15696 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15697 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15703 if test -n "$opengl_msg"
15705 case "x$with_opengl" in
15706 x
) as_fn_append wine_warnings
"|$opengl_msg
15707 OpenGL and Direct3D won't be supported." ;;
15709 *) as_fn_error $?
"$opengl_msg
15710 OpenGL and Direct3D won't be supported.
15711 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15716 CPPFLAGS
="$ac_save_CPPFLAGS"
15722 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15724 if test "x$X_LIBS" = "x"
15728 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15729 without X support, which probably isn't what you want. You will need
15730 to install ${notice_platform}development packages of Xlib at the very least.
15731 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15733 enable_winex11_drv
=${enable_winex11_drv:-no}
15736 if test "x$X_LIBS" = "x"
15739 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15741 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15742 This is an error since --with-x was requested." "$LINENO" 5 ;;
15744 enable_winex11_drv
=${enable_winex11_drv:-no}
15748 if test "$ac_cv_header_CL_cl_h" = "yes"
15750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15751 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15752 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15754 printf %s
"(cached) " >&6
15756 ac_check_lib_save_LIBS
=$LIBS
15757 LIBS
="-lOpenCL $LIBS"
15758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 char clGetPlatformInfo ();
15768 return clGetPlatformInfo ();
15773 if ac_fn_c_try_link
"$LINENO"
15775 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15777 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15780 conftest
$ac_exeext conftest.
$ac_ext
15781 LIBS
=$ac_check_lib_save_LIBS
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15784 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15785 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15787 OPENCL_LIBS
="-lOpenCL"
15792 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15794 case "x$with_opencl" in
15795 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15797 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15798 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15800 enable_opencl
=${enable_opencl:-no}
15803 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15806 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15807 if test ${ac_cv_lib_pcap_pcap_create+y}
15809 printf %s
"(cached) " >&6
15811 ac_check_lib_save_LIBS
=$LIBS
15812 LIBS
="-lpcap $LIBS"
15813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15816 /* Override any GCC internal prototype to avoid an error.
15817 Use char because int might match the return type of a GCC
15818 builtin and then its argument prototype would still apply. */
15819 char pcap_create ();
15823 return pcap_create ();
15828 if ac_fn_c_try_link
"$LINENO"
15830 ac_cv_lib_pcap_pcap_create
=yes
15832 ac_cv_lib_pcap_pcap_create
=no
15834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15835 conftest
$ac_exeext conftest.
$ac_ext
15836 LIBS
=$ac_check_lib_save_LIBS
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15839 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15840 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15847 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15849 case "x$with_pcap" in
15850 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15852 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15853 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15855 enable_wpcap
=${enable_wpcap:-no}
15858 if test "x$with_inotify" != "xno"
15860 if ${INOTIFY_CFLAGS:+false} :
15862 if test ${PKG_CONFIG+y}
15864 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15868 if ${INOTIFY_LIBS:+false} :
15870 if test ${PKG_CONFIG+y}
15872 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15879 ac_save_CPPFLAGS
=$CPPFLAGS
15880 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15881 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_sys_inotify_h" = xyes
15884 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15889 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15890 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15892 printf %s
"(cached) " >&6
15894 ac_check_lib_save_LIBS
=$LIBS
15895 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 char inotify_add_watch ();
15906 return inotify_add_watch ();
15911 if ac_fn_c_try_link
"$LINENO"
15913 ac_cv_lib_inotify_inotify_add_watch
=yes
15915 ac_cv_lib_inotify_inotify_add_watch
=no
15917 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15918 conftest
$ac_exeext conftest.
$ac_ext
15919 LIBS
=$ac_check_lib_save_LIBS
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15922 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15923 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15930 CPPFLAGS
=$ac_save_CPPFLAGS
15933 if test "$ac_cv_header_sys_inotify_h" != "yes"
15935 case "x$with_inotify" in
15936 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15938 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15939 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15944 if test "x$with_dbus" != "xno"
15946 if ${DBUS_CFLAGS:+false} :
15948 if test ${PKG_CONFIG+y}
15950 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15954 if ${DBUS_LIBS:+false} :
15956 if test ${PKG_CONFIG+y}
15958 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15965 ac_save_CPPFLAGS
=$CPPFLAGS
15966 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15967 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15968 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15971 printf %s
"checking for -ldbus-1... " >&6; }
15972 if test ${ac_cv_lib_soname_dbus_1+y}
15974 printf %s
"(cached) " >&6
15976 ac_check_soname_save_LIBS
=$LIBS
15977 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15981 /* Override any GCC internal prototype to avoid an error.
15982 Use char because int might match the return type of a GCC
15983 builtin and then its argument prototype would still apply. */
15984 char dbus_connection_close ();
15988 return dbus_connection_close ();
15993 if ac_fn_c_try_link
"$LINENO"
15996 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15997 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'` ;;
15998 *) 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'`
15999 if ${ac_cv_lib_soname_dbus_1:+false} :
16001 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16005 ac_cv_lib_soname_dbus_1
=
16007 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16008 conftest
$ac_exeext conftest.
$ac_ext
16009 LIBS
=$ac_check_soname_save_LIBS
16011 if ${ac_cv_lib_soname_dbus_1:+false} :
16013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16014 printf "%s\n" "not found" >&6; }
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16018 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16020 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16028 CPPFLAGS
=$ac_save_CPPFLAGS
16031 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16032 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16034 case "x$with_dbus" in
16035 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16037 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16038 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16043 if test "x$with_gnutls" != "xno"
16045 if ${GNUTLS_CFLAGS:+false} :
16047 if test ${PKG_CONFIG+y}
16049 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16053 if ${GNUTLS_LIBS:+false} :
16055 if test ${PKG_CONFIG+y}
16057 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16061 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16064 ac_save_CPPFLAGS
=$CPPFLAGS
16065 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16066 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16067 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16071 #include <gnutls/gnutls.h>
16072 #include <gnutls/crypto.h>
16076 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16081 if ac_fn_c_try_compile
"$LINENO"
16083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16084 printf %s
"checking for -lgnutls... " >&6; }
16085 if test ${ac_cv_lib_soname_gnutls+y}
16087 printf %s
"(cached) " >&6
16089 ac_check_soname_save_LIBS
=$LIBS
16090 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16097 char gnutls_global_init ();
16101 return gnutls_global_init ();
16106 if ac_fn_c_try_link
"$LINENO"
16109 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16110 dylib
) ac_cv_lib_soname_gnutls
=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16111 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16112 if ${ac_cv_lib_soname_gnutls:+false} :
16114 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16118 ac_cv_lib_soname_gnutls
=
16120 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16121 conftest
$ac_exeext conftest.
$ac_ext
16122 LIBS
=$ac_check_soname_save_LIBS
16124 if ${ac_cv_lib_soname_gnutls:+false} :
16126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16127 printf "%s\n" "not found" >&6; }
16130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16131 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16133 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16137 ac_wine_check_funcs_save_LIBS
="$LIBS"
16138 LIBS
="$LIBS $GNUTLS_LIBS"
16140 for ac_func
in gnutls_cipher_init
16142 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16143 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16145 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16148 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16152 LIBS
="$ac_wine_check_funcs_save_LIBS"
16154 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16159 CPPFLAGS
=$ac_save_CPPFLAGS
16162 if test "x$ac_cv_lib_soname_gnutls" = "x"
16164 case "x$with_gnutls" in
16165 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16167 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16168 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16173 if test "x$with_sane" != "xno"
16175 if ${SANE_CFLAGS:+false} :
16177 if test ${PKG_CONFIG+y}
16179 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16182 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16183 if ${SANE_LIBS:+false} :
16185 if test ${PKG_CONFIG+y}
16187 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16190 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16194 ac_save_CPPFLAGS
=$CPPFLAGS
16195 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16196 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16197 if test "x$ac_cv_header_sane_sane_h" = xyes
16199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16200 printf %s
"checking for sane_init in -lsane... " >&6; }
16201 if test ${ac_cv_lib_sane_sane_init+y}
16203 printf %s
"(cached) " >&6
16205 ac_check_lib_save_LIBS
=$LIBS
16206 LIBS
="-lsane $SANE_LIBS $LIBS"
16207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16210 /* Override any GCC internal prototype to avoid an error.
16211 Use char because int might match the return type of a GCC
16212 builtin and then its argument prototype would still apply. */
16217 return sane_init ();
16222 if ac_fn_c_try_link
"$LINENO"
16224 ac_cv_lib_sane_sane_init
=yes
16226 ac_cv_lib_sane_sane_init
=no
16228 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16229 conftest
$ac_exeext conftest.
$ac_ext
16230 LIBS
=$ac_check_lib_save_LIBS
16232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16233 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16234 if test "x$ac_cv_lib_sane_sane_init" = xyes
16241 CPPFLAGS
=$ac_save_CPPFLAGS
16244 if test "$ac_cv_lib_sane_sane_init" != "yes"
16246 case "x$with_sane" in
16247 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16249 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16250 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16252 enable_sane_ds
=${enable_sane_ds:-no}
16255 if test "x$with_usb" != "xno"
16257 if ${USB_CFLAGS:+false} :
16259 if test ${PKG_CONFIG+y}
16261 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16265 if ${USB_LIBS:+false} :
16267 if test ${PKG_CONFIG+y}
16269 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16273 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16276 ac_save_CPPFLAGS
=$CPPFLAGS
16277 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16278 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16279 if test "x$ac_cv_header_libusb_h" = xyes
16281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16282 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16283 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16285 printf %s
"(cached) " >&6
16287 ac_check_lib_save_LIBS
=$LIBS
16288 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16295 char libusb_interrupt_event_handler ();
16299 return libusb_interrupt_event_handler ();
16304 if ac_fn_c_try_link
"$LINENO"
16306 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16308 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16311 conftest
$ac_exeext conftest.
$ac_ext
16312 LIBS
=$ac_check_lib_save_LIBS
16314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16315 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16316 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16327 CPPFLAGS
=$ac_save_CPPFLAGS
16330 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16332 case "x$with_usb" in
16333 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16335 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16336 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16338 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16341 if test "x$with_v4l2" != "xno"
16343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16344 printf %s
"checking for -lv4l2... " >&6; }
16345 if test ${ac_cv_lib_soname_v4l2+y}
16347 printf %s
"(cached) " >&6
16349 ac_check_soname_save_LIBS
=$LIBS
16350 LIBS
="-lv4l2 $LIBS"
16351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16354 /* Override any GCC internal prototype to avoid an error.
16355 Use char because int might match the return type of a GCC
16356 builtin and then its argument prototype would still apply. */
16361 return v4l2_open ();
16366 if ac_fn_c_try_link
"$LINENO"
16369 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16370 dylib
) ac_cv_lib_soname_v4l2
=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16371 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16372 if ${ac_cv_lib_soname_v4l2:+false} :
16374 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16378 ac_cv_lib_soname_v4l2
=
16380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16381 conftest
$ac_exeext conftest.
$ac_ext
16382 LIBS
=$ac_check_soname_save_LIBS
16384 if ${ac_cv_lib_soname_v4l2:+false} :
16386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16387 printf "%s\n" "not found" >&6; }
16390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16391 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16393 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16398 if test "x$ac_cv_lib_soname_v4l2" = "x"
16400 case "x$with_v4l2" in
16401 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16403 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16404 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16409 if test "x$with_gphoto" != "xno"
16411 if ${GPHOTO2_CFLAGS:+false} :
16413 if test ${PKG_CONFIG+y}
16415 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16418 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16419 if ${GPHOTO2_LIBS:+false} :
16421 if test ${PKG_CONFIG+y}
16423 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16426 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16427 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16430 ac_save_CPPFLAGS
=$CPPFLAGS
16431 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16432 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16436 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16437 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16439 printf %s
"(cached) " >&6
16441 ac_check_lib_save_LIBS
=$LIBS
16442 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16449 char gp_camera_new ();
16453 return gp_camera_new ();
16458 if ac_fn_c_try_link
"$LINENO"
16460 ac_cv_lib_gphoto2_gp_camera_new
=yes
16462 ac_cv_lib_gphoto2_gp_camera_new
=no
16464 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16465 conftest
$ac_exeext conftest.
$ac_ext
16466 LIBS
=$ac_check_lib_save_LIBS
16468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16469 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16470 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16477 CPPFLAGS
=$ac_save_CPPFLAGS
16479 if ${GPHOTO2_PORT_CFLAGS:+false} :
16481 if test ${PKG_CONFIG+y}
16483 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16486 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16487 if ${GPHOTO2_PORT_LIBS:+false} :
16489 if test ${PKG_CONFIG+y}
16491 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16494 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16495 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16498 ac_save_CPPFLAGS
=$CPPFLAGS
16499 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16500 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16501 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16504 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16505 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16507 printf %s
"(cached) " >&6
16509 ac_check_lib_save_LIBS
=$LIBS
16510 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16514 /* Override any GCC internal prototype to avoid an error.
16515 Use char because int might match the return type of a GCC
16516 builtin and then its argument prototype would still apply. */
16517 char gp_port_info_list_new ();
16521 return gp_port_info_list_new ();
16526 if ac_fn_c_try_link
"$LINENO"
16528 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16530 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16532 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16533 conftest
$ac_exeext conftest.
$ac_ext
16534 LIBS
=$ac_check_lib_save_LIBS
16536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16537 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16538 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16541 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16544 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16548 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16551 CPPFLAGS
=$ac_save_CPPFLAGS
16554 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16556 case "x$with_gphoto" in
16557 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16559 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16560 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16562 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16564 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16566 case "x$with_gphoto" in
16567 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16569 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16570 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16576 if test "$ac_cv_header_resolv_h" = "yes"
16578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16579 printf %s
"checking for resolver library... " >&6; }
16580 if test ${ac_cv_have_resolv+y}
16582 printf %s
"(cached) " >&6
16584 ac_save_LIBS
="$LIBS"
16585 for lib
in '' -lresolv
16587 LIBS
="$lib $ac_save_LIBS"
16588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #ifdef HAVE_NETINET_IN_H
16591 #include <netinet/in.h>
16593 #include <resolv.h>
16597 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16602 if ac_fn_c_try_link
"$LINENO"
16604 ac_cv_have_resolv
=${lib:-"none required"}
16606 ac_cv_have_resolv
="not found"
16608 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16609 conftest
$ac_exeext conftest.
$ac_ext
16610 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16612 LIBS
="$ac_save_LIBS"
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16615 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16617 case "$ac_cv_have_resolv" in
16621 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16624 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16626 RESOLV_LIBS
=$ac_cv_have_resolv
16630 if test "x$ac_cv_have_resolv" != "xnot found"
16632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16633 printf %s
"checking for res_getservers... " >&6; }
16634 if test ${ac_cv_have_res_getservers+y}
16636 printf %s
"(cached) " >&6
16638 ac_save_LIBS
="$LIBS"
16639 LIBS
="$RESOLV_LIBS $LIBS"
16640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 #include <resolv.h>
16646 res_getservers(NULL, NULL, 0);
16651 if ac_fn_c_try_link
"$LINENO"
16653 ac_cv_have_res_getservers
=yes
16655 ac_cv_have_res_getservers
=no
16657 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16658 conftest
$ac_exeext conftest.
$ac_ext
16659 LIBS
="$ac_save_LIBS"
16661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16662 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16663 if test "$ac_cv_have_res_getservers" = "yes"
16666 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16672 if test "x$with_freetype" != "xno"
16674 if ${FREETYPE_CFLAGS:+false} :
16676 if test ${PKG_CONFIG+y}
16678 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16681 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16682 if ${FREETYPE_LIBS:+false} :
16684 if test ${PKG_CONFIG+y}
16686 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16689 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16690 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16693 ac_save_CPPFLAGS
=$CPPFLAGS
16694 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16695 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16696 if test "x$ac_cv_header_ft2build_h" = xyes
16698 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16702 if test "$ac_cv_header_ft2build_h" = "yes"
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16705 printf %s
"checking for -lfreetype... " >&6; }
16706 if test ${ac_cv_lib_soname_freetype+y}
16708 printf %s
"(cached) " >&6
16710 ac_check_soname_save_LIBS
=$LIBS
16711 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16715 /* Override any GCC internal prototype to avoid an error.
16716 Use char because int might match the return type of a GCC
16717 builtin and then its argument prototype would still apply. */
16718 char FT_Init_FreeType ();
16722 return FT_Init_FreeType ();
16727 if ac_fn_c_try_link
"$LINENO"
16730 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16731 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'` ;;
16732 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16733 if ${ac_cv_lib_soname_freetype:+false} :
16735 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16739 ac_cv_lib_soname_freetype
=
16741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16742 conftest
$ac_exeext conftest.
$ac_ext
16743 LIBS
=$ac_check_soname_save_LIBS
16745 if ${ac_cv_lib_soname_freetype:+false} :
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16748 printf "%s\n" "not found" >&6; }
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16752 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16754 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16757 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16759 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16760 #include FT_MODULE_H
16762 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16765 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16775 CPPFLAGS
=$ac_save_CPPFLAGS
16778 if test "x$ac_cv_lib_soname_freetype" = x
16780 case "x$with_freetype" in
16782 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16783 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16785 enable_fonts
=${enable_fonts:-no}
16788 ac_wine_check_funcs_save_LIBS
="$LIBS"
16789 LIBS
="$LIBS $PTHREAD_LIBS"
16790 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16791 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16793 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16797 LIBS
="$ac_wine_check_funcs_save_LIBS"
16799 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16801 if test "$ac_cv_header_gettext_po_h" = "yes"
16803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16804 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16805 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16807 printf %s
"(cached) " >&6
16809 ac_check_lib_save_LIBS
=$LIBS
16810 LIBS
="-lgettextpo $LIBS"
16811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16814 /* Override any GCC internal prototype to avoid an error.
16815 Use char because int might match the return type of a GCC
16816 builtin and then its argument prototype would still apply. */
16817 char po_message_msgctxt ();
16821 return po_message_msgctxt ();
16826 if ac_fn_c_try_link
"$LINENO"
16828 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16830 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16832 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16833 conftest
$ac_exeext conftest.
$ac_ext
16834 LIBS
=$ac_check_lib_save_LIBS
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16837 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16838 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16841 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16843 GETTEXTPO_LIBS
="-lgettextpo"
16848 if test "x$GETTEXTPO_LIBS" = "x"
16850 case "x$with_gettextpo" in
16851 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16853 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16854 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16858 if test "$srcdir" != .
16860 case "x$with_gettextpo" in
16861 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16863 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16864 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16870 if test "x$with_pulse" != "xno";
16872 if ${PULSE_CFLAGS:+false} :
16874 if test ${PKG_CONFIG+y}
16876 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16880 if ${PULSE_LIBS:+false} :
16882 if test ${PKG_CONFIG+y}
16884 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16891 ac_save_CPPFLAGS
=$CPPFLAGS
16892 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16893 for ac_header
in pulse
/pulseaudio.h
16895 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16896 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16898 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16900 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16901 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16903 printf %s
"(cached) " >&6
16905 ac_check_lib_save_LIBS
=$LIBS
16906 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 /* Override any GCC internal prototype to avoid an error.
16911 Use char because int might match the return type of a GCC
16912 builtin and then its argument prototype would still apply. */
16913 char pa_stream_is_corked ();
16917 return pa_stream_is_corked ();
16922 if ac_fn_c_try_link
"$LINENO"
16924 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16926 ac_cv_lib_pulse_pa_stream_is_corked
=no
16928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16929 conftest
$ac_exeext conftest.
$ac_ext
16930 LIBS
=$ac_check_lib_save_LIBS
16932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16933 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16934 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16946 CPPFLAGS
=$ac_save_CPPFLAGS
16949 if test -z "$PULSE_LIBS"
16951 case "x$with_pulse" in
16952 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16954 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16955 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16957 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16960 if test "x$with_gstreamer" != "xno"
16962 if ${GSTREAMER_CFLAGS:+false} :
16964 if test ${PKG_CONFIG+y}
16966 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16970 if ${GSTREAMER_LIBS:+false} :
16972 if test ${PKG_CONFIG+y}
16974 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16981 ac_save_CPPFLAGS
=$CPPFLAGS
16982 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16983 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16984 if test "x$ac_cv_header_gst_gst_h" = xyes
16986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16987 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <gst/gst.h>
16994 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16999 if ac_fn_c_try_compile
"$LINENO"
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17002 printf "%s\n" "yes" >&6; }
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17004 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17005 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17007 printf %s
"(cached) " >&6
17009 ac_check_lib_save_LIBS
=$LIBS
17010 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17014 /* Override any GCC internal prototype to avoid an error.
17015 Use char because int might match the return type of a GCC
17016 builtin and then its argument prototype would still apply. */
17017 char gst_pad_new ();
17021 return gst_pad_new ();
17026 if ac_fn_c_try_link
"$LINENO"
17028 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17030 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17032 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17033 conftest
$ac_exeext conftest.
$ac_ext
17034 LIBS
=$ac_check_lib_save_LIBS
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17037 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17038 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17045 printf "%s\n" "no" >&6; }
17046 ac_glib2_broken
=yes
17047 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17049 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17052 CPPFLAGS
=$ac_save_CPPFLAGS
17055 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17057 case "x$with_gstreamer" in
17058 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17060 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17061 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17063 enable_winegstreamer
=${enable_winegstreamer:-no}
17068 if test "x$with_alsa" != "xno"
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17071 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17072 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17074 printf %s
"(cached) " >&6
17076 ac_check_lib_save_LIBS
=$LIBS
17077 LIBS
="-lasound $LIBS"
17078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17084 char snd_pcm_hw_params_get_access_mask ();
17088 return snd_pcm_hw_params_get_access_mask ();
17093 if ac_fn_c_try_link
"$LINENO"
17095 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17097 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17100 conftest
$ac_exeext conftest.
$ac_ext
17101 LIBS
=$ac_check_lib_save_LIBS
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17104 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17105 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 #include <alsa/asoundlib.h>
17113 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17118 if ac_fn_c_try_compile
"$LINENO"
17120 ALSA_LIBS
="-lasound"
17122 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17126 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17128 if test "x$with_oss" != xno
17130 ac_save_CPPFLAGS
="$CPPFLAGS"
17131 if test -f /etc
/oss.conf
17135 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17136 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17137 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17138 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17140 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17142 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17145 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17147 OSS4_CFLAGS
="$ac_oss_incl"
17149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17150 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17151 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17153 printf %s
"(cached) " >&6
17155 ac_check_lib_save_LIBS
=$LIBS
17156 LIBS
="-lossaudio $LIBS"
17157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17160 /* Override any GCC internal prototype to avoid an error.
17161 Use char because int might match the return type of a GCC
17162 builtin and then its argument prototype would still apply. */
17163 char _oss_ioctl ();
17167 return _oss_ioctl ();
17172 if ac_fn_c_try_link
"$LINENO"
17174 ac_cv_lib_ossaudio__oss_ioctl
=yes
17176 ac_cv_lib_ossaudio__oss_ioctl
=no
17178 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17179 conftest
$ac_exeext conftest.
$ac_ext
17180 LIBS
=$ac_check_lib_save_LIBS
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17183 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17184 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17186 OSS4_LIBS
="-lossaudio"
17194 CPPFLAGS
="$ac_save_CPPFLAGS"
17196 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17198 case "x$with_oss" in
17199 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17201 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17202 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17204 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17207 if test "x$with_udev" != "xno"
17209 if ${UDEV_CFLAGS:+false} :
17211 if test ${PKG_CONFIG+y}
17213 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17217 if ${UDEV_LIBS:+false} :
17219 if test ${PKG_CONFIG+y}
17221 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17225 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17228 ac_save_CPPFLAGS
=$CPPFLAGS
17229 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17230 for ac_header
in libudev.h
17232 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17233 if test "x$ac_cv_header_libudev_h" = xyes
17235 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17237 printf %s
"checking for udev_new in -ludev... " >&6; }
17238 if test ${ac_cv_lib_udev_udev_new+y}
17240 printf %s
"(cached) " >&6
17242 ac_check_lib_save_LIBS
=$LIBS
17243 LIBS
="-ludev $UDEV_LIBS $LIBS"
17244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17247 /* Override any GCC internal prototype to avoid an error.
17248 Use char because int might match the return type of a GCC
17249 builtin and then its argument prototype would still apply. */
17254 return udev_new ();
17259 if ac_fn_c_try_link
"$LINENO"
17261 ac_cv_lib_udev_udev_new
=yes
17263 ac_cv_lib_udev_udev_new
=no
17265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17266 conftest
$ac_exeext conftest.
$ac_ext
17267 LIBS
=$ac_check_lib_save_LIBS
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17270 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17271 if test "x$ac_cv_lib_udev_udev_new" = xyes
17274 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17285 CPPFLAGS
=$ac_save_CPPFLAGS
17288 if test "x$UDEV_LIBS" = "x"
17290 case "x$with_udev" in
17291 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17293 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17294 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17299 if test "x$with_unwind" != xno
17301 if ${UNWIND_CFLAGS:+false} :
17303 if test ${PKG_CONFIG+y}
17305 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17309 if ${UNWIND_LIBS:+false} :
17311 if test ${PKG_CONFIG+y}
17313 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17317 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17320 ac_save_CPPFLAGS
=$CPPFLAGS
17321 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17323 printf %s
"checking for unw_step... " >&6; }
17324 if test ${wine_cv_have_unw_step+y}
17326 printf %s
"(cached) " >&6
17328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #define UNW_LOCAL_ONLY
17331 #include <libunwind.h>
17335 unw_cursor_t cursor; unw_step( &cursor );
17340 if ac_fn_c_try_link
"$LINENO"
17342 wine_cv_have_unw_step
="yes"
17344 wine_cv_have_unw_step
="no"
17346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17347 conftest
$ac_exeext conftest.
$ac_ext
17349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17350 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17351 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17354 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17355 LIBS
="$UNWIND_LIBS $LIBS"
17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17357 printf %s
"checking for unw_step in libunwind... " >&6; }
17358 if test ${wine_cv_have_libunwind_unw_step+y}
17360 printf %s
"(cached) " >&6
17362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #define UNW_LOCAL_ONLY
17365 #include <libunwind.h>
17369 unw_cursor_t cursor; unw_step( &cursor );
17374 if ac_fn_c_try_link
"$LINENO"
17376 wine_cv_have_libunwind_unw_step
="yes"
17378 wine_cv_have_libunwind_unw_step
="no"
17380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17381 conftest
$ac_exeext conftest.
$ac_ext
17383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17384 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17387 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17388 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17391 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17394 CPPFLAGS
=$ac_save_CPPFLAGS
17398 aarch64
*|
*-darwin*)
17399 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17401 case "x$with_unwind" in
17402 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17404 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17405 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17411 if test "x$with_sdl" != "xno"
17413 if ${SDL2_CFLAGS:+false} :
17415 if test ${PKG_CONFIG+y}
17417 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17421 if ${SDL2_LIBS:+false} :
17423 if test ${PKG_CONFIG+y}
17425 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17429 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17432 ac_save_CPPFLAGS
=$CPPFLAGS
17433 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17434 for ac_header
in SDL.h
17436 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17437 if test "x$ac_cv_header_SDL_h" = xyes
17439 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17441 printf %s
"checking for -lSDL2... " >&6; }
17442 if test ${ac_cv_lib_soname_SDL2+y}
17444 printf %s
"(cached) " >&6
17446 ac_check_soname_save_LIBS
=$LIBS
17447 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17451 /* Override any GCC internal prototype to avoid an error.
17452 Use char because int might match the return type of a GCC
17453 builtin and then its argument prototype would still apply. */
17458 return SDL_Init ();
17463 if ac_fn_c_try_link
"$LINENO"
17466 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17467 dylib
) ac_cv_lib_soname_SDL2
=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17468 *) ac_cv_lib_soname_SDL2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17469 if ${ac_cv_lib_soname_SDL2:+false} :
17471 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17475 ac_cv_lib_soname_SDL2
=
17477 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17478 conftest
$ac_exeext conftest.
$ac_ext
17479 LIBS
=$ac_check_soname_save_LIBS
17481 if ${ac_cv_lib_soname_SDL2:+false} :
17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17484 printf "%s\n" "not found" >&6; }
17487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17488 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17490 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17497 CPPFLAGS
=$ac_save_CPPFLAGS
17500 if test "x$ac_cv_lib_soname_SDL2" = "x"
17502 case "x$with_sdl" in
17503 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17505 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17506 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17511 if test "x$with_capi" != "xno"
17513 if ${CAPI20_CFLAGS:+false} :
17515 if test ${PKG_CONFIG+y}
17517 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17521 if ${CAPI20_LIBS:+false} :
17523 if test ${PKG_CONFIG+y}
17525 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17532 ac_save_CPPFLAGS
=$CPPFLAGS
17533 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17534 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17536 if test "x$ac_cv_header_capi20_h" = xyes
17538 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17541 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17543 if test "x$ac_cv_header_linux_capi_h" = xyes
17545 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17549 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17552 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17553 if test ${ac_cv_lib_capi20_capi20_register+y}
17555 printf %s
"(cached) " >&6
17557 ac_check_lib_save_LIBS
=$LIBS
17558 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17562 /* Override any GCC internal prototype to avoid an error.
17563 Use char because int might match the return type of a GCC
17564 builtin and then its argument prototype would still apply. */
17565 char capi20_register ();
17569 return capi20_register ();
17574 if ac_fn_c_try_link
"$LINENO"
17576 ac_cv_lib_capi20_capi20_register
=yes
17578 ac_cv_lib_capi20_capi20_register
=no
17580 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17581 conftest
$ac_exeext conftest.
$ac_ext
17582 LIBS
=$ac_check_lib_save_LIBS
17584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17585 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17586 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17594 CPPFLAGS
=$ac_save_CPPFLAGS
17597 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17599 case "x$with_capi" in
17600 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17602 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17603 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17605 enable_capi2032
=${enable_capi2032:-no}
17608 if test "x$with_cups" != "xno"
17610 if ${CUPS_CFLAGS:+false} :
17612 if test ${PKG_CONFIG+y}
17614 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17617 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17618 if ${CUPS_LIBS:+false} :
17620 if test ${PKG_CONFIG+y}
17622 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17625 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17626 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17629 ac_save_CPPFLAGS
=$CPPFLAGS
17630 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17631 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17632 if test "x$ac_cv_header_cups_cups_h" = xyes
17634 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17637 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17638 if test "x$ac_cv_header_cups_ppd_h" = xyes
17640 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17644 if test "$ac_cv_header_cups_cups_h" = "yes"
17646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17647 printf %s
"checking for -lcups... " >&6; }
17648 if test ${ac_cv_lib_soname_cups+y}
17650 printf %s
"(cached) " >&6
17652 ac_check_soname_save_LIBS
=$LIBS
17653 LIBS
="-lcups $CUPS_LIBS $LIBS"
17654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17657 /* Override any GCC internal prototype to avoid an error.
17658 Use char because int might match the return type of a GCC
17659 builtin and then its argument prototype would still apply. */
17660 char cupsGetDefault ();
17664 return cupsGetDefault ();
17669 if ac_fn_c_try_link
"$LINENO"
17672 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17673 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'` ;;
17674 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17675 if ${ac_cv_lib_soname_cups:+false} :
17677 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17681 ac_cv_lib_soname_cups
=
17683 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17684 conftest
$ac_exeext conftest.
$ac_ext
17685 LIBS
=$ac_check_soname_save_LIBS
17687 if ${ac_cv_lib_soname_cups:+false} :
17689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17690 printf "%s\n" "not found" >&6; }
17693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17694 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17696 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17704 CPPFLAGS
=$ac_save_CPPFLAGS
17707 if test "x$ac_cv_lib_soname_cups" = "x"
17709 case "x$with_cups" in
17710 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17712 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17713 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17718 if test "x$with_fontconfig" != "xno"
17720 if ${FONTCONFIG_CFLAGS:+false} :
17722 if test ${PKG_CONFIG+y}
17724 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17727 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17728 if ${FONTCONFIG_LIBS:+false} :
17730 if test ${PKG_CONFIG+y}
17732 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17735 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17739 ac_save_CPPFLAGS
=$CPPFLAGS
17740 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17741 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17742 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17744 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17748 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17751 printf %s
"checking for -lfontconfig... " >&6; }
17752 if test ${ac_cv_lib_soname_fontconfig+y}
17754 printf %s
"(cached) " >&6
17756 ac_check_soname_save_LIBS
=$LIBS
17757 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17761 /* Override any GCC internal prototype to avoid an error.
17762 Use char because int might match the return type of a GCC
17763 builtin and then its argument prototype would still apply. */
17773 if ac_fn_c_try_link
"$LINENO"
17776 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17777 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'` ;;
17778 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17779 if ${ac_cv_lib_soname_fontconfig:+false} :
17781 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17785 ac_cv_lib_soname_fontconfig
=
17787 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17788 conftest
$ac_exeext conftest.
$ac_ext
17789 LIBS
=$ac_check_soname_save_LIBS
17791 if ${ac_cv_lib_soname_fontconfig:+false} :
17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17794 printf "%s\n" "not found" >&6; }
17795 FONTCONFIG_CFLAGS
=""
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17798 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17800 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17805 FONTCONFIG_CFLAGS
=""
17807 CPPFLAGS
=$ac_save_CPPFLAGS
17810 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17812 case "x$with_fontconfig" in
17813 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17815 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17816 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17821 if test "x$with_krb5" != "xno"
17823 if ${KRB5_CFLAGS:+false} :
17825 if test ${PKG_CONFIG+y}
17827 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17830 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17831 if ${KRB5_LIBS:+false} :
17833 if test ${PKG_CONFIG+y}
17835 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17838 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17842 ac_save_CPPFLAGS
=$CPPFLAGS
17843 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17844 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17845 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17847 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17851 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17854 printf %s
"checking for -lkrb5... " >&6; }
17855 if test ${ac_cv_lib_soname_krb5+y}
17857 printf %s
"(cached) " >&6
17859 ac_check_soname_save_LIBS
=$LIBS
17860 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 char krb5_is_config_principal ();
17871 return krb5_is_config_principal ();
17876 if ac_fn_c_try_link
"$LINENO"
17879 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17880 dylib
) ac_cv_lib_soname_krb5
=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17881 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17882 if ${ac_cv_lib_soname_krb5:+false} :
17884 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17888 ac_cv_lib_soname_krb5
=
17890 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17891 conftest
$ac_exeext conftest.
$ac_ext
17892 LIBS
=$ac_check_soname_save_LIBS
17894 if ${ac_cv_lib_soname_krb5:+false} :
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17897 printf "%s\n" "not found" >&6; }
17900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17901 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17903 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17910 CPPFLAGS
=$ac_save_CPPFLAGS
17913 if test "x$ac_cv_lib_soname_krb5" = "x"
17915 case "x$with_krb5" in
17916 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17918 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17919 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17923 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17925 if test "x$with_gssapi" != "xno"
17927 if ${GSSAPI_CFLAGS:+false} :
17929 if test ${PKG_CONFIG+y}
17931 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17934 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17935 if ${GSSAPI_LIBS:+false} :
17937 if test ${PKG_CONFIG+y}
17939 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17942 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17946 ac_save_CPPFLAGS
=$CPPFLAGS
17947 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17948 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17949 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17951 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17954 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17955 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17957 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17961 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17964 printf %s
"checking for -lgssapi_krb5... " >&6; }
17965 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17967 printf %s
"(cached) " >&6
17969 ac_check_soname_save_LIBS
=$LIBS
17970 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17974 /* Override any GCC internal prototype to avoid an error.
17975 Use char because int might match the return type of a GCC
17976 builtin and then its argument prototype would still apply. */
17977 char gss_init_sec_context ();
17981 return gss_init_sec_context ();
17986 if ac_fn_c_try_link
"$LINENO"
17989 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17990 dylib
) ac_cv_lib_soname_gssapi_krb5
=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17991 *) ac_cv_lib_soname_gssapi_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17992 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17994 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17998 ac_cv_lib_soname_gssapi_krb5
=
18000 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18001 conftest
$ac_exeext conftest.
$ac_ext
18002 LIBS
=$ac_check_soname_save_LIBS
18004 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18007 printf "%s\n" "not found" >&6; }
18010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18011 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18013 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18020 CPPFLAGS
=$ac_save_CPPFLAGS
18023 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18025 case "x$with_gssapi" in
18026 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18028 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18029 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18034 if test "$ac_cv_header_AL_al_h" = "yes"
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18037 printf %s
"checking for -lopenal... " >&6; }
18038 if test ${ac_cv_lib_soname_openal+y}
18040 printf %s
"(cached) " >&6
18042 ac_check_soname_save_LIBS
=$LIBS
18043 LIBS
="-lopenal $LIBS"
18044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 char alGetSource3i ();
18054 return alGetSource3i ();
18059 if ac_fn_c_try_link
"$LINENO"
18062 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18063 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'` ;;
18064 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18065 if ${ac_cv_lib_soname_openal:+false} :
18067 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18071 ac_cv_lib_soname_openal
=
18073 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18074 conftest
$ac_exeext conftest.
$ac_ext
18075 LIBS
=$ac_check_soname_save_LIBS
18077 if ${ac_cv_lib_soname_openal:+false} :
18079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18080 printf "%s\n" "not found" >&6; }
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18084 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18086 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18088 OPENAL_LIBS
="-lopenal"
18090 ac_cv_lib_openal
=yes
18092 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18096 if test "x$ac_cv_lib_openal" != xyes
18098 case "x$with_openal" in
18099 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18101 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18102 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18104 enable_openal32
=${enable_openal32:-no}
18107 if test "$ac_cv_header_libprocstat_h" = "yes"
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18110 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18111 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18113 printf %s
"(cached) " >&6
18115 ac_check_lib_save_LIBS
=$LIBS
18116 LIBS
="-lprocstat $LIBS"
18117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 char procstat_open_sysctl ();
18127 return procstat_open_sysctl ();
18132 if ac_fn_c_try_link
"$LINENO"
18134 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18136 ac_cv_lib_procstat_procstat_open_sysctl
=no
18138 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18139 conftest
$ac_exeext conftest.
$ac_ext
18140 LIBS
=$ac_check_lib_save_LIBS
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18143 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18144 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18147 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18149 PROCSTAT_LIBS
="-lprocstat"
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18156 printf %s
"checking for -lodbc... " >&6; }
18157 if test ${ac_cv_lib_soname_odbc+y}
18159 printf %s
"(cached) " >&6
18161 ac_check_soname_save_LIBS
=$LIBS
18162 LIBS
="-lodbc $LIBS"
18163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18169 char SQLConnect ();
18173 return SQLConnect ();
18178 if ac_fn_c_try_link
"$LINENO"
18181 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18182 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'` ;;
18183 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18184 if ${ac_cv_lib_soname_odbc:+false} :
18186 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18190 ac_cv_lib_soname_odbc
=
18192 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18193 conftest
$ac_exeext conftest.
$ac_ext
18194 LIBS
=$ac_check_soname_save_LIBS
18196 if ${ac_cv_lib_soname_odbc:+false} :
18198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18199 printf "%s\n" "not found" >&6; }
18200 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18204 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18206 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18211 if test "x$with_netapi" != "xno"
18213 if ${NETAPI_CFLAGS:+false} :
18215 if test ${PKG_CONFIG+y}
18217 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18221 if ${NETAPI_LIBS:+false} :
18223 if test ${PKG_CONFIG+y}
18225 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18232 ac_save_CPPFLAGS
=$CPPFLAGS
18233 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18235 printf %s
"checking for -lnetapi... " >&6; }
18236 if test ${ac_cv_lib_soname_netapi+y}
18238 printf %s
"(cached) " >&6
18240 ac_check_soname_save_LIBS
=$LIBS
18241 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 char libnetapi_init ();
18252 return libnetapi_init ();
18257 if ac_fn_c_try_link
"$LINENO"
18260 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18261 dylib
) ac_cv_lib_soname_netapi
=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18262 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18263 if ${ac_cv_lib_soname_netapi:+false} :
18265 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18269 ac_cv_lib_soname_netapi
=
18271 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18272 conftest
$ac_exeext conftest.
$ac_ext
18273 LIBS
=$ac_check_soname_save_LIBS
18275 if ${ac_cv_lib_soname_netapi:+false} :
18277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18278 printf "%s\n" "not found" >&6; }
18279 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18283 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18285 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18289 CPPFLAGS
=$ac_save_CPPFLAGS
18292 if test "x$ac_cv_lib_soname_netapi" = "x"
18294 case "x$with_netapi" in
18295 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18297 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18298 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18300 enable_netapi
=${enable_netapi:-no}
18304 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18305 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18307 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18310 if test "x$with_vulkan" != "xno"
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18313 printf %s
"checking for -lvulkan... " >&6; }
18314 if test ${ac_cv_lib_soname_vulkan+y}
18316 printf %s
"(cached) " >&6
18318 ac_check_soname_save_LIBS
=$LIBS
18319 LIBS
="-lvulkan $LIBS"
18320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18323 /* Override any GCC internal prototype to avoid an error.
18324 Use char because int might match the return type of a GCC
18325 builtin and then its argument prototype would still apply. */
18326 char vkGetInstanceProcAddr ();
18330 return vkGetInstanceProcAddr ();
18335 if ac_fn_c_try_link
"$LINENO"
18338 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18339 dylib
) ac_cv_lib_soname_vulkan
=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18340 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18341 if ${ac_cv_lib_soname_vulkan:+false} :
18343 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18347 ac_cv_lib_soname_vulkan
=
18349 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18350 conftest
$ac_exeext conftest.
$ac_ext
18351 LIBS
=$ac_check_soname_save_LIBS
18353 if ${ac_cv_lib_soname_vulkan:+false} :
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18356 printf "%s\n" "not found" >&6; }
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18360 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18362 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18366 if test "x$ac_cv_lib_soname_vulkan" = "x"
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18369 printf %s
"checking for -lMoltenVK... " >&6; }
18370 if test ${ac_cv_lib_soname_MoltenVK+y}
18372 printf %s
"(cached) " >&6
18374 ac_check_soname_save_LIBS
=$LIBS
18375 LIBS
="-lMoltenVK $LIBS"
18376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 /* Override any GCC internal prototype to avoid an error.
18380 Use char because int might match the return type of a GCC
18381 builtin and then its argument prototype would still apply. */
18382 char vkGetInstanceProcAddr ();
18386 return vkGetInstanceProcAddr ();
18391 if ac_fn_c_try_link
"$LINENO"
18394 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18395 dylib
) ac_cv_lib_soname_MoltenVK
=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18396 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18397 if ${ac_cv_lib_soname_MoltenVK:+false} :
18399 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18403 ac_cv_lib_soname_MoltenVK
=
18405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18406 conftest
$ac_exeext conftest.
$ac_ext
18407 LIBS
=$ac_check_soname_save_LIBS
18409 if ${ac_cv_lib_soname_MoltenVK:+false} :
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18412 printf "%s\n" "not found" >&6; }
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18416 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18418 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18424 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18426 case "x$with_vulkan" in
18427 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18429 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18430 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18436 if test "x${GCC}" = "xyes"
18438 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18440 saved_CFLAGS
=$CFLAGS
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18442 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18443 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18445 printf %s
"(cached) " >&6
18447 ac_wine_try_cflags_saved
=$CFLAGS
18448 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18451 int main(int argc, char **argv) { return 0; }
18453 if ac_fn_c_try_link
"$LINENO"
18455 ac_cv_cflags__Werror_unknown_warning_option
=yes
18457 ac_cv_cflags__Werror_unknown_warning_option
=no
18459 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18460 conftest
$ac_exeext conftest.
$ac_ext
18461 CFLAGS
=$ac_wine_try_cflags_saved
18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18464 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18465 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18467 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18470 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18471 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18473 printf %s
"(cached) " >&6
18475 ac_wine_try_cflags_saved
=$CFLAGS
18476 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 int main(int argc, char **argv) { return 0; }
18481 if ac_fn_c_try_link
"$LINENO"
18483 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18485 ac_cv_cflags__Werror_unused_command_line_argument
=no
18487 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18488 conftest
$ac_exeext conftest.
$ac_ext
18489 CFLAGS
=$ac_wine_try_cflags_saved
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18492 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18493 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18495 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18498 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18499 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18501 printf %s
"(cached) " >&6
18503 ac_wine_try_cflags_saved
=$CFLAGS
18504 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 int main(int argc, char **argv) { return 0; }
18509 if ac_fn_c_try_link
"$LINENO"
18511 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18513 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18515 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18516 conftest
$ac_exeext conftest.
$ac_ext
18517 CFLAGS
=$ac_wine_try_cflags_saved
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18520 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18521 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18523 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18526 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18527 if test ${ac_cv_cflags__fcf_protection_none+y}
18529 printf %s
"(cached) " >&6
18531 ac_wine_try_cflags_saved
=$CFLAGS
18532 CFLAGS
="$CFLAGS -fcf-protection=none"
18533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 int main(int argc, char **argv) { return 0; }
18537 if ac_fn_c_try_link
"$LINENO"
18539 ac_cv_cflags__fcf_protection_none
=yes
18541 ac_cv_cflags__fcf_protection_none
=no
18543 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18544 conftest
$ac_exeext conftest.
$ac_ext
18545 CFLAGS
=$ac_wine_try_cflags_saved
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18548 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18549 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18551 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18554 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18555 if test ${ac_cv_cflags__fno_stack_protector+y}
18557 printf %s
"(cached) " >&6
18559 ac_wine_try_cflags_saved
=$CFLAGS
18560 CFLAGS
="$CFLAGS -fno-stack-protector"
18561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 int main(int argc, char **argv) { return 0; }
18565 if ac_fn_c_try_link
"$LINENO"
18567 ac_cv_cflags__fno_stack_protector
=yes
18569 ac_cv_cflags__fno_stack_protector
=no
18571 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18572 conftest
$ac_exeext conftest.
$ac_ext
18573 CFLAGS
=$ac_wine_try_cflags_saved
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18576 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18577 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18579 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18582 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18583 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18585 printf %s
"(cached) " >&6
18587 ac_wine_try_cflags_saved
=$CFLAGS
18588 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 int main(int argc, char **argv) { return 0; }
18593 if ac_fn_c_try_link
"$LINENO"
18595 ac_cv_cflags__fno_strict_aliasing
=yes
18597 ac_cv_cflags__fno_strict_aliasing
=no
18599 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18600 conftest
$ac_exeext conftest.
$ac_ext
18601 CFLAGS
=$ac_wine_try_cflags_saved
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18604 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18605 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18607 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18610 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18611 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18613 printf %s
"(cached) " >&6
18615 ac_wine_try_cflags_saved
=$CFLAGS
18616 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 int main(int argc, char **argv) { return 0; }
18621 if ac_fn_c_try_link
"$LINENO"
18623 ac_cv_cflags__Wdeclaration_after_statement
=yes
18625 ac_cv_cflags__Wdeclaration_after_statement
=no
18627 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18628 conftest
$ac_exeext conftest.
$ac_ext
18629 CFLAGS
=$ac_wine_try_cflags_saved
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18632 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18633 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18635 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18638 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18639 if test ${ac_cv_cflags__Wempty_body+y}
18641 printf %s
"(cached) " >&6
18643 ac_wine_try_cflags_saved
=$CFLAGS
18644 CFLAGS
="$CFLAGS -Wempty-body"
18645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 int main(int argc, char **argv) { return 0; }
18649 if ac_fn_c_try_link
"$LINENO"
18651 ac_cv_cflags__Wempty_body
=yes
18653 ac_cv_cflags__Wempty_body
=no
18655 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18656 conftest
$ac_exeext conftest.
$ac_ext
18657 CFLAGS
=$ac_wine_try_cflags_saved
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18660 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18661 if test "x$ac_cv_cflags__Wempty_body" = xyes
18663 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18666 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18667 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18669 printf %s
"(cached) " >&6
18671 ac_wine_try_cflags_saved
=$CFLAGS
18672 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 int main(int argc, char **argv) { return 0; }
18677 if ac_fn_c_try_link
"$LINENO"
18679 ac_cv_cflags__Wignored_qualifiers
=yes
18681 ac_cv_cflags__Wignored_qualifiers
=no
18683 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18684 conftest
$ac_exeext conftest.
$ac_ext
18685 CFLAGS
=$ac_wine_try_cflags_saved
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18688 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18689 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18691 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18694 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18695 if test ${ac_cv_cflags__Winit_self+y}
18697 printf %s
"(cached) " >&6
18699 ac_wine_try_cflags_saved
=$CFLAGS
18700 CFLAGS
="$CFLAGS -Winit-self"
18701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 int main(int argc, char **argv) { return 0; }
18705 if ac_fn_c_try_link
"$LINENO"
18707 ac_cv_cflags__Winit_self
=yes
18709 ac_cv_cflags__Winit_self
=no
18711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18712 conftest
$ac_exeext conftest.
$ac_ext
18713 CFLAGS
=$ac_wine_try_cflags_saved
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18716 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18717 if test "x$ac_cv_cflags__Winit_self" = xyes
18719 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18722 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18723 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18725 printf %s
"(cached) " >&6
18727 ac_wine_try_cflags_saved
=$CFLAGS
18728 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 int main(int argc, char **argv) { return 0; }
18733 if ac_fn_c_try_link
"$LINENO"
18735 ac_cv_cflags__Wpacked_not_aligned
=yes
18737 ac_cv_cflags__Wpacked_not_aligned
=no
18739 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18740 conftest
$ac_exeext conftest.
$ac_ext
18741 CFLAGS
=$ac_wine_try_cflags_saved
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18744 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18745 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18747 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18750 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18751 if test ${ac_cv_cflags__Wpragma_pack+y}
18753 printf %s
"(cached) " >&6
18755 ac_wine_try_cflags_saved
=$CFLAGS
18756 CFLAGS
="$CFLAGS -Wpragma-pack"
18757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 int main(int argc, char **argv) { return 0; }
18761 if ac_fn_c_try_link
"$LINENO"
18763 ac_cv_cflags__Wpragma_pack
=yes
18765 ac_cv_cflags__Wpragma_pack
=no
18767 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18768 conftest
$ac_exeext conftest.
$ac_ext
18769 CFLAGS
=$ac_wine_try_cflags_saved
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18772 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18773 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18775 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18778 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18779 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18781 printf %s
"(cached) " >&6
18783 ac_wine_try_cflags_saved
=$CFLAGS
18784 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 int main(int argc, char **argv) { return 0; }
18789 if ac_fn_c_try_link
"$LINENO"
18791 ac_cv_cflags__Wshift_overflow_2
=yes
18793 ac_cv_cflags__Wshift_overflow_2
=no
18795 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18796 conftest
$ac_exeext conftest.
$ac_ext
18797 CFLAGS
=$ac_wine_try_cflags_saved
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18800 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18801 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18803 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18806 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18807 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18809 printf %s
"(cached) " >&6
18811 ac_wine_try_cflags_saved
=$CFLAGS
18812 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18814 /* end confdefs.h. */
18815 int main(int argc, char **argv) { return 0; }
18817 if ac_fn_c_try_link
"$LINENO"
18819 ac_cv_cflags__Wstrict_prototypes
=yes
18821 ac_cv_cflags__Wstrict_prototypes
=no
18823 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18824 conftest
$ac_exeext conftest.
$ac_ext
18825 CFLAGS
=$ac_wine_try_cflags_saved
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18828 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18829 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18831 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18834 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18835 if test ${ac_cv_cflags__Wtype_limits+y}
18837 printf %s
"(cached) " >&6
18839 ac_wine_try_cflags_saved
=$CFLAGS
18840 CFLAGS
="$CFLAGS -Wtype-limits"
18841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 int main(int argc, char **argv) { return 0; }
18845 if ac_fn_c_try_link
"$LINENO"
18847 ac_cv_cflags__Wtype_limits
=yes
18849 ac_cv_cflags__Wtype_limits
=no
18851 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18852 conftest
$ac_exeext conftest.
$ac_ext
18853 CFLAGS
=$ac_wine_try_cflags_saved
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18856 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18857 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18859 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18862 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18863 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18865 printf %s
"(cached) " >&6
18867 ac_wine_try_cflags_saved
=$CFLAGS
18868 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 int main(int argc, char **argv) { return 0; }
18873 if ac_fn_c_try_link
"$LINENO"
18875 ac_cv_cflags__Wunused_but_set_parameter
=yes
18877 ac_cv_cflags__Wunused_but_set_parameter
=no
18879 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18880 conftest
$ac_exeext conftest.
$ac_ext
18881 CFLAGS
=$ac_wine_try_cflags_saved
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18884 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18885 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18887 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18890 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18891 if test ${ac_cv_cflags__Wvla+y}
18893 printf %s
"(cached) " >&6
18895 ac_wine_try_cflags_saved
=$CFLAGS
18896 CFLAGS
="$CFLAGS -Wvla"
18897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18901 if ac_fn_c_try_link
"$LINENO"
18903 ac_cv_cflags__Wvla
=yes
18905 ac_cv_cflags__Wvla
=no
18907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18908 conftest
$ac_exeext conftest.
$ac_ext
18909 CFLAGS
=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18912 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18913 if test "x$ac_cv_cflags__Wvla" = xyes
18915 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18918 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18919 if test ${ac_cv_cflags__Wwrite_strings+y}
18921 printf %s
"(cached) " >&6
18923 ac_wine_try_cflags_saved
=$CFLAGS
18924 CFLAGS
="$CFLAGS -Wwrite-strings"
18925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 int main(int argc, char **argv) { return 0; }
18929 if ac_fn_c_try_link
"$LINENO"
18931 ac_cv_cflags__Wwrite_strings
=yes
18933 ac_cv_cflags__Wwrite_strings
=no
18935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18936 conftest
$ac_exeext conftest.
$ac_ext
18937 CFLAGS
=$ac_wine_try_cflags_saved
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18940 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18941 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18943 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18946 if test -z "$CROSSTARGET"
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18949 printf %s
"checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18950 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18952 printf %s
"(cached) " >&6
18954 ac_wine_try_cflags_saved
=$CFLAGS
18955 CFLAGS
="$CFLAGS -fexcess-precision=standard"
18956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18957 /* end confdefs.h. */
18958 int main(int argc, char **argv) { return 0; }
18960 if ac_fn_c_try_link
"$LINENO"
18962 ac_cv_cflags__fexcess_precision_standard
=yes
18964 ac_cv_cflags__fexcess_precision_standard
=no
18966 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18967 conftest
$ac_exeext conftest.
$ac_ext
18968 CFLAGS
=$ac_wine_try_cflags_saved
18970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18971 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18972 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18974 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18980 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18981 if test ${ac_cv_cflags__Wpointer_arith+y}
18983 printf %s
"(cached) " >&6
18985 ac_wine_try_cflags_saved
=$CFLAGS
18986 CFLAGS
="$CFLAGS -Wpointer-arith"
18987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 int main(int argc, char **argv) { return 0; }
18991 if ac_fn_c_try_link
"$LINENO"
18993 ac_cv_cflags__Wpointer_arith
=yes
18995 ac_cv_cflags__Wpointer_arith
=no
18997 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18998 conftest
$ac_exeext conftest.
$ac_ext
18999 CFLAGS
=$ac_wine_try_cflags_saved
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19002 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19003 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19005 saved_string_h_CFLAGS
=$CFLAGS
19006 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19008 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19009 if test ${ac_cv_c_string_h_warnings+y}
19011 printf %s
"(cached) " >&6
19013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 #include <string.h>
19024 if ac_fn_c_try_compile
"$LINENO"
19026 ac_cv_c_string_h_warnings
=no
19028 ac_cv_c_string_h_warnings
=yes
19030 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19033 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19034 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19035 CFLAGS
=$saved_string_h_CFLAGS
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19039 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19040 if test ${ac_cv_cflags__Wlogical_op+y}
19042 printf %s
"(cached) " >&6
19044 ac_wine_try_cflags_saved
=$CFLAGS
19045 CFLAGS
="$CFLAGS -Wlogical-op"
19046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19048 int main(int argc, char **argv) { return 0; }
19050 if ac_fn_c_try_link
"$LINENO"
19052 ac_cv_cflags__Wlogical_op
=yes
19054 ac_cv_cflags__Wlogical_op
=no
19056 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19057 conftest
$ac_exeext conftest.
$ac_ext
19058 CFLAGS
=$ac_wine_try_cflags_saved
19060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19061 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19062 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19064 saved_string_h_CFLAGS
=$CFLAGS
19065 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19067 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19068 if test ${ac_cv_c_logicalop_noisy+y}
19070 printf %s
"(cached) " >&6
19072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19073 /* end confdefs.h. */
19074 #include <string.h>
19075 char*f(const char *h,char n) {return strchr(h,n);}
19084 if ac_fn_c_try_compile
"$LINENO"
19086 ac_cv_c_logicalop_noisy
=no
19088 ac_cv_c_logicalop_noisy
=yes
19090 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19093 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19094 CFLAGS
=$saved_string_h_CFLAGS
19095 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19099 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19100 if test ${wine_cv_64bit_compare_swap+y}
19102 printf %s
"(cached) " >&6
19104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19106 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19117 if ac_fn_c_try_compile
"$LINENO"
19119 wine_cv_64bit_compare_swap
="none needed"
19122 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19123 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19124 *) wine_cv_64bit_compare_swap
="unknown" ;;
19126 if test "x$wine_cv_64bit_compare_swap" != xunknown
19128 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19130 /* end confdefs.h. */
19131 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19142 if ac_fn_c_try_compile
"$LINENO"
19146 wine_cv_64bit_compare_swap
="unknown"
19148 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19149 CFLAGS
=$saved_CFLAGS
19152 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19155 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19156 case "$wine_cv_64bit_compare_swap" in
19157 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19159 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19162 ac_debug_format_seen
=""
19163 for ac_flag
in $CFLAGS; do
19165 -gdwarf*) ac_debug_format_seen
=yes ;;
19166 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19169 if test "x$ac_debug_format_seen" = xdefault
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19172 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19173 if test ${ac_cv_cflags__gdwarf_4+y}
19175 printf %s
"(cached) " >&6
19177 ac_wine_try_cflags_saved
=$CFLAGS
19178 CFLAGS
="$CFLAGS -gdwarf-4"
19179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19181 int main(int argc, char **argv) { return 0; }
19183 if ac_fn_c_try_link
"$LINENO"
19185 ac_cv_cflags__gdwarf_4
=yes
19187 ac_cv_cflags__gdwarf_4
=no
19189 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19190 conftest
$ac_exeext conftest.
$ac_ext
19191 CFLAGS
=$ac_wine_try_cflags_saved
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19194 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19195 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19197 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19204 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19205 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19206 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19208 printf %s
"(cached) " >&6
19210 ac_wine_try_cflags_saved
=$CFLAGS
19211 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19213 /* end confdefs.h. */
19214 int main(int argc, char **argv) { return 0; }
19216 if ac_fn_c_try_link
"$LINENO"
19218 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19220 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19222 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19223 conftest
$ac_exeext conftest.
$ac_ext
19224 CFLAGS
=$ac_wine_try_cflags_saved
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19227 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19228 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19230 DELAYLOADFLAG
="-Wl,-delayload,"
19233 *) MSVCRTFLAGS
="-D_WIN32"
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19235 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19236 if test ${ac_cv_cflags__fno_builtin+y}
19238 printf %s
"(cached) " >&6
19240 ac_wine_try_cflags_saved
=$CFLAGS
19241 CFLAGS
="$CFLAGS -fno-builtin"
19242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244 int main(int argc, char **argv) { return 0; }
19246 if ac_fn_c_try_link
"$LINENO"
19248 ac_cv_cflags__fno_builtin
=yes
19250 ac_cv_cflags__fno_builtin
=no
19252 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19253 conftest
$ac_exeext conftest.
$ac_ext
19254 CFLAGS
=$ac_wine_try_cflags_saved
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19257 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19258 if test "x$ac_cv_cflags__fno_builtin" = xyes
19260 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19263 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19264 if test ${ac_cv_cflags__fshort_wchar+y}
19266 printf %s
"(cached) " >&6
19268 ac_wine_try_cflags_saved
=$CFLAGS
19269 CFLAGS
="$CFLAGS -fshort-wchar"
19270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 int main(int argc, char **argv) { return 0; }
19274 if ac_fn_c_try_link
"$LINENO"
19276 ac_cv_cflags__fshort_wchar
=yes
19278 ac_cv_cflags__fshort_wchar
=no
19280 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19281 conftest
$ac_exeext conftest.
$ac_ext
19282 CFLAGS
=$ac_wine_try_cflags_saved
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19285 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19286 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19288 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19291 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19292 if test ${ac_cv_cflags__Wno_format+y}
19294 printf %s
"(cached) " >&6
19296 ac_wine_try_cflags_saved
=$CFLAGS
19297 CFLAGS
="$CFLAGS -Wno-format"
19298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 int main(int argc, char **argv) { return 0; }
19302 if ac_fn_c_try_link
"$LINENO"
19304 ac_cv_cflags__Wno_format
=yes
19306 ac_cv_cflags__Wno_format
=no
19308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19309 conftest
$ac_exeext conftest.
$ac_ext
19310 CFLAGS
=$ac_wine_try_cflags_saved
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19313 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19314 if test "x$ac_cv_cflags__Wno_format" = xyes
19316 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19321 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19322 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19323 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19325 printf %s
"(cached) " >&6
19327 ac_wine_try_cflags_saved
=$CFLAGS
19328 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 int main(int argc, char **argv) { return 0; }
19333 if ac_fn_c_try_link
"$LINENO"
19335 ac_cv_cflags__fno_omit_frame_pointer
=yes
19337 ac_cv_cflags__fno_omit_frame_pointer
=no
19339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19340 conftest
$ac_exeext conftest.
$ac_ext
19341 CFLAGS
=$ac_wine_try_cflags_saved
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19344 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19345 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19347 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19351 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19352 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19353 if test ${ac_cv_cflags__Wno_format+y}
19355 printf %s
"(cached) " >&6
19357 ac_wine_try_cflags_saved
=$CFLAGS
19358 CFLAGS
="$CFLAGS -Wno-format"
19359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 int main(int argc, char **argv) { return 0; }
19363 if ac_fn_c_try_link
"$LINENO"
19365 ac_cv_cflags__Wno_format
=yes
19367 ac_cv_cflags__Wno_format
=no
19369 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19370 conftest
$ac_exeext conftest.
$ac_ext
19371 CFLAGS
=$ac_wine_try_cflags_saved
19373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19374 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19375 if test "x$ac_cv_cflags__Wno_format" = xyes
19377 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19379 *) if test -z "$CROSSTARGET"
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19382 printf %s
"checking for working -mabi=ms... " >&6; }
19383 if test ${ac_cv_mabi_ms+y}
19385 printf %s
"(cached) " >&6
19387 CFLAGS
="$CFLAGS -mabi=ms"
19388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19389 /* end confdefs.h. */
19390 #include <stdarg.h>
19391 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19400 if ac_fn_c_try_compile
"$LINENO"
19406 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19407 CFLAGS
=$saved_CFLAGS
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19410 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19411 test $ac_cv_mabi_ms = yes || as_fn_error $?
"The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19413 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19417 CFLAGS
=$saved_CFLAGS
19419 if test "x$enable_werror" = "xyes"
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19422 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19423 if test ${ac_cv_cflags__Werror+y}
19425 printf %s
"(cached) " >&6
19427 ac_wine_try_cflags_saved
=$CFLAGS
19428 CFLAGS
="$CFLAGS -Werror"
19429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19433 if ac_fn_c_try_link
"$LINENO"
19435 ac_cv_cflags__Werror
=yes
19437 ac_cv_cflags__Werror
=no
19439 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19440 conftest
$ac_exeext conftest.
$ac_ext
19441 CFLAGS
=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19444 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19445 if test "x$ac_cv_cflags__Werror" = xyes
19447 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19450 if test "x$enable_build_id" = "xyes"
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19453 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19454 if test ${ac_cv_cflags__Wl___build_id+y}
19456 printf %s
"(cached) " >&6
19458 ac_wine_try_cflags_saved
=$CFLAGS
19459 CFLAGS
="$CFLAGS -Wl,--build-id"
19460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19464 if ac_fn_c_try_link
"$LINENO"
19466 ac_cv_cflags__Wl___build_id
=yes
19468 ac_cv_cflags__Wl___build_id
=no
19470 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19471 conftest
$ac_exeext conftest.
$ac_ext
19472 CFLAGS
=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19475 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19476 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19478 CFLAGS
="$CFLAGS -Wl,--build-id"
19479 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19486 printf %s
"checking for the need to disable Fortify... " >&6; }
19487 if test ${ac_cv_c_fortify_enabled+y}
19489 printf %s
"(cached) " >&6
19491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 #include <string.h>
19497 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19498 #error Fortify enabled
19504 if ac_fn_c_try_compile
"$LINENO"
19506 ac_cv_c_fortify_enabled
=no
19508 ac_cv_c_fortify_enabled
=yes
19510 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19513 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19514 if test "$ac_cv_c_fortify_enabled" = yes
19516 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19521 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19522 if test ${ac_cv_c_cfi_support+y}
19524 printf %s
"(cached) " >&6
19526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19528 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19537 if ac_fn_c_try_compile
"$LINENO"
19539 ac_cv_c_cfi_support
="yes"
19541 ac_cv_c_cfi_support
="no"
19543 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19546 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19547 if test "$ac_cv_c_cfi_support" = "yes"
19549 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19550 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19551 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19553 if test "x$enable_win64" = "xyes"
19555 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19563 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19564 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
19565 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19572 ac_save_CFLAGS
="$CFLAGS"
19573 CFLAGS
="$CFLAGS $BUILTINFLAG"
19574 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19575 if test "x$ac_cv_func_epoll_create" = xyes
19577 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19580 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19581 if test "x$ac_cv_func_fstatfs" = xyes
19583 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19586 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19587 if test "x$ac_cv_func_futimens" = xyes
19589 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19592 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19593 if test "x$ac_cv_func_futimes" = xyes
19595 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19598 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19599 if test "x$ac_cv_func_futimesat" = xyes
19601 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19604 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19605 if test "x$ac_cv_func_getattrlist" = xyes
19607 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19610 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19611 if test "x$ac_cv_func_getauxval" = xyes
19613 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19616 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19617 if test "x$ac_cv_func_getifaddrs" = xyes
19619 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19622 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19623 if test "x$ac_cv_func_getrandom" = xyes
19625 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19628 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19629 if test "x$ac_cv_func_kqueue" = xyes
19631 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19634 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19635 if test "x$ac_cv_func_mach_continuous_time" = xyes
19637 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19640 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19641 if test "x$ac_cv_func_pipe2" = xyes
19643 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19646 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19647 if test "x$ac_cv_func_port_create" = xyes
19649 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19652 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19653 if test "x$ac_cv_func_posix_fadvise" = xyes
19655 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19658 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19659 if test "x$ac_cv_func_posix_fallocate" = xyes
19661 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19664 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19665 if test "x$ac_cv_func_prctl" = xyes
19667 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19670 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19671 if test "x$ac_cv_func_proc_pidinfo" = xyes
19673 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19676 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19677 if test "x$ac_cv_func_sched_yield" = xyes
19679 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19682 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19683 if test "x$ac_cv_func_setproctitle" = xyes
19685 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19688 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19689 if test "x$ac_cv_func_setprogname" = xyes
19691 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19694 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19695 if test "x$ac_cv_func_sigprocmask" = xyes
19697 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19700 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19701 if test "x$ac_cv_func_sysinfo" = xyes
19703 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19706 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19707 if test "x$ac_cv_func_tcdrain" = xyes
19709 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19712 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19713 if test "x$ac_cv_func_thr_kill2" = xyes
19715 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19719 CFLAGS
="$ac_save_CFLAGS"
19721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19722 printf %s
"checking for library containing dlopen... " >&6; }
19723 if test ${ac_cv_search_dlopen+y}
19725 printf %s
"(cached) " >&6
19727 ac_func_search_save_LIBS
=$LIBS
19728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 /* Override any GCC internal prototype to avoid an error.
19732 Use char because int might match the return type of a GCC
19733 builtin and then its argument prototype would still apply. */
19743 for ac_lib
in '' dl
19745 if test -z "$ac_lib"; then
19746 ac_res
="none required"
19749 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19751 if ac_fn_c_try_link
"$LINENO"
19753 ac_cv_search_dlopen
=$ac_res
19755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19757 if test ${ac_cv_search_dlopen+y}
19762 if test ${ac_cv_search_dlopen+y}
19766 ac_cv_search_dlopen
=no
19768 rm conftest.
$ac_ext
19769 LIBS
=$ac_func_search_save_LIBS
19771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19772 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19773 ac_res
=$ac_cv_search_dlopen
19774 if test "$ac_res" != no
19776 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19780 ac_wine_check_funcs_save_LIBS
="$LIBS"
19781 LIBS
="$LIBS $DL_LIBS"
19782 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19783 if test "x$ac_cv_func_dlinfo" = xyes
19785 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19789 LIBS
="$ac_wine_check_funcs_save_LIBS"
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19792 printf %s
"checking for library containing gethostbyname... " >&6; }
19793 if test ${ac_cv_search_gethostbyname+y}
19795 printf %s
"(cached) " >&6
19797 ac_func_search_save_LIBS
=$LIBS
19798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19804 char gethostbyname ();
19808 return gethostbyname ();
19813 for ac_lib
in '' nsl
19815 if test -z "$ac_lib"; then
19816 ac_res
="none required"
19819 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19821 if ac_fn_c_try_link
"$LINENO"
19823 ac_cv_search_gethostbyname
=$ac_res
19825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19827 if test ${ac_cv_search_gethostbyname+y}
19832 if test ${ac_cv_search_gethostbyname+y}
19836 ac_cv_search_gethostbyname
=no
19838 rm conftest.
$ac_ext
19839 LIBS
=$ac_func_search_save_LIBS
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19842 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19843 ac_res
=$ac_cv_search_gethostbyname
19844 if test "$ac_res" != no
19846 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19852 printf %s
"checking for library containing connect... " >&6; }
19853 if test ${ac_cv_search_connect+y}
19855 printf %s
"(cached) " >&6
19857 ac_func_search_save_LIBS
=$LIBS
19858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19861 /* Override any GCC internal prototype to avoid an error.
19862 Use char because int might match the return type of a GCC
19863 builtin and then its argument prototype would still apply. */
19873 for ac_lib
in '' socket
19875 if test -z "$ac_lib"; then
19876 ac_res
="none required"
19879 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19881 if ac_fn_c_try_link
"$LINENO"
19883 ac_cv_search_connect
=$ac_res
19885 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19887 if test ${ac_cv_search_connect+y}
19892 if test ${ac_cv_search_connect+y}
19896 ac_cv_search_connect
=no
19898 rm conftest.
$ac_ext
19899 LIBS
=$ac_func_search_save_LIBS
19901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19902 printf "%s\n" "$ac_cv_search_connect" >&6; }
19903 ac_res
=$ac_cv_search_connect
19904 if test "$ac_res" != no
19906 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19912 printf %s
"checking for library containing inet_aton... " >&6; }
19913 if test ${ac_cv_search_inet_aton+y}
19915 printf %s
"(cached) " >&6
19917 ac_func_search_save_LIBS
=$LIBS
19918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19921 /* Override any GCC internal prototype to avoid an error.
19922 Use char because int might match the return type of a GCC
19923 builtin and then its argument prototype would still apply. */
19928 return inet_aton ();
19933 for ac_lib
in '' resolv
19935 if test -z "$ac_lib"; then
19936 ac_res
="none required"
19939 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19941 if ac_fn_c_try_link
"$LINENO"
19943 ac_cv_search_inet_aton
=$ac_res
19945 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19947 if test ${ac_cv_search_inet_aton+y}
19952 if test ${ac_cv_search_inet_aton+y}
19956 ac_cv_search_inet_aton
=no
19958 rm conftest.
$ac_ext
19959 LIBS
=$ac_func_search_save_LIBS
19961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19962 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19963 ac_res
=$ac_cv_search_inet_aton
19964 if test "$ac_res" != no
19966 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19971 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19972 if test "x$ac_cv_func_getaddrinfo" = xyes
19974 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19980 darwin
*|macosx
*) ;;
19981 *) ac_save_LIBS
=$LIBS
19982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19983 printf %s
"checking for library containing clock_gettime... " >&6; }
19984 if test ${ac_cv_search_clock_gettime+y}
19986 printf %s
"(cached) " >&6
19988 ac_func_search_save_LIBS
=$LIBS
19989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19992 /* Override any GCC internal prototype to avoid an error.
19993 Use char because int might match the return type of a GCC
19994 builtin and then its argument prototype would still apply. */
19995 char clock_gettime ();
19999 return clock_gettime ();
20004 for ac_lib
in '' rt
20006 if test -z "$ac_lib"; then
20007 ac_res
="none required"
20010 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20012 if ac_fn_c_try_link
"$LINENO"
20014 ac_cv_search_clock_gettime
=$ac_res
20016 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20018 if test ${ac_cv_search_clock_gettime+y}
20023 if test ${ac_cv_search_clock_gettime+y}
20027 ac_cv_search_clock_gettime
=no
20029 rm conftest.
$ac_ext
20030 LIBS
=$ac_func_search_save_LIBS
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20033 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20034 ac_res
=$ac_cv_search_clock_gettime
20035 if test "$ac_res" != no
20037 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20039 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20041 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20049 if test "x$with_ldap" != "xno"
20051 if ${LDAP_CFLAGS:+false} :
20053 if test ${PKG_CONFIG+y}
20055 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20059 if ${LDAP_LIBS:+false} :
20061 if test ${PKG_CONFIG+y}
20063 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20067 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20070 ac_save_CPPFLAGS
=$CPPFLAGS
20071 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20072 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20073 if test "x$ac_cv_header_ldap_h" = xyes
20075 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20078 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20079 if test "x$ac_cv_header_lber_h" = xyes
20081 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20085 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20087 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20089 if test "x$ac_cv_type_LDAPSortKey" = xyes
20091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20092 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20093 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20095 printf %s
"(cached) " >&6
20097 ac_check_lib_save_LIBS
=$LIBS
20098 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20102 /* Override any GCC internal prototype to avoid an error.
20103 Use char because int might match the return type of a GCC
20104 builtin and then its argument prototype would still apply. */
20105 char ldap_initialize ();
20109 return ldap_initialize ();
20114 if ac_fn_c_try_link
"$LINENO"
20116 ac_cv_lib_ldap_ldap_initialize
=yes
20118 ac_cv_lib_ldap_ldap_initialize
=no
20120 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20121 conftest
$ac_exeext conftest.
$ac_ext
20122 LIBS
=$ac_check_lib_save_LIBS
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20125 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20126 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20129 printf %s
"checking for ber_init in -llber... " >&6; }
20130 if test ${ac_cv_lib_lber_ber_init+y}
20132 printf %s
"(cached) " >&6
20134 ac_check_lib_save_LIBS
=$LIBS
20135 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20139 /* Override any GCC internal prototype to avoid an error.
20140 Use char because int might match the return type of a GCC
20141 builtin and then its argument prototype would still apply. */
20146 return ber_init ();
20151 if ac_fn_c_try_link
"$LINENO"
20153 ac_cv_lib_lber_ber_init
=yes
20155 ac_cv_lib_lber_ber_init
=no
20157 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20158 conftest
$ac_exeext conftest.
$ac_ext
20159 LIBS
=$ac_check_lib_save_LIBS
20161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20162 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20163 if test "x$ac_cv_lib_lber_ber_init" = xyes
20166 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20183 CPPFLAGS
=$ac_save_CPPFLAGS
20186 if test "x$LDAP_LIBS" = "x"
20188 case "x$with_ldap" in
20189 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20191 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20192 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20198 printf %s
"checking for sched_setaffinity... " >&6; }
20199 if test ${wine_cv_have_sched_setaffinity+y}
20201 printf %s
"(cached) " >&6
20203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20209 sched_setaffinity(0, 0, 0);
20214 if ac_fn_c_try_link
"$LINENO"
20216 wine_cv_have_sched_setaffinity
=yes
20218 wine_cv_have_sched_setaffinity
=no
20220 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20221 conftest
$ac_exeext conftest.
$ac_ext
20223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20224 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20225 if test "$wine_cv_have_sched_setaffinity" = "yes"
20228 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20234 printf %s
"checking for inline... " >&6; }
20235 if test ${ac_cv_c_inline+y}
20237 printf %s
"(cached) " >&6
20240 for ac_kw
in inline __inline__ __inline
; do
20241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20243 #ifndef __cplusplus
20245 static $ac_kw foo_t static_foo (void) {return 0; }
20246 $ac_kw foo_t foo (void) {return 0; }
20250 if ac_fn_c_try_compile
"$LINENO"
20252 ac_cv_c_inline
=$ac_kw
20254 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20255 test "$ac_cv_c_inline" != no
&& break
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20260 printf "%s\n" "$ac_cv_c_inline" >&6; }
20262 case $ac_cv_c_inline in
20265 case $ac_cv_c_inline in
20267 *) ac_val
=$ac_cv_c_inline;;
20269 cat >>confdefs.h
<<_ACEOF
20270 #ifndef __cplusplus
20271 #define inline $ac_val
20277 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20278 #include <signal.h>
20280 if test "x$ac_cv_type_sigset_t" = xyes
20283 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20288 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20290 if test "x$ac_cv_type_request_sense" = xyes
20293 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20299 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20300 #include <sys/socket.h>
20301 #ifdef HAVE_SYS_SOCKETVAR_H
20302 #include <sys/socketvar.h>
20304 #ifdef HAVE_NET_ROUTE_H
20305 #include <net/route.h>
20307 #ifdef HAVE_NETINET_IN_H
20308 #include <netinet/in.h>
20310 #ifdef HAVE_NETINET_IN_SYSTM_H
20311 #include <netinet/in_systm.h>
20313 #ifdef HAVE_NETINET_IP_H
20314 #include <netinet/ip.h>
20316 #ifdef HAVE_NETINET_IN_PCB_H
20317 #include <netinet/in_pcb.h>
20320 if test "x$ac_cv_type_struct_xinpgen" = xyes
20323 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20330 printf %s
"checking for sigaddset... " >&6; }
20331 if test ${wine_cv_have_sigaddset+y}
20333 printf %s
"(cached) " >&6
20335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20337 #include <signal.h>
20341 sigset_t set; sigaddset(&set,SIGTERM);
20346 if ac_fn_c_try_link
"$LINENO"
20348 wine_cv_have_sigaddset
=yes
20350 wine_cv_have_sigaddset
=no
20352 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20353 conftest
$ac_exeext conftest.
$ac_ext
20355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20356 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20357 if test "$wine_cv_have_sigaddset" = "yes"
20360 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20366 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20367 if test ${wine_cv_linux_gethostbyname_r_6+y}
20369 printf %s
"(cached) " >&6
20371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h. */
20380 struct hostent *result;
20387 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20388 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20394 if ac_fn_c_try_link
"$LINENO"
20396 wine_cv_linux_gethostbyname_r_6
=yes
20398 wine_cv_linux_gethostbyname_r_6
=no
20401 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20402 conftest
$ac_exeext conftest.
$ac_ext
20405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20406 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20407 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20410 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20414 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20415 #include <sys/socket.h>
20416 #ifdef HAVE_SYS_UN_H
20417 # include <sys/un.h>
20420 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20423 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20427 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20428 #include <sys/socket.h>
20429 #ifdef HAVE_SYS_UN_H
20430 # include <sys/un.h>
20433 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20436 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20442 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20443 #ifdef HAVE_SCSI_SG_H
20444 #include <scsi/sg.h>
20447 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20450 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20454 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>
20455 #ifdef HAVE_SCSI_SG_H
20456 #include <scsi/sg.h>
20459 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20462 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20468 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20470 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20473 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20479 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20480 #ifdef HAVE_SYS_MTIO_H
20481 #include <sys/mtio.h>
20484 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20487 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20491 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20492 #ifdef HAVE_SYS_MTIO_H
20493 #include <sys/mtio.h>
20496 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20499 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20503 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20504 #ifdef HAVE_SYS_MTIO_H
20505 #include <sys/mtio.h>
20508 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20511 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20517 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20518 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20521 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20525 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20526 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20529 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20533 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20534 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20537 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20541 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20542 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20545 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20549 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20550 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20553 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20557 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20558 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20561 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20565 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20566 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20569 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20573 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20574 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20577 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20581 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20582 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20585 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20589 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20590 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20593 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20597 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20598 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20601 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20607 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20608 #ifdef HAVE_NETINET_IN_H
20609 #include <netinet/in.h>
20612 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20615 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20621 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
20622 #include <resolv.h>
20625 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20628 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20634 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20635 #include <netinet/in.h>
20638 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20641 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20647 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20648 #ifdef HAVE_SYS_SOCKETVAR_H
20649 #include <sys/socketvar.h>
20651 #ifdef HAVE_NETINET_IN_H
20652 #include <netinet/in.h>
20654 #ifdef HAVE_NETINET_IP_VAR_H
20655 #include <netinet/ip_var.h>
20658 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20661 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20667 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
20668 #include <netinet/ip_var.h>
20671 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20674 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20680 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20681 #ifdef HAVE_SYS_SOCKETVAR_H
20682 #include <sys/socketvar.h>
20684 #ifdef HAVE_NETINET_IN_H
20685 #include <netinet/in.h>
20687 #ifdef HAVE_NETINET6_IP6_VAR_H
20688 #include <netinet6/ip6_var.h>
20691 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20694 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20700 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20701 #ifdef HAVE_SYS_SOCKETVAR_H
20702 #include <sys/socketvar.h>
20704 #ifdef HAVE_NETINET_IN_H
20705 #include <netinet/in.h>
20707 #ifdef HAVE_NETINET_IP_H
20708 #include <netinet/ip.h>
20710 #ifdef HAVE_NETINET_IP_ICMP_H
20711 #include <netinet/ip_icmp.h>
20713 #ifdef HAVE_NETINET_ICMP_VAR_H
20714 #include <netinet/icmp_var.h>
20717 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20720 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20726 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20727 #ifdef HAVE_SYS_SOCKETVAR_H
20728 #include <sys/socketvar.h>
20730 #ifdef HAVE_NETINET_IN_H
20731 #include <netinet/in.h>
20733 #ifdef HAVE_NETINET_ICMP6_H
20734 #include <netinet/icmp6.h>
20737 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20740 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20746 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20747 #ifdef HAVE_SYS_SOCKETVAR_H
20748 #include <sys/socketvar.h>
20750 #ifdef HAVE_NETINET_IN_H
20751 #include <netinet/in.h>
20753 #ifdef HAVE_NETINET_TCP_H
20754 #include <netinet/tcp.h>
20756 #ifdef HAVE_NETINET_TCP_VAR_H
20757 #include <netinet/tcp_var.h>
20760 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20763 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20769 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
20770 #include <netinet/tcp_var.h>
20773 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20776 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20782 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20783 #ifdef HAVE_NETINET_IN_H
20784 #include <netinet/in.h>
20786 #ifdef HAVE_NETINET_IP_VAR_H
20787 #include <netinet/ip_var.h>
20789 #ifdef HAVE_NETINET_UDP_H
20790 #include <netinet/udp.h>
20792 #ifdef HAVE_NETINET_UDP_VAR_H
20793 #include <netinet/udp_var.h>
20796 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20799 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20805 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20806 #ifdef HAVE_NET_IF_H
20807 # include <net/if.h>
20810 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20813 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20819 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20820 # include <sys/sysinfo.h>
20823 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20826 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20830 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20831 # include <sys/sysinfo.h>
20834 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20837 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20843 LIBS
="$ac_save_LIBS"
20845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20846 printf %s
"checking for __builtin_popcount... " >&6; }
20847 if test ${ac_cv_have___builtin_popcount+y}
20849 printf %s
"(cached) " >&6
20851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20857 return __builtin_popcount(1)
20862 if ac_fn_c_try_link
"$LINENO"
20864 ac_cv_have___builtin_popcount
="yes"
20866 ac_cv_have___builtin_popcount
="no"
20868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20869 conftest
$ac_exeext conftest.
$ac_ext
20871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20872 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20873 if test "$ac_cv_have___builtin_popcount" = "yes"
20876 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20881 printf %s
"checking for __clear_cache... " >&6; }
20882 if test ${ac_cv_have___clear_cache+y}
20884 printf %s
"(cached) " >&6
20886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20892 __clear_cache((void*)0, (void*)0); return 0;
20897 if ac_fn_c_try_link
"$LINENO"
20899 ac_cv_have___clear_cache
="yes"
20901 ac_cv_have___clear_cache
="no"
20903 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20904 conftest
$ac_exeext conftest.
$ac_ext
20906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20907 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20908 if test "$ac_cv_have___clear_cache" = "yes"
20911 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20917 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20918 printf %s
"checking whether we need to define __i386__... " >&6; }
20919 if test ${ac_cv_cpp_def___i386__+y}
20921 printf %s
"(cached) " >&6
20923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20930 $EGREP "yes" >/dev
/null
2>&1
20932 ac_cv_cpp_def___i386__
=yes
20934 ac_cv_cpp_def___i386__
=no
20939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20940 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20941 if test "x$ac_cv_cpp_def___i386__" = xyes
20943 CFLAGS
="$CFLAGS -D__i386__"
20944 LINTFLAGS
="$LINTFLAGS -D__i386__"
20946 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20947 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20948 if test ${ac_cv_cpp_def___x86_64__+y}
20950 printf %s
"(cached) " >&6
20952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20953 /* end confdefs.h. */
20958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20959 $EGREP "yes" >/dev
/null
2>&1
20961 ac_cv_cpp_def___x86_64__
=yes
20963 ac_cv_cpp_def___x86_64__
=no
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20969 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20970 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20972 CFLAGS
="$CFLAGS -D__x86_64__"
20973 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20975 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20976 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20977 if test ${ac_cv_cpp_def___sparc64__+y}
20979 printf %s
"(cached) " >&6
20981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20983 #ifndef __sparc64__
20987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20988 $EGREP "yes" >/dev
/null
2>&1
20990 ac_cv_cpp_def___sparc64__
=yes
20992 ac_cv_cpp_def___sparc64__
=no
20997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20998 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20999 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21001 CFLAGS
="$CFLAGS -D__sparc64__"
21002 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21004 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21005 printf %s
"checking whether we need to define __sparc__... " >&6; }
21006 if test ${ac_cv_cpp_def___sparc__+y}
21008 printf %s
"(cached) " >&6
21010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21011 /* end confdefs.h. */
21016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21017 $EGREP "yes" >/dev
/null
2>&1
21019 ac_cv_cpp_def___sparc__
=yes
21021 ac_cv_cpp_def___sparc__
=no
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21027 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21028 if test "x$ac_cv_cpp_def___sparc__" = xyes
21030 CFLAGS
="$CFLAGS -D__sparc__"
21031 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21033 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21034 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21035 if test ${ac_cv_cpp_def___powerpc64__+y}
21037 printf %s
"(cached) " >&6
21039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21041 #ifndef __powerpc64__
21045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21046 $EGREP "yes" >/dev
/null
2>&1
21048 ac_cv_cpp_def___powerpc64__
=yes
21050 ac_cv_cpp_def___powerpc64__
=no
21055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21056 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21057 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21059 CFLAGS
="$CFLAGS -D__powerpc64__"
21060 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21062 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21063 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21064 if test ${ac_cv_cpp_def___powerpc__+y}
21066 printf %s
"(cached) " >&6
21068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21069 /* end confdefs.h. */
21070 #ifndef __powerpc__
21074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21075 $EGREP "yes" >/dev
/null
2>&1
21077 ac_cv_cpp_def___powerpc__
=yes
21079 ac_cv_cpp_def___powerpc__
=no
21084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21085 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21086 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21088 CFLAGS
="$CFLAGS -D__powerpc__"
21089 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21091 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21092 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21093 if test ${ac_cv_cpp_def___aarch64__+y}
21095 printf %s
"(cached) " >&6
21097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099 #ifndef __aarch64__
21103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21104 $EGREP "yes" >/dev
/null
2>&1
21106 ac_cv_cpp_def___aarch64__
=yes
21108 ac_cv_cpp_def___aarch64__
=no
21113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21114 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21115 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21117 CFLAGS
="$CFLAGS -D__aarch64__"
21118 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21120 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21121 printf %s
"checking whether we need to define __arm__... " >&6; }
21122 if test ${ac_cv_cpp_def___arm__+y}
21124 printf %s
"(cached) " >&6
21126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21127 /* end confdefs.h. */
21132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21133 $EGREP "yes" >/dev
/null
2>&1
21135 ac_cv_cpp_def___arm__
=yes
21137 ac_cv_cpp_def___arm__
=no
21142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21143 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21144 if test "x$ac_cv_cpp_def___arm__" = xyes
21146 CFLAGS
="$CFLAGS -D__arm__"
21147 LINTFLAGS
="$LINTFLAGS -D__arm__"
21151 case $host_vendor in
21152 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21153 printf %s
"checking whether we need to define __sun__... " >&6; }
21154 if test ${ac_cv_cpp_def___sun__+y}
21156 printf %s
"(cached) " >&6
21158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21165 $EGREP "yes" >/dev
/null
2>&1
21167 ac_cv_cpp_def___sun__
=yes
21169 ac_cv_cpp_def___sun__
=no
21174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21175 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21176 if test "x$ac_cv_cpp_def___sun__" = xyes
21178 CFLAGS
="$CFLAGS -D__sun__"
21179 LINTFLAGS
="$LINTFLAGS -D__sun__"
21187 ac_config_commands
="$ac_config_commands include/stamp-h"
21189 printf %s
"creating Makefile rules..." >&6
21192 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21195 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21197 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21198 wine_fn_config_symlink wine
21199 if test "x$enable_win64" != xno
-o -n "$with_wine64"; then
21200 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21201 wine_fn_config_symlink wine64
21204 wine_fn_config_makefile dlls
/acledit enable_acledit
21205 wine_fn_config_makefile dlls
/aclui enable_aclui
21206 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21207 wine_fn_config_makefile dlls
/activeds enable_activeds
21208 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21209 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21210 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21211 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21212 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21213 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21214 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21215 wine_fn_config_makefile dlls
/advpack enable_advpack
21216 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21217 wine_fn_config_makefile dlls
/amsi enable_amsi
21218 wine_fn_config_makefile dlls
/amstream enable_amstream
21219 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21220 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21221 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21222 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21223 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21224 wine_fn_config_makefile dlls
/atl enable_atl
21225 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21226 wine_fn_config_makefile dlls
/atl100 enable_atl100
21227 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21228 wine_fn_config_makefile dlls
/atl110 enable_atl110
21229 wine_fn_config_makefile dlls
/atl80 enable_atl80
21230 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21231 wine_fn_config_makefile dlls
/atl90 enable_atl90
21232 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21233 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21234 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21235 wine_fn_config_makefile dlls
/authz enable_authz
21236 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21237 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21238 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21239 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21240 wine_fn_config_makefile dlls
/avrt enable_avrt
21241 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21242 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21243 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21244 wine_fn_config_makefile dlls
/browseui enable_browseui
21245 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21246 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21247 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21248 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21249 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21250 wine_fn_config_makefile dlls
/cards enable_cards
21251 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21252 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21253 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21254 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21255 wine_fn_config_makefile dlls
/combase enable_combase
21256 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21257 wine_fn_config_makefile dlls
/comcat enable_comcat
21258 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21259 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21260 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21261 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21262 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21263 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21264 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21265 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21266 wine_fn_config_makefile dlls
/compstui enable_compstui
21267 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21268 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21269 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21270 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21271 wine_fn_config_makefile dlls
/connect enable_connect
21272 wine_fn_config_makefile dlls
/credui enable_credui
21273 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21274 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21275 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21276 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21277 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21278 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21279 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21280 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21281 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21282 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21283 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21284 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21285 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21286 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21287 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21288 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21289 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21290 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21291 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21292 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21293 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21294 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21295 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21296 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21297 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21298 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21299 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21300 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21301 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21302 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21303 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21304 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21305 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21306 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21307 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21308 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21309 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21310 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21311 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21312 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21313 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21314 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21315 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21316 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21317 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21318 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21319 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21320 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21321 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21322 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21323 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21324 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21325 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21326 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21327 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21328 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21329 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21330 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21331 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21332 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21333 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21334 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21335 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21336 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21337 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21338 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21339 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21340 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21341 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21342 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21343 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21344 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21345 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21346 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21347 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21348 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21349 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21350 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21351 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21352 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21353 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21354 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21355 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21356 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21357 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21358 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21359 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21360 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21361 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21362 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21363 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21364 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21365 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21366 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21367 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21368 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21369 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21370 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21371 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21372 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21373 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21374 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21375 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21376 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21377 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21378 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21379 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21380 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21381 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21382 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21383 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21384 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21385 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21386 wine_fn_config_makefile dlls
/devenum enable_devenum
21387 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21388 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21389 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21390 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21391 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21392 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21393 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21394 wine_fn_config_makefile dlls
/dinput enable_dinput
21395 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21396 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21397 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21398 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21399 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21400 wine_fn_config_makefile dlls
/dispex enable_dispex
21401 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21402 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21403 wine_fn_config_makefile dlls
/dmband enable_dmband
21404 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21405 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21406 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21407 wine_fn_config_makefile dlls
/dmime enable_dmime
21408 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21409 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21410 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21411 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21412 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21413 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21414 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21415 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21416 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21417 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21418 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21419 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21420 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21421 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21422 wine_fn_config_makefile dlls
/dplay enable_dplay
21423 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21424 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21425 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21426 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21427 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21428 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21429 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21430 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21431 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21432 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21433 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21434 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21435 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21436 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21437 wine_fn_config_makefile dlls
/dsound enable_dsound
21438 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21439 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21440 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21441 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21442 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21443 wine_fn_config_makefile dlls
/dswave enable_dswave
21444 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21445 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21446 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21447 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21448 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21449 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21450 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21451 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21452 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21453 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21454 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21455 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21456 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21457 wine_fn_config_makefile dlls
/esent enable_esent
21458 wine_fn_config_makefile dlls
/evr enable_evr
21459 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21460 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21461 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21462 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21463 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21464 wine_fn_config_makefile dlls
/feclient enable_feclient
21465 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21466 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21467 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21468 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21469 wine_fn_config_makefile dlls
/fusion enable_fusion
21470 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21471 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21472 wine_fn_config_makefile dlls
/gameux enable_gameux
21473 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21474 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21475 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21476 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21477 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21478 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21479 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21480 wine_fn_config_makefile dlls
/glu32 enable_glu32
21481 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21482 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21483 wine_fn_config_makefile dlls
/hal enable_hal
21484 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21485 wine_fn_config_makefile dlls
/hid enable_hid
21486 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21487 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21488 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21489 wine_fn_config_makefile dlls
/hlink enable_hlink
21490 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21491 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21492 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21493 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21494 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21495 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21496 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21497 wine_fn_config_makefile dlls
/icmp enable_icmp
21498 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21499 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21500 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21501 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21502 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21503 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21504 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21505 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21506 wine_fn_config_makefile dlls
/imm32 enable_imm32
21507 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21508 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21509 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21510 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21511 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21512 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21513 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21514 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21515 wine_fn_config_makefile dlls
/initpki enable_initpki
21516 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21517 wine_fn_config_makefile dlls
/inseng enable_inseng
21518 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21519 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21520 wine_fn_config_makefile dlls
/iprop enable_iprop
21521 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21522 wine_fn_config_makefile dlls
/itircl enable_itircl
21523 wine_fn_config_makefile dlls
/itss enable_itss
21524 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21525 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21526 wine_fn_config_makefile dlls
/jscript enable_jscript
21527 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21528 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21529 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21530 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21531 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21532 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21533 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21534 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21535 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21536 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21537 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21538 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21539 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21540 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21541 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21542 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21543 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21544 wine_fn_config_makefile dlls
/localspl enable_localspl
21545 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21546 wine_fn_config_makefile dlls
/localui enable_localui
21547 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21548 wine_fn_config_makefile dlls
/lz32 enable_lz32
21549 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21550 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21551 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21552 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21553 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21554 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21555 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21556 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21557 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21558 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21559 wine_fn_config_makefile dlls
/mf enable_mf
21560 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21561 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21562 wine_fn_config_makefile dlls
/mferror enable_mferror
21563 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21564 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21565 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21566 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21567 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21568 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21569 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21570 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21571 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21572 wine_fn_config_makefile dlls
/midimap enable_midimap
21573 wine_fn_config_makefile dlls
/mlang enable_mlang
21574 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21575 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21576 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21577 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21578 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21579 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21580 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21581 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21582 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21583 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21584 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21585 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21586 wine_fn_config_makefile dlls
/mpr enable_mpr
21587 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21588 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21589 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21590 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21591 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21592 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21593 wine_fn_config_makefile dlls
/msado15 enable_msado15
21594 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21595 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21596 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21597 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21598 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21599 wine_fn_config_makefile dlls
/mscms enable_mscms
21600 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21601 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21602 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21603 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21604 wine_fn_config_makefile dlls
/msctf enable_msctf
21605 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21606 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21607 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21608 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21609 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21610 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21611 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21612 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21613 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21614 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21615 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21616 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21617 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21618 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21619 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21620 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21621 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21622 wine_fn_config_makefile dlls
/msi enable_msi
21623 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21624 wine_fn_config_makefile dlls
/msident enable_msident
21625 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21626 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21627 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21628 wine_fn_config_makefile dlls
/msisip enable_msisip
21629 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21630 wine_fn_config_makefile dlls
/msls31 enable_msls31
21631 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21632 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21633 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21634 wine_fn_config_makefile dlls
/msports enable_msports
21635 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21636 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21637 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21638 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21639 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21640 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21641 wine_fn_config_makefile dlls
/mstask enable_mstask
21642 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21643 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21644 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21645 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21646 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21647 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21648 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21649 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21650 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21651 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21652 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21653 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21654 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21655 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21656 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21657 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21658 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21659 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21660 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21661 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21662 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21663 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21664 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21665 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21666 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21667 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21668 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21669 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21670 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21671 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21672 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21673 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21674 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21675 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21676 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21677 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21678 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21679 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21680 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21681 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21682 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21683 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21684 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21685 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21686 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21687 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21688 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21689 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21690 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21691 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21692 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21693 wine_fn_config_makefile dlls
/msxml enable_msxml
21694 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21695 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21696 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21697 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21698 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21699 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21700 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21701 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21702 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21703 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21704 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21705 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21706 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21707 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21708 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21709 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21710 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21711 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21712 wine_fn_config_makefile dlls
/netutils enable_netutils
21713 wine_fn_config_makefile dlls
/newdev enable_newdev
21714 wine_fn_config_makefile dlls
/ninput enable_ninput
21715 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21716 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21717 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21718 wine_fn_config_makefile dlls
/npptools enable_npptools
21719 wine_fn_config_makefile dlls
/nsi enable_nsi
21720 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21721 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21722 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21723 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21724 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21725 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21726 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21727 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21728 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21729 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21730 wine_fn_config_makefile dlls
/objsel enable_objsel
21731 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21732 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21733 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21734 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21735 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21736 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21737 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21738 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21739 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21740 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21741 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21742 wine_fn_config_makefile dlls
/ole32 enable_ole32
21743 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21744 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21745 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21746 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21747 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21748 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21749 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21750 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21751 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21752 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21753 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21754 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21755 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21756 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21757 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21758 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21759 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21760 wine_fn_config_makefile dlls
/openal32 enable_openal32
21761 wine_fn_config_makefile dlls
/opencl enable_opencl
21762 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21763 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21764 wine_fn_config_makefile dlls
/packager enable_packager
21765 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21766 wine_fn_config_makefile dlls
/pdh enable_pdh
21767 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21768 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21769 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21770 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21771 wine_fn_config_makefile dlls
/printui enable_printui
21772 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21773 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21774 wine_fn_config_makefile dlls
/propsys enable_propsys
21775 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21776 wine_fn_config_makefile dlls
/psapi enable_psapi
21777 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21778 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21779 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21780 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21781 wine_fn_config_makefile dlls
/qasf enable_qasf
21782 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21783 wine_fn_config_makefile dlls
/qcap enable_qcap
21784 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21785 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21786 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21787 wine_fn_config_makefile dlls
/qedit enable_qedit
21788 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21789 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21790 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21791 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21792 wine_fn_config_makefile dlls
/quartz enable_quartz
21793 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21794 wine_fn_config_makefile dlls
/query enable_query
21795 wine_fn_config_makefile dlls
/qwave enable_qwave
21796 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21797 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21798 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21799 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21800 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21801 wine_fn_config_makefile dlls
/regapi enable_regapi
21802 wine_fn_config_makefile dlls
/resutils enable_resutils
21803 wine_fn_config_makefile dlls
/riched20 enable_riched20
21804 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21805 wine_fn_config_makefile dlls
/riched32 enable_riched32
21806 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21807 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21808 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21809 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21810 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21811 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21812 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21813 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21814 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21815 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21816 wine_fn_config_makefile dlls
/samlib enable_samlib
21817 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21818 wine_fn_config_makefile dlls
/sapi enable_sapi
21819 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21820 wine_fn_config_makefile dlls
/sas enable_sas
21821 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21822 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21823 wine_fn_config_makefile dlls
/schannel enable_schannel
21824 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21825 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21826 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21827 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21828 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21829 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21830 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21831 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21832 wine_fn_config_makefile dlls
/sechost enable_sechost
21833 wine_fn_config_makefile dlls
/secur32 enable_secur32
21834 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21835 wine_fn_config_makefile dlls
/security enable_security
21836 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21837 wine_fn_config_makefile dlls
/serialui enable_serialui
21838 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21839 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21840 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21841 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21842 wine_fn_config_makefile dlls
/sfc enable_sfc
21843 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21844 wine_fn_config_makefile dlls
/shcore enable_shcore
21845 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21846 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21847 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21848 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21849 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21850 wine_fn_config_makefile dlls
/shell32 enable_shell32
21851 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21852 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21853 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21854 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21855 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21856 wine_fn_config_makefile dlls
/slc enable_slc
21857 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21858 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21859 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21860 wine_fn_config_makefile dlls
/softpub enable_softpub
21861 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21862 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21863 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21864 wine_fn_config_makefile dlls
/sppc enable_sppc
21865 wine_fn_config_makefile dlls
/srclient enable_srclient
21866 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21867 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21868 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21869 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21870 wine_fn_config_makefile dlls
/sti enable_sti
21871 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21872 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21873 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21874 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21875 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21876 wine_fn_config_makefile dlls
/sxs enable_sxs
21877 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21878 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21879 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21880 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21881 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21882 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21883 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21884 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21885 wine_fn_config_makefile dlls
/tbs enable_tbs
21886 wine_fn_config_makefile dlls
/tdh enable_tdh
21887 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21888 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21889 wine_fn_config_makefile dlls
/traffic enable_traffic
21890 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21891 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21892 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21893 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21894 wine_fn_config_makefile dlls
/tzres enable_tzres
21895 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21896 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21897 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21898 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21899 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21900 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21901 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21902 wine_fn_config_makefile dlls
/unicows enable_unicows
21903 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21904 wine_fn_config_makefile dlls
/url enable_url
21905 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21906 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21907 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21908 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21909 wine_fn_config_makefile dlls
/user32 enable_user32
21910 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21911 wine_fn_config_makefile dlls
/userenv enable_userenv
21912 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21913 wine_fn_config_makefile dlls
/usp10 enable_usp10
21914 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21915 wine_fn_config_makefile dlls
/utildll enable_utildll
21916 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21917 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21918 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21919 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21920 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21921 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21922 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21923 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21924 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21925 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21926 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21927 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21928 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21929 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21930 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21931 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21932 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21933 wine_fn_config_makefile dlls
/version enable_version
21934 wine_fn_config_makefile dlls
/version
/tests enable_tests
21935 wine_fn_config_makefile dlls
/vga enable_vga
21936 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21937 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21938 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21939 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21940 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21941 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21942 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21943 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21944 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21945 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21946 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21947 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21948 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21949 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21950 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21951 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21952 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21953 wine_fn_config_makefile dlls
/webservices enable_webservices
21954 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21955 wine_fn_config_makefile dlls
/websocket enable_websocket
21956 wine_fn_config_makefile dlls
/wer enable_wer
21957 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21958 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21959 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21960 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21961 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21962 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21963 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21964 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21965 wine_fn_config_makefile dlls
/win32u enable_win32u
21966 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21967 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21968 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21969 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21970 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21971 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21972 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21973 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21974 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21975 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21976 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21977 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21978 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21979 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21980 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21981 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21982 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21983 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21984 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21985 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21986 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21987 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21988 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21989 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21990 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21991 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21992 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21993 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21994 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21995 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21996 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21997 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21998 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21999 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22000 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22001 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22002 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22003 wine_fn_config_makefile dlls
/wing32 enable_wing32
22004 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22005 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22006 wine_fn_config_makefile dlls
/wininet enable_wininet
22007 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22008 wine_fn_config_makefile dlls
/winmm enable_winmm
22009 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22010 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22011 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22012 wine_fn_config_makefile dlls
/winscard enable_winscard
22013 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22014 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22015 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22016 wine_fn_config_makefile dlls
/winsta enable_winsta
22017 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22018 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22019 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22020 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22021 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22022 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22023 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22024 wine_fn_config_makefile dlls
/winusb enable_winusb
22025 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22026 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22027 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22028 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22029 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22030 wine_fn_config_makefile dlls
/wmadmod enable_wmadmod
22031 wine_fn_config_makefile dlls
/wmadmod
/tests enable_tests
22032 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22033 wine_fn_config_makefile dlls
/wmi enable_wmi
22034 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22035 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22036 wine_fn_config_makefile dlls
/wmp enable_wmp
22037 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22038 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22039 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22040 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22041 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22042 wine_fn_config_makefile dlls
/wow32 enable_win16
22043 wine_fn_config_makefile dlls
/wow64 enable_wow64
22044 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22045 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22046 wine_fn_config_makefile dlls
/wpc enable_wpc
22047 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22048 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22049 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22050 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22051 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22052 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22053 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22054 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22055 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22056 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22057 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22058 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22059 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22060 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22061 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22062 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22063 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22064 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22065 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22066 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22067 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22068 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22069 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22070 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22071 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22072 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22073 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22074 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22075 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22076 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22077 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22078 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22079 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22080 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22081 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22082 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22083 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22084 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22085 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22086 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22087 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22088 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22089 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22090 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22091 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22092 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22093 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22094 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22095 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22096 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22097 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22098 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22099 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22100 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22101 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22102 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22103 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22104 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22105 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22106 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22107 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22108 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22109 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22110 wine_fn_config_makefile fonts enable_fonts
22111 wine_fn_config_makefile include enable_include
22112 wine_fn_config_makefile libs
/adsiid enable_adsiid
22113 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22114 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22115 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22116 wine_fn_config_makefile libs
/dxguid enable_dxguid
22117 wine_fn_config_makefile libs
/faudio enable_faudio
22118 wine_fn_config_makefile libs
/gsm enable_gsm
22119 wine_fn_config_makefile libs
/jpeg enable_jpeg
22120 wine_fn_config_makefile libs
/jxr enable_jxr
22121 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22122 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22123 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22124 wine_fn_config_makefile libs
/png enable_png
22125 wine_fn_config_makefile libs
/strmbase enable_strmbase
22126 wine_fn_config_makefile libs
/strmiids enable_strmiids
22127 wine_fn_config_makefile libs
/tiff enable_tiff
22128 wine_fn_config_makefile libs
/uuid enable_uuid
22129 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22130 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22131 wine_fn_config_makefile libs
/wine enable_wine
22132 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22133 wine_fn_config_makefile libs
/xml2 enable_xml2
22134 wine_fn_config_makefile libs
/xslt enable_xslt
22135 wine_fn_config_makefile libs
/zlib enable_zlib
22136 wine_fn_config_makefile loader enable_loader
22137 wine_fn_config_makefile nls enable_nls
22138 wine_fn_config_makefile po enable_po
22139 wine_fn_config_makefile programs
/arp enable_arp
22140 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22141 wine_fn_config_makefile programs
/attrib enable_attrib
22142 wine_fn_config_makefile programs
/cabarc enable_cabarc
22143 wine_fn_config_makefile programs
/cacls enable_cacls
22144 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22145 wine_fn_config_makefile programs
/clock enable_clock
22146 wine_fn_config_makefile programs
/cmd enable_cmd
22147 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22148 wine_fn_config_makefile programs
/conhost enable_conhost
22149 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22150 wine_fn_config_makefile programs
/control enable_control
22151 wine_fn_config_makefile programs
/cscript enable_cscript
22152 wine_fn_config_makefile programs
/dism enable_dism
22153 wine_fn_config_makefile programs
/dllhost enable_dllhost
22154 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22155 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22156 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22157 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22158 wine_fn_config_makefile programs
/eject enable_eject
22159 wine_fn_config_makefile programs
/expand enable_expand
22160 wine_fn_config_makefile programs
/explorer enable_explorer
22161 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22162 wine_fn_config_makefile programs
/fc enable_fc
22163 wine_fn_config_makefile programs
/find enable_find
22164 wine_fn_config_makefile programs
/find
/tests enable_tests
22165 wine_fn_config_makefile programs
/findstr enable_findstr
22166 wine_fn_config_makefile programs
/fsutil enable_fsutil
22167 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22168 wine_fn_config_makefile programs
/hh enable_hh
22169 wine_fn_config_makefile programs
/hostname enable_hostname
22170 wine_fn_config_makefile programs
/icacls enable_icacls
22171 wine_fn_config_makefile programs
/icinfo enable_icinfo
22172 wine_fn_config_makefile programs
/iexplore enable_iexplore
22173 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22174 wine_fn_config_makefile programs
/lodctr enable_lodctr
22175 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22176 wine_fn_config_makefile programs
/mshta enable_mshta
22177 wine_fn_config_makefile programs
/msidb enable_msidb
22178 wine_fn_config_makefile programs
/msiexec enable_msiexec
22179 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22180 wine_fn_config_makefile programs
/net enable_net
22181 wine_fn_config_makefile programs
/netsh enable_netsh
22182 wine_fn_config_makefile programs
/netstat enable_netstat
22183 wine_fn_config_makefile programs
/ngen enable_ngen
22184 wine_fn_config_makefile programs
/notepad enable_notepad
22185 wine_fn_config_makefile programs
/oleview enable_oleview
22186 wine_fn_config_makefile programs
/ping enable_ping
22187 wine_fn_config_makefile programs
/plugplay enable_plugplay
22188 wine_fn_config_makefile programs
/powershell enable_powershell
22189 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22190 wine_fn_config_makefile programs
/progman enable_progman
22191 wine_fn_config_makefile programs
/reg enable_reg
22192 wine_fn_config_makefile programs
/reg
/tests enable_tests
22193 wine_fn_config_makefile programs
/regasm enable_regasm
22194 wine_fn_config_makefile programs
/regedit enable_regedit
22195 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22196 wine_fn_config_makefile programs
/regini enable_regini
22197 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22198 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22199 wine_fn_config_makefile programs
/robocopy enable_robocopy
22200 wine_fn_config_makefile programs
/rpcss enable_rpcss
22201 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22202 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22203 wine_fn_config_makefile programs
/sc enable_sc
22204 wine_fn_config_makefile programs
/sc
/tests enable_tests
22205 wine_fn_config_makefile programs
/schtasks enable_schtasks
22206 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22207 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22208 wine_fn_config_makefile programs
/secedit enable_secedit
22209 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22210 wine_fn_config_makefile programs
/services enable_services
22211 wine_fn_config_makefile programs
/services
/tests enable_tests
22212 wine_fn_config_makefile programs
/shutdown enable_shutdown
22213 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22214 wine_fn_config_makefile programs
/start enable_start
22215 wine_fn_config_makefile programs
/subst enable_subst
22216 wine_fn_config_makefile programs
/svchost enable_svchost
22217 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22218 wine_fn_config_makefile programs
/taskkill enable_taskkill
22219 wine_fn_config_makefile programs
/tasklist enable_tasklist
22220 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22221 wine_fn_config_makefile programs
/termsv enable_termsv
22222 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22223 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22224 wine_fn_config_makefile programs
/view enable_view
22225 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22226 wine_fn_config_makefile programs
/where enable_where
22227 wine_fn_config_makefile programs
/whoami enable_whoami
22228 wine_fn_config_makefile programs
/wineboot enable_wineboot
22229 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22230 wine_fn_config_makefile programs
/winecfg enable_winecfg
22231 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22232 wine_fn_config_makefile programs
/winedbg enable_winedbg
22233 wine_fn_config_makefile programs
/winedevice enable_winedevice
22234 wine_fn_config_makefile programs
/winefile enable_winefile
22235 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22236 wine_fn_config_makefile programs
/winemine enable_winemine
22237 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22238 wine_fn_config_makefile programs
/winepath enable_winepath
22239 wine_fn_config_makefile programs
/winetest enable_winetest
22240 wine_fn_config_makefile programs
/winevdm enable_win16
22241 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22242 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22243 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22244 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22245 wine_fn_config_makefile programs
/winver enable_winver
22246 wine_fn_config_makefile programs
/wmic enable_wmic
22247 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22248 wine_fn_config_makefile programs
/wordpad enable_wordpad
22249 wine_fn_config_makefile programs
/write enable_write
22250 wine_fn_config_makefile programs
/wscript enable_wscript
22251 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22252 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22253 wine_fn_config_makefile programs
/wusa enable_wusa
22254 wine_fn_config_makefile programs
/xcopy enable_xcopy
22255 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22256 wine_fn_config_makefile server enable_server
22257 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22258 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22259 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22260 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22261 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22262 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22263 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22264 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22265 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22268 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
22269 wine_fn_append_file CONFIGURE_TARGETS
"tags"
22270 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
22271 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
22272 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
22273 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
22274 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
22275 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
22277 if test "x$enable_tools" != xno
22279 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
22280 ac_config_commands
="$ac_config_commands tools/makedep"
22284 ac_config_commands
="$ac_config_commands Makefile"
22291 wine_fn_append_rule
"all: wine
22292 @echo \"Wine build complete.\"
22296 Makefile: config.status \$(MAKEDEP)
22297 @./config.status Makefile
22298 depend: \$(MAKEDEP)
22299 \$(MAKEDEP)$makedep_flags"
22302 wine_fn_append_rule
"config.status: ${wine_srcdir}configure
22303 @./config.status --recheck
22304 include/config.h: include/stamp-h
22305 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22306 @./config.status include/config.h include/stamp-h"
22308 if test "x$enable_maintainer_mode" = xyes
22310 wine_fn_append_rule
"configure: configure.ac aclocal.m4
22311 autoconf --warnings=all
22312 include/config.h.in: include/stamp-h.in
22313 include/stamp-h.in: configure.ac aclocal.m4
22314 autoheader --warnings=all
22315 @echo timestamp > \$@"
22318 if test "x$enable_tools" != xno
22320 wine_fn_append_rule
"tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22321 @./config.status tools/makedep
22322 Makefile: tools/makedep$ac_exeext"
22324 wine_fn_append_rule
"\$(MAKEDEP):
22325 @echo \"You need to run make in $toolsdir first\" && false"
22329 if test -n "$with_wine64"
22331 case "$with_wine64" in
22335 rm -f fonts server
2>/dev
/null
22336 wine_fn_append_rule
"all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22337 loader/wine64 loader/wine64-preloader:
22338 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22339 $with_wine64/loader/wine:
22340 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22341 $with_wine64/loader/wine-preloader:
22342 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22344 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22346 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22347 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22351 programs/msidb/msidb \
22352 programs/msiexec/msiexec \
22353 programs/notepad/notepad \
22354 programs/regedit/regedit \
22355 programs/regsvr32/regsvr32 \
22356 programs/wineboot/wineboot \
22357 programs/winecfg/winecfg \
22358 programs/wineconsole/wineconsole \
22359 programs/winedbg/winedbg \
22360 programs/winefile/winefile \
22361 programs/winemine/winemine \
22362 programs/winepath/winepath \
22366 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22367 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22372 wine_fn_append_rule
"distclean:: clean
22373 rm -rf autom4te.cache
22375 rm -f configure include/config.h.in"
22378 wine_fn_append_rule
"dlls/ntdll/unix/version.c: dummy
22379 @version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
22380 programs/winetest/build.rc: dummy
22381 @build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
22382 programs/winetest/build.nfo:
22384 dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
22385 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22386 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22389 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22391 wine_fn_append_rule
"TAGS etags:
22393 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22396 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22398 .PHONY: depend dummy install-manpages"
22400 printf "%s\n" " done" >&6
22401 cat >confcache
<<\_ACEOF
22402 # This file is a shell script that caches the results of configure
22403 # tests run on this system so they can be shared between configure
22404 # scripts and configure runs, see configure's option --config-cache.
22405 # It is not useful on other systems. If it contains results you don't
22406 # want to keep, you may remove or edit it.
22408 # config.status only pays attention to the cache file if you give it
22409 # the --recheck option to rerun configure.
22411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22413 # following values.
22417 # The following way of writing the cache mishandles newlines in values,
22418 # but we know of no workaround that is simple, portable, and efficient.
22419 # So, we kill variables containing newlines.
22420 # Ultrix sh set writes to stderr and can't be redirected directly,
22421 # and sets the high bit in the cache file unless we assign to the vars.
22423 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22424 eval ac_val
=\$
$ac_var
22428 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22429 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22432 _ | IFS | as_nl
) ;; #(
22433 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22434 *) { eval $ac_var=; unset $ac_var;} ;;
22440 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22441 *${as_nl}ac_space
=\
*)
22442 # `set' does not quote correctly, so add quotes: double-quote
22443 # substitution turns \\\\ into \\, and sed turns \\ into \.
22446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22449 # `set' quotes correctly as required by POSIX, so do not add quotes.
22450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22459 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22461 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22463 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22464 if test -w "$cache_file"; then
22465 if test "x$cache_file" != "x/dev/null"; then
22466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22467 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22468 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22469 cat confcache
>"$cache_file"
22471 case $cache_file in #(
22473 mv -f confcache
"$cache_file"$$
&&
22474 mv -f "$cache_file"$$
"$cache_file" ;; #(
22476 mv -f confcache
"$cache_file" ;;
22481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22482 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22487 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22488 # Let make expand exec_prefix.
22489 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22491 DEFS
=-DHAVE_CONFIG_H
22496 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22497 # 1. Remove the extension, and $U if already installed.
22498 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22499 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22501 # will be set to the directory where LIBOBJS objects are built.
22502 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22503 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22505 LIBOBJS
=$ac_libobjs
22507 LTLIBOBJS
=$ac_ltlibobjs
22511 : "${CONFIG_STATUS=./config.status}"
22513 ac_clean_files_save
=$ac_clean_files
22514 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22516 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22520 # Generated by $as_me.
22521 # Run this file to recreate the current configuration.
22522 # Compiler output produced by configure, useful for debugging
22523 # configure, is in config.log if it exists.
22526 ac_cs_recheck=false
22529 SHELL=\${CONFIG_SHELL-$SHELL}
22532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22533 ## -------------------- ##
22534 ## M4sh Initialization. ##
22535 ## -------------------- ##
22537 # Be more Bourne compatible
22538 DUALCASE
=1; export DUALCASE
# for MKS sh
22540 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22544 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22545 # is contrary to our usage. Disable this feature.
22546 alias -g '${1+"$@"}'='"$@"'
22547 setopt NO_GLOB_SUBST
22549 case `(set -o) 2>/dev/null` in #(
22559 # Reset variables that may have inherited troublesome values from
22562 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22563 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22564 # side effect of setting IFS to empty, thus disabling word splitting.)
22565 # Quoting is to prevent editors from complaining about space-tab.
22575 # Ensure predictable behavior from utilities with locale-dependent output.
22581 # We cannot yet rely on "unset" to work, but we need these variables
22582 # to be unset--not just set to an empty or harmless value--now, to
22583 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22584 # also avoids known problems related to "unset" and subshell syntax
22585 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22586 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22587 do eval test \
${$as_var+y} \
22588 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22591 # Ensure that fds 0, 1, and 2 are open.
22592 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22593 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22594 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22596 # The user is always right.
22597 if ${PATH_SEPARATOR+false} :; then
22599 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22600 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22606 # Find who we are. Look in the path if we contain no directory separator.
22609 *[\\/]* ) as_myself
=$0 ;;
22610 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22611 for as_dir
in $PATH
22614 case $as_dir in #(((
22617 *) as_dir
=$as_dir/ ;;
22619 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22625 # We did not find ourselves, most probably we were run as `sh COMMAND'
22626 # in which case we are not to be found in the path.
22627 if test "x$as_myself" = x
; then
22630 if test ! -f "$as_myself"; then
22631 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22638 # ----------------------------------------
22639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22641 # script with STATUS, using 1 if that was 0.
22644 as_status
=$1; test $as_status -eq 0 && as_status
=1
22646 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22649 printf "%s\n" "$as_me: error: $2" >&2
22650 as_fn_exit
$as_status
22655 # as_fn_set_status STATUS
22656 # -----------------------
22657 # Set $? to STATUS, without forking.
22658 as_fn_set_status
()
22661 } # as_fn_set_status
22663 # as_fn_exit STATUS
22664 # -----------------
22665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22669 as_fn_set_status
$1
22675 # Portably unset VAR.
22678 { eval $1=; unset $1;}
22680 as_unset
=as_fn_unset
22682 # as_fn_append VAR VALUE
22683 # ----------------------
22684 # Append the text in VALUE to the end of the definition contained in VAR. Take
22685 # advantage of any shell optimizations that allow amortized linear growth over
22686 # repeated appends, instead of the typical quadratic growth present in naive
22688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22690 eval 'as_fn_append ()
22701 # as_fn_arith ARG...
22702 # ------------------
22703 # Perform arithmetic evaluation on the ARGs, and store the result in the
22704 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22705 # must be portable across $(()) and expr.
22706 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22708 eval 'as_fn_arith ()
22715 as_val
=`expr "$@" || test $? -eq 1`
22720 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22721 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22727 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22728 as_basename
=basename
22733 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22739 as_me
=`$as_basename -- "$0" ||
22740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22741 X"$0" : 'X\(//\)$' \| \
22742 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22743 printf "%s\n" X/"$0" |
22744 sed '/^.*\/\([^/][^/]*\)\/*$/{
22758 # Avoid depending upon Character Ranges.
22759 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22760 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22761 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22762 as_cr_digits
='0123456789'
22763 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22766 # Determine whether it's possible to make 'echo' print without a newline.
22767 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22768 # for compatibility with existing Makefiles.
22769 ECHO_C
= ECHO_N
= ECHO_T
=
22770 case `echo -n x` in #(((((
22772 case `echo 'xy\c'` in
22773 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22775 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22782 # For backward compatibility with old third-party macros, we provide
22783 # the shell variables $as_echo and $as_echo_n. New code should use
22784 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22785 as_echo
='printf %s\n'
22786 as_echo_n
='printf %s'
22788 rm -f conf$$ conf$$.exe conf$$.
file
22789 if test -d conf$$.dir
; then
22790 rm -f conf$$.dir
/conf$$.
file
22793 mkdir conf$$.dir
2>/dev
/null
22795 if (echo >conf$$.
file) 2>/dev
/null
; then
22796 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22798 # ... but there are two gotchas:
22799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22801 # In both cases, we have to default to `cp -pR'.
22802 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22804 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22812 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22813 rmdir conf$$.dir
2>/dev
/null
22818 # Create "$as_dir" as a directory, including parents if necessary.
22823 -*) as_dir
=.
/$as_dir;;
22825 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22829 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22830 *) as_qdir
=$as_dir;;
22832 as_dirs
="'$as_qdir' $as_dirs"
22833 as_dir
=`$as_dirname -- "$as_dir" ||
22834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22835 X"$as_dir" : 'X\(//\)[^/]' \| \
22836 X"$as_dir" : 'X\(//\)$' \| \
22837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22838 printf "%s\n" X"$as_dir" |
22839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22843 /^X\(\/\/\)[^/].*/{
22856 test -d "$as_dir" && break
22858 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22859 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22863 if mkdir
-p .
2>/dev
/null
; then
22864 as_mkdir_p
='mkdir -p "$as_dir"'
22866 test -d .
/-p && rmdir .
/-p
22871 # as_fn_executable_p FILE
22872 # -----------------------
22873 # Test if FILE is an executable regular file.
22874 as_fn_executable_p
()
22876 test -f "$1" && test -x "$1"
22877 } # as_fn_executable_p
22878 as_test_x
='test -x'
22879 as_executable_p
=as_fn_executable_p
22881 # Sed expression to map a string onto a valid CPP name.
22882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22884 # Sed expression to map a string onto a valid variable name.
22885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22889 ## ----------------------------------- ##
22890 ## Main body of $CONFIG_STATUS script. ##
22891 ## ----------------------------------- ##
22893 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22896 # Save the log message, to keep $0 and so on meaningful, and to
22897 # report actual input values of CONFIG_FILES etc. instead of their
22898 # values after options handling.
22900 This file was extended by Wine $as_me 7.8, which was
22901 generated by GNU Autoconf 2.71. Invocation command line was
22903 CONFIG_FILES = $CONFIG_FILES
22904 CONFIG_HEADERS = $CONFIG_HEADERS
22905 CONFIG_LINKS = $CONFIG_LINKS
22906 CONFIG_COMMANDS = $CONFIG_COMMANDS
22909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22915 case $ac_config_headers in *"
22916 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22921 # Files that config.status was made for.
22922 config_headers="$ac_config_headers"
22923 config_links="$ac_config_links"
22924 config_commands="$ac_config_commands"
22928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22930 \`$as_me' instantiates files and other configuration actions
22931 from templates according to the current configuration. Unless the files
22932 and actions are specified as TAGs, all are instantiated by default.
22934 Usage: $0 [OPTION]... [TAG]...
22936 -h, --help print this help, then exit
22937 -V, --version print version number and configuration settings, then exit
22938 --config print configuration, then exit
22939 -q, --quiet, --silent
22940 do not print progress messages
22941 -d, --debug don't remove temporary files
22942 --recheck update $as_me by reconfiguring in the same conditions
22943 --header=FILE[:TEMPLATE]
22944 instantiate the configuration header FILE
22946 Configuration headers:
22949 Configuration links:
22952 Configuration commands:
22955 Report bugs to <wine-devel@winehq.org>.
22956 Wine home page: <https://www.winehq.org>."
22959 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22960 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22962 ac_cs_config='$ac_cs_config_escaped'
22964 Wine config.status 7.8
22965 configured by $0, generated by GNU Autoconf 2.71,
22966 with options \\"\$ac_cs_config\\"
22968 Copyright (C) 2021 Free Software Foundation, Inc.
22969 This config.status script is free software; the Free Software Foundation
22970 gives unlimited permission to copy, distribute and modify it."
22974 test -n "\$AWK" || AWK=awk
22977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22978 # The default lists apply if the user does not specify any file.
22984 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22985 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22989 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23001 # Handling of the options.
23002 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23004 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23005 printf "%s\n" "$ac_cs_version"; exit ;;
23006 --config |
--confi |
--conf |
--con |
--co |
--c )
23007 printf "%s\n" "$ac_cs_config"; exit ;;
23008 --debug |
--debu |
--deb |
--de |
--d |
-d )
23010 --header |
--heade |
--head |
--hea )
23013 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23015 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23016 ac_need_defaults
=false
;;
23018 # Conflict between --help and --header
23019 as_fn_error $?
"ambiguous option: \`$1'
23020 Try \`$0 --help' for more information.";;
23021 --help |
--hel |
-h )
23022 printf "%s\n" "$ac_cs_usage"; exit ;;
23023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23024 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23027 # This is an error.
23028 -*) as_fn_error $?
"unrecognized option: \`$1'
23029 Try \`$0 --help' for more information." ;;
23031 *) as_fn_append ac_config_targets
" $1"
23032 ac_need_defaults
=false
;;
23038 ac_configure_extra_args
=
23040 if $ac_cs_silent; then
23042 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23047 if \$ac_cs_recheck; then
23048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23050 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23051 CONFIG_SHELL='$SHELL'
23052 export CONFIG_SHELL
23057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23062 ## Running $as_me. ##
23064 printf "%s\n" "$ac_log"
23068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23072 wine_fn_output_makedep ()
23074 as_dir=tools; as_fn_mkdir_p
23075 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23077 wine_fn_output_makefile ()
23079 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23080 # This Makefile understands the following targets:
23082 # all (default): build wine
23083 # clean: remove all intermediate files
23084 # distclean: also remove all files created by configure
23086 # testclean: clean test results to force running all tests again
23087 # install-lib: install libraries needed to run applications
23088 # install-dev: install development environment
23089 # install: install everything
23090 # uninstall: uninstall everything
23091 # ctags: create a tags file for vim and others.
23092 # etags: create a TAGS file for Emacs.
23095 PATH_SEPARATOR = $PATH_SEPARATOR
23096 PACKAGE_NAME = $PACKAGE_NAME
23097 PACKAGE_TARNAME = $PACKAGE_TARNAME
23098 PACKAGE_VERSION = $PACKAGE_VERSION
23099 PACKAGE_STRING = $PACKAGE_STRING
23100 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23101 PACKAGE_URL = $PACKAGE_URL
23102 exec_prefix = $exec_prefix
23104 program_transform_name = $program_transform_name
23107 libexecdir = $libexecdir
23108 datarootdir = $datarootdir
23110 sysconfdir = $sysconfdir
23111 sharedstatedir = $sharedstatedir
23112 localstatedir = $localstatedir
23113 runstatedir = $runstatedir
23114 includedir = $includedir
23115 oldincludedir = $oldincludedir
23123 localedir = $localedir
23130 build_alias = $build_alias
23131 host_alias = $host_alias
23132 target_alias = $target_alias
23133 system_dllpath = $system_dllpath
23135 build_cpu = $build_cpu
23136 build_vendor = $build_vendor
23137 build_os = $build_os
23139 host_cpu = $host_cpu
23140 host_vendor = $host_vendor
23146 SET_MAKE = $SET_MAKE
23150 CPPFLAGS = $CPPFLAGS
23151 ac_ct_CC = $ac_ct_CC
23155 CXXFLAGS = $CXXFLAGS
23156 ac_ct_CXX = $ac_ct_CXX
23159 TARGETFLAGS = $TARGETFLAGS
23160 toolsext = $toolsext
23161 toolsdir = $toolsdir
23163 RUNTESTFLAGS = $RUNTESTFLAGS
23168 ac_ct_AR = $ac_ct_AR
23174 LDCONFIG = $LDCONFIG
23176 PKG_CONFIG = $PKG_CONFIG
23177 FONTFORGE = $FONTFORGE
23181 I386_LIBS = $I386_LIBS
23182 OPENGL_LIBS = $OPENGL_LIBS
23183 DLLFLAGS = $DLLFLAGS
23184 LDDLLFLAGS = $LDDLLFLAGS
23185 LDEXECFLAGS = $LDEXECFLAGS
23186 EXTRACFLAGS = $EXTRACFLAGS
23187 UNIXDLLFLAGS = $UNIXDLLFLAGS
23188 UNIXLDFLAGS = $UNIXLDFLAGS
23189 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23190 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23191 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23192 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23197 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23198 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23199 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23202 OBJCFLAGS = $OBJCFLAGS
23203 ac_ct_OBJC = $ac_ct_OBJC
23204 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23205 IOKIT_LIBS = $IOKIT_LIBS
23206 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23207 CORESERVICES_LIBS = $CORESERVICES_LIBS
23208 APPKIT_LIBS = $APPKIT_LIBS
23209 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23210 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23211 SECURITY_LIBS = $SECURITY_LIBS
23212 COREAUDIO_LIBS = $COREAUDIO_LIBS
23213 OPENAL_LIBS = $OPENAL_LIBS
23214 OPENCL_LIBS = $OPENCL_LIBS
23215 CARBON_LIBS = $CARBON_LIBS
23216 METAL_LIBS = $METAL_LIBS
23217 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23218 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23219 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23221 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23222 CROSSTARGET = $CROSSTARGET
23224 CROSSCFLAGS = $CROSSCFLAGS
23225 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23226 CROSSLDFLAGS = $CROSSLDFLAGS
23227 DELAYLOADFLAG = $DELAYLOADFLAG
23228 CROSSDEBUG = $CROSSDEBUG
23229 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23230 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23231 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23232 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23233 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23234 GSM_PE_LIBS = $GSM_PE_LIBS
23235 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23236 JPEG_PE_LIBS = $JPEG_PE_LIBS
23237 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23238 JXR_PE_LIBS = $JXR_PE_LIBS
23239 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23240 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23241 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23242 MPG123_PE_LIBS = $MPG123_PE_LIBS
23243 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23244 PNG_PE_LIBS = $PNG_PE_LIBS
23245 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23246 TIFF_PE_LIBS = $TIFF_PE_LIBS
23247 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23248 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23249 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23250 XML2_PE_LIBS = $XML2_PE_LIBS
23251 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23252 XSLT_PE_LIBS = $XSLT_PE_LIBS
23253 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23254 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23255 PTHREAD_LIBS = $PTHREAD_LIBS
23258 X_CFLAGS = $X_CFLAGS
23259 X_PRE_LIBS = $X_PRE_LIBS
23261 X_EXTRA_LIBS = $X_EXTRA_LIBS
23262 PCAP_LIBS = $PCAP_LIBS
23263 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23264 INOTIFY_LIBS = $INOTIFY_LIBS
23265 DBUS_CFLAGS = $DBUS_CFLAGS
23266 DBUS_LIBS = $DBUS_LIBS
23267 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23268 GNUTLS_LIBS = $GNUTLS_LIBS
23269 SANE_CFLAGS = $SANE_CFLAGS
23270 SANE_LIBS = $SANE_LIBS
23271 USB_CFLAGS = $USB_CFLAGS
23272 USB_LIBS = $USB_LIBS
23273 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23274 GPHOTO2_LIBS = $GPHOTO2_LIBS
23275 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23276 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23277 RESOLV_LIBS = $RESOLV_LIBS
23278 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23279 FREETYPE_LIBS = $FREETYPE_LIBS
23280 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23281 PULSE_CFLAGS = $PULSE_CFLAGS
23282 PULSE_LIBS = $PULSE_LIBS
23283 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23284 GSTREAMER_LIBS = $GSTREAMER_LIBS
23285 ALSA_LIBS = $ALSA_LIBS
23286 OSS4_CFLAGS = $OSS4_CFLAGS
23287 OSS4_LIBS = $OSS4_LIBS
23288 UDEV_CFLAGS = $UDEV_CFLAGS
23289 UDEV_LIBS = $UDEV_LIBS
23290 UNWIND_CFLAGS = $UNWIND_CFLAGS
23291 UNWIND_LIBS = $UNWIND_LIBS
23292 SDL2_CFLAGS = $SDL2_CFLAGS
23293 SDL2_LIBS = $SDL2_LIBS
23294 CAPI20_CFLAGS = $CAPI20_CFLAGS
23295 CAPI20_LIBS = $CAPI20_LIBS
23296 CUPS_CFLAGS = $CUPS_CFLAGS
23297 CUPS_LIBS = $CUPS_LIBS
23298 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23299 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23300 KRB5_CFLAGS = $KRB5_CFLAGS
23301 KRB5_LIBS = $KRB5_LIBS
23302 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23303 GSSAPI_LIBS = $GSSAPI_LIBS
23304 PROCSTAT_LIBS = $PROCSTAT_LIBS
23305 NETAPI_CFLAGS = $NETAPI_CFLAGS
23306 NETAPI_LIBS = $NETAPI_LIBS
23307 MSVCRTFLAGS = $MSVCRTFLAGS
23309 LDAP_CFLAGS = $LDAP_CFLAGS
23310 LDAP_LIBS = $LDAP_LIBS
23311 TAGSFLAGS = $TAGSFLAGS
23313 LTLIBOBJS = $LTLIBOBJS
23317 as_fn_error $? "could not create Makefile" "$LINENO" 5
23322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23324 # Handling of arguments.
23325 for ac_config_target
in $ac_config_targets
23327 case $ac_config_target in
23328 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23329 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23330 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23331 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23332 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23333 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23335 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23340 # If the user did not use the arguments to specify the items to instantiate,
23341 # then the envvar interface is used. Set only those that are not.
23342 # We use the long form for the default assignment because of an extremely
23343 # bizarre bug on SunOS 4.1.3.
23344 if $ac_need_defaults; then
23345 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23346 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23347 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23350 # Have a temporary directory for convenience. Make it in the build tree
23351 # simply because there is no reason against having it here, and in addition,
23352 # creating and moving files from /tmp can sometimes cause problems.
23353 # Hook for its removal unless debugging.
23354 # Note that there is a small window in which the directory will not be cleaned:
23355 # after its creation but before its name has been assigned to `$tmp'.
23359 trap 'exit_status=$?
23360 : "${ac_tmp:=$tmp}"
23361 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23363 trap 'as_fn_exit 1' 1 2 13 15
23365 # Create a (secure) tmp directory for tmp files.
23368 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23372 tmp
=.
/conf$$
-$RANDOM
23373 (umask 077 && mkdir
"$tmp")
23374 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23377 # Set up the scripts for CONFIG_HEADERS section.
23378 # No need to generate them if there are no CONFIG_HEADERS.
23379 # This happens for instance with `./config.status Makefile'.
23380 if test -n "$CONFIG_HEADERS"; then
23381 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23385 # Transform confdefs.h into an awk script `defines.awk', embedded as
23386 # here-document in config.status, that substitutes the proper values into
23387 # config.h.in to produce config.h.
23389 # Create a delimiter string that does not exist in confdefs.h, to ease
23390 # handling of long lines.
23392 for ac_last_try
in false false
:; do
23393 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23394 if test -z "$ac_tt"; then
23396 elif $ac_last_try; then
23397 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23399 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23403 # For the awk script, D is an array of macro values keyed by name,
23404 # likewise P contains macro parameters if any. Preserve backslash
23405 # newline sequences.
23407 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23409 s/.\{148\}/&'"$ac_delim"'/g
23412 s/^[ ]*#[ ]*define[ ][ ]*/ /
23419 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23421 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23425 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23426 D["\1"]=" \3\\\\\\n"\\/p
23428 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23433 s/.\{148\}/&'"$ac_delim"'/g
23438 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23441 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23443 ' <confdefs.h |
sed '
23444 s/'"$ac_delim"'/"\\\
23445 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23448 for (key in D) D_is_set[key] = 1
23451 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23453 split(line, arg, " ")
23454 if (arg[1] == "#") {
23458 defundef = substr(arg[1], 2)
23461 split(mac1, mac2, "(") #)
23463 prefix = substr(line, 1, index(line, defundef) - 1)
23464 if (D_is_set[macro]) {
23465 # Preserve the white space surrounding the "#".
23466 print prefix "define", macro P[macro] D[macro]
23469 # Replace #undef with comments. This is necessary, for example,
23470 # in the case of _POSIX_SOURCE, which is predefined and required
23471 # on some systems where configure will not decide to define it.
23472 if (defundef == "undef") {
23473 print "/*", prefix defundef, macro, "*/"
23481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23482 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23483 fi # test -n "$CONFIG_HEADERS"
23486 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23491 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23493 case $ac_mode$ac_tag in
23495 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23496 :[FH
]-) ac_tag
=-:-;;
23497 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23514 -) ac_f
="$ac_tmp/stdin";;
23515 *) # Look for the file first in the build tree, then in the source tree
23516 # (if the path is not absolute). The absolute path cannot be DOS-style,
23517 # because $ac_f cannot contain `:'.
23521 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23523 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23525 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23526 as_fn_append ac_file_inputs
" '$ac_f'"
23529 # Let's still pretend it is `configure' which instantiates (i.e., don't
23530 # use $as_me), people would be surprised to read:
23531 # /* config.h. Generated by config.status. */
23532 configure_input
='Generated from '`
23533 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23535 if test x
"$ac_file" != x-
; then
23536 configure_input
="$ac_file. $configure_input"
23537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23538 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23540 # Neutralize special characters interpreted by sed in replacement strings.
23541 case $configure_input in #(
23542 *\
&* |
*\|
* |
*\\* )
23543 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23544 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23545 *) ac_sed_conf_input
=$configure_input;;
23549 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23550 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23555 ac_dir
=`$as_dirname -- "$ac_file" ||
23556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23557 X"$ac_file" : 'X\(//\)[^/]' \| \
23558 X"$ac_file" : 'X\(//\)$' \| \
23559 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23560 printf "%s\n" X"$ac_file" |
23561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23565 /^X\(\/\/\)[^/].*/{
23578 as_dir
="$ac_dir"; as_fn_mkdir_p
23582 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23584 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23585 # A ".." for each directory in $ac_dir_suffix.
23586 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23587 case $ac_top_builddir_sub in
23588 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23589 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23592 ac_abs_top_builddir
=$ac_pwd
23593 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23594 # for backward compatibility:
23595 ac_top_builddir
=$ac_top_build_prefix
23598 .
) # We are building in place.
23600 ac_top_srcdir
=$ac_top_builddir_sub
23601 ac_abs_top_srcdir
=$ac_pwd ;;
23602 [\\/]* | ?
:[\\/]* ) # Absolute name.
23603 ac_srcdir
=$srcdir$ac_dir_suffix;
23604 ac_top_srcdir
=$srcdir
23605 ac_abs_top_srcdir
=$srcdir ;;
23606 *) # Relative name.
23607 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23608 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23609 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23611 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23620 if test x
"$ac_file" != x-
; then
23622 printf "%s\n" "/* $configure_input */" >&1 \
23623 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23624 } >"$ac_tmp/config.h" \
23625 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23626 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23628 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23631 mv "$ac_tmp/config.h" "$ac_file" \
23632 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23635 printf "%s\n" "/* $configure_input */" >&1 \
23636 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23637 || as_fn_error $?
"could not create -" "$LINENO" 5
23645 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23648 # Prefer the file from the source tree if names are identical.
23649 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23650 ac_source
=$srcdir/$ac_source
23653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23654 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23656 if test ! -r "$ac_source"; then
23657 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23661 # Try a relative symlink, then a hard link, then a copy.
23663 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23664 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23666 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23667 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23668 cp -p "$ac_source" "$ac_file" ||
23669 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23672 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23673 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23678 case $ac_file$ac_mode in
23679 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23680 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23681 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23689 ac_clean_files
=$ac_clean_files_save
23691 test $ac_write_fail = 0 ||
23692 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23695 # configure is writing to config.log, and then calls config.status.
23696 # config.status does its own redirection, appending to config.log.
23697 # Unfortunately, on DOS this fails, as config.log is still kept open
23698 # by configure, so config.status won't be able to write to it; its
23699 # output is simply discarded. So we exec the FD to /dev/null,
23700 # effectively closing config.log, so it can be properly (re)opened and
23701 # appended to by config.status. When coming back to configure, we
23702 # need to make the FD available again.
23703 if test "$no_create" != yes; then
23705 ac_config_status_args
=
23706 test "$silent" = yes &&
23707 ac_config_status_args
="$ac_config_status_args --quiet"
23709 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23711 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23712 # would make configure fail if this is the last instruction.
23713 $ac_cs_success || as_fn_exit
1
23715 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23717 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23721 if test "$no_create" = "yes"
23727 if test "x$wine_notices" != x
; then
23730 for msg
in $wine_notices; do
23736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23737 printf "%s\n" "$as_me: $msg" >&6;}
23742 for msg
in $wine_warnings; do
23749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23750 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23756 $as_me: Finished. Do '${ac_make}' to compile Wine.