{
test_skip(true, HAVE_LIBGEARMAN);
test_skip(true, has_gearmand());
-#if defined(GEARMAND_BINARY)
+#if defined(HAVE_GEARMAND_BINARY) && HAVE_GEARMAND_BINARY
if (GEARMAND_BINARY)
{
- test_skip(0, access(GEARMAND_BINARY, X_OK ));
+ test_zero(access(GEARMAND_BINARY, X_OK ));
}
else
{
# serial 2
AC_DEFUN([CHECK_FOR_LIBGEARMAND],
- [AX_CHECK_LIBRARY([LIBGEARMAN],[libgearman/gearman.h],[gearman])
- ])
+ [AX_CHECK_LIBRARY([LIBGEARMAN],[libgearman/gearman.h],[gearman],,
+ [AC_DEFINE([HAVE_LIBGEARMAN],[0],[Define to 1 to compile in libgearman support])])
+ ])