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