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

Updated BM_DEPEND_CHECK.

(Old svn revision: 11081)
parent 16a50cd4
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ BM_DEPEND(LIBXFCEGUI4, libxfcegui4-1.0, 0.0.16)
BM_DEPEND(XFCE_MCS_MANAGER, xfce-mcs-manager, 0.1.0)
BM_DEPEND_CHECK(LIBSTARTUP_NOTIFICATION, libstartup-notification-1.0, 0.4,
[startup-notification], [startup notification library])
[startup-notification], [startup notification library], [yes])
dnl Check for debugging support
BM_DEBUG_SUPPORT
......
......@@ -10,14 +10,14 @@ AC_DEFUN([BM_DEPEND],
])
dnl
dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring)
dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring, default)
dnl
AC_DEFUN([BM_DEPEND_CHECK],
[
AC_ARG_ENABLE([$4-check],
AC_HELP_STRING([--enable-$4-check], [Enable checking for $5 (default)])
AC_HELP_STRING([--disable-$4-check], [Disable checking for $5]),
[ac_cv_$1_check=$enableval], [ac_cv_$1_check=yes])
AC_ARG_ENABLE([$4],
AC_HELP_STRING([--enable-$4], [Enable checking for $5 (default=$6)])
AC_HELP_STRING([--disable-$4], [Disable checking for $5]),
[ac_cv_$1_check=$enableval], [ac_cv_$1_check=$6])
if test x"$ac_cv_$1_check" = x"yes"; then
AC_MSG_CHECKING([for $2 >= $3])
......
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