2 AC_REVISION($Revision$)
3 AC_DEFUN(modname,[rlm_eap])
8 if test x$with_[]modname != xno; then
13 for foo in `find ./types -name configure -print`; do
14 bar=`echo $foo | sed 's%/configure$%%g'`
15 eapsubdirs="$eapsubdirs $bar"
18 dnl # don't ask... this is done to avoid autoconf stupidities.
19 ln -s ../../../install-sh install-sh
22 dnl # Don't change the variable name here. Autoconf goes bonkers
25 AC_CONFIG_SUBDIRS($eapsubdirs)
29 dnl # Don't bother looking for errors in the child directories
35 echo \*\*\* module modname is disabled.
38 if test x"$fail" != x""; then
39 if test x"${enable_strict_dependencies}" = x"yes"; then
40 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
42 AC_MSG_WARN([silently not building ]modname[.])
43 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.])
44 if test x"$headersuggestion" != x; then
45 AC_MSG_WARN([$headersuggestion])
47 if test x"$libsuggestion" != x; then
48 AC_MSG_WARN([$libsuggestion])
56 if test x"$eapsubdirs" = x""; then
60 eap_ldflags=$SMART_LIBS
61 eap_cflags=$SMART_CFLAGS