From a188efee8beae65ddb8cc0abf4ba6143abc917b2 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Fri, 12 Nov 2004 14:29:23 +0000 Subject: [PATCH] Make sure the wxWindows development headers and libraries are present when skins2 module is enabled. Without wxWindows the skins2 interface is not very usable. --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configure.ac b/configure.ac index b949803106..2cbd83cb35 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.39.2