From 2fca59c250c38db1099fbc11adff6f256ae3d2d5 Mon Sep 17 00:00:00 2001 From: Benedikt Meurer Date: Wed, 21 Jul 2004 09:00:22 +0000 Subject: [PATCH] New panel plugin check (Old svn revision: 325) --- m4/depends.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/m4/depends.m4 b/m4/depends.m4 index d0658e4..8022d61 100644 --- a/m4/depends.m4 +++ b/m4/depends.m4 @@ -41,8 +41,12 @@ AC_DEFUN([XFCE_PANEL_PLUGIN], BM_DEPEND([$1], [xfce4-panel-1.0], [$2]) dnl Check where to put the plugins to + AC_ARG_WITH([pluginsdir], +AC_HELP_STRING([--with-pluginsdir=DIR], [Install plugins dir DIR]), +[$1_PLUGINSDIR=$withval], +[$1_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0`]) + AC_MSG_CHECKING([where to install panel plugins]) - $1_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0` AC_SUBST([$1_PLUGINSDIR]) AC_MSG_RESULT([$$1_PLUGINSDIR]) ])