summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2003-05-02 17:12:43 +0000
committerBenedikt Meurer <benny@xfce.org>2003-05-02 17:12:43 +0000
commit4e6e622838f6fa98e7412db1a2be9e67872cf318 (patch)
tree7193f07d5a9d2350fc533da5af9eb62a21872051 /m4
parent227f7560592268511577dcd9b3ff05b05294080c (diff)
downloadxfce4-panel-4e6e622838f6fa98e7412db1a2be9e67872cf318.tar.gz
Several changes. See
http://www.home.unix-ag.org/bmeurer/xfce/index.html#20030502 for details. (Old svn revision: 3663)
Diffstat (limited to 'm4')
-rw-r--r--m4/depends.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/depends.m4 b/m4/depends.m4
index d0658e48..baaa452d 100644
--- a/m4/depends.m4
+++ b/m4/depends.m4
@@ -46,3 +46,19 @@ AC_DEFUN([XFCE_PANEL_PLUGIN],
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])
+])