1 AC_INIT(rlm_checkval.c)
2 AC_REVISION($Revision$)
3 AC_DEFUN(modname,[rlm_checkval])
5 if test x$with_[]modname != xno; then
10 ## We may need more complex checking here. Assume for now that
12 AC_CHECK_HEADERS(regex.h)
17 echo \*\*\* module modname is disabled.
20 dnl Don't change this section.
21 if test x"$fail" != x""; then
22 if test x"${enable_strict_dependencies}" = x"yes"; then
23 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
25 AC_MSG_WARN([silently not building ]modname[.])
26 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.]);
32 AC_SUBST(checkval_cflags)
33 AC_SUBST(checkval_ldflags)
35 AC_CONFIG_HEADER(config.h) # delete if you don't want a config.h file.