blob: ab8042f72362feaf1980fa4d10521751c13dafb9 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001Add configure check for gtk2+ and objc++
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5
Brad Bishop2eeb5252018-09-10 18:40:16 +00006Index: boinc-client_release-7.6-7.6.33/configure.ac
7===================================================================
8--- boinc-client_release-7.6-7.6.33.orig/configure.ac
9+++ boinc-client_release-7.6-7.6.33/configure.ac
10@@ -64,6 +64,7 @@ m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCX
11 dnl ------
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012 AC_PROG_F77
13 AC_PROG_CPP
14+AC_PROG_OBJCXX
15 AC_PROG_MAKE_SET
16 SAH_LINKS
17 AC_LANG_PUSH(C)
Brad Bishop2eeb5252018-09-10 18:40:16 +000018@@ -1081,6 +1082,8 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019 AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
20 AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
21
22+PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
23+
24 dnl ======================================================================
25 dnl some more vodoo required for building portable client-binary (client, clientgui)
26 dnl ======================================================================