AC_DEFUN([OPENAFS_REGEX_CHECKS],[ AC_MSG_CHECKING([for POSIX regex library]) if test "$ac_cv_header_regex_h" = "yes" && \ test "$ac_cv_func_regcomp" = "yes" && \ test "$ac_cv_func_regexec" = "yes" && \ test "$ac_cv_func_regerror" = "yes"; then AC_DEFINE(HAVE_POSIX_REGEX, 1, [define if you have POSIX regex library]) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi ])