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