<html><head></head><body> Nit but HAVE_ is for stuff that is there, ENABLE_ is for stuff that we want to build, IIRC.<br><br><div class="gmail_quote">Le 21 mai 2019 11:16:32 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">This will only be enabled when building windows targets and will only work when<br>compiling with Clang.<hr> configure.ac | 14 ++++++++++++++<br> 1 file changed, 14 insertions(+)<br><br>diff --git a/configure.ac b/configure.ac<br>index a08be619ac..e01c065801 100644<br>--- a/configure.ac<br>+++ b/configure.ac<br>@@ -349,6 +349,19 @@ AS_IF([test "${SYS}" = "mingw32"],[<br> ])<br> AC_DEFINE_UNQUOTED(VLC_WINSTORE_APP, ${vlc_winstore_app}, [Define to 1 if you want to build for Windows Store apps])<br> <br>+vlc_build_pdb=0<br>+AC_ARG_ENABLE([pdb],<br>+ AS_HELP_STRING([--enable-pdb],<br>+ [Build PDB files for windows targets (default off)]))<br>+AS_IF([test "${SYS}" = "mingw32"],[<br>+ AS_IF([test "${enable_pdb}" = "yes"], [<br>+ vlc_build_pdb=1<br>+ AX_APPEND_FLAG([-g -gcodeview],[CFLAGS])<br>+ AX_APPEND_FLAG([-g -gcodeview],[CXXFLAGS])<br>+ LDFLAGS="${LDFLAGS} -Wl,-pdb="<br>+ ],[])<br>+])<br>+<br> AM_CONDITIONAL([HAVE_LINUX], [test "${SYS}" = "linux"])<br> AM_CONDITIONAL([HAVE_OS2], [test "${SYS}" = "os2"])<br> <br>@@ -364,6 +377,7 @@ AM_CONDITIONAL([HAVE_WIN32], [test "${SYS}" = "mingw32"])<br> AM_CONDITIONAL([HAVE_WIN64], [test "${HAVE_WIN64}" = "1"]) dnl Only used for the packaging<br> AM_CONDITIONAL([HAVE_WINSTORE], [test "$vlc_winstore_app" = "1"])<br> AM_CONDITIONAL([HAVE_WIN32_DESKTOP], [test "${SYS}" = "mingw32" -a "$vlc_winstore_app" = "0"])<br>+AM_CONDITIONAL([HAVE_PDB], [test "$vlc_build_pdb" = "1"])<br> <br> dnl Use nasm/yasm only on x86<br> AC_CHECK_PROGS(X86ASM, [nasm yasm])</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>