[vlc-commits] skins2: disable if qt4 is not available

Rafaël Carré git at videolan.org
Tue Nov 29 05:54:44 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Nov 28 23:40:25 2011 -0500| [ad549b62b593d6a31c002adb34018755d2e7b8bc] | committer: Rafaël Carré

skins2: disable if qt4 is not available

only error out if asked with --enable-skins2

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

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

diff --git a/configure.ac b/configure.ac
index c175fe7..b752a4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3647,8 +3647,13 @@ AM_CONDITIONAL(ENABLE_QT4, [test "x$enable_qt4" != "xno"])
 dnl
 dnl Simple test for skins2 dependency
 dnl
-AS_IF([test "${enable_skins2}" != "no" && test "x$enable_qt4" = "xno"], [
-  AC_MSG_ERROR([The skins2 module depends on a the Qt4 development package. Without it you will not be able to open any dialog box from the interface, which makes the skins2 interface rather useless. Install the Qt4 development package or alternatively you can also configure with: --disable-qt4 --disable-skins2.])
+AS_IF([test "x$enable_qt4" = "xno"], [
+  AS_IF([test "${enable_skins2}" = "yes"], [
+    AC_MSG_ERROR([The skins2 module depends on the Qt4 interface. Without it you will not be able to open any dialog box from the interface, which makes the skins2 interface rather useless. Install the Qt4 development package or alternatively you can also configure with: --disable-qt4 --disable-skins2.])
+  ], [
+    enable_skins2="no"
+    AC_MSG_WARN([The skins2 module depends on the Qt4 interface, Qt4 is not built so skins2 is disabled.])
+  ])
 ])
 
 dnl



More information about the vlc-commits mailing list