2 AC_INIT(rlm_attr_rewrite.c)
3 AC_REVISION($Revision$)
4 AC_DEFUN(modname,[rlm_attr_rewrite])
6 if test x$with_[]modname != xno; then
11 AC_CHECK_HEADERS(regex.h)
13 if test "$ac_cv_header_regex_h" != "yes"; then
14 AC_MSG_RESULT(no regex.h)
15 [ fail=$fail" regex.h" ]
21 echo \*\*\* module modname is disabled.
24 dnl Don't change this section.
25 if test x"$fail" != x""; then
26 if test x"${enable_strict_dependencies}" = x"yes"; then
27 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
29 AC_MSG_WARN([silently not building ]modname[.])
30 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.]);
36 AC_SUBST(attr_rewrite_cflags)
37 AC_SUBST(attr_rewrite_ldflags)