diff options
author | György Balló <ballogy@freestart.hu> | 2011-11-23 22:59:19 +0100 |
---|---|---|
committer | György Balló <ballogy@freestart.hu> | 2011-11-23 22:59:19 +0100 |
commit | b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c (patch) | |
tree | 3e08685811cfbbe54dc8f30277db3e75be7814a5 /configure.ac | |
parent | 5a3df0dde62593659e792f92236a8142087080f7 (diff) | |
download | ayatana-indicator-session-b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c.tar.gz ayatana-indicator-session-b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c.tar.bz2 ayatana-indicator-session-b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c.zip |
Make APT support optional
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a6ea42f..d47d754 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,18 @@ AC_SUBST(GTKLOGOUTHELPER_CFLAGS) AC_SUBST(GTKLOGOUTHELPER_LIBS) ########################### +# APT support +########################### +AC_ARG_ENABLE([apt], + AC_HELP_STRING([--disable-apt], [disable APT support]),, + [enable_apt=yes]) +AM_CONDITIONAL([BUILD_APT], [test "x$enable_apt" != "xno"]) + +if test "x$enable_apt" != "xno"; then + AC_DEFINE(HAVE_APT, 1, [Define to 1 to enable APT support]) +fi + +########################### # Check to see if we're local ########################### @@ -215,4 +227,5 @@ SUS Indicator Configuration: Indicator Dir: $INDICATORDIR Indicator GTK: $with_gtk Logout Helper: $have_gtklogouthelper + APT support: $enable_apt ]) |