Commit 73a019ff authored by Rom Walton's avatar Rom Walton

- build: replace gtk flags and libs with libnotify

    
    /
        configure.ac
    clientgui/
        Makefile.am

svn path=/trunk/boinc/; revision=20500
parent f43164ba
......@@ -1069,3 +1069,11 @@ Rom 10 Feb 2010
clientgui/gtk
taskbarex.cpp, .h
Rom 10 Feb 2010
- build: replace gtk flags and libs with libnotify
/
configure.ac
clientgui/
Makefile.am
......@@ -115,9 +115,9 @@ EXTRA_DIST = *.h \
../lib/error_numbers.h \
locale $(mac_headers)
boincmgr_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(GTK_CFLAGS) $(CLIENTGUIFLAGS)
boincmgr_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(GTK_CFLAGS) $(CLIENTGUIFLAGS)
boincmgr_LDADD = $(LIBBOINC) $(GTK_LIBS) $(CLIENTGUILIBS) $(BOINC_EXTRA_LIBS) $(CLIENTLIBS)
boincmgr_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS)
boincmgr_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS)
boincmgr_LDADD = $(LIBBOINC) $(LIBNOTIFY_LIBS) $(CLIENTGUILIBS) $(BOINC_EXTRA_LIBS) $(CLIENTLIBS)
win_config.h: $(top_srcdir)/config.h
grep '#define.*BOINC.*VERSION' $^ > $@
......
......@@ -682,9 +682,16 @@ if test "${enable_manager}" = yes ; then
BOINC_OPTIONS_WXWIDGETS([2.8.0])
fi
dnl ---------- GTK+ 2.0 ---------------------------------------------------
dnl ---------- libNotify --------------------------------------------------
if test "${enable_manager}" = yes ; then
AM_PATH_GTK_2_0([2.10.0], [_ac_cv_have_gtk=yes], [_ac_cv_have_gtk=no])
pkg_config_args=libnotify
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
LIBNOTIFY_CFLAGS=`$PKG_CONFIG libnotify --cflags`
LIBNOTIFY_LIBS=`$PKG_CONFIG libnotify --libs`
AC_SUBST(LIBNOTIFY_CFLAGS)
AC_SUBST(LIBNOTIFY_LIBS)
fi
dnl ---------- Sqlite3 ----------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment