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