X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_have_libgearman.m4;h=2eeb34fa33dba4d74c8fedca0d5e147d3b4d9b0b;hb=5ba395ad3a28f000bdabc7312dcee483c14d996e;hp=2387bed9bc52dbe125ed07d14dffbe85bf4895c8;hpb=0f880f36260e5b71921b17425400c952b96606d1;p=m6w6%2Flibmemcached diff --git a/m4/pandora_have_libgearman.m4 b/m4/pandora_have_libgearman.m4 index 2387bed9..2eeb34fa 100644 --- a/m4/pandora_have_libgearman.m4 +++ b/m4/pandora_have_libgearman.m4 @@ -1,5 +1,5 @@ -dnl Copyright (C) 2009 Sun Microsystems -dnl This file is free software; Sun Microsystems +dnl Copyright (C) 2009 Sun Microsystems, Inc. +dnl This file is free software; Sun Microsystems, Inc. dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -21,7 +21,7 @@ AC_DEFUN([_PANDORA_SEARCH_LIBGEARMAN],[ #include ],[ gearman_client_st gearman_client; - gearman_version(); + gearman_client_context(&gearman_client); ]) ],[ ac_cv_libgearman="no" @@ -37,5 +37,5 @@ AC_DEFUN([PANDORA_HAVE_LIBGEARMAN],[ AC_DEFUN([PANDORA_REQUIRE_LIBGEARMAN],[ AC_REQUIRE([PANDORA_HAVE_LIBGEARMAN]) AS_IF([test "x${ac_cv_libgearman}" = "xno"], - AC_MSG_ERROR([libgearman is required for ${PACKAGE}])) + AC_MSG_ERROR([At least version 0.10 of libgearman is required for ${PACKAGE}])) ])