blob: 7c3b0325dd18009d482820f0e39e7f54a9598d45 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001From 7957756a3dd16498cf7a75e1fb6675a33bc7f3dc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 3 Nov 2016 01:20:33 -0700
4Subject: [PATCH] Add configure check for gtk2+ and objc++
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Pending
8
Brad Bishope42b3e32020-01-15 22:08:42 -05009---
10 configure.ac | 3 +++
11 1 file changed, 3 insertions(+)
12
13diff --git a/configure.ac b/configure.ac
14index d81d795de4..7beeb34ae2 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -63,6 +63,7 @@ m4_pattern_allow([AC_PROG_OBJCXX])
18 m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCXX],)
Brad Bishop2eeb5252018-09-10 18:40:16 +000019 dnl ------
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020 AC_PROG_CPP
21+AC_PROG_OBJCXX
22 AC_PROG_MAKE_SET
23 SAH_LINKS
24 AC_LANG_PUSH(C)
Brad Bishope42b3e32020-01-15 22:08:42 -050025@@ -1068,6 +1069,8 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test "x${enable_server}" = xyes || test "x${
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026 AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
27 AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
28
29+PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
30+
31 dnl ======================================================================
32 dnl some more vodoo required for building portable client-binary (client, clientgui)
33 dnl ======================================================================