Made it 2.0.0, and removed the changes that are in 1.1.x, as
[freeradius.git] / src / modules / rlm_eap / types / rlm_eap_peap / configure.in
1 AC_INIT(rlm_eap_peap.c)
2 AC_REVISION($Revision$)
3 AC_DEFUN(modname,[rlm_eap_peap])
4
5 fail=
6 SMART_LIBS=
7 SMART_CLFAGS=
8 if test x$with_[]modname != xno; then
9
10         AC_PROG_CC
11
12         if test "x$OPENSSL_LIBS" = "x"; then
13                 fail="$fail OpenSSL"
14         fi
15
16         targetname=modname
17 else
18         targetname=
19         echo \*\*\* module modname is disabled.
20 fi
21
22 if test x"$fail" != x""; then
23         if test x"${enable_strict_dependencies}" = x"yes"; then
24                 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
25         else
26                 AC_MSG_WARN([silently not building ]modname[.])
27                 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.])
28                 if test x"$headersuggestion" != x; then
29                         AC_MSG_WARN([$headersuggestion]) 
30                 fi
31                 if test x"$libsuggestion" != x; then
32                         AC_MSG_WARN([$libsuggestion]) 
33                 fi
34                 targetname=""
35         fi
36 fi
37
38 eap_peap_ldflags=$SMART_LIBS
39 eap_peap_cflags=$SMART_CFLAGS
40 AC_SUBST(eap_peap_ldflags)
41 AC_SUBST(eap_peap_cflags)
42 AC_SUBST(targetname)
43 AC_CONFIG_HEADER([config.h])
44 AC_OUTPUT(Makefile)