2
AC_DEFUN([CHECK_FOR_GEARMAND],
3
[AX_WITH_PROG([GEARMAND_BINARY],[gearmand])
4
AS_IF([test -f "$ac_cv_path_GEARMAND_BINARY"],
5
[AC_DEFINE([HAVE_GEARMAND_BINARY],[1],[If Gearmand binary is available])
6
AC_DEFINE_UNQUOTED([GEARMAND_BINARY], "$ac_cv_path_GEARMAND_BINARY", [Name of the gearmand binary used in make test])],
7
[AC_DEFINE([HAVE_GEARMAND_BINARY],[0],[If Gearmand binary is available])
8
AC_DEFINE([GEARMAND_BINARY],[0],[Name of the gearmand binary used in make test])])