[vlc-commits] Ignore D2D headers if they do not work in plain C

Rémi Denis-Courmont git at videolan.org
Sun Aug 21 10:24:19 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 21 11:20:54 2011 +0300| [c63b76b346407d3097f3cb6201e19f613fa73b64] | committer: Rémi Denis-Courmont

Ignore D2D headers if they do not work in plain C

This must be a bug in the SDK, so better ignore the header.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c63b76b346407d3097f3cb6201e19f613fa73b64
---

 configure.ac |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c8070e2..a90b53c 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



More information about the vlc-commits mailing list