wbemprox: Add a stub MSSMBios_RawSMBiosTables implementation.
[wine.git] / configure.ac
blob4fdb1ef33df9f12305e4c70b0b1e97938f479343
1 dnl Process this file with autoconf to produce a configure script.
2 dnl Original author: Michael Patra
3 dnl For detailed change history, see the git commit logs.
5 m4_define(WINE_VERSION,regexp(m4_include(VERSION),[version \([-.0-9A-Za-z]+\)],[\1]))
7 dnl autoconf versions before 2.63b don't have AS_VAR_APPEND or AS_VAR_IF
8 AC_PREREQ(2.63b)
9 AC_INIT([Wine],[WINE_VERSION],[wine-devel@winehq.org],[wine],[https://www.winehq.org])
10 AC_CONFIG_SRCDIR(server/atom.c)
11 AC_CONFIG_HEADERS(include/config.h)
12 AC_CONFIG_AUX_DIR(tools)
14 libwine_version="1.0"
16 dnl **** Command-line arguments ****
18 AC_ARG_ENABLE(win16, AS_HELP_STRING([--disable-win16],[do not include Win16 support]))
19 AC_ARG_ENABLE(win64, AS_HELP_STRING([--enable-win64],[build a Win64 emulator on AMD64 (won't run Win32 binaries)]))
20 AC_ARG_ENABLE(tests, AS_HELP_STRING([--disable-tests],[do not build the regression tests]))
21 AC_ARG_ENABLE(build-id, AS_HELP_STRING([--enable-build-id],[include .buildid section in output objects]))
22 AC_ARG_ENABLE(maintainer-mode, AS_HELP_STRING([--enable-maintainer-mode],[enable maintainer-specific build rules]))
23 AC_ARG_ENABLE(silent-rules, AS_HELP_STRING([--enable-silent-rules],[use silent build rules (override: "make V=1")]))
24 AC_ARG_ENABLE(werror, AS_HELP_STRING([--enable-werror],[treat compilation warnings as errors]))
26 AC_ARG_WITH(alsa,      AS_HELP_STRING([--without-alsa],[do not use the Alsa sound support]))
27 AC_ARG_WITH(capi,      AS_HELP_STRING([--without-capi],[do not use CAPI (ISDN support)]))
28 AC_ARG_WITH(coreaudio, AS_HELP_STRING([--without-coreaudio],[do not use the CoreAudio sound support]),
29             [if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi])
30 AC_ARG_WITH(cups,      AS_HELP_STRING([--without-cups],[do not use CUPS]))
31 AC_ARG_WITH(dbus,      AS_HELP_STRING([--without-dbus],[do not use DBus (dynamic device support)]))
32 AC_ARG_WITH(float-abi, AS_HELP_STRING([--with-float-abi=abi],[specify the ABI (soft|softfp|hard) for ARM platforms]))
33 AC_ARG_WITH(fontconfig,AS_HELP_STRING([--without-fontconfig],[do not use fontconfig]))
34 AC_ARG_WITH(freetype,  AS_HELP_STRING([--without-freetype],[do not use the FreeType library]))
35 AC_ARG_WITH(gettext,   AS_HELP_STRING([--without-gettext],[do not use gettext]))
36 AC_ARG_WITH(gettextpo, AS_HELP_STRING([--with-gettextpo],[use the GetTextPO library to rebuild po files]),
37             [if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi])
38 AC_ARG_WITH(gphoto,    AS_HELP_STRING([--without-gphoto],[do not use gphoto (Digital Camera support)]))
39 AC_ARG_WITH(gnutls,    AS_HELP_STRING([--without-gnutls],[do not use GnuTLS (schannel support)]))
40 AC_ARG_WITH(gssapi,    AS_HELP_STRING([--without-gssapi],[do not use GSSAPI (Kerberos SSP support)]))
41 AC_ARG_WITH(gstreamer, AS_HELP_STRING([--without-gstreamer],[do not use GStreamer (codecs support)]))
42 AC_ARG_WITH(inotify,   AS_HELP_STRING([--without-inotify],[do not use inotify (filesystem change notifications)]))
43 AC_ARG_WITH(krb5,      AS_HELP_STRING([--without-krb5],[do not use krb5 (Kerberos)]))
44 AC_ARG_WITH(ldap,      AS_HELP_STRING([--without-ldap],[do not use LDAP]),
45             [if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi])
46 AC_ARG_WITH(mingw,     AS_HELP_STRING([--without-mingw],[do not use the MinGW cross-compiler]))
47 AC_ARG_WITH(netapi,    AS_HELP_STRING([--without-netapi],[do not use the Samba NetAPI library]))
48 AC_ARG_WITH(openal,    AS_HELP_STRING([--without-openal],[do not use OpenAL]),
49             [if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi])
50 AC_ARG_WITH(opencl,    AS_HELP_STRING([--without-opencl],[do not use OpenCL]),
51             [if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi])
52 AC_ARG_WITH(opengl,    AS_HELP_STRING([--without-opengl],[do not use OpenGL]))
53 AC_ARG_WITH(osmesa,     AS_HELP_STRING([--without-osmesa],[do not use the OSMesa library]))
54 AC_ARG_WITH(oss,       AS_HELP_STRING([--without-oss],[do not use the OSS sound support]))
55 AC_ARG_WITH(pcap,      AS_HELP_STRING([--without-pcap],[do not use the Packet Capture library]),
56             [if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi])
57 AC_ARG_WITH(pthread,   AS_HELP_STRING([--without-pthread],[do not use the pthread library]),
58             [if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi])
59 AC_ARG_WITH(pulse,     AS_HELP_STRING([--without-pulse],[do not use PulseAudio sound support]))
60 AC_ARG_WITH(sane,      AS_HELP_STRING([--without-sane],[do not use SANE (scanner support)]))
61 AC_ARG_WITH(sdl,       AS_HELP_STRING([--without-sdl],[do not use SDL]))
62 AC_ARG_WITH(udev,      AS_HELP_STRING([--without-udev],[do not use udev (plug and play support)]))
63 AC_ARG_WITH(unwind,    AS_HELP_STRING([--without-unwind],[do not use the libunwind library (exception handling)]))
64 AC_ARG_WITH(usb,       AS_HELP_STRING([--without-usb],[do not use the libusb library]))
65 AC_ARG_WITH(v4l2,      AS_HELP_STRING([--without-v4l2],[do not use v4l2 (video capture)]))
66 AC_ARG_WITH(vkd3d,     AS_HELP_STRING([--without-vkd3d],[do not use vkd3d (Direct3D 12 support)]))
67 AC_ARG_WITH(vulkan,    AS_HELP_STRING([--without-vulkan],[do not use Vulkan]))
68 AC_ARG_WITH(xcomposite,AS_HELP_STRING([--without-xcomposite],[do not use the Xcomposite extension]),
69             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi])
70 AC_ARG_WITH(xcursor,   AS_HELP_STRING([--without-xcursor],[do not use the Xcursor extension]),
71             [if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi])
72 AC_ARG_WITH(xfixes,  AS_HELP_STRING([--without-xfixes],[do not use Xfixes for clipboard change notifications]),
73             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi])
74 AC_ARG_WITH(xinerama,  AS_HELP_STRING([--without-xinerama],[do not use Xinerama (legacy multi-monitor support)]),
75             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi])
76 AC_ARG_WITH(xinput,    AS_HELP_STRING([--without-xinput],[do not use the Xinput extension]),
77             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi])
78 AC_ARG_WITH(xinput2,   AS_HELP_STRING([--without-xinput2],[do not use the Xinput 2 extension]),
79             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi])
80 AC_ARG_WITH(xrandr,    AS_HELP_STRING([--without-xrandr],[do not use Xrandr (multi-monitor support)]),
81             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi])
82 AC_ARG_WITH(xrender,   AS_HELP_STRING([--without-xrender],[do not use the Xrender extension]),
83             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi])
84 AC_ARG_WITH(xshape,    AS_HELP_STRING([--without-xshape],[do not use the Xshape extension]),
85             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi])
86 AC_ARG_WITH(xshm,      AS_HELP_STRING([--without-xshm],[do not use XShm (shared memory extension)]),
87             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi])
88 AC_ARG_WITH(xxf86vm,   AS_HELP_STRING([--without-xxf86vm],[do not use XFree video mode extension]),
89             [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi])
91 AC_ARG_WITH(system-dllpath,AS_HELP_STRING([--with-system-dllpath=PATH],[load external PE dependencies from colon-separated path PATH]),
92             AC_SUBST(system_dllpath,[$withval]))
93 AC_ARG_WITH(wine-tools,AS_HELP_STRING([--with-wine-tools=DIR],[use Wine tools from directory DIR]))
94 AC_ARG_WITH(wine64,    AS_HELP_STRING([--with-wine64=DIR],[use the 64-bit Wine in DIR for a Wow64 build]))
96 AC_CANONICAL_HOST
98 AC_SUBST(dlldir,[\${libdir}/wine])
99 AC_SUBST(fontdir,[\${datadir}/wine/fonts])
100 AC_SUBST(nlsdir,[\${datadir}/wine/nls])
101 AC_SUBST(srcdir)
103 dnl **** Check for some programs ****
105 AC_PROG_MAKE_SET
106 AC_PROG_CC
107 AC_PROG_CXX
108 dnl We can't use AC_PROG_CPP for winegcc, it uses by default $(CC) -E
109 AC_CHECK_TOOL(CPPBIN,cpp,cpp)
110 AC_DEFINE_UNQUOTED(EXEEXT,["$ac_exeext"],[Define to the file extension for executables.])
111 AC_CHECK_TOOL(LD,ld)
113 case $host in
114   *-darwin*)
115     with_fontconfig=${with_fontconfig:-no}
116     ;;
117   *-mingw32*|*-cygwin*)
118     enable_win16=${enable_win16:-no}
119     with_mingw=${with_mingw:-no}
120     ;;
121 esac
123 AC_SUBST(TARGETFLAGS)
124 case $host in
125   x86_64*|amd64*)
126     if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
127     then
128       CC="$CC -m32"
129       CXX="$CXX -m32"
130       AC_CACHE_CHECK([whether $CC works], wine_cv_cc_m32,
131           [AC_LINK_IFELSE([AC_LANG_PROGRAM()],[wine_cv_cc_m32=yes],[wine_cv_cc_m32=no])])
132       test $wine_cv_cc_m32 != no || AC_MSG_ERROR([Cannot build a 32-bit program, you need to install 32-bit development libraries.])
133       host_cpu="i386"
134       notice_platform="32-bit "
135       TARGETFLAGS="$TARGETFLAGS -m32"
136       PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
137       export PKG_CONFIG_PATH
138       enable_win16=${enable_win16:-yes}
139       with_unwind=${with_unwind:-no}
140     else
141       if test "x${GCC}" = "xyes"
142       then
143         AC_CACHE_CHECK([whether $CC supports __builtin_ms_va_list],wine_cv_builtin_ms_va_list,
144             [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]], [[void func(__builtin_ms_va_list *args);]])],
145                           [wine_cv_builtin_ms_va_list=yes],[wine_cv_builtin_ms_va_list=no])])
146         test $wine_cv_builtin_ms_va_list != no || AC_MSG_ERROR([You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit.])
147       fi
148       CC="$CC -m64"
149       CXX="$CXX -m64"
150       host_cpu="x86_64"
151       notice_platform="64-bit "
152       TARGETFLAGS="$TARGETFLAGS -m64"
153       enable_wow64=${enable_wow64:-yes}
154       enable_wow64win=${enable_wow64win:-yes}
155       enable_wow64cpu=${enable_wow64cpu:-yes}
156     fi
157     ;;
158   arm*)
159     AC_CACHE_CHECK([whether $CC supports Thumb-2],wine_cv_thumb2,
160         [WINE_TRY_ASM_LINK([".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}"],,,
161                            [wine_cv_thumb2=yes],[wine_cv_thumb2=no])])
162     if test x"$wine_cv_thumb2" = xyes
163     then
164         CFLAGS="$CFLAGS -mthumb"
165         TARGETFLAGS="$TARGETFLAGS -mthumb"
166     else
167         CFLAGS="$CFLAGS -marm"
168         TARGETFLAGS="$TARGETFLAGS -marm"
169     fi
170     case $with_float_abi in
171       soft|softfp|hard)
172         float_abi=$with_float_abi ;;
173       *)
174         case $host_os in
175           *eabihf)
176             float_abi=hard ;;
177           *)
178             float_abi=softfp
179             saved_CFLAGS=$CFLAGS
180             CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
181             AC_CACHE_CHECK([whether $CC supports -mfloat-abi=$float_abi],wine_cv_float_abi,
182                 [WINE_TRY_ASM_LINK(["vmrs r2,fpscr"],,,[wine_cv_float_abi=yes],[wine_cv_float_abi=no])])
183             if test $wine_cv_float_abi = no
184             then
185                 float_abi=soft
186                 WINE_WARNING([Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries.])
187             fi
188             CFLAGS=$saved_CFLAGS
189         esac
190         ;;
191     esac
192     CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
193     TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
194     ;;
195   aarch64*)
196     AC_CACHE_CHECK([whether $CC supports __builtin_ms_va_list],wine_cv_builtin_ms_va_list,
197         [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]], [[void func(__builtin_ms_va_list *args);]])],
198                       [wine_cv_builtin_ms_va_list=yes],[wine_cv_builtin_ms_va_list=no])])
199     test $wine_cv_builtin_ms_va_list != no || AC_MSG_ERROR([You need clang >= 5.0 to build Wine for arm64.])
200     enable_wow64=${enable_wow64:-yes}
201     enable_wow64win=${enable_wow64win:-yes}
202     ;;
203   i[[3456789]]86*)
204     enable_win16=${enable_win16:-yes}
205     with_unwind=${with_unwind:-no}
206     ;;
207 esac
209 dnl enable_win16 defaults to yes on x86, to no on other CPUs
210 enable_win16=${enable_win16:-no}
211 enable_win64=${enable_win64:-no}
212 enable_wow64=${enable_wow64:-no}
213 enable_wow64win=${enable_wow64win:-no}
214 enable_wow64cpu=${enable_wow64cpu:-no}
216 dnl Disable winetest too if tests are disabled
217 enable_winetest=${enable_winetest:-$enable_tests}
219 dnl Some special cases for the 64-bit build
220 if test "x$enable_win64" = "xyes"
221 then
222     test -z "$with_wine64" || AC_MSG_ERROR([--enable-win64 and --with-wine64 are mutually exclusive.
223 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree.])
226 case $build_os in
227   cygwin*|mingw32*) AC_SUBST(toolsext,".exe") ;;
228   *) AC_SUBST(toolsext,"") ;;
229 esac
231 AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,
232   [wine_cv_toolsdir="$with_wine_tools"
233    if test -z "$with_wine_tools"; then
234      if test "$cross_compiling" = "yes"; then
235        AC_MSG_ERROR([you must use the --with-wine-tools option when cross-compiling.])
236      elif test -n "$with_wine64"; then
237        wine_cv_toolsdir="$with_wine64"
238      fi
239    fi])
240 if test -z "$wine_cv_toolsdir"; then
241     wine_makedep=tools/makedep$toolsext
242 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
243     wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
244     enable_tools=${enable_tools:-no}
245     test -f "$wine_makedep" || AC_MSG_ERROR([the Wine tools have not yet been built in $wine_cv_toolsdir])
246 else
247     AC_MSG_ERROR([could not find Wine tools in $wine_cv_toolsdir])
249 AC_SUBST(toolsdir,[$wine_cv_toolsdir])
250 AC_SUBST(MAKEDEP,[$wine_makedep])
251 AC_SUBST(RUNTESTFLAGS,["-q -P wine"])
252 AC_SUBST(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'"])
253 AC_SUBST(api_manext,[3w])
255 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
256 then
257     TARGETFLAGS="-b $host_alias $TARGETFLAGS"
260 dnl Check for flex
261 AC_CHECK_PROGS(FLEX,flex,none)
262 if test "$FLEX" = "none"
263 then
264   AC_MSG_ERROR([no suitable flex found. Please install the 'flex' package.])
266 AC_CACHE_CHECK([whether flex is recent enough],wine_cv_recent_flex,
267     [cat >conftest.l <<EOF
268 %top{
269 #include "prediluvian.h"
273     if $FLEX -t conftest.l >/dev/null 2>&AS_MESSAGE_LOG_FD
274     then
275       wine_cv_recent_flex=yes
276     else
277       wine_cv_recent_flex=no
278     fi])
279 test $wine_cv_recent_flex != no || AC_MSG_ERROR([Your flex version is too old. Please install flex version 2.5.33 or newer.])
281 dnl Check for bison
282 AC_CHECK_PROGS(BISON,bison,none)
283 if test "$BISON" = "none"
284 then
285   AC_MSG_ERROR([no suitable bison found. Please install the 'bison' package.])
287 AC_CACHE_CHECK([whether bison is recent enough],wine_cv_recent_bison,
288     [cat >conftest.y <<EOF
289 %define parse.error verbose
291 empty: ;
293     if $BISON conftest.y >/dev/null 2>&AS_MESSAGE_LOG_FD
294     then
295       wine_cv_recent_bison=yes
296     else
297       wine_cv_recent_bison=no
298     fi])
299 test $wine_cv_recent_bison != no || AC_MSG_ERROR([Your bison version is too old. Please install bison version 3.0 or newer.])
301 AC_CHECK_TOOLS(AR,[ar gar],ar)
302 AC_CHECK_TOOL(STRIP,strip,strip)
303 AC_PROG_RANLIB
304 AC_PROG_LN_S
305 AC_PROG_EGREP
306 AC_PATH_PROG(LDCONFIG, ldconfig, true, [/sbin /usr/sbin $PATH])
307 AC_CHECK_PROGS(MSGFMT, msgfmt, false)
308 WINE_PATH_PKG_CONFIG
310 if test "x$enable_maintainer_mode" != "xyes"
311 then
312   FONTFORGE=""
313   RSVG=""
314   CONVERT=""
315   ICOTOOL=""
316 else
317   test "$srcdir" = . || AC_MSG_ERROR([Maintainer mode cannot work out of tree.])
318   AC_CHECK_PROGS(FONTFORGE, fontforge, false)
319   AC_CHECK_PROGS(RSVG, rsvg-convert rsvg, false)
320   AC_CHECK_PROGS(CONVERT, convert, false)
321   AC_CHECK_PROGS(ICOTOOL, icotool, false)
322   test "$FONTFORGE" != "false" || AC_MSG_ERROR([You need fontforge to rebuild fonts in maintainer mode.])
323   test "$RSVG" != "false" || AC_MSG_ERROR([You need rsvg to rebuild icons in maintainer mode.])
325   dnl Check the imagemagick version
326   if test "$CONVERT" = false
327   then
328     AC_MSG_ERROR([You need imagemagick to rebuild icons in maintainer mode.])
329   else
330     AC_MSG_CHECKING([for recent enough imagemagick])
331     convert_version=`convert --version | head -n1`
332     if test "x$convert_version" != "x"
333     then
334       convert_version_major=`expr "$convert_version" : '.* \([[0-9]]*\)\.[[0-9]]*'`
335       convert_version_minor=`expr "$convert_version" : '.* [[0-9]]*\.\([[0-9]]*\)'`
336       if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
337       then
338         CONVERT=false
339       fi
340     fi
341     if test "$CONVERT" = false
342     then
343       AC_MSG_RESULT([no ($convert_version_major.$convert_version_minor)])
344       AC_MSG_ERROR([You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode.])
345     else
346       AC_MSG_RESULT([yes ($convert_version_major.$convert_version_minor)])
347     fi
348   fi
350   dnl Check the icotool version
351   if test "$ICOTOOL" = false
352   then
353     AC_MSG_ERROR([You need icotool to rebuild icons in maintainer mode.])
354   else
355     AC_MSG_CHECKING([for recent enough icotool])
356     icotool_version=`icotool --version | head -n1`
357     if test "x$icotool_version" != "x"
358     then
359       icotool_version_major=`expr "$icotool_version" : '.* \([[0-9]]*\)\.[[0-9]]*'`
360       icotool_version_minor=`expr "$icotool_version" : '.* [[0-9]]*\.\([[0-9]]*\)'`
361       if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
362       then
363         ICOTOOL=false
364         WINE_WARNING([icotool version 0.29.0 or newer is needed to rebuild icons.])
365       fi
366     fi
367     if test "$ICOTOOL" = false
368     then
369       AC_MSG_RESULT([no ($icotool_version_major.$icotool_version_minor)])
370       AC_MSG_ERROR([You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode.])
371     else
372       AC_MSG_RESULT([yes ($icotool_version_major.$icotool_version_minor)])
373     fi
374   fi
376   dnl Maintainer mode requires gettext
377   with_gettext=yes
378   with_gettextpo=yes
380   dnl Maintainer mode wants -Werror
381   enable_werror=yes
384 test "x$with_gettext" != xno || MSGFMT=false
385 if test "$MSGFMT" != "false"
386 then
387   AC_CACHE_CHECK([whether msgfmt supports contexts],wine_cv_msgfmt_contexts,
388   [cat >conftest.po <<EOF
389 # comment
390 msgctxt "ctxt"
391 msgid "id"
392 msgstr "str"
394   if $MSGFMT -o /dev/null conftest.po 2>&AS_MESSAGE_LOG_FD
395   then
396     wine_cv_msgfmt_contexts=yes
397   else
398     wine_cv_msgfmt_contexts=no
399   fi])
400   test $wine_cv_msgfmt_contexts != no || MSGFMT=false
402 WINE_WARNING_WITH(gettext,[test "$MSGFMT" = false],
403                   [gettext tools not found (or too old), translations won't be built.],
404                   [enable_po])
406 dnl **** Check for some libraries ****
408 dnl Check for -li386 for NetBSD and OpenBSD
409 AC_CHECK_LIB(i386,i386_set_ldt,[AC_SUBST(I386_LIBS, "-li386")])
411 AC_SUBST(OPENGL_LIBS,"")
413 dnl **** Check for header files ****
415 AC_SYS_LARGEFILE()
417 AC_CHECK_HEADERS(\
418         AL/al.h \
419         ApplicationServices/ApplicationServices.h \
420         CL/cl.h \
421         Carbon/Carbon.h \
422         CoreAudio/CoreAudio.h \
423         DiskArbitration/DiskArbitration.h \
424         EGL/egl.h \
425         IOKit/IOKitLib.h \
426         IOKit/hid/IOHIDLib.h \
427         OpenAL/al.h \
428         OpenCL/opencl.h \
429         Security/Security.h \
430         SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
431         SystemConfiguration/SCNetworkConfiguration.h \
432         alias.h \
433         arpa/inet.h \
434         arpa/nameser.h \
435         asm/types.h \
436         asm/user.h \
437         dirent.h \
438         elf.h \
439         float.h \
440         gettext-po.h \
441         ieeefp.h \
442         libproc.h \
443         link.h \
444         linux/cdrom.h \
445         linux/filter.h \
446         linux/hdreg.h \
447         linux/hidraw.h \
448         linux/input.h \
449         linux/ioctl.h \
450         linux/joystick.h \
451         linux/major.h \
452         linux/param.h \
453         linux/serial.h \
454         linux/types.h \
455         linux/ucdrom.h \
456         lwp.h \
457         mach-o/loader.h \
458         mach/mach.h \
459         machine/cpu.h \
460         machine/sysarch.h \
461         mntent.h \
462         netdb.h \
463         netinet/in.h \
464         netinet/in_systm.h \
465         netinet/tcp.h \
466         netinet/tcp_fsm.h \
467         pcap/pcap.h \
468         port.h \
469         pthread.h \
470         pwd.h \
471         sasl/sasl.h \
472         sched.h \
473         scsi/scsi.h \
474         scsi/scsi_ioctl.h \
475         scsi/sg.h \
476         stdint.h \
477         sys/attr.h \
478         sys/auxv.h \
479         sys/cdio.h \
480         sys/epoll.h \
481         sys/event.h \
482         sys/filio.h \
483         sys/ioctl.h \
484         sys/ipc.h \
485         sys/link.h \
486         sys/mman.h \
487         sys/modem.h \
488         sys/mtio.h \
489         sys/param.h \
490         sys/prctl.h \
491         sys/protosw.h \
492         sys/ptrace.h \
493         sys/queue.h \
494         sys/random.h \
495         sys/resource.h \
496         sys/scsiio.h \
497         sys/shm.h \
498         sys/signal.h \
499         sys/socket.h \
500         sys/socketvar.h \
501         sys/sockio.h \
502         sys/statvfs.h \
503         sys/strtio.h \
504         sys/syscall.h \
505         sys/sysinfo.h \
506         sys/time.h \
507         sys/timeout.h \
508         sys/times.h \
509         sys/uio.h \
510         sys/user.h \
511         sys/utsname.h \
512         sys/vnode.h \
513         sys/wait.h \
514         syscall.h \
515         termios.h \
516         unistd.h \
517         utime.h \
518         valgrind/memcheck.h \
519         valgrind/valgrind.h
521 WINE_HEADER_MAJOR()
522 AC_HEADER_STAT()
524 dnl **** Checks for headers that depend on other ones ****
526 AC_CHECK_HEADERS([sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h],,,
527     [#include <sys/types.h>
528      #ifdef HAVE_SYS_PARAM_H
529      # include <sys/param.h>
530      #endif])
532 dnl check for broken Linux sysctl.h that causes deprecation warnings
533 saved_sysctl_h_CFLAGS=$CFLAGS
534 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
535 AC_CHECK_HEADERS([sys/sysctl.h],,,
536     [#include <sys/types.h>
537      #ifdef HAVE_SYS_PARAM_H
538      # include <sys/param.h>
539      #endif])
540 CFLAGS=$saved_sysctl_h_CFLAGS
542 AC_CHECK_HEADERS(\
543         netinet/ip.h \
544         net/if.h \
545         net/if_arp.h \
546         net/if_dl.h \
547         net/if_types.h \
548         net/route.h \
549         netinet/if_ether.h \
550         netinet/if_inarp.h \
551         netinet/in_pcb.h \
552         netinet/ip_icmp.h \
553         netinet/ip_var.h \
554         netinet/udp.h \
555         netipx/ipx.h \
556         sys/un.h \
557 ,,,[#include <sys/types.h>
558      #ifdef HAVE_SYS_SOCKET_H
559      # include <sys/socket.h>
560      #endif
561      #ifdef HAVE_SYS_SOCKETVAR_H
562      # include <sys/socketvar.h>
563      #endif
564      #ifdef HAVE_NET_ROUTE_H
565      # include <net/route.h>
566      #endif
567      #ifdef HAVE_NETINET_IN_H
568      # include <netinet/in.h>
569      #endif
570      #ifdef HAVE_NETINET_IN_SYSTM_H
571      # include <netinet/in_systm.h>
572      #endif
573      #ifdef HAVE_NET_IF_H
574      # include <net/if.h>
575      #endif
576      #ifdef HAVE_NETINET_IP_H
577      # include <netinet/ip.h>
578      #endif])
580 AC_CHECK_HEADERS([netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h ],,,
581     [#include <sys/types.h>
582      #ifdef HAVE_ALIAS_H
583      # include <alias.h>
584      #endif
585      #ifdef HAVE_SYS_SOCKET_H
586      # include <sys/socket.h>
587      #endif
588      #ifdef HAVE_SYS_SOCKETVAR_H
589      # include <sys/socketvar.h>
590      #endif
591      #ifdef HAVE_SYS_TIMEOUT_H
592      # include <sys/timeout.h>
593      #endif
594      #ifdef HAVE_NETINET_IN_H
595      # include <netinet/in.h>
596      #endif
597      #ifdef HAVE_NETINET_IN_SYSTM_H
598      # include <netinet/in_systm.h>
599      #endif
600      #ifdef HAVE_NETINET_IP_H
601      # include <netinet/ip.h>
602      #endif
603      #ifdef HAVE_NETINET_IP_VAR_H
604      # include <netinet/ip_var.h>
605      #endif
606      #ifdef HAVE_NETINET_IP_ICMP_H
607      # include <netinet/ip_icmp.h>
608      #endif
609      #ifdef HAVE_NETINET_UDP_H
610      # include <netinet/udp.h>
611      #endif
612      #ifdef HAVE_NETINET_TCP_H
613      # include <netinet/tcp.h>
614      #endif
615      #ifdef HAVE_NETINET_TCP_TIMER_H
616      #include <netinet/tcp_timer.h>
617      #endif])
619 AC_CHECK_HEADERS([linux/ipx.h linux/irda.h linux/rtnetlink.h],,,
620     [#include <sys/types.h>
621      #ifdef HAVE_ASM_TYPES_H
622      # include <asm/types.h>
623      #endif
624      #ifdef HAVE_SYS_SOCKET_H
625      # include <sys/socket.h>
626      #endif
627      #ifdef HAVE_LINUX_TYPES_H
628      # include <linux/types.h>
629      #endif])
631 AC_CHECK_HEADERS([resolv.h],,,
632     [#include <sys/types.h>
633      #ifdef HAVE_SYS_SOCKET_H
634      # include <sys/socket.h>
635      #endif
636      #ifdef HAVE_NETINET_IN_H
637      # include <netinet/in.h>
638      #endif
639      #ifdef HAVE_ARPA_NAMESER_H
640      # include <arpa/nameser.h>
641      #endif])
643 AC_CHECK_HEADERS([ifaddrs.h],,,[#include <sys/types.h>])
645 AC_CHECK_HEADERS(sys/ucontext.h,,,[#include <signal.h>])
647 AC_CHECK_HEADERS([sys/thr.h],,,
648 [#include <sys/types.h>
649 #ifdef HAVE_SYS_UCONTEXT_H
650 #include <sys/ucontext.h>
651 #endif])
653 AC_CHECK_HEADERS([pthread_np.h],,,
654 [#ifdef HAVE_PTHREAD_H
655 #include <pthread.h>
656 #endif])
658 AC_CHECK_HEADERS([linux/videodev2.h],,,
659 [#ifdef HAVE_SYS_TIME_H
660 #include <sys/time.h>
661 #endif
662 #include <sys/types.h>
663 #ifdef HAVE_ASM_TYPES_H
664 #include <asm/types.h>
665 #endif])
667 AC_CHECK_HEADERS([libprocstat.h],,,
668 [#ifdef HAVE_SYS_PARAM_H
669 #include <sys/param.h>
670 #endif
671 #ifdef HAVE_SYS_QUEUE_H
672 #include <sys/queue.h>
673 #endif
674 #ifdef HAVE_SYS_SOCKET_H
675 #include <sys/socket.h>
676 #endif])
678 dnl **** Check for working dll ****
680 AC_SUBST(DLLFLAGS,"")
681 AC_SUBST(LDDLLFLAGS,"")
682 AC_SUBST(LDEXECFLAGS,"")
683 AC_SUBST(EXTRACFLAGS,"")
684 AC_SUBST(UNIXDLLFLAGS,"-fPIC")
685 AC_SUBST(UNIXLDFLAGS,["-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"])
686 AC_SUBST(TOP_INSTALL_LIB,"")
687 AC_SUBST(TOP_INSTALL_DEV,"")
688 AC_SUBST(WINELOADER_LDFLAGS,"")
689 AC_SUBST(WINEPRELOADER_LDFLAGS,"")
690 LIBEXT="so"
691 WINE_PATH_SONAME_TOOLS
692 WINE_CONFIG_HELPERS
694 wine_binary="wine"
695 test "x$enable_win64" != "xyes" || wine_binary="wine64"
696 AC_SUBST(WINELOADER_PROGRAMS,"$wine_binary")
697 libwine_soversion=`expr $libwine_version : '\([[0-9]]*\)\..*'`
699 case $host_os in
700   cygwin*|mingw32*)
701     AC_CHECK_TOOL(DLLTOOL,dlltool,false)
702     LIBEXT="dll"
703     EXTRACFLAGS="-D__WINE_PE_BUILD"
704     dnl Disable stdcall fixups to catch prototype mismatches
705     case $host_cpu in
706       *i[[3456]]86*) WINE_TRY_CFLAGS([-Wl,--disable-stdcall-fixup],
707                                      [LDDLLFLAGS="-Wl,--disable-stdcall-fixup"]) ;;
708     esac
709     dnl Disable modules that can't be used on Windows
710     enable_mountmgr_sys=${enable_mountmgr_sys:-no}
711     enable_loader=${enable_loader:-no}
712     enable_server=${enable_server:-no}
713     dnl Disable dependencies that are not useful on Windows
714     with_x=${with_x:-no}
715     with_pthread=${with_pthread:-no}
716     ;;
718   darwin*|macosx*)
719     AC_LANG_PUSH([Objective C])
720         AC_CHECK_HEADERS(Metal/Metal.h)
721     AC_LANG_POP([Objective C])
722     LIBEXT="dylib"
723     DLLFLAGS="$DLLFLAGS -fPIC"
724     LDDLLFLAGS="-fPIC"
725     dnl declare needed frameworks
726     AC_SUBST(COREFOUNDATION_LIBS,"-framework CoreFoundation")
727     AC_SUBST(IOKIT_LIBS,"-framework IOKit -framework CoreFoundation")
728     AC_SUBST(APPLICATIONSERVICES_LIBS,"-framework ApplicationServices")
729     AC_SUBST(CORESERVICES_LIBS,"-framework CoreServices")
730     AC_SUBST(APPKIT_LIBS,"-framework AppKit")
731     AC_SUBST(SYSTEMCONFIGURATION_LIBS,"-framework SystemConfiguration")
733     WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
735     wine_can_build_preloader=yes
736     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"
737     WINE_TRY_CFLAGS([-Wl,-no_new_main -e _main],
738                     [WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
739                      WINE_TRY_CFLAGS([-Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs],
740                                      [WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"],
741                                      [wine_can_build_preloader=no])],
742                     [WINE_TRY_CFLAGS([-mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs],
743                                      [WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"],
744                                      [wine_can_build_preloader=no])])
745     if test "$wine_can_build_preloader" = "yes"
746     then
747         WINE_TRY_CFLAGS([-Wl,-no_pie],
748                         [WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"])
749         test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine-preloader")
750         WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
751     else
752         WINE_WARNING([can't build Wine preloader; many programs won't work])
753     fi
755     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
756     then
757         dnl DiskArbitration API is not public on Darwin < 8.0, use it only if header found
758         AC_SUBST(DISKARBITRATION_LIBS,"-framework DiskArbitration -framework CoreFoundation")
759     fi
760     if test "$ac_cv_header_Security_Security_h" = "yes"
761     then
762         AC_SUBST(SECURITY_LIBS,"-framework Security -framework CoreFoundation")
763     fi
764     if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
765     then
766         AC_SUBST(COREAUDIO_LIBS,"-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI")
767         enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
768     fi
769     if test "$ac_cv_header_OpenAL_al_h" = "yes"
770     then
771         AC_SUBST(OPENAL_LIBS,"-framework OpenAL")
772         AC_DEFINE_UNQUOTED(HAVE_OPENAL,1,[Define to 1 if OpenAL is available])
773         ac_cv_lib_openal=yes
774     fi
775     if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
776     then
777         AC_SUBST(OPENCL_LIBS,"-framework OpenCL")
778         ac_cv_lib_OpenCL_clGetPlatformInfo=yes
779     fi
780     if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
781     then
782         ac_save_LIBS="$LIBS"
783         LIBS="$LIBS $IOKIT_LIBS"
784         AC_CHECK_FUNCS(IOHIDManagerCreate)
785         LIBS="$ac_save_LIBS"
786     fi
788     if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
789     then
790         AC_SUBST(CARBON_LIBS,"-framework Carbon")
791     fi
792     if test "$ac_cv_header_Metal_Metal_h" = "yes"
793     then
794         AC_SUBST(METAL_LIBS,"-framework Metal -framework QuartzCore")
795     fi
797     dnl Check for MTLDevice registryID property
798     if test "$ac_cv_header_Metal_Metal_h" = "yes"
799     then
800         AC_MSG_CHECKING([whether MTLDevice protocol supports registryID property])
801         AC_LANG_PUSH([Objective C])
802         AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <Metal/Metal.h>]], [[id<MTLDevice> device; device.registryID;]])],
803                               [AC_MSG_RESULT(yes)
804                                AC_DEFINE(HAVE_MTLDEVICE_REGISTRYID, 1, [Define if MTLDevice protocol has registryID property.])],
805                               [AC_MSG_RESULT(no)])
806         AC_LANG_POP([Objective C])
807     fi
809     dnl Enable Mac driver on Mac OS X 10.6 or later
810     if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
811     then
812         ac_save_LIBS="$LIBS"
813         LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
814         AC_CHECK_FUNC(CGDisplayModeGetWidth,enable_winemac_drv=${enable_winemac_drv:-yes})
815         LIBS="$ac_save_LIBS"
816     fi
818     UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
819     AC_SUBST(LIBWINE_SHAREDLIB,"libwine.$libwine_version.dylib")
820     AC_SUBST(LIBWINE_LDFLAGS,["-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"])
821     AC_SUBST(WINELOADER_DEPENDS,"wine_info.plist")
822     TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
823     ;;
825   linux-android*)
826     AC_DEFINE(_GNU_SOURCE,1,[Define to 1 to enable GNU extensions on Linux])
827     DLLFLAGS="$DLLFLAGS -fPIC"
828     LDDLLFLAGS="-fPIC"
829     LDEXECFLAGS="-Wl,-pie"
830     enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
831     WINE_TRY_CFLAGS([-Wl,-z,defs],[UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"])
832     WINE_TRY_CFLAGS([-fPIC -Wl,--export-dynamic],[WINELOADER_LDFLAGS="-Wl,--export-dynamic"])
833     WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
835     WINE_CHECK_SONAME(EGL,eglGetProcAddress)
836     WINE_CHECK_SONAME(GLESv2,glFlush)
838     if test "x$exec_prefix" = xNONE
839     then
840       case $host_cpu in
841         *i[[3456]]86*) exec_prefix='${prefix}/x86' ;;
842         *x86_64*)      exec_prefix='${prefix}/x86_64' ;;
843         *arm*)         exec_prefix='${prefix}/armeabi-v7a' ;;
844         *aarch64*)     exec_prefix='${prefix}/arm64-v8a' ;;
845       esac
846     fi
847     ;;
849   *)
850     AC_DEFINE(_GNU_SOURCE,1,[Define to 1 to enable GNU extensions on Linux])
851     case $host_cpu in
852       *i[[3456789]]86*)
853         DLLFLAGS="$DLLFLAGS -fno-PIC"
854         LDDLLFLAGS="-fno-PIC"
855         WINE_TRY_CFLAGS([-fno-PIC -Wl,-z,notext],[LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"])
856         ;;
857       *)
858         DLLFLAGS="$DLLFLAGS -fPIC"
859         LDDLLFLAGS="-fPIC" ;;
860     esac
861     LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
863     echo '{ global: *; };' >conftest.map
864     WINE_TRY_CFLAGS([-shared -Wl,--version-script=conftest.map],
865                     [LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"])
866     rm -f conftest.map
868     WINE_TRY_CFLAGS([-Wl,-z,defs],[UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"])
869     WINE_TRY_CFLAGS([-Wl,--export-dynamic],[WINELOADER_LDFLAGS="-Wl,--export-dynamic"])
870     WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
872     case $host_cpu in
873       *i[[3456789]]86* | x86_64 | *aarch64* | arm*)
874         WINE_TRY_CFLAGS([-Wl,-Ttext-segment=0x7bc00000],
875                         [case $host_os in
876                          freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
877                          *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
878                          esac],
879                         [WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x7d000400],
880                                          [case $host_os in
881                                             freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
882                                             *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
883                                          esac])
884                          AC_PATH_PROG(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
885                          if test "x$PRELINK" = xfalse
886                          then
887                              WINE_WARNING([prelink not found and linker does not support relocation, base address of core dlls won't be set correctly.])
888                          fi])
889         WINE_TRY_CFLAGS([-Wl,-z,max-page-size=0x1000],
890                         [WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"])
891         ;;
892     esac
893     AC_SUBST(LIBWINE_SHAREDLIB,"libwine.so.$libwine_version")
894     AC_SUBST(LIBWINE_DEPENDS,"wine.map")
895     TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
896     ;;
897 esac
899 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
900 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
901 enable_winemac_drv=${enable_winemac_drv:-no}
902 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
904 dnl Check for cross compiler to build test programs
905 AC_SUBST(CROSSTARGET)
906 if test "x$with_mingw" != xno
907 then
908     case "x$with_mingw" in
909       x|xyes) WINE_CHECK_MINGW_PROG(CROSSCC,false) ;;
910       *) CROSSCC=$with_mingw ;;
911     esac
912     if test "$CROSSCC" != "false"
913     then
914         ac_save_CC="$CC"
915         saved_CFLAGS=$CFLAGS
916         saved_LDFLAGS=$LDFLAGS
917         AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-"-g -O2"})
918         AC_SUBST(EXTRACROSSCFLAGS,"-D__WINE_PE_BUILD -Wall")
919         AC_SUBST(CROSSLDFLAGS)
921         CC="$CROSSCC"
922         CFLAGS=$CROSSCFLAGS
923         LDFLAGS=$CROSSLDFLAGS
924         AC_CACHE_CHECK([whether $CROSSCC works], wine_cv_crosscc,
925             [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[wine_cv_crosscc=yes],[wine_cv_crosscc=no])])
926         if test $wine_cv_crosscc = yes
927         then
928             set x $CROSSCC
929             shift
930             while test $# -ge 1
931             do
932                 case "$1" in
933                     *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
934                     *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
935                 esac
936                 shift
937             done
939             dnl Check if cross compiler supports -target argument
940             llvm_target=$CROSSTARGET
941             llvm_cflags="-fuse-ld=lld"
942             if test -z "$llvm_target"
943             then
944                 case $host_cpu in
945                 *i[[3456789]]86*) llvm_target=i686-windows ;;
946                 *) llvm_target=$host_cpu-windows ;;
947                 esac
948             fi
949             case $llvm_target in
950             *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
951             esac
952             WINE_TRY_CROSSCFLAGS([-target $llvm_target $llvm_cflags],
953                                  [CROSSTARGET=$llvm_target
954                                   EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
955                                   AC_SUBST(DELAYLOADFLAG,["-Wl,-delayload,"])
956                                   CFLAGS="$CFLAGS $llvm_cflags"])
957         fi
958         WINE_TRY_CROSSCFLAGS([-fno-strict-aliasing])
959         dnl clang needs to be told to fail on unknown options
960         WINE_TRY_CROSSCFLAGS([-Werror=unknown-warning-option],[CFLAGS="$CFLAGS -Werror=unknown-warning-option"])
961         WINE_TRY_CROSSCFLAGS([-Werror=ignored-optimization-argument],[CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"])
962         WINE_TRY_CROSSCFLAGS([-Wdeclaration-after-statement])
963         WINE_TRY_CROSSCFLAGS([-Wempty-body])
964         WINE_TRY_CROSSCFLAGS([-Wignored-qualifiers])
965         WINE_TRY_CROSSCFLAGS([-Winit-self])
966         WINE_TRY_CROSSCFLAGS([-Wpacked-not-aligned],[EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"])
967         WINE_TRY_CROSSCFLAGS([-Wpragma-pack],[EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"])
968         WINE_TRY_CROSSCFLAGS([-Wshift-overflow=2])
969         WINE_TRY_CROSSCFLAGS([-Wstrict-prototypes])
970         WINE_TRY_CROSSCFLAGS([-Wtype-limits])
971         WINE_TRY_CROSSCFLAGS([-Wunused-but-set-parameter])
972         WINE_TRY_CROSSCFLAGS([-Wvla])
973         WINE_TRY_CROSSCFLAGS([-Wwrite-strings])
974         WINE_TRY_CROSSCFLAGS([-Wpointer-arith])
975         WINE_TRY_CROSSCFLAGS([-Wlogical-op])
976         WINE_TRY_CROSSCFLAGS([-Wabsolute-value])
978         case $host_cpu in
979           *i[[3456789]]86*) WINE_TRY_CROSSCFLAGS([-fno-omit-frame-pointer]) ;;
980           x86_64) WINE_TRY_CROSSCFLAGS([-Wno-format])
981                   WINE_TRY_CROSSCFLAGS([-Wformat-overflow])
982                   WINE_TRY_CROSSCFLAGS([-Wnonnull])
983                   WINE_TRY_CROSSCFLAGS([-mcx16]) ;;
984           aarch64) WINE_TRY_CROSSCFLAGS([-Wno-format]) ;;
985         esac
987         dnl Determine debug info format
988         AC_SUBST(CROSSDEBUG)
989         if test -z "$CROSSDEBUG"
990         then
991           for ac_flag in $CROSSCFLAGS; do
992             case $ac_flag in
993              -gdwarf*)    CROSSDEBUG=dwarf ;;
994              -gcodeview)  CROSSDEBUG=pdb ;;
995              -g)          CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
996             esac
997           done
998         fi
1000         ac_debug_format_seen=""
1001         for ac_flag in $CROSSCFLAGS; do
1002           case $ac_flag in
1003            -gdwarf*|-gcodeview)  ac_debug_format_seen=$ac_flag ;;
1004           esac
1005         done
1006         if test "x$ac_debug_format_seen" = x
1007         then
1008           case $CROSSDEBUG in
1009             *dwarf)  WINE_TRY_CROSSCFLAGS([-gdwarf-4]) ;;
1010             pdb)     WINE_TRY_CROSSCFLAGS([-gcodeview]) ;;
1011           esac
1012         fi
1014         WINE_TRY_CROSSCFLAGS([-fexcess-precision=standard],[AC_SUBST(EXCESS_PRECISION_CFLAGS,"-fexcess-precision=standard")])
1016         if test "x$enable_werror" = "xyes"
1017         then
1018             WINE_TRY_CROSSCFLAGS([-Werror])
1019         fi
1020         if test "x$enable_build_id" = "xyes"
1021         then
1022             WINE_TRY_CROSSCFLAGS([-Wl,--build-id], [CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
1023                             CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"])
1024         fi
1026         CFLAGS=$saved_CFLAGS
1027         LDFLAGS=$saved_LDFLAGS
1028         CC="$ac_save_CC"
1029     fi
1031 WINE_NOTICE_WITH(mingw,[test "x$CROSSTARGET" = "x"],
1032                  [MinGW compiler not found, cross-compiling PE files won't be supported.])
1034 dnl **** External libraries ****
1036 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
1037 then
1038     WINE_MINGW_PACKAGE_FLAGS(FAUDIO,[FAudio],[-lFAudio],
1039         [WINE_CHECK_MINGW_HEADER(FAudio.h,
1040             [WINE_CHECK_MINGW_LIB(FAudio,FAudio_CommitOperationSet,[:],[FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""],[$FAUDIO_PE_LIBS])],
1041             [FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""])])
1042     if test "x$FAUDIO_PE_LIBS" = "x"
1043     then
1044         WINE_NOTICE([FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version.])
1045     fi
1047     WINE_MINGW_PACKAGE_FLAGS(JPEG,[libjpeg],,
1048         [WINE_CHECK_MINGW_HEADER(jpeglib.h,
1049             [WINE_CHECK_MINGW_LIB(jpeg,jpeg_start_decompress,[:],[JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""],[$JPEG_PE_LIBS])],
1050             [JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""],
1051             [#include <stddef.h>
1052              #include <stdio.h>])])
1053     if test "x$JPEG_PE_LIBS" = "x"
1054     then
1055         WINE_NOTICE([libjpeg ${notice_platform}MinGW development files not found; using bundled version.])
1056     fi
1058     WINE_MINGW_PACKAGE_FLAGS(LCMS2,[lcms2],[-llcms2],
1059         [WINE_CHECK_MINGW_HEADER(lcms2.h,
1060             [WINE_CHECK_MINGW_LIB(lcms2,cmsOpenProfileFromFile,[:],[LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""],[$LCMS2_PE_LIBS])],
1061             [LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""])])
1062     if test "x$LCMS2_PE_LIBS" = "x"
1063     then
1064         WINE_NOTICE([liblcms2 ${notice_platform}MinGW development files not found; using bundled version.])
1065     fi
1067     WINE_MINGW_PACKAGE_FLAGS(MPG123,[libmpg123],[-lmpg123],
1068         [WINE_CHECK_MINGW_HEADER(mpg123.h,
1069             [WINE_CHECK_MINGW_LIB(mpg123,mpg123_feed,[:],[MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""],[$MPG123_PE_LIBS])],
1070             [MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""])])
1071     if test "x$MPG123_PE_LIBS" = "x"
1072     then
1073         WINE_NOTICE([libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version.])
1074     fi
1076     WINE_MINGW_PACKAGE_FLAGS(PNG,[libpng],,
1077         [WINE_CHECK_MINGW_HEADER(png.h,
1078             [WINE_CHECK_MINGW_LIB(png,png_create_read_struct,[:],[PNG_PE_CFLAGS=""; PNG_PE_LIBS=""],[$PNG_PE_LIBS])],
1079             [PNG_PE_CFLAGS=""; PNG_PE_LIBS=""])])
1080     if test "x$PNG_PE_LIBS" = "x"
1081     then
1082         WINE_NOTICE([libpng ${notice_platform}MinGW development files not found; using bundled version.])
1083     fi
1085     WINE_MINGW_PACKAGE_FLAGS(TIFF,[libtiff-4],,
1086         [WINE_CHECK_MINGW_HEADER(tiffio.h,
1087             [WINE_CHECK_MINGW_LIB(tiff,TIFFClientOpen,[:],[TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""],[$TIFF_PE_LIBS])],
1088             [TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""])])
1089     if test "x$TIFF_PE_LIBS" = "x"
1090     then
1091         WINE_NOTICE([libtiff ${notice_platform}MinGW development files not found; using bundled version.])
1092     fi
1094     WINE_MINGW_PACKAGE_FLAGS(XML2,[libxml-2.0],[-lxml2],
1095         [WINE_CHECK_MINGW_HEADER(libxml/parser.h)
1096         WINE_CHECK_MINGW_HEADER(libxml/xmlsave.h)
1097         WINE_CHECK_MINGW_HEADER(libxml/SAX2.h)
1098         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"
1099         then
1100             WINE_CHECK_MINGW_LIB(xml2,xmlFirstElementChild,[:],[XML2_PE_CFLAGS=""; XML2_PE_LIBS=""],[$XML2_PE_LIBS])
1101         else
1102             XML2_PE_CFLAGS=""
1103             XML2_PE_LIBS=""
1104         fi])
1105     if test "x$XML2_PE_LIBS" = "x"
1106     then
1107         WINE_NOTICE([libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version.])
1108     fi
1110     WINE_MINGW_PACKAGE_FLAGS(XSLT,[libxslt],[-lxslt],
1111         [WINE_CHECK_MINGW_HEADER(libxslt/pattern.h)
1112         WINE_CHECK_MINGW_HEADER(libxslt/transform.h)
1113         if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
1114         then
1115             WINE_CHECK_MINGW_LIB(xslt,xsltCompilePattern,[:],[XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""],[$XSLT_PE_LIBS])
1116         else
1117             XSLT_PE_CFLAGS=""
1118             XSLT_PE_LIBS=""
1119         fi])
1120     if test "x$XSLT_PE_LIBS" = "x"
1121     then
1122         WINE_NOTICE([libxslt ${notice_platform}MinGW development files not found; using bundled version.])
1123     fi
1125     WINE_MINGW_PACKAGE_FLAGS(ZLIB,[zlib],[-lz],
1126         [WINE_CHECK_MINGW_HEADER(zlib.h,
1127             [WINE_CHECK_MINGW_LIB(z,inflate,[:],[ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""],[$ZLIB_PE_LIBS])],
1128             [ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""])])
1129     if test "x$ZLIB_PE_LIBS" = "x"
1130     then
1131         WINE_NOTICE([zlib ${notice_platform}MinGW development files not found; using bundled version.])
1132     fi
1135 WINE_EXTLIB_FLAGS(FAUDIO, faudio, "faudio mfplat mfreadwrite mfuuid propsys", "-I\$(top_srcdir)/libs/faudio/include")
1136 WINE_EXTLIB_FLAGS(GSM, gsm, gsm, "-I\$(top_srcdir)/libs/gsm/inc")
1137 WINE_EXTLIB_FLAGS(JPEG, jpeg, jpeg, "-I\$(top_srcdir)/libs/jpeg")
1138 WINE_EXTLIB_FLAGS(JXR, jxr, jxr, "-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys")
1139 WINE_EXTLIB_FLAGS(LCMS2, lcms2, lcms2, "-I\$(top_srcdir)/libs/lcms2/include")
1140 WINE_EXTLIB_FLAGS(MPG123, mpg123, mpg123, "-I\$(top_srcdir)/libs/mpg123/src/libmpg123")
1141 WINE_EXTLIB_FLAGS(PNG, png, "png \$(ZLIB_PE_LIBS)", "-I\$(top_srcdir)/libs/png")
1142 WINE_EXTLIB_FLAGS(TIFF, tiff, tiff, "-I\$(top_srcdir)/libs/tiff/libtiff")
1143 WINE_EXTLIB_FLAGS(XML2, xml2, xml2, "-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC")
1144 WINE_EXTLIB_FLAGS(XSLT, xslt, xslt, "-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC")
1145 WINE_EXTLIB_FLAGS(ZLIB, zlib, z, "-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO")
1147 dnl **** Check for pthread ****
1149 if test "$ac_cv_header_pthread_h" = "yes"
1150 then
1151     AC_CHECK_FUNC(pthread_create,,[AC_CHECK_LIB(pthread,pthread_create,[AC_SUBST(PTHREAD_LIBS,"-lpthread")])])
1153 WINE_ERROR_WITH(pthread,[test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x],
1154 [pthread ${notice_platform}development files not found.
1155 Wine cannot support threads without libpthread.])
1157 dnl **** Check for X11 ****
1159 AC_PATH_XTRA
1161 if test "$have_x" = "yes"
1162 then
1163     ac_save_CPPFLAGS="$CPPFLAGS"
1164     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
1166     WINE_CHECK_SONAME(X11,XCreateWindow,,,[$X_LIBS $X_EXTRA_LIBS])
1167     WINE_CHECK_SONAME(Xext,XextCreateExtension,[X_LIBS="$X_LIBS -lXext"],,[$X_LIBS -lX11 $X_EXTRA_LIBS])
1168     X_LIBS="$X_LIBS -lX11"
1170     dnl *** All of the following tests require X11/Xlib.h
1171     AC_CHECK_HEADERS([X11/Xlib.h \
1172                       X11/XKBlib.h \
1173                       X11/Xutil.h \
1174                       X11/Xcursor/Xcursor.h \
1175                       X11/extensions/shape.h \
1176                       X11/extensions/XInput.h \
1177                       X11/extensions/XInput2.h \
1178                       X11/extensions/XShm.h \
1179                       X11/extensions/Xcomposite.h \
1180                       X11/extensions/Xfixes.h \
1181                       X11/extensions/Xinerama.h \
1182                       X11/extensions/Xrandr.h \
1183                       X11/extensions/Xrender.h \
1184                       X11/extensions/xf86vmode.h \
1185                       X11/extensions/xf86vmproto.h],,,
1186 [#ifdef HAVE_X11_XLIB_H
1187 # include <X11/Xlib.h>
1188 #endif
1189 #ifdef HAVE_X11_XUTIL_H
1190 # include <X11/Xutil.h>
1191 #endif])
1193         dnl *** Check for X keyboard extension
1194         if test "$ac_cv_header_X11_XKBlib_h" = "yes"
1195         then
1196               AC_CHECK_LIB(X11, XkbQueryExtension,
1197               AC_DEFINE(HAVE_XKB, 1, [Define if you have the XKB extension]),,[$X_LIBS $X_EXTRA_LIBS])
1198         fi
1200         dnl *** Check for X cursor
1201         if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
1202         then
1203             WINE_CHECK_SONAME(Xcursor,XcursorImageLoadCursor,,,[$X_LIBS $X_EXTRA_LIBS])
1204         fi
1205         WINE_NOTICE_WITH(xcursor,[test "x$ac_cv_lib_soname_Xcursor" = "x"],
1206                          [libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.])
1208         dnl *** Check for X input extension
1209         if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
1210         then
1211             WINE_CHECK_SONAME(Xi,XOpenDevice,,,[$X_LIBS $X_EXTRA_LIBS])
1212         fi
1213         WINE_NOTICE_WITH(xinput,[test "x$ac_cv_lib_soname_Xi" = "x"],
1214                          [libxi ${notice_platform}development files not found, the Xinput extension won't be supported.])
1216         dnl *** Check for X input 2 extension
1217         if test "x$ac_cv_lib_soname_Xi" != x
1218         then
1219             WINE_NOTICE_WITH(xinput2,[test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"],
1220                              [XInput2 headers not found, the XInput 2 extension won't be supported.])
1221         fi
1223         dnl *** Check for X Shm extension
1224         if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
1225         then
1226               AC_CHECK_LIB(Xext, XShmQueryExtension,
1227               AC_DEFINE(HAVE_LIBXXSHM, 1, [Define if you have the X Shm extension]),,[$X_LIBS $X_EXTRA_LIBS])
1228         fi
1229         WINE_NOTICE_WITH(xshm,[test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"],
1230                          [XShm ${notice_platform}development files not found, X Shared Memory won't be supported.])
1232         dnl *** Check for X shape extension
1233         if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
1234         then
1235               AC_CHECK_LIB(Xext,XShapeQueryExtension,
1236               AC_DEFINE(HAVE_LIBXSHAPE, 1, [Define if you have the X Shape extension]),,[$X_LIBS $X_EXTRA_LIBS])
1237         fi
1238         WINE_NOTICE_WITH(xshape,[test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"],
1239                          [XShape ${notice_platform}development files not found, XShape won't be supported.])
1241         dnl *** Check for XFree86 VMODE extension
1242         if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
1243         then
1244             WINE_CHECK_SONAME(Xxf86vm,XF86VidModeQueryExtension,,,[$X_LIBS $X_EXTRA_LIBS])
1245         fi
1246         WINE_NOTICE_WITH(xxf86vm,[test "x$ac_cv_lib_soname_Xxf86vm" = "x"],
1247                          [libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.])
1249         dnl *** Check for Transform functions in Xrender
1250         if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
1251         then
1252             WINE_CHECK_SONAME(Xrender,XRenderQueryExtension,
1253               [AC_CHECK_LIB(Xrender,XRenderSetPictureTransform,
1254                 [AC_DEFINE(HAVE_XRENDERSETPICTURETRANSFORM, 1,
1255                  [Define if Xrender has the XRenderSetPictureTransform function])],,[$X_LIBS $X_EXTRA_LIBS])
1256                AC_CHECK_LIB(Xrender,XRenderCreateLinearGradient,
1257                 [AC_DEFINE(HAVE_XRENDERCREATELINEARGRADIENT, 1,
1258                  [Define if Xrender has the XRenderCreateLinearGradient function])],,[$X_LIBS $X_EXTRA_LIBS])],,[$X_LIBS $X_EXTRA_LIBS])
1260         fi
1261         WINE_WARNING_WITH(xrender,[test "x$ac_cv_lib_soname_Xrender" = "x"],
1262                          [libxrender ${notice_platform}development files not found, XRender won't be supported.])
1264         dnl *** Check for X RandR extension
1265         if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
1266         then
1267                 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
1268 #include <X11/extensions/Xrandr.h>]], [[static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;]])],
1269                   [WINE_CHECK_SONAME(Xrandr,XRRQueryExtension,
1270                     [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
1271 #include <X11/extensions/Xrandr.h>]], [[static typeof(XRRGetProviderResources) *f; if (f) return 0;]])],
1272                       [AC_DEFINE(HAVE_XRRGETPROVIDERRESOURCES, 1,
1273                         [Define if Xrandr has the XRRGetProviderResources function])],
1274                       [WINE_NOTICE([libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported.])])],,[$X_LIBS $X_EXTRA_LIBS])])
1275         fi
1276         WINE_NOTICE_WITH(xrandr,[test "x$ac_cv_lib_soname_Xrandr" = "x"],
1277                          [libxrandr ${notice_platform}development files not found, XRandr won't be supported.])
1279         dnl *** Check for Xfixes extension
1280         if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
1281         then
1282                 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
1283 #include <X11/extensions/Xfixes.h>]], [[static typeof(XFixesQueryVersion) * func; if (func) return 0;]])],
1284                   [WINE_CHECK_SONAME(Xfixes,XFixesQueryVersion,,,[$X_LIBS $X_EXTRA_LIBS])])
1285         fi
1286         WINE_NOTICE_WITH(xfixes,[test "x$ac_cv_lib_soname_Xfixes" = "x"],
1287                          [libxfixes ${notice_platform}development files not found, Xfixes won't be supported.])
1289         dnl *** Check for Xinerama extension
1290         if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
1291         then
1292                 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>
1293 #include <X11/extensions/Xinerama.h>]], [[static typeof(XineramaQueryScreens) * func; if (func) return 0;]])],
1294                   [WINE_CHECK_SONAME(Xinerama,XineramaQueryScreens,,,[$X_LIBS $X_EXTRA_LIBS])])
1295         fi
1296         WINE_NOTICE_WITH(xinerama,[test "x$ac_cv_lib_soname_Xinerama" = "x"],
1297                          [libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.])
1299         dnl *** Check for X Composite extension
1300         if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
1301         then
1302             WINE_CHECK_SONAME(Xcomposite,XCompositeRedirectWindow,,,[$X_LIBS $X_EXTRA_LIBS])
1303         fi
1304         WINE_NOTICE_WITH(xcomposite,[test "x$ac_cv_lib_soname_Xcomposite" = "x"],
1305                          [libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.])
1307         dnl *** Check for XICCallback struct
1308         AC_CHECK_MEMBERS([XICCallback.callback, XEvent.xcookie],,,
1309 [#ifdef HAVE_X11_XLIB_H
1310 #include <X11/Xlib.h>
1311 #endif])
1313     dnl *** End of X11/Xlib.h check
1315     dnl Check for the presence of OpenGL
1316     opengl_msg=""
1317     if test "x$with_opengl" != "xno"
1318     then
1319         WINE_CHECK_SONAME(GL,glXCreateContext,
1320                      [OPENGL_LIBS="-lGL"],
1321                      [WINE_CHECK_SONAME(GL,glXCreateContext,
1322                             [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"],
1323                             [if test -f /usr/X11R6/lib/libGL.a
1324                             then
1325                                 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
1326 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
1327                             else
1328                                 opengl_msg="No OpenGL library found on this system."
1329                             fi],
1330                             $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)],
1331                      $X_LIBS -lm $X_EXTRA_LIBS)
1332         if test "x$with_osmesa" != "xno"
1333         then
1334             WINE_CHECK_SONAME(OSMesa,OSMesaGetProcAddress,,,[$X_LIBS -lm $X_EXTRA_LIBS])
1335             WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
1336                              [libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
1337         fi
1338     fi
1339     WINE_WARNING_WITH(opengl,[test -n "$opengl_msg"],[$opengl_msg
1340 OpenGL and Direct3D won't be supported.])
1342     CPPFLAGS="$ac_save_CPPFLAGS"
1343 else
1344     X_CFLAGS=""
1345     X_LIBS=""
1348 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
1349 then
1350     WINE_ERROR_WITH(x,[test "x$X_LIBS" = "x"],
1351 [X ${notice_platform}development files not found. Wine will be built
1352 without X support, which probably isn't what you want. You will need
1353 to install ${notice_platform}development packages of Xlib at the very least.],
1354                     [enable_winex11_drv])
1355 else
1356     WINE_NOTICE_WITH(x,[test "x$X_LIBS" = "x"],
1357                      [X ${notice_platform}development files not found, the X11 driver won't be supported.],
1358                      [enable_winex11_drv])
1361 dnl **** Check for OpenCL ****
1362 if test "$ac_cv_header_CL_cl_h" = "yes"
1363 then
1364     AC_CHECK_LIB(OpenCL,clGetPlatformInfo,[AC_SUBST(OPENCL_LIBS,["-lOpenCL"])])
1366 WINE_NOTICE_WITH(opencl,[test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes],
1367                  [OpenCL ${notice_platform}development files not found, OpenCL won't be supported.],
1368                  [enable_opencl])
1370 dnl **** Check for libpcap ****
1371 if test "$ac_cv_header_pcap_pcap_h" = "yes"
1372 then
1373     AC_CHECK_LIB(pcap,pcap_create,[AC_SUBST(PCAP_LIBS,["-lpcap"])])
1375 WINE_NOTICE_WITH(pcap,[test "x$ac_cv_lib_pcap_pcap_create" != xyes],
1376                  [pcap ${notice_platform}development files not found, wpcap won't be supported.],
1377                  [enable_wpcap])
1379 dnl **** Check for inotify ****
1380 if test "x$with_inotify" != "xno"
1381 then
1382     WINE_PACKAGE_FLAGS(INOTIFY,[libinotify],,,,
1383         [AC_CHECK_HEADERS([sys/inotify.h])
1384          AC_CHECK_LIB(inotify,inotify_add_watch,[:],[INOTIFY_LIBS=""],[$INOTIFY_LIBS])])
1386 WINE_NOTICE_WITH(inotify,[test "$ac_cv_header_sys_inotify_h" != "yes"],
1387                  [libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.])
1389 dnl **** Check for libdbus ****
1390 if test "x$with_dbus" != "xno"
1391 then
1392     WINE_PACKAGE_FLAGS(DBUS,[dbus-1],,,,
1393         [AC_CHECK_HEADER([dbus/dbus.h],
1394             [WINE_CHECK_SONAME(dbus-1, dbus_connection_close,,[DBUS_CFLAGS=""],[$DBUS_LIBS])],
1395             [DBUS_CFLAGS=""])])
1397 WINE_NOTICE_WITH(dbus,[test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
1398                             "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"],
1399                  [libdbus ${notice_platform}development files not found, no dynamic device support.])
1401 dnl **** Check for libgnutls ****
1402 if test "x$with_gnutls" != "xno"
1403 then
1404     WINE_PACKAGE_FLAGS(GNUTLS,[gnutls],[-lgnutls],,,
1405         [AC_CHECK_HEADER(gnutls/gnutls.h,
1406             [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>
1407 #include <gnutls/crypto.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
1408                 [WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS],[[libgnutls\\(-deb0\\)\\{0,1\\}]])
1409                  WINE_CHECK_LIB_FUNCS(gnutls_cipher_init,[$GNUTLS_LIBS],,
1410                                       [WINE_NOTICE([libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported.])])])],
1411             [GNUTLS_CFLAGS=""])])
1413 WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
1414                  [libgnutls ${notice_platform}development files not found, no schannel support.])
1416 dnl **** Check for SANE ****
1417 if test "x$with_sane" != "xno"
1418 then
1419     WINE_PACKAGE_FLAGS(SANE,[sane-backends],,[`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`],[`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`],
1420         [AC_CHECK_HEADER(sane/sane.h,
1421             [AC_CHECK_LIB(sane,sane_init,[:],,[$SANE_LIBS])])])
1423 WINE_NOTICE_WITH(sane,[test "$ac_cv_lib_sane_sane_init" != "yes"],
1424                  [libsane ${notice_platform}development files not found, scanners won't be supported.],
1425                  [enable_sane_ds])
1427 dnl **** Check for libusb ****
1428 if test "x$with_usb" != "xno"
1429 then
1430     WINE_PACKAGE_FLAGS(USB,[libusb-1.0],[-lusb-1.0],,,
1431         [AC_CHECK_HEADER([libusb.h],
1432             [AC_CHECK_LIB(usb-1.0,libusb_interrupt_event_handler,[:],[USB_LIBS=""],[$USB_LIBS])],
1433             [USB_LIBS=""])])
1435 WINE_NOTICE_WITH(usb,[test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"],
1436                  [libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.],
1437                  [enable_wineusb_sys])
1439 dnl **** Check for libv4l2 ****
1440 if test "x$with_v4l2" != "xno"
1441 then
1442     WINE_CHECK_SONAME(v4l2,v4l2_open)
1444 WINE_NOTICE_WITH(v4l2,[test "x$ac_cv_lib_soname_v4l2" = "x"],
1445                  [libv4l2 ${notice_platform}development files not found.])
1447 dnl **** Check for libgphoto2 ****
1448 if test "x$with_gphoto" != "xno"
1449 then
1450     WINE_PACKAGE_FLAGS(GPHOTO2,[libgphoto2],[-lgphoto2],
1451                        [`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`],[`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`],
1452         [AC_CHECK_HEADER(gphoto2-camera.h,
1453                         [AC_CHECK_LIB(gphoto2,gp_camera_new,[:],,[$GPHOTO2_LIBS])])])
1454     WINE_PACKAGE_FLAGS(GPHOTO2_PORT,[libgphoto2_port],[-lgphoto2_port],
1455                        [`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`],
1456                        [`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`],
1457         [AC_CHECK_HEADER(gphoto2-port.h,
1458                         [AC_CHECK_LIB(gphoto2_port,gp_port_info_list_new,
1459                                       [AC_DEFINE(HAVE_GPHOTO2_PORT, 1, [Define if we have the libgphoto2_port development environment])],
1460                                       [GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""],
1461                                       [$GPHOTO2_PORT_LIBS])],
1462                         [GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""])])
1464 WINE_NOTICE_WITH(gphoto,[test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"],
1465                  [libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.],
1466                  [enable_gphoto2_ds])
1467 WINE_NOTICE_WITH(gphoto,[test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"],
1468                  [libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.])
1471 dnl **** Check for resolver library ***
1472 if test "$ac_cv_header_resolv_h" = "yes"
1473 then
1474     AC_CACHE_CHECK([for resolver library], ac_cv_have_resolv,
1475       [ac_save_LIBS="$LIBS"
1476        for lib in '' -lresolv
1477        do
1478          LIBS="$lib $ac_save_LIBS"
1479          AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_NETINET_IN_H
1480 #include <netinet/in.h>
1481 #endif
1482 #include <resolv.h>]],[[if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)]])],
1483            [ac_cv_have_resolv=${lib:-"none required"}],[ac_cv_have_resolv="not found"])
1484          test "x$ac_cv_have_resolv" = "xnot found" || break
1485        done
1486        LIBS="$ac_save_LIBS"])
1488     case "$ac_cv_have_resolv" in
1489       "not found") ;;
1490       "none required")
1491         AC_DEFINE(HAVE_RESOLV, 1, [Define if you have the resolver library and header]) ;;
1492       *)
1493         AC_DEFINE(HAVE_RESOLV, 1)
1494         AC_SUBST(RESOLV_LIBS,$ac_cv_have_resolv) ;;
1495     esac
1497     if test "x$ac_cv_have_resolv" != "xnot found"
1498     then
1499         AC_CACHE_CHECK([for res_getservers], ac_cv_have_res_getservers,
1500                        [ac_save_LIBS="$LIBS"
1501                         LIBS="$RESOLV_LIBS $LIBS"
1502                         AC_LINK_IFELSE([AC_LANG_PROGRAM(
1503         [[#include <resolv.h>]],[[res_getservers(NULL, NULL, 0);]])],[ac_cv_have_res_getservers=yes],[ac_cv_have_res_getservers=no])
1504                          LIBS="$ac_save_LIBS"])
1505         if test "$ac_cv_have_res_getservers" = "yes"
1506         then
1507           AC_DEFINE(HAVE_RES_GETSERVERS, 1, [Define to 1 if you have the `res_getservers' function.])
1508         fi
1509     fi
1512 dnl **** Check for FreeType 2 ****
1513 if test "x$with_freetype" != "xno"
1514 then
1515     WINE_PACKAGE_FLAGS(FREETYPE,[freetype2],[-lfreetype],
1516                        [`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`],
1517                        [`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`],
1518         [AC_CHECK_HEADERS([ft2build.h])
1519         if test "$ac_cv_header_ft2build_h" = "yes"
1520         then
1521             WINE_CHECK_SONAME(freetype,FT_Init_FreeType,
1522                 [AC_DEFINE(HAVE_FREETYPE, 1, [Define if FreeType 2 is installed])
1523                  AC_CHECK_TYPES(FT_TrueTypeEngineType,,,[#include <ft2build.h>
1524 #include FT_MODULE_H])],
1525                 [FREETYPE_LIBS=""],[$FREETYPE_LIBS])
1526         else
1527             FREETYPE_CFLAGS=""
1528             FREETYPE_LIBS=""
1529         fi])
1531 WINE_ERROR_WITH(freetype,[test "x$ac_cv_lib_soname_freetype" = x],
1532                 [FreeType ${notice_platform}development files not found. Fonts will not be built.],
1533                 [enable_fonts])
1535 dnl **** Check for pthread functions ****
1536 WINE_CHECK_LIB_FUNCS(\
1537         pthread_getthreadid_np,
1538         [$PTHREAD_LIBS])
1540 dnl **** Check for gettextpo ****
1541 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
1542 then
1543     if test "$ac_cv_header_gettext_po_h" = "yes"
1544     then
1545         AC_CHECK_LIB(gettextpo,po_message_msgctxt,
1546                      [AC_DEFINE(HAVE_LIBGETTEXTPO,1,[Define to 1 if you have the `gettextpo' library (-lgettextpo).])
1547                       AC_SUBST(GETTEXTPO_LIBS,"-lgettextpo")])
1548     fi
1549     WINE_NOTICE_WITH(gettextpo,[test "x$GETTEXTPO_LIBS" = "x"],
1550       [GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.])
1551     WINE_NOTICE_WITH(gettextpo,[test "$srcdir" != .],
1552       [Rebuilding po files is not supported for out of tree builds.])
1555 dnl **** Check for PulseAudio ****
1556 if test "x$with_pulse" != "xno";
1557 then
1558     WINE_PACKAGE_FLAGS(PULSE,[libpulse],,,,
1559         [AC_CHECK_HEADERS(pulse/pulseaudio.h,
1560             [AC_CHECK_LIB(pulse, pa_stream_is_corked,[:],[PULSE_LIBS=""],[$PULSE_LIBS])],
1561             [PULSE_LIBS=""])])
1563 WINE_NOTICE_WITH(pulse, [test -z "$PULSE_LIBS"],
1564         [libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.],
1565         [enable_winepulse_drv])
1567 dnl **** Check for gstreamer ****
1568 if test "x$with_gstreamer" != "xno"
1569 then
1570     WINE_PACKAGE_FLAGS(GSTREAMER,[gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0],,,,
1571         [AC_CHECK_HEADER([gst/gst.h],
1572             [AC_MSG_CHECKING([whether gint64 defined by gst/gst.h is indeed 64-bit])
1573               AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gst/gst.h>]],
1574                                                  [[static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;]])],
1575                 [AC_MSG_RESULT([yes])
1576                  AC_CHECK_LIB(gstreamer-1.0,gst_pad_new,[:],,[$GSTREAMER_LIBS])],
1577                 [AC_MSG_RESULT([no])
1578                  ac_glib2_broken=yes
1579                  WINE_NOTICE([glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built.])])])])
1581 WINE_NOTICE_WITH(gstreamer,[test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes],
1582                  [gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.],
1583                  [enable_winegstreamer])
1585 dnl **** Check for ALSA 1.x ****
1586 AC_SUBST(ALSA_LIBS,"")
1587 if test "x$with_alsa" != "xno"
1588 then
1589     AC_CHECK_LIB(asound,snd_pcm_hw_params_get_access_mask,
1590         [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <alsa/asoundlib.h>]], [[snd_pcm_hw_params_get_access_mask(NULL, NULL)]])],
1591                         [ALSA_LIBS="-lasound"])])
1593 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
1595 dnl **** Check for OSSv4 ****
1596 if test "x$with_oss" != xno
1597 then
1598     ac_save_CPPFLAGS="$CPPFLAGS"
1599     if test -f /etc/oss.conf
1600     then
1601         . /etc/oss.conf
1602     fi
1603     ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
1604     CPPFLAGS="$CPPFLAGS $ac_oss_incl"
1605     AC_CHECK_HEADER([sys/soundcard.h],
1606         [AC_CHECK_MEMBERS([oss_sysinfo.numaudioengines],
1607             [AC_SUBST(OSS4_CFLAGS,"$ac_oss_incl")
1608              AC_CHECK_LIB(ossaudio,_oss_ioctl,
1609                  [AC_SUBST(OSS4_LIBS,"-lossaudio")])],,
1610             [#include <sys/soundcard.h>])])
1611     CPPFLAGS="$ac_save_CPPFLAGS"
1613 WINE_NOTICE_WITH(oss,[test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes],
1614                  [OSS sound system found but too old (OSSv4 needed), OSS won't be supported.],
1615                  [enable_wineoss_drv])
1617 dnl **** Check for libudev ****
1618 if test "x$with_udev" != "xno"
1619 then
1620     WINE_PACKAGE_FLAGS(UDEV,[libudev],[-ludev],,,
1621         [AC_CHECK_HEADERS(libudev.h,
1622             [AC_CHECK_LIB(udev,udev_new,
1623                 AC_DEFINE(HAVE_UDEV,1,[Define to 1 if you have the `udev' library (-ludev).]),
1624                 [UDEV_LIBS=""],[$UDEV_LIBS])],
1625             [UDEV_LIBS=""])])
1627 WINE_NOTICE_WITH(udev,[test "x$UDEV_LIBS" = "x"],
1628                  [libudev ${notice_platform}development files not found, plug and play won't be supported.])
1630 dnl **** Check for libunwind ****
1631 if test "x$with_unwind" != xno
1632 then
1633     WINE_PACKAGE_FLAGS(UNWIND,[libunwind],[-lunwind],,,
1634        [AC_CACHE_CHECK([for unw_step],wine_cv_have_unw_step,
1635            [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY
1636 #include <libunwind.h>]],
1637                 [[unw_cursor_t cursor; unw_step( &cursor );]])],
1638                 [wine_cv_have_unw_step="yes"],[wine_cv_have_unw_step="no"])])
1639         if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
1640         then
1641             save_libs=$LIBS
1642             dnl Force static libgcc, libunwind breaks libgcc_s unwinding
1643             UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
1644             LIBS="$UNWIND_LIBS $LIBS"
1645             AC_CACHE_CHECK([for unw_step in libunwind],wine_cv_have_libunwind_unw_step,
1646                [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY
1647 #include <libunwind.h>]],
1648                     [[unw_cursor_t cursor; unw_step( &cursor );]])],
1649                     [wine_cv_have_libunwind_unw_step="yes"],
1650                     [wine_cv_have_libunwind_unw_step="no"])])
1651             LIBS=$save_libs
1652         fi
1653         test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
1654         if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
1655         then
1656             AC_DEFINE(HAVE_LIBUNWIND,1,[Define to 1 if you have the `unwind' library (-lunwind).])
1657         fi])
1659 case $host in
1660   aarch64*|*-darwin*)
1661     WINE_NOTICE_WITH(unwind,[test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono],
1662                      [libunwind ${notice_platform}development files not found, stack unwinding won't work.]) ;;
1663 esac
1665 dnl **** Check for libSDL2 ****
1666 if test "x$with_sdl" != "xno"
1667 then
1668     WINE_PACKAGE_FLAGS(SDL2,[sdl2],[-lSDL2],,,
1669         [AC_CHECK_HEADERS([SDL.h],
1670             [WINE_CHECK_SONAME(SDL2,SDL_Init,,,[$SDL2_LIBS],[[libSDL2-2.0*]])])])
1672 WINE_NOTICE_WITH(sdl,[test "x$ac_cv_lib_soname_SDL2" = "x"],
1673                  [libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.])
1675 dnl **** Check for capi4linux ****
1676 if test "x$with_capi" != "xno"
1677 then
1678     WINE_PACKAGE_FLAGS(CAPI20,[capi20],,,,
1679      dnl Check for broken kernel header that doesn't define __user
1680     [AC_CHECK_HEADERS([capi20.h linux/capi.h],,,[#define __user])
1681     if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
1682     then
1683         AC_CHECK_LIB(capi20,capi20_register,[:],[CAPI20_LIBS=""],[$CAPI20_LIBS])
1684     fi])
1686 WINE_NOTICE_WITH(capi,[test "x$ac_cv_lib_capi20_capi20_register" = "x"],
1687                  [libcapi20 ${notice_platform}development files not found, ISDN won't be supported.],
1688                  [enable_capi2032])
1690 dnl **** Check for cups ****
1691 if test "x$with_cups" != "xno"
1692 then
1693     WINE_PACKAGE_FLAGS(CUPS,[cups],[-lcups],
1694                        [`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`],
1695                        [`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`],
1696                        [AC_CHECK_HEADERS(cups/cups.h cups/ppd.h)
1697                         if test "$ac_cv_header_cups_cups_h" = "yes"
1698                         then
1699                             WINE_CHECK_SONAME(cups,cupsGetDefault,,[CUPS_LIBS=""],[$CUPS_LIBS])
1700                         else
1701                             CUPS_CFLAGS=""
1702                             CUPS_LIBS=""
1703                         fi])
1705 WINE_NOTICE_WITH(cups,[test "x$ac_cv_lib_soname_cups" = "x"],
1706                  [libcups ${notice_platform}development files not found, CUPS won't be supported.])
1708 dnl **** Check for fontconfig ****
1709 if test "x$with_fontconfig" != "xno"
1710 then
1711     WINE_PACKAGE_FLAGS(FONTCONFIG,[fontconfig],,[$X_CFLAGS],[$X_LIBS],
1712         [AC_CHECK_HEADERS([fontconfig/fontconfig.h])
1713         if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
1714         then
1715             WINE_CHECK_SONAME(fontconfig,FcInit,,[FONTCONFIG_CFLAGS=""],[$FONTCONFIG_LIBS])
1716         else
1717             FONTCONFIG_CFLAGS=""
1718         fi])
1720 WINE_NOTICE_WITH(fontconfig,[test "x$ac_cv_lib_soname_fontconfig" = "x"],
1721                  [fontconfig ${notice_platform}development files not found, fontconfig won't be supported.])
1723 dnl **** Check for krb5 ****
1724 if test "x$with_krb5" != "xno"
1725 then
1726     WINE_PACKAGE_FLAGS(KRB5,[krb5],,
1727                        [`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`],
1728                        [`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`],
1729         [AC_CHECK_HEADERS([krb5/krb5.h])
1730          if test "$ac_cv_header_krb5_krb5_h" = "yes"
1731          then
1732              WINE_CHECK_SONAME(krb5,krb5_is_config_principal,,[KRB5_CFLAGS=""],[$KRB5_LIBS])
1733          else
1734              KRB5_CFLAGS=""
1735          fi])
1737 WINE_NOTICE_WITH(krb5,[test "x$ac_cv_lib_soname_krb5" = "x"],
1738                  [libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.])
1739 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
1741 dnl **** Check for gssapi ****
1742 if test "x$with_gssapi" != "xno"
1743 then
1744     WINE_PACKAGE_FLAGS(GSSAPI,[krb5-gssapi],,
1745                        [`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`],
1746                        [`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`],
1747         [AC_CHECK_HEADERS([gssapi/gssapi.h gssapi/gssapi_ext.h])
1748         if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
1749         then
1750             WINE_CHECK_SONAME(gssapi_krb5, gss_init_sec_context,,[GSSAPI_CFLAGS=""],[$GSSAPI_LIBS])
1751         else
1752             GSSAPI_CFLAGS=""
1753         fi])
1755 WINE_NOTICE_WITH(gssapi,[test "x$ac_cv_lib_soname_gssapi_krb5" = "x"],
1756                  [libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.])
1758 dnl **** Check for OpenAL 1.1 ****
1759 if test "$ac_cv_header_AL_al_h" = "yes"
1760 then
1761     WINE_CHECK_SONAME(openal,alGetSource3i,[AC_SUBST(OPENAL_LIBS,"-lopenal")
1762                       ac_cv_lib_openal=yes
1763                       AC_DEFINE_UNQUOTED(HAVE_OPENAL,1,[Define to 1 if OpenAL is available])],,)
1765 WINE_NOTICE_WITH(openal,[test "x$ac_cv_lib_openal" != xyes],
1766                  [libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.],
1767                  [enable_openal32])
1769 dnl **** Check for libprocstat ****
1770 if test "$ac_cv_header_libprocstat_h" = "yes"
1771 then
1772     AC_CHECK_LIB(procstat,procstat_open_sysctl,
1773                  [AC_DEFINE(HAVE_LIBPROCSTAT, 1, [Define to 1 if you have the `procstat' library (-lprocstat).])
1774                   AC_SUBST(PROCSTAT_LIBS,"-lprocstat")])
1777 dnl **** Check for libodbc ****
1778 WINE_CHECK_SONAME(odbc,SQLConnect,,[AC_DEFINE_UNQUOTED(SONAME_LIBODBC,["libodbc.$LIBEXT"])])
1780 dnl **** Check for libnetapi ****
1781 if test "x$with_netapi" != "xno"
1782 then
1783     WINE_PACKAGE_FLAGS(NETAPI,[netapi],,,,
1784       [WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
1786 WINE_NOTICE_WITH(netapi,[test "x$ac_cv_lib_soname_netapi" = "x"],
1787                  [libnetapi not found, Samba NetAPI won't be supported.],
1788                  [enable_netapi])
1791 dnl **** Check for any sound system ****
1792 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
1793         "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
1794 then
1795     WINE_WARNING([No sound system was found. Windows applications will be silent.])
1798 dnl *** Check for Vulkan ***
1799 if test "x$with_vulkan" != "xno"
1800 then
1801     WINE_CHECK_SONAME(vulkan, vkGetInstanceProcAddr)
1802     if test "x$ac_cv_lib_soname_vulkan" = "x"
1803     then
1804         WINE_CHECK_SONAME(MoltenVK, vkGetInstanceProcAddr)
1805     fi
1807 WINE_NOTICE_WITH(vulkan,[test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"],
1808                  [libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.])
1810 dnl **** Check for vkd3d ****
1811 if test "x$with_vkd3d" != "xno"
1812 then
1813     WINE_PACKAGE_FLAGS(VKD3D,[libvkd3d],,,,
1814         [WINE_CHECK_SONAME(vkd3d,vkd3d_serialize_versioned_root_signature,,,[$VKD3D_LIBS])])
1815     WINE_PACKAGE_FLAGS(VKD3D_SHADER,[libvkd3d-shader],,,,
1816         [WINE_CHECK_SONAME(vkd3d-shader,vkd3d_shader_compile,,,[$VKD3D_SHADER_LIBS])])
1818 WINE_NOTICE_WITH(vkd3d,[test "x$ac_cv_lib_soname_vkd3d" = "x"],
1819                  [vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.])
1820 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
1822 dnl **** Check for gcc specific options ****
1824 if test "x${GCC}" = "xyes"
1825 then
1826   EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
1828   dnl Check for some compiler flags
1829   dnl clang needs to be told to fail on unknown options
1830   saved_CFLAGS=$CFLAGS
1831   WINE_TRY_CFLAGS([-Werror=unknown-warning-option],[CFLAGS="$CFLAGS -Werror=unknown-warning-option"])
1832   WINE_TRY_CFLAGS([-Werror=unused-command-line-argument],[CFLAGS="$CFLAGS -Werror=unused-command-line-argument"])
1833   WINE_TRY_CFLAGS([-Werror=ignored-optimization-argument],[CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"])
1834   WINE_TRY_CFLAGS([-fcf-protection=none])
1835   WINE_TRY_CFLAGS([-fno-stack-protector])
1836   WINE_TRY_CFLAGS([-fno-strict-aliasing])
1837   WINE_TRY_CFLAGS([-Wdeclaration-after-statement])
1838   WINE_TRY_CFLAGS([-Wempty-body])
1839   WINE_TRY_CFLAGS([-Wignored-qualifiers])
1840   WINE_TRY_CFLAGS([-Winit-self])
1841   WINE_TRY_CFLAGS([-Wpacked-not-aligned],[EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"])
1842   WINE_TRY_CFLAGS([-Wpragma-pack],[EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"])
1843   WINE_TRY_CFLAGS([-Wshift-overflow=2])
1844   WINE_TRY_CFLAGS([-Wstrict-prototypes])
1845   WINE_TRY_CFLAGS([-Wtype-limits])
1846   WINE_TRY_CFLAGS([-Wunused-but-set-parameter])
1847   WINE_TRY_CFLAGS([-Wvla])
1848   WINE_TRY_CFLAGS([-Wwrite-strings])
1850   if test -z "$CROSSTARGET"
1851   then
1852     WINE_TRY_CFLAGS([-fexcess-precision=standard],[AC_SUBST(EXCESS_PRECISION_CFLAGS,"-fexcess-precision=standard")])
1853   fi
1855   dnl Check for noisy string.h
1856   WINE_TRY_CFLAGS([-Wpointer-arith],
1857      [saved_string_h_CFLAGS=$CFLAGS
1858       CFLAGS="$CFLAGS -Wpointer-arith -Werror"
1859       AC_CACHE_CHECK([for broken string.h that generates warnings with -Wpointer-arith], ac_cv_c_string_h_warnings,
1860           AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]])],[ac_cv_c_string_h_warnings=no],[ac_cv_c_string_h_warnings=yes]))
1861       test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
1862       CFLAGS=$saved_string_h_CFLAGS])
1864   dnl Check for noisy string.h on logical ops
1865   WINE_TRY_CFLAGS([-Wlogical-op],
1866      [saved_string_h_CFLAGS=$CFLAGS
1867       CFLAGS="$CFLAGS -Wlogical-op -Werror"
1868       AC_CACHE_CHECK([for broken string.h that generates warnings with -Wlogical-op], ac_cv_c_logicalop_noisy,
1869           AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>
1870 char*f(const char *h,char n) {return strchr(h,n);}]])],[ac_cv_c_logicalop_noisy=no],[ac_cv_c_logicalop_noisy=yes]))
1871       CFLAGS=$saved_string_h_CFLAGS
1872       test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"])
1874   dnl Check for 64-bit compare-and-swap
1875   AC_CACHE_CHECK([for flags needed for 64-bit compare-and-swap support], wine_cv_64bit_compare_swap,
1876       [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
1877 #error no
1878 #endif]])],
1879           [wine_cv_64bit_compare_swap="none needed"],
1880           [case $host_cpu in
1881             *i[[3456]]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
1882             *arm*)         wine_cv_64bit_compare_swap="-march=armv7-a" ;;
1883             *)             wine_cv_64bit_compare_swap="unknown" ;;
1884            esac
1885            if test "x$wine_cv_64bit_compare_swap" != xunknown
1886            then
1887                dnl try with the new flags
1888                CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
1889                AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
1890 #error no
1891 #endif]])],,[wine_cv_64bit_compare_swap="unknown"])
1892                CFLAGS=$saved_CFLAGS
1893            fi])])
1894   case "$wine_cv_64bit_compare_swap" in
1895       unknown) AC_MSG_ERROR([gcc doesn't support 64-bit compare-and-swap on this platform]) ;;
1896       "none needed") ;;
1897       *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
1898   esac
1900   dnl Determine debug info format
1901   ac_debug_format_seen=""
1902   for ac_flag in $CFLAGS; do
1903     case $ac_flag in
1904       -gdwarf*)    ac_debug_format_seen=yes ;;
1905       -g)          ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
1906     esac
1907   done
1908   if test "x$ac_debug_format_seen" = xdefault
1909   then
1910     WINE_TRY_CFLAGS([-gdwarf-4])
1911   fi
1913   dnl Disable gcc builtins except for Mingw
1914   AC_SUBST(MSVCRTFLAGS,"")
1915   case $host_os in
1916     mingw32*)  dnl Check for delayload linker support
1917        WINE_TRY_CFLAGS([-Wl,-delayload,autoconftest.dll],[AC_SUBST(DELAYLOADFLAG,["-Wl,-delayload,"])]) ;;
1918     *) MSVCRTFLAGS="-D_WIN32"
1919        WINE_TRY_CFLAGS([-fno-builtin],[MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"])
1920        WINE_TRY_CFLAGS([-fshort-wchar],[MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"]) ;;
1921   esac
1923   case $host_cpu in
1924     dnl gcc-4.6+ omits frame pointers by default, breaking some copy protections
1925     *i[[3456789]]86*) WINE_TRY_CFLAGS([-fno-omit-frame-pointer]) ;;
1926     *x86_64*)
1927       case $host_os in
1928         dnl Mingw uses Windows 64-bit types, not Unix ones
1929         cygwin*|mingw32*) WINE_TRY_CFLAGS([-Wno-format]) ;;
1930         dnl Default to ms_abi on 64-bit
1931         *) WINE_TRY_CFLAGS([-mabi=ms],[MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"]) ;;
1932       esac ;;
1933   esac
1935   CFLAGS=$saved_CFLAGS
1937   dnl Enable -Werror
1938   if test "x$enable_werror" = "xyes"
1939   then
1940       WINE_TRY_CFLAGS([-Werror])
1941   fi
1942   if test "x$enable_build_id" = "xyes"
1943   then
1944       WINE_TRY_CFLAGS([-Wl,--build-id], [CFLAGS="$CFLAGS -Wl,--build-id"
1945                       LDFLAGS="$LDFLAGS -Wl,--build-id"])
1946   fi
1949 dnl **** Disable Fortify, it has too many false positives
1951 AC_CACHE_CHECK([for the need to disable Fortify], ac_cv_c_fortify_enabled,
1952     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]],
1953 [[#if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
1954 #error Fortify enabled
1955 #endif]])],
1956         [ac_cv_c_fortify_enabled=no],[ac_cv_c_fortify_enabled=yes]))
1957 if test "$ac_cv_c_fortify_enabled" = yes
1958 then
1959     CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
1962 dnl **** Check for CFI directives support ****
1964 AC_CACHE_CHECK([whether CFI directives are supported in assembly code], ac_cv_c_cfi_support,
1965     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");]])],
1966                       ac_cv_c_cfi_support="yes",ac_cv_c_cfi_support="no"))
1967 if test "$ac_cv_c_cfi_support" = "yes"
1968 then
1969    DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
1970    LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
1971    UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
1972 else
1973    if test "x$enable_win64" = "xyes"
1974    then
1975       WINE_WARNING([building 64-bit Wine without support for CFI directives; exception handling will not work properly.])
1976    fi
1979 dnl **** Platform-specific checks ****
1981 case $host_os in
1982   linux*)
1983     case $host_cpu in
1984       *i[[3456789]]86*|x86_64*|*aarch64*|arm*)
1985         test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine-preloader")
1986         WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
1987         ;;
1988     esac
1989     ;;
1990 esac
1992 dnl **** Check for functions ****
1994 ac_save_CFLAGS="$CFLAGS"
1995 CFLAGS="$CFLAGS $BUILTINFLAG"
1996 AC_CHECK_FUNCS(\
1997         epoll_create \
1998         fstatfs \
1999         futimens \
2000         futimes \
2001         futimesat \
2002         getattrlist \
2003         getauxval \
2004         getifaddrs \
2005         getrandom \
2006         kqueue \
2007         mach_continuous_time \
2008         pipe2 \
2009         port_create \
2010         posix_fadvise \
2011         posix_fallocate \
2012         prctl \
2013         proc_pidinfo \
2014         sched_yield \
2015         setproctitle \
2016         setprogname \
2017         sigprocmask \
2018         sysinfo \
2019         tcdrain \
2020         thr_kill2
2022 CFLAGS="$ac_save_CFLAGS"
2024 dnl Check for -ldl
2025 AC_SEARCH_LIBS(dlopen, dl)
2026 WINE_CHECK_LIB_FUNCS(dlinfo,[$DL_LIBS])
2028 dnl Check for -lnsl for Solaris
2029 AC_SEARCH_LIBS(gethostbyname, nsl)
2031 dnl Check for -lsocket for Solaris
2032 AC_SEARCH_LIBS(connect, socket)
2034 dnl Check for -lresolv for Solaris
2035 AC_SEARCH_LIBS(inet_aton, resolv)
2037 dnl **** Check for functions which may rely on -lsocket on Solaris.
2038 AC_CHECK_FUNCS(getaddrinfo)
2040 dnl Check for clock_gettime which may be in -lrt
2041 case $host_os in
2042     darwin*|macosx*) ;;
2043     *) ac_save_LIBS=$LIBS
2044         AC_SEARCH_LIBS(clock_gettime, rt,
2045             [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define to 1 if you have the `clock_gettime' function.])
2046                 test "$ac_res" = "none required" || AC_SUBST(RT_LIBS,"$ac_res")])
2047     LIBS=$ac_save_LIBS
2048     ;;
2049 esac
2051 dnl **** Check for OpenLDAP ***
2052 if test "x$with_ldap" != "xno"
2053 then
2054     dnl Actually there's no pkg-config support for ldap, but this way we can still override the flags
2055     WINE_PACKAGE_FLAGS(LDAP,[openldap],[-lldap_r -llber],,,
2056         [AC_CHECK_HEADERS([ldap.h lber.h])
2057         if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
2058         then
2059             AC_CHECK_TYPE(LDAPSortKey,
2060                 [AC_CHECK_LIB(ldap_r, ldap_initialize,
2061                     [AC_CHECK_LIB(lber, ber_init,
2062                         [AC_DEFINE(HAVE_LDAP, 1, [Define if you have the OpenLDAP development environment])],
2063                         [LDAP_LIBS=""],
2064                         [$PTHREAD_LIBS $LDAP_LIBS])],
2065                     [LDAP_LIBS=""],
2066                     [$PTHREAD_LIBS $LDAP_LIBS])],
2067                 [LDAP_LIBS=""],
2068                 [#include <ldap.h>])
2069             WINE_CHECK_LIB_FUNCS(\
2070                 ldap_count_references \
2071                 ldap_first_reference \
2072                 ldap_next_reference \
2073                 ldap_parse_reference \
2074                 ldap_parse_sort_control \
2075                 ldap_parse_sortresponse_control \
2076                 ldap_parse_vlv_control \
2077                 ldap_parse_vlvresponse_control,
2078                 [$LDAP_LIBS $PTHREAD_LIBS])
2079         else
2080             LDAP_LIBS=""
2081         fi])
2083 WINE_NOTICE_WITH(ldap,[test "x$LDAP_LIBS" = "x"],
2084                  [libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.])
2086 AC_CACHE_CHECK([for sched_setaffinity],wine_cv_have_sched_setaffinity,
2087                 AC_LINK_IFELSE([AC_LANG_PROGRAM(
2088 [[#include <sched.h>]], [[sched_setaffinity(0, 0, 0);]])],[wine_cv_have_sched_setaffinity=yes],[wine_cv_have_sched_setaffinity=no]))
2089 if test "$wine_cv_have_sched_setaffinity" = "yes"
2090 then
2091   AC_DEFINE(HAVE_SCHED_SETAFFINITY, 1, [Define to 1 if you have the `sched_setaffinity' function.])
2094 dnl **** Check for types ****
2096 AC_C_INLINE
2097 AC_CHECK_TYPES([sigset_t],,,[#include <sys/types.h>
2098 #include <signal.h>])
2099 AC_CHECK_TYPES([request_sense],,,[#include <linux/cdrom.h>])
2101 AC_CHECK_TYPES([struct xinpgen],,,
2102 [#include <sys/types.h>
2103 #ifdef HAVE_SYS_SOCKET_H
2104 #include <sys/socket.h>
2105 #endif
2106 #ifdef HAVE_SYS_SOCKETVAR_H
2107 #include <sys/socketvar.h>
2108 #endif
2109 #ifdef HAVE_NET_ROUTE_H
2110 #include <net/route.h>
2111 #endif
2112 #ifdef HAVE_NETINET_IN_H
2113 #include <netinet/in.h>
2114 #endif
2115 #ifdef HAVE_NETINET_IN_SYSTM_H
2116 #include <netinet/in_systm.h>
2117 #endif
2118 #ifdef HAVE_NETINET_IP_H
2119 #include <netinet/ip.h>
2120 #endif
2121 #ifdef HAVE_NETINET_IN_PCB_H
2122 #include <netinet/in_pcb.h>
2123 #endif])
2125 AC_CHECK_MEMBERS([struct ff_effect.direction],,,
2126 [#ifdef HAVE_LINUX_INPUT_H
2127 #include <linux/input.h>
2128 #endif])
2130 AC_CACHE_CHECK([for sigaddset],wine_cv_have_sigaddset,
2131                AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <signal.h>]], [[sigset_t set; sigaddset(&set,SIGTERM);]])],[wine_cv_have_sigaddset=yes],[wine_cv_have_sigaddset=no]))
2132 if test "$wine_cv_have_sigaddset" = "yes"
2133 then
2134   AC_DEFINE(HAVE_SIGADDSET, 1, [Define if sigaddset is supported])
2138 AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style],
2139         wine_cv_linux_gethostbyname_r_6,
2140         AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]],[[
2141     char *name=0;
2142     struct hostent he;
2143     struct hostent *result;
2144     char *buf=0;
2145     int bufsize=0;
2146     int errnr;
2147     char *addr=0;
2148     int addrlen=0;
2149     int addrtype=0;
2150     gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
2151     gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
2152     ]])],[wine_cv_linux_gethostbyname_r_6=yes],[wine_cv_linux_gethostbyname_r_6=no
2153         ])
2154    )
2155    if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
2156    then
2157       AC_DEFINE(HAVE_LINUX_GETHOSTBYNAME_R_6, 1,
2158                 [Define if Linux-style gethostbyname_r and gethostbyaddr_r are available])
2159    fi
2161 if test "$ac_cv_header_linux_joystick_h" = "yes"
2162 then
2163    AC_CACHE_CHECK([whether linux/joystick.h uses the Linux 2.2+ API],
2164         wine_cv_linux_joystick_22_api,
2165         AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2166         #include <sys/ioctl.h>
2167         #include <sys/types.h>
2168         #include <linux/joystick.h>
2170         struct js_event blub;
2171         #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
2172         #error "no 2.2 header"
2173         #endif
2174         ]], [[/*empty*/]])],[wine_cv_linux_joystick_22_api=yes],[wine_cv_linux_joystick_22_api=no])
2175    )
2176    if test "$wine_cv_linux_joystick_22_api" = "yes"
2177    then
2178       AC_DEFINE(HAVE_LINUX_22_JOYSTICK_API, 1,
2179                 [Define if <linux/joystick.h> defines the Linux 2.2 joystick API])
2180    fi
2183 dnl Check for socket structure members
2184 AC_CHECK_MEMBERS([struct msghdr.msg_accrights, struct sockaddr_un.sun_len],,,
2185 [#include <sys/types.h>
2186 #ifdef HAVE_SYS_SOCKET_H
2187 # include <sys/socket.h>
2188 #endif
2189 #ifdef HAVE_SYS_UN_H
2190 # include <sys/un.h>
2191 #endif])
2193 dnl Check for scsireq_t and sg_io_hdr_t members
2194 AC_CHECK_MEMBERS([scsireq_t.cmd, sg_io_hdr_t.interface_id],,,
2195 [#include <sys/types.h>
2196 #ifdef HAVE_SCSI_SG_H
2197 #include <scsi/sg.h>
2198 #endif])
2200 dnl Check for siginfo_t members
2201 AC_CHECK_MEMBERS([siginfo_t.si_fd],,,[#include <signal.h>])
2203 dnl Check for struct mtget members
2204 AC_CHECK_MEMBERS([struct mtget.mt_blksiz, struct mtget.mt_gstat, struct mtget.mt_blkno],,,
2205 [#include <sys/types.h>
2206 #ifdef HAVE_SYS_MTIO_H
2207 #include <sys/mtio.h>
2208 #endif])
2210 dnl Check for stat.st_blocks and ns-resolved times
2211 AC_CHECK_MEMBERS([
2212         struct stat.st_mtim,
2213         struct stat.st_mtimespec,
2214         struct stat.st_ctim,
2215         struct stat.st_ctimespec,
2216         struct stat.st_atim,
2217         struct stat.st_atimespec,
2218         struct stat.st_birthtime,
2219         struct stat.st_birthtim,
2220         struct stat.st_birthtimespec,
2221         struct stat.__st_birthtime,
2222         struct stat.__st_birthtim])
2224 dnl Check for sin6_scope_id
2225 AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,,
2226 [#ifdef HAVE_SYS_TYPES_H
2227 #include <sys/types.h>
2228 #endif
2229 #ifdef HAVE_NETINET_IN_H
2230 #include <netinet/in.h>
2231 #endif])
2233 dnl Check for struct __res_state
2234 AC_CHECK_TYPES([struct __res_state],,,
2235 [#ifdef HAVE_SYS_TYPES_H
2236 #include <sys/types.h>
2237 #endif
2238 #ifdef HAVE_NETINET_IN_H
2239 #include <netinet/in.h>
2240 #endif
2241 #ifdef HAVE_RESOLV_H
2242 #include <resolv.h>
2243 #endif])
2245 dnl Check for _u._ext.nscount6
2246 AC_CHECK_MEMBERS([struct __res_state._u._ext.nscount6],,,
2247 [#ifdef HAVE_RESOLV_H
2248 #include <resolv.h>
2249 #endif])
2251 dnl Check for struct icmpstat
2252 AC_CHECK_MEMBERS([struct icmpstat.icps_inhist],,,
2253 [#ifdef HAVE_SYS_TYPES_H
2254 #include <sys/types.h>
2255 #endif
2256 #ifdef HAVE_NETINET_IN_H
2257 #include <netinet/in.h>
2258 #endif
2259 #ifdef HAVE_NETINET_IP_H
2260 #include <netinet/ip.h>
2261 #endif
2262 #ifdef HAVE_NETINET_IP_ICMP_H
2263 #include <netinet/ip_icmp.h>
2264 #endif
2265 #ifdef HAVE_NETINET_ICMP_VAR_H
2266 #include <netinet/icmp_var.h>
2267 #endif])
2269 dnl Check for struct icmpstat.icps_outhist
2270 AC_CHECK_MEMBERS([struct icmpstat.icps_outhist],,,
2271 [#ifdef HAVE_SYS_TYPES_H
2272 #include <sys/types.h>
2273 #endif
2274 #ifdef HAVE_ALIAS_H
2275 #include <alias.h>
2276 #endif
2277 #ifdef HAVE_SYS_SOCKET_H
2278 #include <sys/socket.h>
2279 #endif
2280 #ifdef HAVE_SYS_SOCKETVAR_H
2281 #include <sys/socketvar.h>
2282 #endif
2283 #ifdef HAVE_SYS_TIMEOUT_H
2284 #include <sys/timeout.h>
2285 #endif
2286 #ifdef HAVE_NETINET_IN_H
2287 #include <netinet/in.h>
2288 #endif
2289 #ifdef HAVE_NETINET_IN_SYSTM_H
2290 #include <netinet/in_systm.h>
2291 #endif
2292 #ifdef HAVE_NETINET_IP_H
2293 #include <netinet/ip.h>
2294 #endif
2295 #ifdef HAVE_NETINET_IP_VAR_H
2296 #include <netinet/ip_var.h>
2297 #endif
2298 #ifdef HAVE_NETINET_IP_ICMP_H
2299 #include <netinet/ip_icmp.h>
2300 #endif
2301 #ifdef HAVE_NETINET_ICMP_VAR_H
2302 #include <netinet/icmp_var.h>
2303 #endif])
2305 dnl Check for struct in6_pktinfo
2306 AC_CHECK_MEMBERS([struct in6_pktinfo.ipi6_addr],,,
2307 [#ifdef HAVE_NETINET_IN_H
2308 #include <netinet/in.h>
2309 #endif])
2311 dnl Check for struct ipstat
2312 AC_CHECK_MEMBERS([struct ipstat.ips_total],,,
2313 [#ifdef HAVE_SYS_TYPES_H
2314 #include <sys/types.h>
2315 #endif
2316 #ifdef HAVE_SYS_SOCKETVAR_H
2317 #include <sys/socketvar.h>
2318 #endif
2319 #ifdef HAVE_NETINET_IN_H
2320 #include <netinet/in.h>
2321 #endif
2322 #ifdef HAVE_NETINET_IP_VAR_H
2323 #include <netinet/ip_var.h>
2324 #endif])
2326 dnl Check for struct ip_stats
2327 AC_CHECK_MEMBERS([struct ip_stats.ips_total],,,
2328 [#ifdef HAVE_NETINET_IP_VAR_H
2329 #include <netinet/ip_var.h>
2330 #endif])
2332 dnl Check for struct tcpstat
2333 AC_CHECK_MEMBERS([struct tcpstat.tcps_connattempt],,,
2334 [#ifdef HAVE_SYS_TYPES_H
2335 #include <sys/types.h>
2336 #endif
2337 #ifdef HAVE_SYS_SOCKETVAR_H
2338 #include <sys/socketvar.h>
2339 #endif
2340 #ifdef HAVE_NETINET_IN_H
2341 #include <netinet/in.h>
2342 #endif
2343 #ifdef HAVE_NETINET_TCP_H
2344 #include <netinet/tcp.h>
2345 #endif
2346 #ifdef HAVE_NETINET_TCP_VAR_H
2347 #include <netinet/tcp_var.h>
2348 #endif])
2350 dnl Check for struct tcp_stats
2351 AC_CHECK_MEMBERS([struct tcp_stats.tcps_connattempt],,,
2352 [#ifdef HAVE_NETINET_TCP_VAR_H
2353 #include <netinet/tcp_var.h>
2354 #endif])
2356 dnl Check for struct udpstat
2357 AC_CHECK_MEMBERS([struct udpstat.udps_ipackets],,,
2358 [#ifdef HAVE_SYS_TYPES_H
2359 #include <sys/types.h>
2360 #endif
2361 #ifdef HAVE_NETINET_IN_H
2362 #include <netinet/in.h>
2363 #endif
2364 #ifdef HAVE_NETINET_IP_VAR_H
2365 #include <netinet/ip_var.h>
2366 #endif
2367 #ifdef HAVE_NETINET_UDP_H
2368 #include <netinet/udp.h>
2369 #endif
2370 #ifdef HAVE_NETINET_UDP_VAR_H
2371 #include <netinet/udp_var.h>
2372 #endif])
2374 dnl Check for struct ifreq.ifr_hwaddr
2375 AC_CHECK_MEMBERS([struct ifreq.ifr_hwaddr],,,
2376 [#ifdef HAVE_SYS_TYPES_H
2377 #include <sys/types.h>
2378 #endif
2379 #ifdef HAVE_NET_IF_H
2380 # include <net/if.h>
2381 #endif])
2383 dnl Check for struct sysinfo members totalram and mem_unit
2384 AC_CHECK_MEMBERS([struct sysinfo.totalram, struct sysinfo.mem_unit],,,
2385 [#ifdef HAVE_SYS_SYSINFO_H
2386 # include <sys/sysinfo.h>
2387 #endif])
2389 dnl Check for isfinite
2390 ac_save_LIBS="$LIBS"
2391 LIBS="$LIBS -lm"
2392 AC_CACHE_CHECK([for isfinite], ac_cv_have_isfinite,
2393                AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isfinite(f)]])],[ac_cv_have_isfinite="yes"],[ac_cv_have_isfinite="no"]))
2394 if test "$ac_cv_have_isfinite" = "yes"
2395 then
2396     AC_DEFINE(HAVE_ISFINITE, 1, [Define to 1 if you have the `isfinite' function.])
2399 dnl Check for isinf
2400 AC_CACHE_CHECK([for isinf], ac_cv_have_isinf,
2401                AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"]))
2402 if test "$ac_cv_have_isinf" = "yes"
2403 then
2404     AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.])
2407 dnl Check for isnan
2408 AC_CACHE_CHECK([for isnan], ac_cv_have_isnan,
2409                AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isnan(f)]])],[ac_cv_have_isnan="yes"],[ac_cv_have_isnan="no"]))
2410 if test "$ac_cv_have_isnan" = "yes"
2411 then
2412     AC_DEFINE(HAVE_ISNAN, 1, [Define to 1 if you have the `isnan' function.])
2415 LIBS="$ac_save_LIBS"
2417 dnl Check for __builtin_popcount
2418 AC_CACHE_CHECK([for __builtin_popcount], ac_cv_have___builtin_popcount,
2419                AC_LINK_IFELSE([AC_LANG_PROGRAM(,[[return __builtin_popcount(1)]])],
2420                [ac_cv_have___builtin_popcount="yes"], [ac_cv_have___builtin_popcount="no"]))
2421 if test "$ac_cv_have___builtin_popcount" = "yes"
2422 then
2423     AC_DEFINE(HAVE___BUILTIN_POPCOUNT, 1, [Define to 1 if you have the `__builtin_popcount' built-in function.])
2426 AC_CACHE_CHECK([for __clear_cache], ac_cv_have___clear_cache,
2427                AC_LINK_IFELSE([AC_LANG_PROGRAM(,[[__clear_cache((void*)0, (void*)0); return 0;]])],
2428                [ac_cv_have___clear_cache="yes"], [ac_cv_have___clear_cache="no"]))
2429 if test "$ac_cv_have___clear_cache" = "yes"
2430 then
2431     AC_DEFINE(HAVE___CLEAR_CACHE, 1, [Define to 1 if you have the `__clear_cache' (potentially built-in) function.])
2434 dnl *** check for the need to define platform-specific symbols
2436 case $host_cpu in
2437   *i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
2438   *x86_64*)         WINE_CHECK_DEFINE([__x86_64__]) ;;
2439   *sparc64*)        WINE_CHECK_DEFINE([__sparc64__]) ;;
2440   *sparc*)          WINE_CHECK_DEFINE([__sparc__]) ;;
2441   *powerpc64*)      WINE_CHECK_DEFINE([__powerpc64__]) ;;
2442   *powerpc*)        WINE_CHECK_DEFINE([__powerpc__]) ;;
2443   *aarch64*)        WINE_CHECK_DEFINE([__aarch64__]) ;;
2444   *arm*)            WINE_CHECK_DEFINE([__arm__]) ;;
2445 esac
2447 case $host_vendor in
2448   *sun*) WINE_CHECK_DEFINE([__sun__]) ;;
2449 esac
2451 dnl **** Generate output files ****
2453 AH_TOP([#ifndef __WINE_CONFIG_H
2454 #define __WINE_CONFIG_H])
2455 AH_BOTTOM([#endif /* __WINE_CONFIG_H */])
2457 AC_CONFIG_COMMANDS([include/stamp-h], [echo timestamp > include/stamp-h])
2458 AS_ECHO_N("creating Makefile rules...") >&AS_MESSAGE_FD
2460 makedep_flags=""
2461 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
2463 wine_srcdir=
2464 test "$srcdir" = . || wine_srcdir="$srcdir/"
2466 WINE_CONFIG_SYMLINK(wine,tools/winewrapper)
2467 WINE_CONFIG_SYMLINK(wine64,tools/winewrapper,["x$enable_win64" != xno -o -n "$with_wine64"])
2469 WINE_CONFIG_MAKEFILE(dlls/acledit)
2470 WINE_CONFIG_MAKEFILE(dlls/aclui)
2471 WINE_CONFIG_MAKEFILE(dlls/activeds.tlb)
2472 WINE_CONFIG_MAKEFILE(dlls/activeds)
2473 WINE_CONFIG_MAKEFILE(dlls/activeds/tests)
2474 WINE_CONFIG_MAKEFILE(dlls/actxprxy)
2475 WINE_CONFIG_MAKEFILE(dlls/adsldp)
2476 WINE_CONFIG_MAKEFILE(dlls/adsldp/tests)
2477 WINE_CONFIG_MAKEFILE(dlls/adsldpc)
2478 WINE_CONFIG_MAKEFILE(dlls/advapi32)
2479 WINE_CONFIG_MAKEFILE(dlls/advapi32/tests)
2480 WINE_CONFIG_MAKEFILE(dlls/advpack)
2481 WINE_CONFIG_MAKEFILE(dlls/advpack/tests)
2482 WINE_CONFIG_MAKEFILE(dlls/amsi)
2483 WINE_CONFIG_MAKEFILE(dlls/amstream)
2484 WINE_CONFIG_MAKEFILE(dlls/amstream/tests)
2485 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-identity-l1-1-0)
2486 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-runtime-l1-1-0)
2487 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-runtime-l1-1-1)
2488 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-appmodel-runtime-l1-1-2)
2489 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-apiquery-l1-1-0)
2490 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-appcompat-l1-1-1)
2491 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-appinit-l1-1-0)
2492 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-atoms-l1-1-0)
2493 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-bem-l1-1-0)
2494 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-l1-1-0)
2495 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-l1-1-1)
2496 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-private-l1-1-0)
2497 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-comm-l1-1-0)
2498 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l1-1-0)
2499 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l1-2-0)
2500 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l2-1-0)
2501 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l3-2-0)
2502 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-crt-l1-1-0)
2503 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-crt-l2-1-0)
2504 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-datetime-l1-1-0)
2505 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-datetime-l1-1-1)
2506 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-debug-l1-1-0)
2507 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-debug-l1-1-1)
2508 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-delayload-l1-1-0)
2509 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-delayload-l1-1-1)
2510 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-0)
2511 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-1)
2512 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-2)
2513 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-errorhandling-l1-1-3)
2514 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-featurestaging-l1-1-0)
2515 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-fibers-l1-1-0)
2516 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-fibers-l1-1-1)
2517 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-ansi-l2-1-0)
2518 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-fromapp-l1-1-0)
2519 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-1-0)
2520 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-2-0)
2521 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-2-1)
2522 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l1-2-2)
2523 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l2-1-0)
2524 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l2-1-1)
2525 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-file-l2-1-2)
2526 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-handle-l1-1-0)
2527 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-l1-1-0)
2528 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-l1-2-0)
2529 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-l2-1-0)
2530 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-heap-obsolete-l1-1-0)
2531 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-interlocked-l1-1-0)
2532 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-interlocked-l1-2-0)
2533 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-io-l1-1-0)
2534 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-io-l1-1-1)
2535 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-job-l1-1-0)
2536 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-job-l2-1-0)
2537 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-0)
2538 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-1)
2539 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-2)
2540 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-legacy-l1-1-5)
2541 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-kernel32-private-l1-1-1)
2542 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-largeinteger-l1-1-0)
2543 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-1-0)
2544 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-1-1)
2545 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-2-0)
2546 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-2-1)
2547 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l1-2-2)
2548 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-libraryloader-l2-1-0)
2549 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-1-0)
2550 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-2-0)
2551 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-2-1)
2552 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l1-2-2)
2553 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-l2-1-0)
2554 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-obsolete-l1-1-0)
2555 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-obsolete-l1-2-0)
2556 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-obsolete-l1-3-0)
2557 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localization-private-l1-1-0)
2558 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-localregistry-l1-1-0)
2559 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-0)
2560 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-1)
2561 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-2)
2562 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-3)
2563 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-memory-l1-1-4)
2564 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-misc-l1-1-0)
2565 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namedpipe-ansi-l1-1-0)
2566 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namedpipe-l1-1-0)
2567 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namedpipe-l1-2-0)
2568 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-namespace-l1-1-0)
2569 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-normalization-l1-1-0)
2570 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-path-l1-1-0)
2571 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-privateprofile-l1-1-1)
2572 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processenvironment-l1-1-0)
2573 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processenvironment-l1-2-0)
2574 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-0)
2575 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-1)
2576 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-2)
2577 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processthreads-l1-1-3)
2578 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processtopology-l1-1-0)
2579 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-processtopology-obsolete-l1-1-0)
2580 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-profile-l1-1-0)
2581 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psapi-ansi-l1-1-0)
2582 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psapi-l1-1-0)
2583 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psapi-obsolete-l1-1-0)
2584 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-psm-appnotify-l1-1-0)
2585 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-quirks-l1-1-0)
2586 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-realtime-l1-1-0)
2587 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-realtime-l1-1-1)
2588 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registry-l1-1-0)
2589 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registry-l2-1-0)
2590 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registry-l2-2-0)
2591 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-registryuserspecific-l1-1-0)
2592 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-rtlsupport-l1-1-0)
2593 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-rtlsupport-l1-2-0)
2594 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shlwapi-legacy-l1-1-0)
2595 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0)
2596 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0)
2597 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-shutdown-l1-1-0)
2598 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sidebyside-l1-1-0)
2599 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-string-l1-1-0)
2600 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-string-l2-1-0)
2601 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-string-obsolete-l1-1-0)
2602 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-stringansi-l1-1-0)
2603 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-stringloader-l1-1-1)
2604 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-ansi-l1-1-0)
2605 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-l1-1-0)
2606 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-l1-2-0)
2607 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-synch-l1-2-1)
2608 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sysinfo-l1-1-0)
2609 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sysinfo-l1-2-0)
2610 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-sysinfo-l1-2-1)
2611 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-systemtopology-l1-1-0)
2612 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-l1-1-0)
2613 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-l1-2-0)
2614 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-legacy-l1-1-0)
2615 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-threadpool-private-l1-1-0)
2616 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-timezone-l1-1-0)
2617 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-toolhelp-l1-1-0)
2618 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-url-l1-1-0)
2619 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-util-l1-1-0)
2620 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-version-l1-1-0)
2621 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-version-l1-1-1)
2622 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-version-private-l1-1-0)
2623 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-versionansi-l1-1-0)
2624 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-windowserrorreporting-l1-1-0)
2625 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-error-l1-1-0)
2626 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-error-l1-1-1)
2627 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-errorprivate-l1-1-1)
2628 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-l1-1-0)
2629 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-registration-l1-1-0)
2630 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0)
2631 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-string-l1-1-0)
2632 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-winrt-string-l1-1-1)
2633 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-wow64-l1-1-0)
2634 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-wow64-l1-1-1)
2635 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-xstate-l1-1-0)
2636 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-xstate-l2-1-0)
2637 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-conio-l1-1-0)
2638 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-convert-l1-1-0)
2639 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-environment-l1-1-0)
2640 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-filesystem-l1-1-0)
2641 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-heap-l1-1-0)
2642 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-locale-l1-1-0)
2643 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-math-l1-1-0)
2644 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-multibyte-l1-1-0)
2645 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-private-l1-1-0)
2646 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-process-l1-1-0)
2647 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-runtime-l1-1-0)
2648 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-stdio-l1-1-0)
2649 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-string-l1-1-0)
2650 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-time-l1-1-0)
2651 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-crt-utility-l1-1-0)
2652 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-devices-config-l1-1-0)
2653 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-devices-config-l1-1-1)
2654 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-devices-query-l1-1-1)
2655 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-advapi32-l1-1-0)
2656 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-advapi32-l2-1-0)
2657 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-kernel32-l2-1-0)
2658 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-normaliz-l1-1-0)
2659 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-ole32-l1-1-0)
2660 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-shell32-l1-1-0)
2661 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-shlwapi-l1-1-0)
2662 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-shlwapi-l2-1-0)
2663 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-user32-l1-1-0)
2664 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-downlevel-version-l1-1-0)
2665 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-dx-d3dkmt-l1-1-0)
2666 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-classicprovider-l1-1-0)
2667 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-consumer-l1-1-0)
2668 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-controller-l1-1-0)
2669 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-legacy-l1-1-0)
2670 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventing-provider-l1-1-0)
2671 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-eventlog-legacy-l1-1-0)
2672 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-gaming-tcui-l1-1-0)
2673 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-gdi-dpiinfo-l1-1-0)
2674 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-joystick-l1-1-0)
2675 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-misc-l1-1-1)
2676 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-mme-l1-1-0)
2677 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-mm-time-l1-1-0)
2678 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-ntuser-dc-access-l1-1-0)
2679 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-ntuser-rectangle-l1-1-0)
2680 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-ntuser-sysparams-l1-1-0)
2681 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-perf-legacy-l1-1-0)
2682 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-power-base-l1-1-0)
2683 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-power-setting-l1-1-0)
2684 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0)
2685 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-private-l1-1-0)
2686 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-private-l1-1-4)
2687 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-window-l1-1-0)
2688 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0)
2689 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0)
2690 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3)
2691 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-activedirectoryclient-l1-1-0)
2692 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-audit-l1-1-1)
2693 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-base-l1-1-0)
2694 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-base-l1-2-0)
2695 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-base-private-l1-1-1)
2696 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-credentials-l1-1-0)
2697 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-cryptoapi-l1-1-0)
2698 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-grouppolicy-l1-1-0)
2699 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l1-1-0)
2700 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l1-1-1)
2701 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l2-1-0)
2702 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsalookup-l2-1-1)
2703 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-lsapolicy-l1-1-0)
2704 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-provider-l1-1-0)
2705 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-sddl-l1-1-0)
2706 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-security-systemfunctions-l1-1-0)
2707 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-core-l1-1-0)
2708 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-core-l1-1-1)
2709 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-management-l1-1-0)
2710 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-management-l2-1-0)
2711 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-private-l1-1-1)
2712 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-winsvc-l1-1-0)
2713 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-service-winsvc-l1-2-0)
2714 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-obsolete-l1-1-0)
2715 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-scaling-l1-1-0)
2716 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-scaling-l1-1-1)
2717 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-stream-l1-1-0)
2718 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-stream-winrt-l1-1-0)
2719 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shcore-thread-l1-1-0)
2720 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shell-shellcom-l1-1-0)
2721 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-shell-shellfolders-l1-1-0)
2722 WINE_CONFIG_MAKEFILE(dlls/apphelp)
2723 WINE_CONFIG_MAKEFILE(dlls/apphelp/tests)
2724 WINE_CONFIG_MAKEFILE(dlls/appwiz.cpl)
2725 WINE_CONFIG_MAKEFILE(dlls/atl)
2726 WINE_CONFIG_MAKEFILE(dlls/atl/tests)
2727 WINE_CONFIG_MAKEFILE(dlls/atl100)
2728 WINE_CONFIG_MAKEFILE(dlls/atl100/tests)
2729 WINE_CONFIG_MAKEFILE(dlls/atl110)
2730 WINE_CONFIG_MAKEFILE(dlls/atl80)
2731 WINE_CONFIG_MAKEFILE(dlls/atl80/tests)
2732 WINE_CONFIG_MAKEFILE(dlls/atl90)
2733 WINE_CONFIG_MAKEFILE(dlls/atlthunk)
2734 WINE_CONFIG_MAKEFILE(dlls/atlthunk/tests)
2735 WINE_CONFIG_MAKEFILE(dlls/atmlib)
2736 WINE_CONFIG_MAKEFILE(dlls/authz)
2737 WINE_CONFIG_MAKEFILE(dlls/avicap32)
2738 WINE_CONFIG_MAKEFILE(dlls/avifil32)
2739 WINE_CONFIG_MAKEFILE(dlls/avifil32/tests)
2740 WINE_CONFIG_MAKEFILE(dlls/avifile.dll16,enable_win16)
2741 WINE_CONFIG_MAKEFILE(dlls/avrt)
2742 WINE_CONFIG_MAKEFILE(dlls/bcrypt)
2743 WINE_CONFIG_MAKEFILE(dlls/bcrypt/tests)
2744 WINE_CONFIG_MAKEFILE(dlls/bluetoothapis)
2745 WINE_CONFIG_MAKEFILE(dlls/browseui)
2746 WINE_CONFIG_MAKEFILE(dlls/browseui/tests)
2747 WINE_CONFIG_MAKEFILE(dlls/bthprops.cpl)
2748 WINE_CONFIG_MAKEFILE(dlls/cabinet)
2749 WINE_CONFIG_MAKEFILE(dlls/cabinet/tests)
2750 WINE_CONFIG_MAKEFILE(dlls/capi2032)
2751 WINE_CONFIG_MAKEFILE(dlls/cards)
2752 WINE_CONFIG_MAKEFILE(dlls/cdosys)
2753 WINE_CONFIG_MAKEFILE(dlls/cfgmgr32)
2754 WINE_CONFIG_MAKEFILE(dlls/clusapi)
2755 WINE_CONFIG_MAKEFILE(dlls/cng.sys)
2756 WINE_CONFIG_MAKEFILE(dlls/combase)
2757 WINE_CONFIG_MAKEFILE(dlls/combase/tests)
2758 WINE_CONFIG_MAKEFILE(dlls/comcat)
2759 WINE_CONFIG_MAKEFILE(dlls/comcat/tests)
2760 WINE_CONFIG_MAKEFILE(dlls/comctl32)
2761 WINE_CONFIG_MAKEFILE(dlls/comctl32/tests)
2762 WINE_CONFIG_MAKEFILE(dlls/comdlg32)
2763 WINE_CONFIG_MAKEFILE(dlls/comdlg32/tests)
2764 WINE_CONFIG_MAKEFILE(dlls/comm.drv16,enable_win16)
2765 WINE_CONFIG_MAKEFILE(dlls/commdlg.dll16,enable_win16)
2766 WINE_CONFIG_MAKEFILE(dlls/compobj.dll16,enable_win16)
2767 WINE_CONFIG_MAKEFILE(dlls/compstui)
2768 WINE_CONFIG_MAKEFILE(dlls/comsvcs)
2769 WINE_CONFIG_MAKEFILE(dlls/comsvcs/tests)
2770 WINE_CONFIG_MAKEFILE(dlls/concrt140)
2771 WINE_CONFIG_MAKEFILE(dlls/concrt140/tests)
2772 WINE_CONFIG_MAKEFILE(dlls/connect)
2773 WINE_CONFIG_MAKEFILE(dlls/credui)
2774 WINE_CONFIG_MAKEFILE(dlls/credui/tests)
2775 WINE_CONFIG_MAKEFILE(dlls/crtdll)
2776 WINE_CONFIG_MAKEFILE(dlls/crypt32)
2777 WINE_CONFIG_MAKEFILE(dlls/crypt32/tests)
2778 WINE_CONFIG_MAKEFILE(dlls/cryptdlg)
2779 WINE_CONFIG_MAKEFILE(dlls/cryptdll)
2780 WINE_CONFIG_MAKEFILE(dlls/cryptext)
2781 WINE_CONFIG_MAKEFILE(dlls/cryptnet)
2782 WINE_CONFIG_MAKEFILE(dlls/cryptnet/tests)
2783 WINE_CONFIG_MAKEFILE(dlls/cryptsp)
2784 WINE_CONFIG_MAKEFILE(dlls/cryptui)
2785 WINE_CONFIG_MAKEFILE(dlls/cryptui/tests)
2786 WINE_CONFIG_MAKEFILE(dlls/ctapi32)
2787 WINE_CONFIG_MAKEFILE(dlls/ctl3d.dll16,enable_win16)
2788 WINE_CONFIG_MAKEFILE(dlls/ctl3d32)
2789 WINE_CONFIG_MAKEFILE(dlls/ctl3dv2.dll16,enable_win16)
2790 WINE_CONFIG_MAKEFILE(dlls/d2d1)
2791 WINE_CONFIG_MAKEFILE(dlls/d2d1/tests)
2792 WINE_CONFIG_MAKEFILE(dlls/d3d10)
2793 WINE_CONFIG_MAKEFILE(dlls/d3d10/tests)
2794 WINE_CONFIG_MAKEFILE(dlls/d3d10_1)
2795 WINE_CONFIG_MAKEFILE(dlls/d3d10_1/tests)
2796 WINE_CONFIG_MAKEFILE(dlls/d3d10core)
2797 WINE_CONFIG_MAKEFILE(dlls/d3d10core/tests)
2798 WINE_CONFIG_MAKEFILE(dlls/d3d11)
2799 WINE_CONFIG_MAKEFILE(dlls/d3d11/tests)
2800 WINE_CONFIG_MAKEFILE(dlls/d3d12)
2801 WINE_CONFIG_MAKEFILE(dlls/d3d12/tests)
2802 WINE_CONFIG_MAKEFILE(dlls/d3d8)
2803 WINE_CONFIG_MAKEFILE(dlls/d3d8/tests)
2804 WINE_CONFIG_MAKEFILE(dlls/d3d8thk)
2805 WINE_CONFIG_MAKEFILE(dlls/d3d9)
2806 WINE_CONFIG_MAKEFILE(dlls/d3d9/tests)
2807 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_33)
2808 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_34)
2809 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_35)
2810 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_36)
2811 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_37)
2812 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_38)
2813 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_39)
2814 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_40)
2815 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_41)
2816 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_42)
2817 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_43)
2818 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_43/tests)
2819 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46)
2820 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46/tests)
2821 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47)
2822 WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47/tests)
2823 WINE_CONFIG_MAKEFILE(dlls/d3dim)
2824 WINE_CONFIG_MAKEFILE(dlls/d3dim700)
2825 WINE_CONFIG_MAKEFILE(dlls/d3drm)
2826 WINE_CONFIG_MAKEFILE(dlls/d3drm/tests)
2827 WINE_CONFIG_MAKEFILE(dlls/d3dx10_33)
2828 WINE_CONFIG_MAKEFILE(dlls/d3dx10_34)
2829 WINE_CONFIG_MAKEFILE(dlls/d3dx10_34/tests)
2830 WINE_CONFIG_MAKEFILE(dlls/d3dx10_35)
2831 WINE_CONFIG_MAKEFILE(dlls/d3dx10_35/tests)
2832 WINE_CONFIG_MAKEFILE(dlls/d3dx10_36)
2833 WINE_CONFIG_MAKEFILE(dlls/d3dx10_36/tests)
2834 WINE_CONFIG_MAKEFILE(dlls/d3dx10_37)
2835 WINE_CONFIG_MAKEFILE(dlls/d3dx10_37/tests)
2836 WINE_CONFIG_MAKEFILE(dlls/d3dx10_38)
2837 WINE_CONFIG_MAKEFILE(dlls/d3dx10_38/tests)
2838 WINE_CONFIG_MAKEFILE(dlls/d3dx10_39)
2839 WINE_CONFIG_MAKEFILE(dlls/d3dx10_39/tests)
2840 WINE_CONFIG_MAKEFILE(dlls/d3dx10_40)
2841 WINE_CONFIG_MAKEFILE(dlls/d3dx10_40/tests)
2842 WINE_CONFIG_MAKEFILE(dlls/d3dx10_41)
2843 WINE_CONFIG_MAKEFILE(dlls/d3dx10_41/tests)
2844 WINE_CONFIG_MAKEFILE(dlls/d3dx10_42)
2845 WINE_CONFIG_MAKEFILE(dlls/d3dx10_42/tests)
2846 WINE_CONFIG_MAKEFILE(dlls/d3dx10_43)
2847 WINE_CONFIG_MAKEFILE(dlls/d3dx10_43/tests)
2848 WINE_CONFIG_MAKEFILE(dlls/d3dx11_42)
2849 WINE_CONFIG_MAKEFILE(dlls/d3dx11_42/tests)
2850 WINE_CONFIG_MAKEFILE(dlls/d3dx11_43)
2851 WINE_CONFIG_MAKEFILE(dlls/d3dx11_43/tests)
2852 WINE_CONFIG_MAKEFILE(dlls/d3dx9_24)
2853 WINE_CONFIG_MAKEFILE(dlls/d3dx9_25)
2854 WINE_CONFIG_MAKEFILE(dlls/d3dx9_26)
2855 WINE_CONFIG_MAKEFILE(dlls/d3dx9_27)
2856 WINE_CONFIG_MAKEFILE(dlls/d3dx9_28)
2857 WINE_CONFIG_MAKEFILE(dlls/d3dx9_29)
2858 WINE_CONFIG_MAKEFILE(dlls/d3dx9_30)
2859 WINE_CONFIG_MAKEFILE(dlls/d3dx9_31)
2860 WINE_CONFIG_MAKEFILE(dlls/d3dx9_32)
2861 WINE_CONFIG_MAKEFILE(dlls/d3dx9_33)
2862 WINE_CONFIG_MAKEFILE(dlls/d3dx9_34)
2863 WINE_CONFIG_MAKEFILE(dlls/d3dx9_35)
2864 WINE_CONFIG_MAKEFILE(dlls/d3dx9_36)
2865 WINE_CONFIG_MAKEFILE(dlls/d3dx9_36/tests)
2866 WINE_CONFIG_MAKEFILE(dlls/d3dx9_37)
2867 WINE_CONFIG_MAKEFILE(dlls/d3dx9_38)
2868 WINE_CONFIG_MAKEFILE(dlls/d3dx9_39)
2869 WINE_CONFIG_MAKEFILE(dlls/d3dx9_40)
2870 WINE_CONFIG_MAKEFILE(dlls/d3dx9_41)
2871 WINE_CONFIG_MAKEFILE(dlls/d3dx9_42)
2872 WINE_CONFIG_MAKEFILE(dlls/d3dx9_43)
2873 WINE_CONFIG_MAKEFILE(dlls/d3dxof)
2874 WINE_CONFIG_MAKEFILE(dlls/d3dxof/tests)
2875 WINE_CONFIG_MAKEFILE(dlls/davclnt)
2876 WINE_CONFIG_MAKEFILE(dlls/dbgeng)
2877 WINE_CONFIG_MAKEFILE(dlls/dbgeng/tests)
2878 WINE_CONFIG_MAKEFILE(dlls/dbghelp)
2879 WINE_CONFIG_MAKEFILE(dlls/dbghelp/tests)
2880 WINE_CONFIG_MAKEFILE(dlls/dciman32)
2881 WINE_CONFIG_MAKEFILE(dlls/dcomp)
2882 WINE_CONFIG_MAKEFILE(dlls/ddeml.dll16,enable_win16)
2883 WINE_CONFIG_MAKEFILE(dlls/ddraw)
2884 WINE_CONFIG_MAKEFILE(dlls/ddraw/tests)
2885 WINE_CONFIG_MAKEFILE(dlls/ddrawex)
2886 WINE_CONFIG_MAKEFILE(dlls/ddrawex/tests)
2887 WINE_CONFIG_MAKEFILE(dlls/devenum)
2888 WINE_CONFIG_MAKEFILE(dlls/devenum/tests)
2889 WINE_CONFIG_MAKEFILE(dlls/dhcpcsvc)
2890 WINE_CONFIG_MAKEFILE(dlls/dhcpcsvc/tests)
2891 WINE_CONFIG_MAKEFILE(dlls/dhcpcsvc6)
2892 WINE_CONFIG_MAKEFILE(dlls/dhtmled.ocx)
2893 WINE_CONFIG_MAKEFILE(dlls/difxapi)
2894 WINE_CONFIG_MAKEFILE(dlls/dinput)
2895 WINE_CONFIG_MAKEFILE(dlls/dinput/tests)
2896 WINE_CONFIG_MAKEFILE(dlls/dinput8)
2897 WINE_CONFIG_MAKEFILE(dlls/dinput8/tests)
2898 WINE_CONFIG_MAKEFILE(dlls/directmanipulation)
2899 WINE_CONFIG_MAKEFILE(dlls/directmanipulation/tests)
2900 WINE_CONFIG_MAKEFILE(dlls/dispdib.dll16,enable_win16)
2901 WINE_CONFIG_MAKEFILE(dlls/dispex)
2902 WINE_CONFIG_MAKEFILE(dlls/dispex/tests)
2903 WINE_CONFIG_MAKEFILE(dlls/display.drv16,enable_win16)
2904 WINE_CONFIG_MAKEFILE(dlls/dmband)
2905 WINE_CONFIG_MAKEFILE(dlls/dmband/tests)
2906 WINE_CONFIG_MAKEFILE(dlls/dmcompos)
2907 WINE_CONFIG_MAKEFILE(dlls/dmcompos/tests)
2908 WINE_CONFIG_MAKEFILE(dlls/dmime)
2909 WINE_CONFIG_MAKEFILE(dlls/dmime/tests)
2910 WINE_CONFIG_MAKEFILE(dlls/dmloader)
2911 WINE_CONFIG_MAKEFILE(dlls/dmloader/tests)
2912 WINE_CONFIG_MAKEFILE(dlls/dmscript)
2913 WINE_CONFIG_MAKEFILE(dlls/dmscript/tests)
2914 WINE_CONFIG_MAKEFILE(dlls/dmstyle)
2915 WINE_CONFIG_MAKEFILE(dlls/dmstyle/tests)
2916 WINE_CONFIG_MAKEFILE(dlls/dmsynth)
2917 WINE_CONFIG_MAKEFILE(dlls/dmsynth/tests)
2918 WINE_CONFIG_MAKEFILE(dlls/dmusic)
2919 WINE_CONFIG_MAKEFILE(dlls/dmusic/tests)
2920 WINE_CONFIG_MAKEFILE(dlls/dmusic32)
2921 WINE_CONFIG_MAKEFILE(dlls/dnsapi)
2922 WINE_CONFIG_MAKEFILE(dlls/dnsapi/tests)
2923 WINE_CONFIG_MAKEFILE(dlls/dplay)
2924 WINE_CONFIG_MAKEFILE(dlls/dplayx)
2925 WINE_CONFIG_MAKEFILE(dlls/dplayx/tests)
2926 WINE_CONFIG_MAKEFILE(dlls/dpnaddr)
2927 WINE_CONFIG_MAKEFILE(dlls/dpnet)
2928 WINE_CONFIG_MAKEFILE(dlls/dpnet/tests)
2929 WINE_CONFIG_MAKEFILE(dlls/dpnhpast)
2930 WINE_CONFIG_MAKEFILE(dlls/dpnhupnp)
2931 WINE_CONFIG_MAKEFILE(dlls/dpnlobby)
2932 WINE_CONFIG_MAKEFILE(dlls/dpvoice)
2933 WINE_CONFIG_MAKEFILE(dlls/dpvoice/tests)
2934 WINE_CONFIG_MAKEFILE(dlls/dpwsockx)
2935 WINE_CONFIG_MAKEFILE(dlls/drmclien)
2936 WINE_CONFIG_MAKEFILE(dlls/dsdmo)
2937 WINE_CONFIG_MAKEFILE(dlls/dsdmo/tests)
2938 WINE_CONFIG_MAKEFILE(dlls/dsound)
2939 WINE_CONFIG_MAKEFILE(dlls/dsound/tests)
2940 WINE_CONFIG_MAKEFILE(dlls/dsquery)
2941 WINE_CONFIG_MAKEFILE(dlls/dssenh)
2942 WINE_CONFIG_MAKEFILE(dlls/dssenh/tests)
2943 WINE_CONFIG_MAKEFILE(dlls/dsuiext)
2944 WINE_CONFIG_MAKEFILE(dlls/dswave)
2945 WINE_CONFIG_MAKEFILE(dlls/dswave/tests)
2946 WINE_CONFIG_MAKEFILE(dlls/dwmapi)
2947 WINE_CONFIG_MAKEFILE(dlls/dwmapi/tests)
2948 WINE_CONFIG_MAKEFILE(dlls/dwrite)
2949 WINE_CONFIG_MAKEFILE(dlls/dwrite/tests)
2950 WINE_CONFIG_MAKEFILE(dlls/dx8vb)
2951 WINE_CONFIG_MAKEFILE(dlls/dxdiagn)
2952 WINE_CONFIG_MAKEFILE(dlls/dxdiagn/tests)
2953 WINE_CONFIG_MAKEFILE(dlls/dxgi)
2954 WINE_CONFIG_MAKEFILE(dlls/dxgi/tests)
2955 WINE_CONFIG_MAKEFILE(dlls/dxtrans)
2956 WINE_CONFIG_MAKEFILE(dlls/dxva2)
2957 WINE_CONFIG_MAKEFILE(dlls/dxva2/tests)
2958 WINE_CONFIG_MAKEFILE(dlls/esent)
2959 WINE_CONFIG_MAKEFILE(dlls/evr)
2960 WINE_CONFIG_MAKEFILE(dlls/evr/tests)
2961 WINE_CONFIG_MAKEFILE(dlls/explorerframe)
2962 WINE_CONFIG_MAKEFILE(dlls/explorerframe/tests)
2963 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-authz-context-l1-1-0)
2964 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-domainjoin-netjoin-l1-1-0)
2965 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-dwmapi-ext-l1-1-0)
2966 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-dc-create-l1-1-0)
2967 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-dc-create-l1-1-1)
2968 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-dc-l1-2-0)
2969 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-devcaps-l1-1-0)
2970 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-draw-l1-1-0)
2971 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-draw-l1-1-1)
2972 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-font-l1-1-0)
2973 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-font-l1-1-1)
2974 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-gdi-render-l1-1-0)
2975 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-kernel32-package-current-l1-1-0)
2976 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-kernel32-package-l1-1-1)
2977 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-dialogbox-l1-1-0)
2978 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-draw-l1-1-0)
2979 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-gui-l1-1-0)
2980 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-gui-l1-3-0)
2981 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-keyboard-l1-3-0)
2982 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-message-l1-1-0)
2983 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-message-l1-1-1)
2984 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-misc-l1-1-0)
2985 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-misc-l1-2-0)
2986 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-misc-l1-5-1)
2987 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-mouse-l1-1-0)
2988 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-private-l1-1-1)
2989 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-private-l1-3-1)
2990 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0)
2991 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0)
2992 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-window-l1-1-0)
2993 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-window-l1-1-1)
2994 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-window-l1-1-4)
2995 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-windowclass-l1-1-0)
2996 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ntuser-windowclass-l1-1-1)
2997 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-oleacc-l1-1-0)
2998 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-ras-rasapi32-l1-1-0)
2999 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0)
3000 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-gdi-object-l1-1-0)
3001 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0)
3002 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0)
3003 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0)
3004 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0)
3005 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0)
3006 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0)
3007 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0)
3008 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0)
3009 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-security-credui-l1-1-0)
3010 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-security-cryptui-l1-1-0)
3011 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-shell-comctl32-init-l1-1-0)
3012 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-shell-comdlg32-l1-1-0)
3013 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-shell-shell32-l1-2-0)
3014 WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-uxtheme-themes-l1-1-0)
3015 WINE_CONFIG_MAKEFILE(dlls/faultrep)
3016 WINE_CONFIG_MAKEFILE(dlls/faultrep/tests)
3017 WINE_CONFIG_MAKEFILE(dlls/feclient)
3018 WINE_CONFIG_MAKEFILE(dlls/fltlib)
3019 WINE_CONFIG_MAKEFILE(dlls/fltmgr.sys)
3020 WINE_CONFIG_MAKEFILE(dlls/fntcache)
3021 WINE_CONFIG_MAKEFILE(dlls/fontsub)
3022 WINE_CONFIG_MAKEFILE(dlls/fusion)
3023 WINE_CONFIG_MAKEFILE(dlls/fusion/tests)
3024 WINE_CONFIG_MAKEFILE(dlls/fwpuclnt)
3025 WINE_CONFIG_MAKEFILE(dlls/gameux)
3026 WINE_CONFIG_MAKEFILE(dlls/gameux/tests)
3027 WINE_CONFIG_MAKEFILE(dlls/gamingtcui)
3028 WINE_CONFIG_MAKEFILE(dlls/gdi.exe16,enable_win16)
3029 WINE_CONFIG_MAKEFILE(dlls/gdi32)
3030 WINE_CONFIG_MAKEFILE(dlls/gdi32/tests)
3031 WINE_CONFIG_MAKEFILE(dlls/gdiplus)
3032 WINE_CONFIG_MAKEFILE(dlls/gdiplus/tests)
3033 WINE_CONFIG_MAKEFILE(dlls/glu32)
3034 WINE_CONFIG_MAKEFILE(dlls/gphoto2.ds)
3035 WINE_CONFIG_MAKEFILE(dlls/gpkcsp)
3036 WINE_CONFIG_MAKEFILE(dlls/hal)
3037 WINE_CONFIG_MAKEFILE(dlls/hhctrl.ocx)
3038 WINE_CONFIG_MAKEFILE(dlls/hid)
3039 WINE_CONFIG_MAKEFILE(dlls/hid/tests)
3040 WINE_CONFIG_MAKEFILE(dlls/hidclass.sys)
3041 WINE_CONFIG_MAKEFILE(dlls/hidparse.sys)
3042 WINE_CONFIG_MAKEFILE(dlls/hlink)
3043 WINE_CONFIG_MAKEFILE(dlls/hlink/tests)
3044 WINE_CONFIG_MAKEFILE(dlls/hnetcfg)
3045 WINE_CONFIG_MAKEFILE(dlls/hnetcfg/tests)
3046 WINE_CONFIG_MAKEFILE(dlls/http.sys)
3047 WINE_CONFIG_MAKEFILE(dlls/httpapi)
3048 WINE_CONFIG_MAKEFILE(dlls/httpapi/tests)
3049 WINE_CONFIG_MAKEFILE(dlls/iccvid)
3050 WINE_CONFIG_MAKEFILE(dlls/icmp)
3051 WINE_CONFIG_MAKEFILE(dlls/ieframe)
3052 WINE_CONFIG_MAKEFILE(dlls/ieframe/tests)
3053 WINE_CONFIG_MAKEFILE(dlls/ieproxy)
3054 WINE_CONFIG_MAKEFILE(dlls/ifsmgr.vxd,enable_win16)
3055 WINE_CONFIG_MAKEFILE(dlls/imaadp32.acm)
3056 WINE_CONFIG_MAKEFILE(dlls/imagehlp)
3057 WINE_CONFIG_MAKEFILE(dlls/imagehlp/tests)
3058 WINE_CONFIG_MAKEFILE(dlls/imm.dll16,enable_win16)
3059 WINE_CONFIG_MAKEFILE(dlls/imm32)
3060 WINE_CONFIG_MAKEFILE(dlls/imm32/tests)
3061 WINE_CONFIG_MAKEFILE(dlls/inetcomm)
3062 WINE_CONFIG_MAKEFILE(dlls/inetcomm/tests)
3063 WINE_CONFIG_MAKEFILE(dlls/inetcpl.cpl)
3064 WINE_CONFIG_MAKEFILE(dlls/inetmib1)
3065 WINE_CONFIG_MAKEFILE(dlls/inetmib1/tests)
3066 WINE_CONFIG_MAKEFILE(dlls/infosoft)
3067 WINE_CONFIG_MAKEFILE(dlls/infosoft/tests)
3068 WINE_CONFIG_MAKEFILE(dlls/initpki)
3069 WINE_CONFIG_MAKEFILE(dlls/inkobj)
3070 WINE_CONFIG_MAKEFILE(dlls/inseng)
3071 WINE_CONFIG_MAKEFILE(dlls/iphlpapi)
3072 WINE_CONFIG_MAKEFILE(dlls/iphlpapi/tests)
3073 WINE_CONFIG_MAKEFILE(dlls/iprop)
3074 WINE_CONFIG_MAKEFILE(dlls/irprops.cpl)
3075 WINE_CONFIG_MAKEFILE(dlls/itircl)
3076 WINE_CONFIG_MAKEFILE(dlls/itss)
3077 WINE_CONFIG_MAKEFILE(dlls/itss/tests)
3078 WINE_CONFIG_MAKEFILE(dlls/joy.cpl)
3079 WINE_CONFIG_MAKEFILE(dlls/jscript)
3080 WINE_CONFIG_MAKEFILE(dlls/jscript/tests)
3081 WINE_CONFIG_MAKEFILE(dlls/jsproxy)
3082 WINE_CONFIG_MAKEFILE(dlls/jsproxy/tests)
3083 WINE_CONFIG_MAKEFILE(dlls/kerberos)
3084 WINE_CONFIG_MAKEFILE(dlls/kernel32)
3085 WINE_CONFIG_MAKEFILE(dlls/kernel32/tests)
3086 WINE_CONFIG_MAKEFILE(dlls/kernelbase)
3087 WINE_CONFIG_MAKEFILE(dlls/kernelbase/tests)
3088 WINE_CONFIG_MAKEFILE(dlls/keyboard.drv16,enable_win16)
3089 WINE_CONFIG_MAKEFILE(dlls/krnl386.exe16,enable_win16)
3090 WINE_CONFIG_MAKEFILE(dlls/ksecdd.sys)
3091 WINE_CONFIG_MAKEFILE(dlls/ksproxy.ax)
3092 WINE_CONFIG_MAKEFILE(dlls/ksuser)
3093 WINE_CONFIG_MAKEFILE(dlls/ktmw32)
3094 WINE_CONFIG_MAKEFILE(dlls/l3codeca.acm)
3095 WINE_CONFIG_MAKEFILE(dlls/light.msstyles)
3096 WINE_CONFIG_MAKEFILE(dlls/loadperf)
3097 WINE_CONFIG_MAKEFILE(dlls/localspl)
3098 WINE_CONFIG_MAKEFILE(dlls/localspl/tests)
3099 WINE_CONFIG_MAKEFILE(dlls/localui)
3100 WINE_CONFIG_MAKEFILE(dlls/localui/tests)
3101 WINE_CONFIG_MAKEFILE(dlls/lz32)
3102 WINE_CONFIG_MAKEFILE(dlls/lz32/tests)
3103 WINE_CONFIG_MAKEFILE(dlls/lzexpand.dll16,enable_win16)
3104 WINE_CONFIG_MAKEFILE(dlls/mapi32)
3105 WINE_CONFIG_MAKEFILE(dlls/mapi32/tests)
3106 WINE_CONFIG_MAKEFILE(dlls/mapistub)
3107 WINE_CONFIG_MAKEFILE(dlls/mciavi32)
3108 WINE_CONFIG_MAKEFILE(dlls/mcicda)
3109 WINE_CONFIG_MAKEFILE(dlls/mciqtz32)
3110 WINE_CONFIG_MAKEFILE(dlls/mciseq)
3111 WINE_CONFIG_MAKEFILE(dlls/mciwave)
3112 WINE_CONFIG_MAKEFILE(dlls/mf)
3113 WINE_CONFIG_MAKEFILE(dlls/mf/tests)
3114 WINE_CONFIG_MAKEFILE(dlls/mf3216)
3115 WINE_CONFIG_MAKEFILE(dlls/mferror)
3116 WINE_CONFIG_MAKEFILE(dlls/mfmediaengine)
3117 WINE_CONFIG_MAKEFILE(dlls/mfmediaengine/tests)
3118 WINE_CONFIG_MAKEFILE(dlls/mfplat)
3119 WINE_CONFIG_MAKEFILE(dlls/mfplat/tests)
3120 WINE_CONFIG_MAKEFILE(dlls/mfplay)
3121 WINE_CONFIG_MAKEFILE(dlls/mfplay/tests)
3122 WINE_CONFIG_MAKEFILE(dlls/mfreadwrite)
3123 WINE_CONFIG_MAKEFILE(dlls/mfreadwrite/tests)
3124 WINE_CONFIG_MAKEFILE(dlls/mgmtapi)
3125 WINE_CONFIG_MAKEFILE(dlls/midimap)
3126 WINE_CONFIG_MAKEFILE(dlls/mlang)
3127 WINE_CONFIG_MAKEFILE(dlls/mlang/tests)
3128 WINE_CONFIG_MAKEFILE(dlls/mmcndmgr)
3129 WINE_CONFIG_MAKEFILE(dlls/mmcndmgr/tests)
3130 WINE_CONFIG_MAKEFILE(dlls/mmdevapi)
3131 WINE_CONFIG_MAKEFILE(dlls/mmdevapi/tests)
3132 WINE_CONFIG_MAKEFILE(dlls/mmdevldr.vxd,enable_win16)
3133 WINE_CONFIG_MAKEFILE(dlls/mmsystem.dll16,enable_win16)
3134 WINE_CONFIG_MAKEFILE(dlls/monodebg.vxd,enable_win16)
3135 WINE_CONFIG_MAKEFILE(dlls/mountmgr.sys)
3136 WINE_CONFIG_MAKEFILE(dlls/mouse.drv16,enable_win16)
3137 WINE_CONFIG_MAKEFILE(dlls/mp3dmod)
3138 WINE_CONFIG_MAKEFILE(dlls/mp3dmod/tests)
3139 WINE_CONFIG_MAKEFILE(dlls/mpr)
3140 WINE_CONFIG_MAKEFILE(dlls/mpr/tests)
3141 WINE_CONFIG_MAKEFILE(dlls/mprapi)
3142 WINE_CONFIG_MAKEFILE(dlls/msacm.dll16,enable_win16)
3143 WINE_CONFIG_MAKEFILE(dlls/msacm32.drv)
3144 WINE_CONFIG_MAKEFILE(dlls/msacm32)
3145 WINE_CONFIG_MAKEFILE(dlls/msacm32/tests)
3146 WINE_CONFIG_MAKEFILE(dlls/msado15)
3147 WINE_CONFIG_MAKEFILE(dlls/msado15/tests)
3148 WINE_CONFIG_MAKEFILE(dlls/msadp32.acm)
3149 WINE_CONFIG_MAKEFILE(dlls/msasn1)
3150 WINE_CONFIG_MAKEFILE(dlls/msasn1/tests)
3151 WINE_CONFIG_MAKEFILE(dlls/mscat32)
3152 WINE_CONFIG_MAKEFILE(dlls/mscms)
3153 WINE_CONFIG_MAKEFILE(dlls/mscms/tests)
3154 WINE_CONFIG_MAKEFILE(dlls/mscoree)
3155 WINE_CONFIG_MAKEFILE(dlls/mscoree/tests)
3156 WINE_CONFIG_MAKEFILE(dlls/mscorwks)
3157 WINE_CONFIG_MAKEFILE(dlls/msctf)
3158 WINE_CONFIG_MAKEFILE(dlls/msctf/tests)
3159 WINE_CONFIG_MAKEFILE(dlls/msctfmonitor)
3160 WINE_CONFIG_MAKEFILE(dlls/msctfp)
3161 WINE_CONFIG_MAKEFILE(dlls/msdaps)
3162 WINE_CONFIG_MAKEFILE(dlls/msdasql)
3163 WINE_CONFIG_MAKEFILE(dlls/msdasql/tests)
3164 WINE_CONFIG_MAKEFILE(dlls/msdelta)
3165 WINE_CONFIG_MAKEFILE(dlls/msdmo)
3166 WINE_CONFIG_MAKEFILE(dlls/msdmo/tests)
3167 WINE_CONFIG_MAKEFILE(dlls/msdrm)
3168 WINE_CONFIG_MAKEFILE(dlls/msftedit)
3169 WINE_CONFIG_MAKEFILE(dlls/msftedit/tests)
3170 WINE_CONFIG_MAKEFILE(dlls/msg711.acm)
3171 WINE_CONFIG_MAKEFILE(dlls/msgsm32.acm)
3172 WINE_CONFIG_MAKEFILE(dlls/mshtml.tlb)
3173 WINE_CONFIG_MAKEFILE(dlls/mshtml)
3174 WINE_CONFIG_MAKEFILE(dlls/mshtml/tests)
3175 WINE_CONFIG_MAKEFILE(dlls/msi)
3176 WINE_CONFIG_MAKEFILE(dlls/msi/tests)
3177 WINE_CONFIG_MAKEFILE(dlls/msident)
3178 WINE_CONFIG_MAKEFILE(dlls/msimg32)
3179 WINE_CONFIG_MAKEFILE(dlls/msimsg)
3180 WINE_CONFIG_MAKEFILE(dlls/msimtf)
3181 WINE_CONFIG_MAKEFILE(dlls/msisip)
3182 WINE_CONFIG_MAKEFILE(dlls/msisys.ocx)
3183 WINE_CONFIG_MAKEFILE(dlls/msls31)
3184 WINE_CONFIG_MAKEFILE(dlls/msnet32)
3185 WINE_CONFIG_MAKEFILE(dlls/mspatcha)
3186 WINE_CONFIG_MAKEFILE(dlls/mspatcha/tests)
3187 WINE_CONFIG_MAKEFILE(dlls/msports)
3188 WINE_CONFIG_MAKEFILE(dlls/msrle32)
3189 WINE_CONFIG_MAKEFILE(dlls/msrle32/tests)
3190 WINE_CONFIG_MAKEFILE(dlls/msscript.ocx)
3191 WINE_CONFIG_MAKEFILE(dlls/msscript.ocx/tests)
3192 WINE_CONFIG_MAKEFILE(dlls/mssign32)
3193 WINE_CONFIG_MAKEFILE(dlls/mssip32)
3194 WINE_CONFIG_MAKEFILE(dlls/mstask)
3195 WINE_CONFIG_MAKEFILE(dlls/mstask/tests)
3196 WINE_CONFIG_MAKEFILE(dlls/msv1_0)
3197 WINE_CONFIG_MAKEFILE(dlls/msvcirt)
3198 WINE_CONFIG_MAKEFILE(dlls/msvcirt/tests)
3199 WINE_CONFIG_MAKEFILE(dlls/msvcm80)
3200 WINE_CONFIG_MAKEFILE(dlls/msvcm90)
3201 WINE_CONFIG_MAKEFILE(dlls/msvcp100)
3202 WINE_CONFIG_MAKEFILE(dlls/msvcp100/tests)
3203 WINE_CONFIG_MAKEFILE(dlls/msvcp110)
3204 WINE_CONFIG_MAKEFILE(dlls/msvcp110/tests)
3205 WINE_CONFIG_MAKEFILE(dlls/msvcp120)
3206 WINE_CONFIG_MAKEFILE(dlls/msvcp120/tests)
3207 WINE_CONFIG_MAKEFILE(dlls/msvcp120_app)
3208 WINE_CONFIG_MAKEFILE(dlls/msvcp140)
3209 WINE_CONFIG_MAKEFILE(dlls/msvcp140/tests)
3210 WINE_CONFIG_MAKEFILE(dlls/msvcp140_1)
3211 WINE_CONFIG_MAKEFILE(dlls/msvcp140_1/tests)
3212 WINE_CONFIG_MAKEFILE(dlls/msvcp60)
3213 WINE_CONFIG_MAKEFILE(dlls/msvcp60/tests)
3214 WINE_CONFIG_MAKEFILE(dlls/msvcp70)
3215 WINE_CONFIG_MAKEFILE(dlls/msvcp71)
3216 WINE_CONFIG_MAKEFILE(dlls/msvcp80)
3217 WINE_CONFIG_MAKEFILE(dlls/msvcp90)
3218 WINE_CONFIG_MAKEFILE(dlls/msvcp90/tests)
3219 WINE_CONFIG_MAKEFILE(dlls/msvcp_win)
3220 WINE_CONFIG_MAKEFILE(dlls/msvcr100)
3221 WINE_CONFIG_MAKEFILE(dlls/msvcr100/tests)
3222 WINE_CONFIG_MAKEFILE(dlls/msvcr110)
3223 WINE_CONFIG_MAKEFILE(dlls/msvcr110/tests)
3224 WINE_CONFIG_MAKEFILE(dlls/msvcr120)
3225 WINE_CONFIG_MAKEFILE(dlls/msvcr120/tests)
3226 WINE_CONFIG_MAKEFILE(dlls/msvcr120_app)
3227 WINE_CONFIG_MAKEFILE(dlls/msvcr70)
3228 WINE_CONFIG_MAKEFILE(dlls/msvcr71)
3229 WINE_CONFIG_MAKEFILE(dlls/msvcr80)
3230 WINE_CONFIG_MAKEFILE(dlls/msvcr90)
3231 WINE_CONFIG_MAKEFILE(dlls/msvcr90/tests)
3232 WINE_CONFIG_MAKEFILE(dlls/msvcrt)
3233 WINE_CONFIG_MAKEFILE(dlls/msvcrt/tests)
3234 WINE_CONFIG_MAKEFILE(dlls/msvcrt20)
3235 WINE_CONFIG_MAKEFILE(dlls/msvcrt40)
3236 WINE_CONFIG_MAKEFILE(dlls/msvcrtd)
3237 WINE_CONFIG_MAKEFILE(dlls/msvcrtd/tests)
3238 WINE_CONFIG_MAKEFILE(dlls/msvfw32)
3239 WINE_CONFIG_MAKEFILE(dlls/msvfw32/tests)
3240 WINE_CONFIG_MAKEFILE(dlls/msvidc32)
3241 WINE_CONFIG_MAKEFILE(dlls/msvideo.dll16,enable_win16)
3242 WINE_CONFIG_MAKEFILE(dlls/mswsock)
3243 WINE_CONFIG_MAKEFILE(dlls/msxml)
3244 WINE_CONFIG_MAKEFILE(dlls/msxml2)
3245 WINE_CONFIG_MAKEFILE(dlls/msxml3)
3246 WINE_CONFIG_MAKEFILE(dlls/msxml3/tests)
3247 WINE_CONFIG_MAKEFILE(dlls/msxml4)
3248 WINE_CONFIG_MAKEFILE(dlls/msxml6)
3249 WINE_CONFIG_MAKEFILE(dlls/mtxdm)
3250 WINE_CONFIG_MAKEFILE(dlls/ncrypt)
3251 WINE_CONFIG_MAKEFILE(dlls/nddeapi)
3252 WINE_CONFIG_MAKEFILE(dlls/ndis.sys)
3253 WINE_CONFIG_MAKEFILE(dlls/ndis.sys/tests)
3254 WINE_CONFIG_MAKEFILE(dlls/netapi32)
3255 WINE_CONFIG_MAKEFILE(dlls/netapi32/tests)
3256 WINE_CONFIG_MAKEFILE(dlls/netcfgx)
3257 WINE_CONFIG_MAKEFILE(dlls/netcfgx/tests)
3258 WINE_CONFIG_MAKEFILE(dlls/netio.sys)
3259 WINE_CONFIG_MAKEFILE(dlls/netprofm)
3260 WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
3261 WINE_CONFIG_MAKEFILE(dlls/netutils)
3262 WINE_CONFIG_MAKEFILE(dlls/newdev)
3263 WINE_CONFIG_MAKEFILE(dlls/ninput)
3264 WINE_CONFIG_MAKEFILE(dlls/ninput/tests)
3265 WINE_CONFIG_MAKEFILE(dlls/normaliz)
3266 WINE_CONFIG_MAKEFILE(dlls/npmshtml)
3267 WINE_CONFIG_MAKEFILE(dlls/npptools)
3268 WINE_CONFIG_MAKEFILE(dlls/nsi)
3269 WINE_CONFIG_MAKEFILE(dlls/nsi/tests)
3270 WINE_CONFIG_MAKEFILE(dlls/nsiproxy.sys)
3271 WINE_CONFIG_MAKEFILE(dlls/ntdll)
3272 WINE_CONFIG_MAKEFILE(dlls/ntdll/tests)
3273 WINE_CONFIG_MAKEFILE(dlls/ntdsapi)
3274 WINE_CONFIG_MAKEFILE(dlls/ntdsapi/tests)
3275 WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe)
3276 WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe/tests)
3277 WINE_CONFIG_MAKEFILE(dlls/ntprint)
3278 WINE_CONFIG_MAKEFILE(dlls/ntprint/tests)
3279 WINE_CONFIG_MAKEFILE(dlls/objsel)
3280 WINE_CONFIG_MAKEFILE(dlls/odbc32)
3281 WINE_CONFIG_MAKEFILE(dlls/odbcbcp)
3282 WINE_CONFIG_MAKEFILE(dlls/odbccp32)
3283 WINE_CONFIG_MAKEFILE(dlls/odbccp32/tests)
3284 WINE_CONFIG_MAKEFILE(dlls/odbccu32)
3285 WINE_CONFIG_MAKEFILE(dlls/ole2.dll16,enable_win16)
3286 WINE_CONFIG_MAKEFILE(dlls/ole2conv.dll16,enable_win16)
3287 WINE_CONFIG_MAKEFILE(dlls/ole2disp.dll16,enable_win16)
3288 WINE_CONFIG_MAKEFILE(dlls/ole2nls.dll16,enable_win16)
3289 WINE_CONFIG_MAKEFILE(dlls/ole2prox.dll16,enable_win16)
3290 WINE_CONFIG_MAKEFILE(dlls/ole2thk.dll16,enable_win16)
3291 WINE_CONFIG_MAKEFILE(dlls/ole32)
3292 WINE_CONFIG_MAKEFILE(dlls/ole32/tests)
3293 WINE_CONFIG_MAKEFILE(dlls/oleacc)
3294 WINE_CONFIG_MAKEFILE(dlls/oleacc/tests)
3295 WINE_CONFIG_MAKEFILE(dlls/oleaut32)
3296 WINE_CONFIG_MAKEFILE(dlls/oleaut32/tests)
3297 WINE_CONFIG_MAKEFILE(dlls/olecli.dll16,enable_win16)
3298 WINE_CONFIG_MAKEFILE(dlls/olecli32)
3299 WINE_CONFIG_MAKEFILE(dlls/oledb32)
3300 WINE_CONFIG_MAKEFILE(dlls/oledb32/tests)
3301 WINE_CONFIG_MAKEFILE(dlls/oledlg)
3302 WINE_CONFIG_MAKEFILE(dlls/oledlg/tests)
3303 WINE_CONFIG_MAKEFILE(dlls/olepro32)
3304 WINE_CONFIG_MAKEFILE(dlls/olesvr.dll16,enable_win16)
3305 WINE_CONFIG_MAKEFILE(dlls/olesvr32)
3306 WINE_CONFIG_MAKEFILE(dlls/olethk32)
3307 WINE_CONFIG_MAKEFILE(dlls/opcservices)
3308 WINE_CONFIG_MAKEFILE(dlls/opcservices/tests)
3309 WINE_CONFIG_MAKEFILE(dlls/openal32)
3310 WINE_CONFIG_MAKEFILE(dlls/opencl)
3311 WINE_CONFIG_MAKEFILE(dlls/opengl32)
3312 WINE_CONFIG_MAKEFILE(dlls/opengl32/tests)
3313 WINE_CONFIG_MAKEFILE(dlls/packager)
3314 WINE_CONFIG_MAKEFILE(dlls/packager/tests)
3315 WINE_CONFIG_MAKEFILE(dlls/pdh)
3316 WINE_CONFIG_MAKEFILE(dlls/pdh/tests)
3317 WINE_CONFIG_MAKEFILE(dlls/photometadatahandler)
3318 WINE_CONFIG_MAKEFILE(dlls/pidgen)
3319 WINE_CONFIG_MAKEFILE(dlls/powrprof)
3320 WINE_CONFIG_MAKEFILE(dlls/printui)
3321 WINE_CONFIG_MAKEFILE(dlls/prntvpt)
3322 WINE_CONFIG_MAKEFILE(dlls/prntvpt/tests)
3323 WINE_CONFIG_MAKEFILE(dlls/propsys)
3324 WINE_CONFIG_MAKEFILE(dlls/propsys/tests)
3325 WINE_CONFIG_MAKEFILE(dlls/psapi)
3326 WINE_CONFIG_MAKEFILE(dlls/psapi/tests)
3327 WINE_CONFIG_MAKEFILE(dlls/pstorec)
3328 WINE_CONFIG_MAKEFILE(dlls/pstorec/tests)
3329 WINE_CONFIG_MAKEFILE(dlls/pwrshplugin)
3330 WINE_CONFIG_MAKEFILE(dlls/qasf)
3331 WINE_CONFIG_MAKEFILE(dlls/qasf/tests)
3332 WINE_CONFIG_MAKEFILE(dlls/qcap)
3333 WINE_CONFIG_MAKEFILE(dlls/qcap/tests)
3334 WINE_CONFIG_MAKEFILE(dlls/qdvd)
3335 WINE_CONFIG_MAKEFILE(dlls/qdvd/tests)
3336 WINE_CONFIG_MAKEFILE(dlls/qedit)
3337 WINE_CONFIG_MAKEFILE(dlls/qedit/tests)
3338 WINE_CONFIG_MAKEFILE(dlls/qmgr)
3339 WINE_CONFIG_MAKEFILE(dlls/qmgr/tests)
3340 WINE_CONFIG_MAKEFILE(dlls/qmgrprxy)
3341 WINE_CONFIG_MAKEFILE(dlls/quartz)
3342 WINE_CONFIG_MAKEFILE(dlls/quartz/tests)
3343 WINE_CONFIG_MAKEFILE(dlls/query)
3344 WINE_CONFIG_MAKEFILE(dlls/qwave)
3345 WINE_CONFIG_MAKEFILE(dlls/qwave/tests)
3346 WINE_CONFIG_MAKEFILE(dlls/rasapi16.dll16,enable_win16)
3347 WINE_CONFIG_MAKEFILE(dlls/rasapi32)
3348 WINE_CONFIG_MAKEFILE(dlls/rasapi32/tests)
3349 WINE_CONFIG_MAKEFILE(dlls/rasdlg)
3350 WINE_CONFIG_MAKEFILE(dlls/regapi)
3351 WINE_CONFIG_MAKEFILE(dlls/resutils)
3352 WINE_CONFIG_MAKEFILE(dlls/riched20)
3353 WINE_CONFIG_MAKEFILE(dlls/riched20/tests)
3354 WINE_CONFIG_MAKEFILE(dlls/riched32)
3355 WINE_CONFIG_MAKEFILE(dlls/riched32/tests)
3356 WINE_CONFIG_MAKEFILE(dlls/rpcrt4)
3357 WINE_CONFIG_MAKEFILE(dlls/rpcrt4/tests)
3358 WINE_CONFIG_MAKEFILE(dlls/rsabase)
3359 WINE_CONFIG_MAKEFILE(dlls/rsaenh)
3360 WINE_CONFIG_MAKEFILE(dlls/rsaenh/tests)
3361 WINE_CONFIG_MAKEFILE(dlls/rstrtmgr)
3362 WINE_CONFIG_MAKEFILE(dlls/rtutils)
3363 WINE_CONFIG_MAKEFILE(dlls/rtworkq)
3364 WINE_CONFIG_MAKEFILE(dlls/rtworkq/tests)
3365 WINE_CONFIG_MAKEFILE(dlls/samlib)
3366 WINE_CONFIG_MAKEFILE(dlls/sane.ds)
3367 WINE_CONFIG_MAKEFILE(dlls/sapi)
3368 WINE_CONFIG_MAKEFILE(dlls/sapi/tests)
3369 WINE_CONFIG_MAKEFILE(dlls/sas)
3370 WINE_CONFIG_MAKEFILE(dlls/scarddlg)
3371 WINE_CONFIG_MAKEFILE(dlls/sccbase)
3372 WINE_CONFIG_MAKEFILE(dlls/schannel)
3373 WINE_CONFIG_MAKEFILE(dlls/schannel/tests)
3374 WINE_CONFIG_MAKEFILE(dlls/schedsvc)
3375 WINE_CONFIG_MAKEFILE(dlls/schedsvc/tests)
3376 WINE_CONFIG_MAKEFILE(dlls/scrobj)
3377 WINE_CONFIG_MAKEFILE(dlls/scrobj/tests)
3378 WINE_CONFIG_MAKEFILE(dlls/scrrun)
3379 WINE_CONFIG_MAKEFILE(dlls/scrrun/tests)
3380 WINE_CONFIG_MAKEFILE(dlls/scsiport.sys)
3381 WINE_CONFIG_MAKEFILE(dlls/sechost)
3382 WINE_CONFIG_MAKEFILE(dlls/secur32)
3383 WINE_CONFIG_MAKEFILE(dlls/secur32/tests)
3384 WINE_CONFIG_MAKEFILE(dlls/security)
3385 WINE_CONFIG_MAKEFILE(dlls/sensapi)
3386 WINE_CONFIG_MAKEFILE(dlls/serialui)
3387 WINE_CONFIG_MAKEFILE(dlls/serialui/tests)
3388 WINE_CONFIG_MAKEFILE(dlls/setupapi)
3389 WINE_CONFIG_MAKEFILE(dlls/setupapi/tests)
3390 WINE_CONFIG_MAKEFILE(dlls/setupx.dll16,enable_win16)
3391 WINE_CONFIG_MAKEFILE(dlls/sfc)
3392 WINE_CONFIG_MAKEFILE(dlls/sfc_os)
3393 WINE_CONFIG_MAKEFILE(dlls/shcore)
3394 WINE_CONFIG_MAKEFILE(dlls/shcore/tests)
3395 WINE_CONFIG_MAKEFILE(dlls/shdoclc)
3396 WINE_CONFIG_MAKEFILE(dlls/shdocvw)
3397 WINE_CONFIG_MAKEFILE(dlls/shdocvw/tests)
3398 WINE_CONFIG_MAKEFILE(dlls/shell.dll16,enable_win16)
3399 WINE_CONFIG_MAKEFILE(dlls/shell32)
3400 WINE_CONFIG_MAKEFILE(dlls/shell32/tests)
3401 WINE_CONFIG_MAKEFILE(dlls/shfolder)
3402 WINE_CONFIG_MAKEFILE(dlls/shlwapi)
3403 WINE_CONFIG_MAKEFILE(dlls/shlwapi/tests)
3404 WINE_CONFIG_MAKEFILE(dlls/slbcsp)
3405 WINE_CONFIG_MAKEFILE(dlls/slc)
3406 WINE_CONFIG_MAKEFILE(dlls/slc/tests)
3407 WINE_CONFIG_MAKEFILE(dlls/snmpapi)
3408 WINE_CONFIG_MAKEFILE(dlls/snmpapi/tests)
3409 WINE_CONFIG_MAKEFILE(dlls/softpub)
3410 WINE_CONFIG_MAKEFILE(dlls/sound.drv16,enable_win16)
3411 WINE_CONFIG_MAKEFILE(dlls/spoolss)
3412 WINE_CONFIG_MAKEFILE(dlls/spoolss/tests)
3413 WINE_CONFIG_MAKEFILE(dlls/sppc)
3414 WINE_CONFIG_MAKEFILE(dlls/srclient)
3415 WINE_CONFIG_MAKEFILE(dlls/srvcli)
3416 WINE_CONFIG_MAKEFILE(dlls/sspicli)
3417 WINE_CONFIG_MAKEFILE(dlls/stdole2.tlb)
3418 WINE_CONFIG_MAKEFILE(dlls/stdole32.tlb)
3419 WINE_CONFIG_MAKEFILE(dlls/sti)
3420 WINE_CONFIG_MAKEFILE(dlls/sti/tests)
3421 WINE_CONFIG_MAKEFILE(dlls/storage.dll16,enable_win16)
3422 WINE_CONFIG_MAKEFILE(dlls/stress.dll16,enable_win16)
3423 WINE_CONFIG_MAKEFILE(dlls/strmdll)
3424 WINE_CONFIG_MAKEFILE(dlls/svrapi)
3425 WINE_CONFIG_MAKEFILE(dlls/sxs)
3426 WINE_CONFIG_MAKEFILE(dlls/sxs/tests)
3427 WINE_CONFIG_MAKEFILE(dlls/system.drv16,enable_win16)
3428 WINE_CONFIG_MAKEFILE(dlls/t2embed)
3429 WINE_CONFIG_MAKEFILE(dlls/t2embed/tests)
3430 WINE_CONFIG_MAKEFILE(dlls/tapi32)
3431 WINE_CONFIG_MAKEFILE(dlls/tapi32/tests)
3432 WINE_CONFIG_MAKEFILE(dlls/taskschd)
3433 WINE_CONFIG_MAKEFILE(dlls/taskschd/tests)
3434 WINE_CONFIG_MAKEFILE(dlls/tbs)
3435 WINE_CONFIG_MAKEFILE(dlls/tdh)
3436 WINE_CONFIG_MAKEFILE(dlls/tdi.sys)
3437 WINE_CONFIG_MAKEFILE(dlls/toolhelp.dll16,enable_win16)
3438 WINE_CONFIG_MAKEFILE(dlls/traffic)
3439 WINE_CONFIG_MAKEFILE(dlls/twain.dll16,enable_win16)
3440 WINE_CONFIG_MAKEFILE(dlls/twain_32)
3441 WINE_CONFIG_MAKEFILE(dlls/twain_32/tests)
3442 WINE_CONFIG_MAKEFILE(dlls/typelib.dll16,enable_win16)
3443 WINE_CONFIG_MAKEFILE(dlls/tzres)
3444 WINE_CONFIG_MAKEFILE(dlls/ucrtbase)
3445 WINE_CONFIG_MAKEFILE(dlls/ucrtbase/tests)
3446 WINE_CONFIG_MAKEFILE(dlls/uianimation)
3447 WINE_CONFIG_MAKEFILE(dlls/uianimation/tests)
3448 WINE_CONFIG_MAKEFILE(dlls/uiautomationcore)
3449 WINE_CONFIG_MAKEFILE(dlls/uiautomationcore/tests)
3450 WINE_CONFIG_MAKEFILE(dlls/uiribbon)
3451 WINE_CONFIG_MAKEFILE(dlls/unicows)
3452 WINE_CONFIG_MAKEFILE(dlls/updspapi)
3453 WINE_CONFIG_MAKEFILE(dlls/url)
3454 WINE_CONFIG_MAKEFILE(dlls/urlmon)
3455 WINE_CONFIG_MAKEFILE(dlls/urlmon/tests)
3456 WINE_CONFIG_MAKEFILE(dlls/usbd.sys)
3457 WINE_CONFIG_MAKEFILE(dlls/user.exe16,enable_win16)
3458 WINE_CONFIG_MAKEFILE(dlls/user32)
3459 WINE_CONFIG_MAKEFILE(dlls/user32/tests)
3460 WINE_CONFIG_MAKEFILE(dlls/userenv)
3461 WINE_CONFIG_MAKEFILE(dlls/userenv/tests)
3462 WINE_CONFIG_MAKEFILE(dlls/usp10)
3463 WINE_CONFIG_MAKEFILE(dlls/usp10/tests)
3464 WINE_CONFIG_MAKEFILE(dlls/utildll)
3465 WINE_CONFIG_MAKEFILE(dlls/uxtheme)
3466 WINE_CONFIG_MAKEFILE(dlls/uxtheme/tests)
3467 WINE_CONFIG_MAKEFILE(dlls/vbscript)
3468 WINE_CONFIG_MAKEFILE(dlls/vbscript/tests)
3469 WINE_CONFIG_MAKEFILE(dlls/vcomp)
3470 WINE_CONFIG_MAKEFILE(dlls/vcomp/tests)
3471 WINE_CONFIG_MAKEFILE(dlls/vcomp100)
3472 WINE_CONFIG_MAKEFILE(dlls/vcomp110)
3473 WINE_CONFIG_MAKEFILE(dlls/vcomp110/tests)
3474 WINE_CONFIG_MAKEFILE(dlls/vcomp120)
3475 WINE_CONFIG_MAKEFILE(dlls/vcomp140)
3476 WINE_CONFIG_MAKEFILE(dlls/vcomp90)
3477 WINE_CONFIG_MAKEFILE(dlls/vcruntime140)
3478 WINE_CONFIG_MAKEFILE(dlls/vcruntime140_1)
3479 WINE_CONFIG_MAKEFILE(dlls/vdhcp.vxd,enable_win16)
3480 WINE_CONFIG_MAKEFILE(dlls/vdmdbg)
3481 WINE_CONFIG_MAKEFILE(dlls/ver.dll16,enable_win16)
3482 WINE_CONFIG_MAKEFILE(dlls/version)
3483 WINE_CONFIG_MAKEFILE(dlls/version/tests)
3484 WINE_CONFIG_MAKEFILE(dlls/vga)
3485 WINE_CONFIG_MAKEFILE(dlls/virtdisk)
3486 WINE_CONFIG_MAKEFILE(dlls/virtdisk/tests)
3487 WINE_CONFIG_MAKEFILE(dlls/vmm.vxd,enable_win16)
3488 WINE_CONFIG_MAKEFILE(dlls/vnbt.vxd,enable_win16)
3489 WINE_CONFIG_MAKEFILE(dlls/vnetbios.vxd,enable_win16)
3490 WINE_CONFIG_MAKEFILE(dlls/vssapi)
3491 WINE_CONFIG_MAKEFILE(dlls/vtdapi.vxd,enable_win16)
3492 WINE_CONFIG_MAKEFILE(dlls/vulkan-1)
3493 WINE_CONFIG_MAKEFILE(dlls/vulkan-1/tests)
3494 WINE_CONFIG_MAKEFILE(dlls/vwin32.vxd,enable_win16)
3495 WINE_CONFIG_MAKEFILE(dlls/w32skrnl,enable_win16)
3496 WINE_CONFIG_MAKEFILE(dlls/w32sys.dll16,enable_win16)
3497 WINE_CONFIG_MAKEFILE(dlls/wbemdisp)
3498 WINE_CONFIG_MAKEFILE(dlls/wbemdisp/tests)
3499 WINE_CONFIG_MAKEFILE(dlls/wbemprox)
3500 WINE_CONFIG_MAKEFILE(dlls/wbemprox/tests)
3501 WINE_CONFIG_MAKEFILE(dlls/wdscore)
3502 WINE_CONFIG_MAKEFILE(dlls/webservices)
3503 WINE_CONFIG_MAKEFILE(dlls/webservices/tests)
3504 WINE_CONFIG_MAKEFILE(dlls/websocket)
3505 WINE_CONFIG_MAKEFILE(dlls/wer)
3506 WINE_CONFIG_MAKEFILE(dlls/wer/tests)
3507 WINE_CONFIG_MAKEFILE(dlls/wevtapi)
3508 WINE_CONFIG_MAKEFILE(dlls/wevtapi/tests)
3509 WINE_CONFIG_MAKEFILE(dlls/wevtsvc)
3510 WINE_CONFIG_MAKEFILE(dlls/wiaservc)
3511 WINE_CONFIG_MAKEFILE(dlls/wiaservc/tests)
3512 WINE_CONFIG_MAKEFILE(dlls/wimgapi)
3513 WINE_CONFIG_MAKEFILE(dlls/win32s16.dll16,enable_win16)
3514 WINE_CONFIG_MAKEFILE(dlls/win32u)
3515 WINE_CONFIG_MAKEFILE(dlls/win32u/tests)
3516 WINE_CONFIG_MAKEFILE(dlls/win87em.dll16,enable_win16)
3517 WINE_CONFIG_MAKEFILE(dlls/winaspi.dll16,enable_win16)
3518 WINE_CONFIG_MAKEFILE(dlls/windebug.dll16,enable_win16)
3519 WINE_CONFIG_MAKEFILE(dlls/windows.devices.enumeration)
3520 WINE_CONFIG_MAKEFILE(dlls/windows.gaming.input)
3521 WINE_CONFIG_MAKEFILE(dlls/windows.gaming.input/tests)
3522 WINE_CONFIG_MAKEFILE(dlls/windows.globalization)
3523 WINE_CONFIG_MAKEFILE(dlls/windows.globalization/tests)
3524 WINE_CONFIG_MAKEFILE(dlls/windows.media.devices)
3525 WINE_CONFIG_MAKEFILE(dlls/windows.media.devices/tests)
3526 WINE_CONFIG_MAKEFILE(dlls/windows.media.speech)
3527 WINE_CONFIG_MAKEFILE(dlls/windows.media.speech/tests)
3528 WINE_CONFIG_MAKEFILE(dlls/windowscodecs)
3529 WINE_CONFIG_MAKEFILE(dlls/windowscodecs/tests)
3530 WINE_CONFIG_MAKEFILE(dlls/windowscodecsext)
3531 WINE_CONFIG_MAKEFILE(dlls/windowscodecsext/tests)
3532 WINE_CONFIG_MAKEFILE(dlls/winealsa.drv)
3533 WINE_CONFIG_MAKEFILE(dlls/wineandroid.drv)
3534 WINE_CONFIG_MAKEFILE(dlls/winebus.sys)
3535 WINE_CONFIG_MAKEFILE(dlls/winecoreaudio.drv)
3536 WINE_CONFIG_MAKEFILE(dlls/winecrt0)
3537 WINE_CONFIG_MAKEFILE(dlls/wined3d)
3538 WINE_CONFIG_MAKEFILE(dlls/winegstreamer)
3539 WINE_CONFIG_MAKEFILE(dlls/winehid.sys)
3540 WINE_CONFIG_MAKEFILE(dlls/winejoystick.drv)
3541 WINE_CONFIG_MAKEFILE(dlls/winemac.drv)
3542 WINE_CONFIG_MAKEFILE(dlls/winemapi)
3543 WINE_CONFIG_MAKEFILE(dlls/wineoss.drv)
3544 WINE_CONFIG_MAKEFILE(dlls/wineps.drv)
3545 WINE_CONFIG_MAKEFILE(dlls/wineps16.drv16,enable_win16)
3546 WINE_CONFIG_MAKEFILE(dlls/winepulse.drv)
3547 WINE_CONFIG_MAKEFILE(dlls/wineusb.sys)
3548 WINE_CONFIG_MAKEFILE(dlls/winevulkan)
3549 WINE_CONFIG_MAKEFILE(dlls/winex11.drv)
3550 WINE_CONFIG_MAKEFILE(dlls/winexinput.sys)
3551 WINE_CONFIG_MAKEFILE(dlls/wing.dll16,enable_win16)
3552 WINE_CONFIG_MAKEFILE(dlls/wing32)
3553 WINE_CONFIG_MAKEFILE(dlls/winhttp)
3554 WINE_CONFIG_MAKEFILE(dlls/winhttp/tests)
3555 WINE_CONFIG_MAKEFILE(dlls/wininet)
3556 WINE_CONFIG_MAKEFILE(dlls/wininet/tests)
3557 WINE_CONFIG_MAKEFILE(dlls/winmm)
3558 WINE_CONFIG_MAKEFILE(dlls/winmm/tests)
3559 WINE_CONFIG_MAKEFILE(dlls/winnls.dll16,enable_win16)
3560 WINE_CONFIG_MAKEFILE(dlls/winnls32)
3561 WINE_CONFIG_MAKEFILE(dlls/winscard)
3562 WINE_CONFIG_MAKEFILE(dlls/winsock.dll16,enable_win16)
3563 WINE_CONFIG_MAKEFILE(dlls/winspool.drv)
3564 WINE_CONFIG_MAKEFILE(dlls/winspool.drv/tests)
3565 WINE_CONFIG_MAKEFILE(dlls/winsta)
3566 WINE_CONFIG_MAKEFILE(dlls/wintab.dll16,enable_win16)
3567 WINE_CONFIG_MAKEFILE(dlls/wintab32)
3568 WINE_CONFIG_MAKEFILE(dlls/wintab32/tests)
3569 WINE_CONFIG_MAKEFILE(dlls/wintrust)
3570 WINE_CONFIG_MAKEFILE(dlls/wintrust/tests)
3571 WINE_CONFIG_MAKEFILE(dlls/winusb)
3572 WINE_CONFIG_MAKEFILE(dlls/wlanapi)
3573 WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests)
3574 WINE_CONFIG_MAKEFILE(dlls/wlanui)
3575 WINE_CONFIG_MAKEFILE(dlls/wldap32)
3576 WINE_CONFIG_MAKEFILE(dlls/wldap32/tests)
3577 WINE_CONFIG_MAKEFILE(dlls/wmasf)
3578 WINE_CONFIG_MAKEFILE(dlls/wmi)
3579 WINE_CONFIG_MAKEFILE(dlls/wmiutils)
3580 WINE_CONFIG_MAKEFILE(dlls/wmiutils/tests)
3581 WINE_CONFIG_MAKEFILE(dlls/wmp)
3582 WINE_CONFIG_MAKEFILE(dlls/wmp/tests)
3583 WINE_CONFIG_MAKEFILE(dlls/wmphoto)
3584 WINE_CONFIG_MAKEFILE(dlls/wmvcore)
3585 WINE_CONFIG_MAKEFILE(dlls/wmvcore/tests)
3586 WINE_CONFIG_MAKEFILE(dlls/wnaspi32)
3587 WINE_CONFIG_MAKEFILE(dlls/wow32,enable_win16)
3588 WINE_CONFIG_MAKEFILE(dlls/wow64)
3589 WINE_CONFIG_MAKEFILE(dlls/wow64cpu)
3590 WINE_CONFIG_MAKEFILE(dlls/wow64win)
3591 WINE_CONFIG_MAKEFILE(dlls/wpc)
3592 WINE_CONFIG_MAKEFILE(dlls/wpc/tests)
3593 WINE_CONFIG_MAKEFILE(dlls/wpcap)
3594 WINE_CONFIG_MAKEFILE(dlls/ws2_32)
3595 WINE_CONFIG_MAKEFILE(dlls/ws2_32/tests)
3596 WINE_CONFIG_MAKEFILE(dlls/wsdapi)
3597 WINE_CONFIG_MAKEFILE(dlls/wsdapi/tests)
3598 WINE_CONFIG_MAKEFILE(dlls/wshom.ocx)
3599 WINE_CONFIG_MAKEFILE(dlls/wshom.ocx/tests)
3600 WINE_CONFIG_MAKEFILE(dlls/wsnmp32)
3601 WINE_CONFIG_MAKEFILE(dlls/wsnmp32/tests)
3602 WINE_CONFIG_MAKEFILE(dlls/wsock32)
3603 WINE_CONFIG_MAKEFILE(dlls/wtsapi32)
3604 WINE_CONFIG_MAKEFILE(dlls/wtsapi32/tests)
3605 WINE_CONFIG_MAKEFILE(dlls/wuapi)
3606 WINE_CONFIG_MAKEFILE(dlls/wuaueng)
3607 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_0)
3608 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_1)
3609 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_2)
3610 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_3)
3611 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_4)
3612 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_5)
3613 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_6)
3614 WINE_CONFIG_MAKEFILE(dlls/x3daudio1_7)
3615 WINE_CONFIG_MAKEFILE(dlls/xactengine2_0)
3616 WINE_CONFIG_MAKEFILE(dlls/xactengine2_4)
3617 WINE_CONFIG_MAKEFILE(dlls/xactengine2_7)
3618 WINE_CONFIG_MAKEFILE(dlls/xactengine2_9)
3619 WINE_CONFIG_MAKEFILE(dlls/xactengine3_0)
3620 WINE_CONFIG_MAKEFILE(dlls/xactengine3_1)
3621 WINE_CONFIG_MAKEFILE(dlls/xactengine3_2)
3622 WINE_CONFIG_MAKEFILE(dlls/xactengine3_3)
3623 WINE_CONFIG_MAKEFILE(dlls/xactengine3_4)
3624 WINE_CONFIG_MAKEFILE(dlls/xactengine3_5)
3625 WINE_CONFIG_MAKEFILE(dlls/xactengine3_6)
3626 WINE_CONFIG_MAKEFILE(dlls/xactengine3_7)
3627 WINE_CONFIG_MAKEFILE(dlls/xactengine3_7/tests)
3628 WINE_CONFIG_MAKEFILE(dlls/xapofx1_1)
3629 WINE_CONFIG_MAKEFILE(dlls/xapofx1_2)
3630 WINE_CONFIG_MAKEFILE(dlls/xapofx1_3)
3631 WINE_CONFIG_MAKEFILE(dlls/xapofx1_4)
3632 WINE_CONFIG_MAKEFILE(dlls/xapofx1_5)
3633 WINE_CONFIG_MAKEFILE(dlls/xaudio2_0)
3634 WINE_CONFIG_MAKEFILE(dlls/xaudio2_1)
3635 WINE_CONFIG_MAKEFILE(dlls/xaudio2_2)
3636 WINE_CONFIG_MAKEFILE(dlls/xaudio2_3)
3637 WINE_CONFIG_MAKEFILE(dlls/xaudio2_4)
3638 WINE_CONFIG_MAKEFILE(dlls/xaudio2_5)
3639 WINE_CONFIG_MAKEFILE(dlls/xaudio2_6)
3640 WINE_CONFIG_MAKEFILE(dlls/xaudio2_7)
3641 WINE_CONFIG_MAKEFILE(dlls/xaudio2_7/tests)
3642 WINE_CONFIG_MAKEFILE(dlls/xaudio2_8)
3643 WINE_CONFIG_MAKEFILE(dlls/xaudio2_9)
3644 WINE_CONFIG_MAKEFILE(dlls/xinput1_1)
3645 WINE_CONFIG_MAKEFILE(dlls/xinput1_2)
3646 WINE_CONFIG_MAKEFILE(dlls/xinput1_3)
3647 WINE_CONFIG_MAKEFILE(dlls/xinput1_3/tests)
3648 WINE_CONFIG_MAKEFILE(dlls/xinput1_4)
3649 WINE_CONFIG_MAKEFILE(dlls/xinput9_1_0)
3650 WINE_CONFIG_MAKEFILE(dlls/xmllite)
3651 WINE_CONFIG_MAKEFILE(dlls/xmllite/tests)
3652 WINE_CONFIG_MAKEFILE(dlls/xolehlp)
3653 WINE_CONFIG_MAKEFILE(dlls/xpsprint)
3654 WINE_CONFIG_MAKEFILE(dlls/xpssvcs)
3655 WINE_CONFIG_MAKEFILE(fonts)
3656 WINE_CONFIG_MAKEFILE(include)
3657 WINE_CONFIG_MAKEFILE(libs/adsiid)
3658 WINE_CONFIG_MAKEFILE(libs/dmoguids)
3659 WINE_CONFIG_MAKEFILE(libs/dxerr8)
3660 WINE_CONFIG_MAKEFILE(libs/dxerr9)
3661 WINE_CONFIG_MAKEFILE(libs/dxguid)
3662 WINE_CONFIG_MAKEFILE(libs/faudio)
3663 WINE_CONFIG_MAKEFILE(libs/gsm)
3664 WINE_CONFIG_MAKEFILE(libs/jpeg)
3665 WINE_CONFIG_MAKEFILE(libs/jxr)
3666 WINE_CONFIG_MAKEFILE(libs/lcms2)
3667 WINE_CONFIG_MAKEFILE(libs/mfuuid)
3668 WINE_CONFIG_MAKEFILE(libs/mpg123)
3669 WINE_CONFIG_MAKEFILE(libs/png)
3670 WINE_CONFIG_MAKEFILE(libs/strmbase)
3671 WINE_CONFIG_MAKEFILE(libs/strmiids)
3672 WINE_CONFIG_MAKEFILE(libs/tiff)
3673 WINE_CONFIG_MAKEFILE(libs/uuid)
3674 WINE_CONFIG_MAKEFILE(libs/wbemuuid)
3675 WINE_CONFIG_MAKEFILE(libs/wine)
3676 WINE_CONFIG_MAKEFILE(libs/wmcodecdspuuid)
3677 WINE_CONFIG_MAKEFILE(libs/xml2)
3678 WINE_CONFIG_MAKEFILE(libs/xslt)
3679 WINE_CONFIG_MAKEFILE(libs/zlib)
3680 WINE_CONFIG_MAKEFILE(loader)
3681 WINE_CONFIG_MAKEFILE(nls)
3682 WINE_CONFIG_MAKEFILE(po)
3683 WINE_CONFIG_MAKEFILE(programs/arp)
3684 WINE_CONFIG_MAKEFILE(programs/aspnet_regiis)
3685 WINE_CONFIG_MAKEFILE(programs/attrib)
3686 WINE_CONFIG_MAKEFILE(programs/cabarc)
3687 WINE_CONFIG_MAKEFILE(programs/cacls)
3688 WINE_CONFIG_MAKEFILE(programs/chcp.com)
3689 WINE_CONFIG_MAKEFILE(programs/clock)
3690 WINE_CONFIG_MAKEFILE(programs/cmd)
3691 WINE_CONFIG_MAKEFILE(programs/cmd/tests)
3692 WINE_CONFIG_MAKEFILE(programs/conhost)
3693 WINE_CONFIG_MAKEFILE(programs/conhost/tests)
3694 WINE_CONFIG_MAKEFILE(programs/control)
3695 WINE_CONFIG_MAKEFILE(programs/cscript)
3696 WINE_CONFIG_MAKEFILE(programs/dism)
3697 WINE_CONFIG_MAKEFILE(programs/dplaysvr)
3698 WINE_CONFIG_MAKEFILE(programs/dpnsvr)
3699 WINE_CONFIG_MAKEFILE(programs/dpvsetup)
3700 WINE_CONFIG_MAKEFILE(programs/dxdiag)
3701 WINE_CONFIG_MAKEFILE(programs/eject)
3702 WINE_CONFIG_MAKEFILE(programs/expand)
3703 WINE_CONFIG_MAKEFILE(programs/explorer)
3704 WINE_CONFIG_MAKEFILE(programs/extrac32)
3705 WINE_CONFIG_MAKEFILE(programs/fc)
3706 WINE_CONFIG_MAKEFILE(programs/find)
3707 WINE_CONFIG_MAKEFILE(programs/find/tests)
3708 WINE_CONFIG_MAKEFILE(programs/findstr)
3709 WINE_CONFIG_MAKEFILE(programs/fsutil)
3710 WINE_CONFIG_MAKEFILE(programs/fsutil/tests)
3711 WINE_CONFIG_MAKEFILE(programs/hh)
3712 WINE_CONFIG_MAKEFILE(programs/hostname)
3713 WINE_CONFIG_MAKEFILE(programs/icacls)
3714 WINE_CONFIG_MAKEFILE(programs/icinfo)
3715 WINE_CONFIG_MAKEFILE(programs/iexplore)
3716 WINE_CONFIG_MAKEFILE(programs/ipconfig)
3717 WINE_CONFIG_MAKEFILE(programs/lodctr)
3718 WINE_CONFIG_MAKEFILE(programs/mofcomp)
3719 WINE_CONFIG_MAKEFILE(programs/mshta)
3720 WINE_CONFIG_MAKEFILE(programs/msidb)
3721 WINE_CONFIG_MAKEFILE(programs/msiexec)
3722 WINE_CONFIG_MAKEFILE(programs/msinfo32)
3723 WINE_CONFIG_MAKEFILE(programs/net)
3724 WINE_CONFIG_MAKEFILE(programs/netsh)
3725 WINE_CONFIG_MAKEFILE(programs/netstat)
3726 WINE_CONFIG_MAKEFILE(programs/ngen)
3727 WINE_CONFIG_MAKEFILE(programs/notepad)
3728 WINE_CONFIG_MAKEFILE(programs/oleview)
3729 WINE_CONFIG_MAKEFILE(programs/ping)
3730 WINE_CONFIG_MAKEFILE(programs/plugplay)
3731 WINE_CONFIG_MAKEFILE(programs/powershell)
3732 WINE_CONFIG_MAKEFILE(programs/presentationfontcache)
3733 WINE_CONFIG_MAKEFILE(programs/progman)
3734 WINE_CONFIG_MAKEFILE(programs/reg)
3735 WINE_CONFIG_MAKEFILE(programs/reg/tests)
3736 WINE_CONFIG_MAKEFILE(programs/regasm)
3737 WINE_CONFIG_MAKEFILE(programs/regedit)
3738 WINE_CONFIG_MAKEFILE(programs/regedit/tests)
3739 WINE_CONFIG_MAKEFILE(programs/regini)
3740 WINE_CONFIG_MAKEFILE(programs/regsvcs)
3741 WINE_CONFIG_MAKEFILE(programs/regsvr32)
3742 WINE_CONFIG_MAKEFILE(programs/robocopy)
3743 WINE_CONFIG_MAKEFILE(programs/rpcss)
3744 WINE_CONFIG_MAKEFILE(programs/rundll.exe16,enable_win16)
3745 WINE_CONFIG_MAKEFILE(programs/rundll32)
3746 WINE_CONFIG_MAKEFILE(programs/sc)
3747 WINE_CONFIG_MAKEFILE(programs/schtasks)
3748 WINE_CONFIG_MAKEFILE(programs/schtasks/tests)
3749 WINE_CONFIG_MAKEFILE(programs/sdbinst)
3750 WINE_CONFIG_MAKEFILE(programs/secedit)
3751 WINE_CONFIG_MAKEFILE(programs/servicemodelreg)
3752 WINE_CONFIG_MAKEFILE(programs/services)
3753 WINE_CONFIG_MAKEFILE(programs/services/tests)
3754 WINE_CONFIG_MAKEFILE(programs/shutdown)
3755 WINE_CONFIG_MAKEFILE(programs/spoolsv)
3756 WINE_CONFIG_MAKEFILE(programs/start)
3757 WINE_CONFIG_MAKEFILE(programs/subst)
3758 WINE_CONFIG_MAKEFILE(programs/svchost)
3759 WINE_CONFIG_MAKEFILE(programs/systeminfo)
3760 WINE_CONFIG_MAKEFILE(programs/taskkill)
3761 WINE_CONFIG_MAKEFILE(programs/tasklist)
3762 WINE_CONFIG_MAKEFILE(programs/taskmgr)
3763 WINE_CONFIG_MAKEFILE(programs/termsv)
3764 WINE_CONFIG_MAKEFILE(programs/uninstaller)
3765 WINE_CONFIG_MAKEFILE(programs/unlodctr)
3766 WINE_CONFIG_MAKEFILE(programs/view)
3767 WINE_CONFIG_MAKEFILE(programs/wevtutil)
3768 WINE_CONFIG_MAKEFILE(programs/where)
3769 WINE_CONFIG_MAKEFILE(programs/whoami)
3770 WINE_CONFIG_MAKEFILE(programs/wineboot)
3771 WINE_CONFIG_MAKEFILE(programs/winebrowser)
3772 WINE_CONFIG_MAKEFILE(programs/winecfg)
3773 WINE_CONFIG_MAKEFILE(programs/wineconsole)
3774 WINE_CONFIG_MAKEFILE(programs/winedbg)
3775 WINE_CONFIG_MAKEFILE(programs/winedevice)
3776 WINE_CONFIG_MAKEFILE(programs/winefile)
3777 WINE_CONFIG_MAKEFILE(programs/winemenubuilder)
3778 WINE_CONFIG_MAKEFILE(programs/winemine)
3779 WINE_CONFIG_MAKEFILE(programs/winemsibuilder)
3780 WINE_CONFIG_MAKEFILE(programs/winepath)
3781 WINE_CONFIG_MAKEFILE(programs/winetest)
3782 WINE_CONFIG_MAKEFILE(programs/winevdm,enable_win16)
3783 WINE_CONFIG_MAKEFILE(programs/winhelp.exe16,enable_win16)
3784 WINE_CONFIG_MAKEFILE(programs/winhlp32)
3785 WINE_CONFIG_MAKEFILE(programs/winmgmt)
3786 WINE_CONFIG_MAKEFILE(programs/winoldap.mod16,enable_win16)
3787 WINE_CONFIG_MAKEFILE(programs/winver)
3788 WINE_CONFIG_MAKEFILE(programs/wmic)
3789 WINE_CONFIG_MAKEFILE(programs/wmplayer)
3790 WINE_CONFIG_MAKEFILE(programs/wordpad)
3791 WINE_CONFIG_MAKEFILE(programs/write)
3792 WINE_CONFIG_MAKEFILE(programs/wscript)
3793 WINE_CONFIG_MAKEFILE(programs/wscript/tests)
3794 WINE_CONFIG_MAKEFILE(programs/wuauserv)
3795 WINE_CONFIG_MAKEFILE(programs/wusa)
3796 WINE_CONFIG_MAKEFILE(programs/xcopy)
3797 WINE_CONFIG_MAKEFILE(programs/xcopy/tests)
3798 WINE_CONFIG_MAKEFILE(server)
3799 WINE_CONFIG_MAKEFILE(tools,,[test "x$enable_tools" = xno])
3800 WINE_CONFIG_MAKEFILE(tools/sfnt2fon,,[test "x$enable_tools" = xno])
3801 WINE_CONFIG_MAKEFILE(tools/widl,,[test "x$enable_tools" = xno])
3802 WINE_CONFIG_MAKEFILE(tools/winebuild,,[test "x$enable_tools" = xno])
3803 WINE_CONFIG_MAKEFILE(tools/winedump,,[test "x$enable_tools" = xno])
3804 WINE_CONFIG_MAKEFILE(tools/winegcc,,[test "x$enable_tools" = xno])
3805 WINE_CONFIG_MAKEFILE(tools/winemaker,,[test "x$enable_tools" = xno])
3806 WINE_CONFIG_MAKEFILE(tools/wmc,,[test "x$enable_tools" = xno])
3807 WINE_CONFIG_MAKEFILE(tools/wrc,,[test "x$enable_tools" = xno])
3808 dnl End of auto-generated output commands
3810 dnl Main ignore file
3812 WINE_IGNORE_FILE("TAGS")
3813 WINE_IGNORE_FILE("tags")
3814 WINE_IGNORE_FILE("autom4te.cache")
3815 WINE_IGNORE_FILE("config.log")
3816 WINE_IGNORE_FILE("config.status")
3817 WINE_IGNORE_FILE("include/config.h")
3818 WINE_IGNORE_FILE("include/stamp-h")
3819 test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine")
3821 if test "x$enable_tools" != xno
3822 then
3823     WINE_IGNORE_FILE("tools/makedep$ac_exeext")
3824     AC_CONFIG_COMMANDS([tools/makedep],[wine_fn_output_makedep || AS_EXIT],
3825 [wine_fn_output_makedep ()
3827     AS_MKDIR_P(tools)
3828     $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
3832 AC_CONFIG_COMMANDS([Makefile], [wine_fn_output_makefile Makefile],
3833 [wine_fn_output_makefile ()
3835     cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$[]1 && "$wine_makedep"$makedep_flags && return
3836 # This Makefile understands the following targets:
3838 # all (default):   build wine
3839 # clean:           remove all intermediate files
3840 # distclean:       also remove all files created by configure
3841 # test:            run tests
3842 # testclean:       clean test results to force running all tests again
3843 # install-lib:     install libraries needed to run applications
3844 # install-dev:     install development environment
3845 # install:         install everything
3846 # uninstall:       uninstall everything
3847 # ctags:           create a tags file for vim and others.
3848 # etags:           create a TAGS file for Emacs.
3849 # manpages:        compile manpages for Wine API
3850 # htmlpages:       compile html pages for Wine API
3851 # sgmlpages:       compile sgml source for the Wine API Guide
3852 # xmlpages:        compile xml source for the Wine API Guide
3854 m4_set_foreach([_AC_SUBST_VARS],[var],[var = $var
3855 ])$SET_MAKE
3856 $wine_rules
3857 _WINE_EOF
3858     AS_ERROR([could not create Makefile])
3861 dnl Main makefile
3863 AC_SUBST(SHELL,[/bin/sh])
3865 WINE_APPEND_RULE(
3866 [all: wine
3867         @echo \"Wine build complete.\"
3868 .INIT: Makefile
3869 .MAKEFILEDEPS:
3870 all: Makefile
3871 Makefile: config.status \$(MAKEDEP)
3872         @./config.status Makefile
3873 depend: \$(MAKEDEP)
3874         \$(MAKEDEP)$makedep_flags])
3876 dnl Rules for re-running configure
3878 WINE_APPEND_RULE(
3879 [config.status: ${wine_srcdir}configure
3880         @./config.status --recheck
3881 include/config.h: include/stamp-h
3882 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
3883         @./config.status include/config.h include/stamp-h])
3885 if test "x$enable_maintainer_mode" = xyes
3886 then
3887     WINE_APPEND_RULE(
3888 [configure: configure.ac aclocal.m4
3889         autoconf --warnings=all
3890 include/config.h.in: include/stamp-h.in
3891 include/stamp-h.in: configure.ac aclocal.m4
3892         autoheader --warnings=all
3893         @echo timestamp > \$[@]])
3896 if test "x$enable_tools" != xno
3897 then
3898     WINE_APPEND_RULE(
3899 [tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
3900         @./config.status tools/makedep
3901 Makefile: tools/makedep$ac_exeext])
3902 else
3903     WINE_APPEND_RULE(
3904 [\$(MAKEDEP):
3905         @echo \"You need to run make in $toolsdir first\" && false])
3908 dnl Rules for wineloader
3910 if test -n "$with_wine64"
3911 then
3912     case "$with_wine64" in
3913       /*) reldir="" ;;
3914       *)  reldir="../" ;;
3915     esac
3916     dnl Get rid of old symlinks
3917     rm -f fonts server 2>/dev/null
3918     WINE_APPEND_RULE(
3919 [all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
3920 loader/wine64 loader/wine64-preloader:
3921         rm -f \$[@] && \$(LN_S) $reldir$with_wine64/\$[@] \$[@]
3922 $with_wine64/loader/wine:
3923         rm -f \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
3924 $with_wine64/loader/wine-preloader:
3925         rm -f \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@]
3926 clean::
3927         rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
3928 else
3929     TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
3930     TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
3931 fonts \
3932 loader/wine.inf \
3933 nls \
3934 programs/msidb/msidb \
3935 programs/msiexec/msiexec \
3936 programs/notepad/notepad \
3937 programs/regedit/regedit \
3938 programs/regsvr32/regsvr32 \
3939 programs/wineboot/wineboot \
3940 programs/winecfg/winecfg \
3941 programs/wineconsole/wineconsole \
3942 programs/winedbg/winedbg \
3943 programs/winefile/winefile \
3944 programs/winemine/winemine \
3945 programs/winepath/winepath \
3946 server/wineserver"
3948     case $host_os in
3949       cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
3950       *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
3951     esac
3954 dnl Rules for cleaning
3956 WINE_APPEND_RULE(
3957 [distclean:: clean
3958         rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)])
3960 dnl Rules for API documentation
3962 WINE_APPEND_RULE(
3963 [install-manpages:: manpages
3964         for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done])
3966 dnl Rules for generated source files
3968 WINE_APPEND_RULE(
3969 [dlls/ntdll/unix/version.c: dummy
3970         @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)
3971 programs/winetest/build.rc: dummy
3972         @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)
3973 programs/winetest/build.nfo:
3974         @-\$(CC) -v 2>\$[@]
3975 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
3976         cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
3977         mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$[@]])
3979 dnl Misc rules
3981 AC_SUBST(TAGSFLAGS,["--langmap='c:+.idl.l.rh,make:(Make*.in)'"])
3982 WINE_APPEND_RULE(
3983 [TAGS etags:
3984         rm -f TAGS
3985         (test -d .git && git ls-files || find -L $srcdir -name '*.[[ch]]' -print) | xargs etags -a \$(TAGSFLAGS)
3986 tags ctags:
3987         rm -f tags
3988         (test -d .git && git ls-files || find -L $srcdir -name '*.[[ch]]' -print) | xargs ctags -a \$(TAGSFLAGS)
3989 dummy:
3990 .PHONY: depend dummy install-manpages])
3992 AS_ECHO(" done") >&AS_MESSAGE_FD
3993 AC_OUTPUT
3995 if test "$no_create" = "yes"
3996 then
3997   exit 0
4000 WINE_PRINT_MESSAGES
4002 AS_ECHO("
4003 $as_me: Finished.  Do '${ac_make}' to compile Wine.
4004 ") >&AS_MESSAGE_FD
4006 dnl Local Variables:
4007 dnl comment-start: "dnl "
4008 dnl comment-end: ""
4009 dnl comment-start-skip: "\\bdnl\\b\\s *"
4010 dnl compile-command: "autoreconf --warnings=all"
4011 dnl End: