]> git.sesse.net Git - vlc/commitdiff
Mozilla plugin requires XCB window plugin which requires xcb-keysyms
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 May 2010 07:23:50 +0000 (10:23 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 May 2010 07:23:50 +0000 (10:23 +0300)
Otherwise we cannot render videos with X11 (and fallback to
non-embedded SDL or ASCII).

configure.ac

index 5e64648074c879fe96e73f9d352b78b07b97b728..8556d25a6bc14ebb109c73951811ba6ef54c028d 100644 (file)
@@ -4482,6 +4482,9 @@ then
              ],[
                 AC_MSG_ERROR([Please install the libXpm and libXt development files.])
              ])
+             AS_IF([test "${have_xcb_keysyms}" != "yes"], [
+               AC_MSG_ERROR([Please install xcb-keysyms from xcb-utils.])
+             ])
           ])
         ])
         VLC_ADD_CPPFLAGS([mozilla],[${CPPFLAGS} ${XPM_CFLAGS}])
@@ -4511,6 +4514,9 @@ then
          [[${X_LIBS} ${X_PRE_LIBS} -lX11 -lSM -lICE -lXpm]
         ])
         AC_CHECK_HEADERS(X11/xpm.h,,AC_MSG_ERROR([Please install libXpm-devel library for required X11/xpm.h]))
+        AS_IF([test "${have_xcb_keysyms}" != "yes"], [
+          AC_MSG_ERROR([Please install xcb-keysyms from xcb-utils.])
+        ])
         LDFLAGS="${LDFLAGS_save}"
       fi