aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-02-25 01:22:35 +0100
committerToni Uhlig <matzeton@googlemail.com>2020-02-25 01:22:35 +0100
commitdcf021df4dacc70fa9900a778a19c50b47010d26 (patch)
tree2a995fc4cc923697aaab55f12666ee5ecec3602a
parentf9780703c334208b98928b925c3b771dcaa934a2 (diff)
added additional check for wxWidgets GTK (libwxgtk3.0)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c98971d..84185f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,6 +121,13 @@ if test x"${ut_buildgui}" = x"yes"; then
if test x"${ut_use_msw}" = x"yes" -a x"${enable_host_wxwidgets}" = x"yes"; then
AC_MSG_ERROR([Building UpdateTool for Windows based platforms is not supported with --enable-host-wxwidgets])
fi
+ AC_MSG_CHECKING([for wxWidgets GTK])
+ wx_gtk=$(${utool_wxdir}wx-config --selected-config | grep -o gtk)
+ if test x"${wx_gtk}" = x"gtk"; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_ERROR([libwxgtk3.0-dev not found])
+ fi
AC_MSG_CHECKING([for wxWidgets version])
wx_version=$(${utool_wxdir}wx-config --version-full)
AC_MSG_RESULT([${wx_version}])