Commit | Line | Data |
---|---|---|
805e021f CE |
1 | AC_DEFUN([OPENAFS_REGEX_CHECKS],[ |
2 | AC_MSG_CHECKING([for POSIX regex library]) | |
3 | if test "$ac_cv_header_regex_h" = "yes" && \ | |
4 | test "$ac_cv_func_regcomp" = "yes" && \ | |
5 | test "$ac_cv_func_regexec" = "yes" && \ | |
6 | test "$ac_cv_func_regerror" = "yes"; then | |
7 | AC_DEFINE(HAVE_POSIX_REGEX, 1, [define if you have POSIX regex library]) | |
8 | AC_MSG_RESULT(yes) | |
9 | else | |
10 | AC_MSG_RESULT(no) | |
11 | fi | |
12 | ]) |