diff options
author | William Hua <william.hua@canonical.com> | 2013-04-29 22:38:23 -0700 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-04-29 22:38:23 -0700 |
commit | 0d409ee73408a8ba66b31d2c343994302b0b7c81 (patch) | |
tree | ebc8f0a3c11cbd77eca162aa6bdd1bf5c80a2e96 /configure.ac | |
parent | 2351bfaad6b980a54eef83ff01a6f14a9eddeea4 (diff) | |
download | ayatana-indicator-keyboard-0d409ee73408a8ba66b31d2c343994302b0b7c81.tar.gz ayatana-indicator-keyboard-0d409ee73408a8ba66b31d2c343994302b0b7c81.tar.bz2 ayatana-indicator-keyboard-0d409ee73408a8ba66b31d2c343994302b0b7c81.zip |
Indicator visible setting.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c0ffbb33..2ca24b88 100644 --- a/configure.ac +++ b/configure.ac @@ -18,12 +18,17 @@ AC_PROG_LIBTOOL AC_PROG_INSTALL PKG_PROG_PKG_CONFIG([0.26]) -AC_ARG_WITH([dbus-service-dir], [AS_HELP_STRING([--with-dbus-service-dir=DIR], [D-Bus service directory [default=`pkg-config --variable=session_bus_services_dir dbus-1`]])], [], [with_dbus_service_dir=`pkg-config --variable=session_bus_services_dir dbus-1`]) +AC_ARG_ENABLE([local-install], AS_HELP_STRING([--enable-local-install], [Enable local install])) +AS_IF([test "x$enable_local_install" = "xyes"], [dbus_service_dir=$prefix/share/dbus-1/services], [dbus_service_dir=`pkg-config --variable=session_bus_services_dir dbus-1`]) + +AC_ARG_WITH([dbus-service-dir], [AS_HELP_STRING([--with-dbus-service-dir=DIR], [D-Bus service directory [default=$dbus_service_dir]])], [], [with_dbus_service_dir=$dbus_service_dir]) AC_ARG_WITH([indicator-dir], [AS_HELP_STRING([--with-indicator-dir=DIR], [Indicator directory [default=$prefix/share/unity/indicators]])], [], [with_indicator_dir=$prefix/share/unity/indicators]) AC_SUBST([DBUS_SERVICE_DIR], [$with_dbus_service_dir]) AC_SUBST([INDICATOR_DIR], [$with_indicator_dir]) +GLIB_GSETTINGS + PKG_CHECK_MODULES([GTK], [gtk+-3.0]) AC_SUBST([GTK_CFLAGS]) AC_SUBST([GTK_LIBS]) |