New panel plugin check

(Old svn revision: 325)
master
Benedikt Meurer 2004-07-21 09:00:22 +00:00
parent d08376c6ce
commit 2fca59c250
1 changed files with 5 additions and 1 deletions

View File

@ -41,8 +41,12 @@ AC_DEFUN([XFCE_PANEL_PLUGIN],
BM_DEPEND([$1], [xfce4-panel-1.0], [$2]) BM_DEPEND([$1], [xfce4-panel-1.0], [$2])
dnl Check where to put the plugins to 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]) AC_MSG_CHECKING([where to install panel plugins])
$1_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0`
AC_SUBST([$1_PLUGINSDIR]) AC_SUBST([$1_PLUGINSDIR])
AC_MSG_RESULT([$$1_PLUGINSDIR]) AC_MSG_RESULT([$$1_PLUGINSDIR])
]) ])