diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-12-11 05:08:33 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-12-11 05:08:33 +0000 |
commit | 4276d54adc40c8a39e1cb779bcf965075aa90f86 (patch) | |
tree | ea07384d5868385de0956a97dc98b72156edd1ef /configure.ac | |
parent | edb57ecf2260733fe337a2bb8d27079d82f9fb6d (diff) |
first attempt at libappindicator support
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 67f6a83..3a2d7e5 100644 --- a/configure.ac +++ b/configure.ac @@ -72,6 +72,12 @@ if test x$with_libproxy != xno; then PKG_CHECK_MODULES([libproxy], [libproxy-1.0], AC_DEFINE(HAVE_LIBPROXY, 1, [Define if libproxy is available]), AC_MSG_WARN([libproxy is required for HTTP proxy support])) fi +AC_ARG_WITH([libappindicator], AC_HELP_STRING([--without-libappindicator], [disable libappindicator])) +have_libappindicator=no +if test x$with_libappindicator != xno; then + PKG_CHECK_MODULES([libappindicator], [appindicator-0.1], AC_DEFINE(HAVE_LIBAPPINDICATOR, 1, [Define if libappindicator is available]), AC_MSG_WARN([Ubuntu Unity users should consider building with libappindicator])) +fi + AC_ARG_ENABLE(debug, [AS_HELP_STRING(--enable-debug, [enable debugging])]) if test x$enable_debug = xyes; then |