diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-08 17:32:20 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-08 17:40:31 +0800 |
commit | 6b1d4251dc32cf7c75871002a1f8163af9775f65 (patch) | |
tree | 6eaaae23513675cb51585d0ef2c0dbe9815d138d /configure.ac | |
parent | 166785e324a397f3b1444820102a41413041d76d (diff) | |
download | gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.tar gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.tar.gz gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.tar.bz2 gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.tar.lz gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.tar.xz gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.tar.zst gsoc2013-empathy-6b1d4251dc32cf7c75871002a1f8163af9775f65.zip |
Build with latest NST when using GTK3 and port to new API (#623199)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 2426c2f5e..7e71bd96f 100644 --- a/configure.ac +++ b/configure.ac @@ -50,6 +50,7 @@ ISO_CODES_REQUIRED=0.35 LIBCHAMPLAIN_GTK_REQUIRED=0.4 LIBCHAMPLAIN_REQUIRED=0.4 NAUTILUS_SENDTO_REQUIRED=2.28.1 +NAUTILUS_SENDTO_REQUIRED_GTK3=2.90.0 NETWORK_MANAGER_REQUIRED=0.7.0 WEBKIT_REQUIRED=1.1.15 @@ -445,10 +446,17 @@ AC_ARG_ENABLE(nautilus-sendto, enable_nautilus_sendto=auto) if test "x$enable_nautilus_sendto" != "xno"; then - PKG_CHECK_MODULES(NST, - [ - nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED - ], have_nst="yes", have_nst="no") + if test "x$enable_gtk3" == "xno"; then + # Newer NST requires GTK+3 so we can't use it + PKG_CHECK_MODULES(NST,[nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED + nautilus-sendto < 2.90.0], + have_nst="yes", have_nst="no") + + AC_DEFINE(HAVE_OLD_NST, [], [Legacy compat mode with old nautilus-sendto] ) + else + PKG_CHECK_MODULES(NST,[nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED_GTK3], + have_nst="yes", have_nst="no") + fi else have_nst=no fi |