]> git.sesse.net Git - vlc/commitdiff
Make sure the wxWindows development headers and libraries are present when skins2...
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 12 Nov 2004 14:29:01 +0000 (14:29 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 12 Nov 2004 14:29:01 +0000 (14:29 +0000)
configure.ac

index 39b9ca34b305301912248c1302d5c54f64d912a8..84296ac0a58e56d3a7b13a1423b41e3366aa1329 100644 (file)
@@ -3501,6 +3501,17 @@ then
   fi
 fi
 
+dnl
+dnl Simple test for skins2 dependency
+dnl
+if test "${enable_skins2}" != "no"
+then
+  if test "${WX_CONFIG}" = "no"
+  then
+    AC_MSG_ERROR([The skins2 module depends on the wxWindows development package. Without it you won't be able to open any dialog box from the interface, which makes the skins2 interface rather useless. Install the wxWindows development package or alternatively you can also configure with: --disable-wxwindows --disable-skins2.])
+  fi
+fi
+
 dnl dnl
 dnl dnl  Qt module
 dnl dnl