Skip to content
Snippets Groups Projects
Commit 73e0eeed authored by Benedikt Meurer's avatar Benedikt Meurer
Browse files

Readded the XFCE_MCS_PLUGIN macro. I didn't ment to remove it, tho.

(Old svn revision: 11886)
parent 0c7de53e
No related branches found
No related tags found
No related merge requests found
......@@ -50,3 +50,19 @@ AC_HELP_STRING([--with-pluginsdir=DIR], [Install plugins dir DIR]),
AC_SUBST([$1_PLUGINSDIR])
AC_MSG_RESULT([$$1_PLUGINSDIR])
])
dnl
dnl XFCE_MCS_PLUGIN(var, version)
dnl
dnl sets $var_CFLAGS, $var_LIBS and $var_PLUGINSDIR
dnl
AC_DEFUN([XFCE_MCS_PLUGIN],
[
BM_DEPEND([$1], [xfce-mcs-manager], [$2])
dnl Check where to put the plugins to
AC_MSG_CHECKING([where to install MCS plugins])
$1_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce-mcs-manager`
AC_SUBST([$1_PLUGINSDIR])
AC_MSG_RESULT([$$1_PLUGINSDIR])
])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment