allow not installing /etc/enlightenment/sysactions.conf

We provide just a default, but distros should use their own version
with system specific groups and hibernate/suspend actions (pm-utils or
so)



SVN revision: 45596
This commit is contained in:
Gustavo Sverzut Barbieri 2010-01-26 18:21:09 +00:00
parent 51347f22f4
commit f0588f2b2d
2 changed files with 13 additions and 2 deletions

View File

@ -216,6 +216,14 @@ fi
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)
AC_MSG_CHECKING([whether to install sysactions.conf])
AC_ARG_ENABLE([install-sysactions],
AS_HELP_STRING([--disable-install-sysactions],[disable installing /etc/enlightenment/sysactions.conf @<:@default=enabled@:>@]),
[e_cv_enable_install_sysactions=$enableval],
AC_CACHE_VAL([e_cv_enable_install_sysactions], [e_cv_enable_install_sysactions=yes]))
AC_MSG_RESULT([$e_cv_enable_install_sysactions])
AM_CONDITIONAL(INSTALL_SYSACTIONS, test x${e_cv_enable_install_sysactions} = xyes)
AC_MSG_CHECKING([whether to enable Files menu item])
AC_ARG_ENABLE([files],
AS_HELP_STRING([--disable-files],[disable Files menu item @<:@default=enabled@:>@]),

View File

@ -1,6 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
filesdir = $(sysconfdir)/enlightenment
files_DATA = \
sysactions.conf
files_DATA =
if INSTALL_SYSACTIONS
files_DATA += sysactions.conf
endif
EXTRA_DIST = $(files_DATA)