[vlc-commits] Fix build failure with --enable-skins2

Rémi Denis-Courmont git at videolan.org
Wed Oct 5 16:55:19 CEST 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct  5 17:55:07 2011 +0300| [ca6fef116ff10e2e3485028d56b646b909885bde] | committer: Rémi Denis-Courmont

Fix build failure with --enable-skins2

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

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

diff --git a/configure.ac b/configure.ac
index b1ab0ba..a5900ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3936,7 +3936,7 @@ if test "${enable_skins2}" = "yes" ||
   if test "${SYS}" != "mingw32" -a "${SYS}" != "darwin"; then
     PKG_CHECK_MODULES([XPM], [xpm],, [skins2_missing_lib="yes"])
     PKG_CHECK_MODULES([XEXT], [xext],, [skins2_missing_lib="yes"])
-    if test "${enable_skins2}" = "yes"; then
+    if test "${skins2_missing_lib}" = "yes" -a "${enable_skins2}" = "yes"; then
       AC_MSG_ERROR([Could not find Xpm and/or Xext (required for skins2)])
     fi
   fi



More information about the vlc-commits mailing list