2 AC_REVISION($Revision$)
3 AC_DEFUN(modname,[rlm_idn])
5 if test x$with_[]modname != xno; then
10 FR_SMART_CHECK_LIB(idn, idna_to_ascii_8z)
11 if test "x$ac_cv_lib_idn_idna_to_ascii_8z" != "xyes"; then
15 FR_SMART_CHECK_INCLUDE(idna.h)
16 if test "$ac_cv_header_idna_h" != "yes"; then
22 echo \*\*\* module modname is disabled.
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.]);
35 mod_ldflags="${SMART_LIBS}"
36 mod_cflags="${SMART_CFLAGS}"