mingw-headers/mingw-headers-no-widl.patch
2020-06-20 00:37:29 +02:00

25 lines
1.1 KiB
Diff

diff -rupN --no-dereference mingw-w64-v7.0.0/mingw-w64-headers/configure mingw-w64-v7.0.0-new/mingw-w64-headers/configure
--- mingw-w64-v7.0.0/mingw-w64-headers/configure 2019-11-09 06:33:24.000000000 +0100
+++ mingw-w64-v7.0.0-new/mingw-w64-headers/configure 2020-06-20 00:23:32.741651379 +0200
@@ -2574,7 +2574,7 @@ fi
$as_echo "$with_widl" >&6; }
if test "x$with_widl" = xno; then :
-
+ unset WIDL
else
if test "x$srcdir" = x.; then :
diff -rupN --no-dereference mingw-w64-v7.0.0/mingw-w64-headers/configure.ac mingw-w64-v7.0.0-new/mingw-w64-headers/configure.ac
--- mingw-w64-v7.0.0/mingw-w64-headers/configure.ac 2019-11-09 06:33:24.000000000 +0100
+++ mingw-w64-v7.0.0-new/mingw-w64-headers/configure.ac 2020-06-20 00:23:32.742651379 +0200
@@ -27,7 +27,7 @@ AC_ARG_WITH([widl],
[AS_VAR_SET([with_widl],[no])])
AC_MSG_RESULT([$with_widl])
-AS_VAR_IF([with_widl],[no],[],[
+AS_VAR_IF([with_widl],[no],[unset WIDL],[
AS_VAR_IF([srcdir],[.],[],
[AC_MSG_WARN([--with-widl used in out of the tree compilation. Existing generated files will not be modified.])])
AC_PATH_PROGS([WIDL], [$host-widl widl], [], [$with_widl])