vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Jan 13 
20:47:42 2018 +0200| [95a7c9acde22d57bb11e9113c60990e7a2d8c2ee] | committer: 
Rémi Denis-Courmont

configure: fix skins2 detection

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

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index efe861b613..2055a6dc96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3750,7 +3750,7 @@ AS_IF([test "${enable_skins2}" != "no"], [
   ], [
     PKG_CHECK_MODULES([XPM], [xpm],, [have_skins_deps="no"])
     PKG_CHECK_MODULES([XINERAMA], [xinerama],, [have_skins_deps="no"])
-    PKG_CHECK_MODULES([XCURSOR], [xcursor],, [have_skins_x11_deps="no"])
+    PKG_CHECK_MODULES([XCURSOR], [xcursor],, [have_skins_deps="no"])
     PKG_CHECK_MODULES([XEXT], [xext],, [have_skins_deps="no"])
     VLC_ADD_CPPFLAGS([skins2],[${X_CFLAGS} ${XEXT_CFLAGS} ${XPM_CFLAGS} 
-DX11_SKINS])
     VLC_ADD_LIBS([skins2],[${X_LIBS} ${X_PRE_LIBS} ${XEXT_LIBS} ${XPM_LIBS} 
${XINERAMA_LIBS} ${XCURSOR_LIBS} -lX11])
@@ -3765,7 +3765,7 @@ AS_IF([test "${enable_skins2}" != "no"], [
     AS_IF([test "x${enable_skins2}" = "x"], [
       AC_MSG_WARN([Skins2 interface disabled due to missing dependencies.])
     ], [
-      AC_MSG_ERROR([Skins2 interface requires FreeType, libxpm, libxext and 
libxinerama])
+      AC_MSG_ERROR([Skins2 interface requires FreeType, libxcursor, libxpm, 
libxext and libxinerama])
     ])
     enable_skins2="no"
   ], [

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to