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

Updated BM_DEPEND_CHECK.

(Old svn revision: 694)
parent bd04cf91
No related branches found
No related tags found
No related merge requests found
...@@ -10,14 +10,14 @@ AC_DEFUN([BM_DEPEND], ...@@ -10,14 +10,14 @@ AC_DEFUN([BM_DEPEND],
]) ])
dnl dnl
dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring) dnl BM_DEPEND_CHECK(var, pkg, version, name, helpstring, default)
dnl dnl
AC_DEFUN([BM_DEPEND_CHECK], AC_DEFUN([BM_DEPEND_CHECK],
[ [
AC_ARG_ENABLE([$4-check], AC_ARG_ENABLE([$4],
AC_HELP_STRING([--enable-$4-check], [Enable checking for $5 (default)]) AC_HELP_STRING([--enable-$4], [Enable checking for $5 (default=$6)])
AC_HELP_STRING([--disable-$4-check], [Disable checking for $5]), AC_HELP_STRING([--disable-$4], [Disable checking for $5]),
[ac_cv_$1_check=$enableval], [ac_cv_$1_check=yes]) [ac_cv_$1_check=$enableval], [ac_cv_$1_check=$6])
if test x"$ac_cv_$1_check" = x"yes"; then if test x"$ac_cv_$1_check" = x"yes"; then
AC_MSG_CHECKING([for $2 >= $3]) 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