]> 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:23 +0000 (14:29 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 12 Nov 2004 14:29:23 +0000 (14:29 +0000)
configure.ac

index b9498031064fa7a7de8645d5296bb4141f86c139..2cbd83cb3572519e4cbd09d4fe4c28aa72cbf16d 100644 (file)
@@ -3500,6 +3500,18 @@ 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