2 AC_REVISION($Revision$)
3 AC_DEFUN(modname,[rlm_eap_sim])
8 if test x$with_[]modname != xno; then
12 if test "x$OPENSSL_INCLUDE" != "x"; then
13 SMART_CFLAGS="-I$OPENSSL_INCLUDE"
15 fail="$fail (openssl/ssl.h)"
18 if test "x$OPENSSL_LIBS" != "x"; then
19 SMART_LIBS="-L$OPENSSL_LIBS -lcrypto -lssl"
27 echo \*\*\* module modname is disabled.
30 if test x"$fail" != x""; then
31 if test x"${enable_strict_dependencies}" = x"yes"; then
32 AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
34 AC_MSG_WARN([silently not building ]modname[.])
35 AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.])
36 if test x"$headersuggestion" != x; then
37 AC_MSG_WARN([$headersuggestion])
39 if test x"$libsuggestion" != x; then
40 AC_MSG_WARN([$libsuggestion])
46 eap_sim_ldflags=$SMART_LIBS
47 eap_sim_cflags=$SMART_CFLAGS
48 AC_SUBST(eap_sim_ldflags)
49 AC_SUBST(eap_sim_cflags)
51 AC_CONFIG_HEADER([config.h])