diff options
author | Benedikt Meurer <benny@xfce.org> | 2004-07-24 18:52:49 +0000 |
---|---|---|
committer | Benedikt Meurer <benny@xfce.org> | 2004-07-24 18:52:49 +0000 |
commit | 5d764e372e68e96cca9658230773e0dc8aba8111 (patch) | |
tree | 4d919c9fde68c03604add8f97eefae72fef379d2 /m4 | |
parent | 2beec839e649af13f8472047be932f960f72a6a2 (diff) | |
download | xfce4-panel-5d764e372e68e96cca9658230773e0dc8aba8111.tar.gz |
Readded XFCE_MCS_PLUGIN() again, dunno how I manage to remove it everytime
I edit depends.m4!
(Old svn revision: 4088)
Diffstat (limited to 'm4')
-rw-r--r-- | m4/depends.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/depends.m4 b/m4/depends.m4 index ac86b432..0237e0f8 100644 --- a/m4/depends.m4 +++ b/m4/depends.m4 @@ -61,3 +61,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]) +]) |