import from HEAD:
[freeradius.git] / src / modules / rlm_eap / types / rlm_eap_mschapv2 / configure.in
1 AC_INIT(rlm_eap_mschapv2.c)
2 AC_REVISION($Revision$)
3 AC_DEFUN(modname,[rlm_eap_mschapv2])
4
5 if test x$with_[]modname != xno; then
6
7         ## We may need more complex checking here.  Assume for now that 
8         ## everyone has it.
9         AC_CHECK_HEADERS(malloc.h)
10
11         targetname=modname     # keep this!  Don't change!
12 else
13         targetname=            # keep this!  Don't change!
14         echo \*\*\* module modname is disabled.  # keep this!  Don't change!
15 fi
16
17 dnl  Don't change this section.
18 if test x"$fail" != x""; then
19         if test x"${enable_strict_dependencies}" = x"yes"; then
20                 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
21         else
22                 AC_MSG_WARN([silently not building ]modname[.])
23                 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.]); 
24                 targetname=""
25         fi
26 fi
27
28 AC_SUBST(eap_mschapv2_cflags)
29 AC_SUBST(eap_mschapv2_ldflags)
30
31 dnl AC_CONFIG_HEADER(config.h)
32
33 AC_SUBST(targetname)  # keep this!  Don't change!
34 AC_OUTPUT(Makefile)  # keep this!  Don't change!