diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-26 15:46:04 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-26 15:46:04 +0200 |
commit | d59de9e94eb0eb770f082fb53bb471e9003cf244 (patch) | |
tree | 504f7ddf6453adc069f80ebeadbcf1f494470925 | |
parent | 9d9aa2b9986edd94a3b72a593be7fd588fc031a0 (diff) | |
download | mate-notification-daemon-d59de9e94eb0eb770f082fb53bb471e9003cf244.tar.bz2 mate-notification-daemon-d59de9e94eb0eb770f082fb53bb471e9003cf244.tar.xz |
configure: Support multiple wnck versions
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c40cc48..171e09d 100644 --- a/configure.ac +++ b/configure.ac @@ -95,9 +95,11 @@ AC_MSG_RESULT([$with_gtk]) case "$with_gtk" in 2.0) GTK_API_VERSION=2.0 GTK_REQUIRED=2.18.0 + LIBWNCK_API_VERSION=1.0 ;; 3.0) GTK_API_VERSION=3.0 GTK_REQUIRED=3.0.0 + LIBWNCK_API_VERSION=3.0 ;; esac @@ -123,7 +125,7 @@ pkg_modules=" dbus-1 >= $REQ_DBUS_VERSION, \ dbus-glib-1 >= $REQ_DBUS_VERSION, \ libcanberra-gtk >= $REQ_LIBCANBERRA_GTK_VERSION, \ - libwnck-1.0 \ + libwnck-$LIBWNCK_API_VERSION \ x11 \ " PKG_CHECK_MODULES(NOTIFICATION_DAEMON, $pkg_modules) |