From c63b76b346407d3097f3cb6201e19f613fa73b64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 21 Aug 2011 11:20:54 +0300 Subject: [PATCH] Ignore D2D headers if they do not work in plain C This must be a bug in the SDK, so better ignore the header. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index c8070e2b13..a90b53c866 100644 --- a/configure.ac +++ b/configure.ac @@ -3353,14 +3353,12 @@ AC_ARG_ENABLE(direct2d, ]) ]) AS_IF([test "${enable_direct2d}" != "no"], [ - AC_LANG_PUSH([C++]) AC_CHECK_HEADERS(d2d1.h, [ VLC_ADD_PLUGIN([direct2d]) VLC_ADD_LIBS([direct2d],[-lgdi32 -lole32]) ], [ AC_MSG_WARN([Cannot find Direct2D headers!]) ]) - AC_LANG_POP([C++]) ]) dnl -- 2.39.2