summaryrefslogtreecommitdiffstats
path: root/src/modules/rlm_radutmp/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/rlm_radutmp/configure.ac')
-rw-r--r--src/modules/rlm_radutmp/configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/modules/rlm_radutmp/configure.ac b/src/modules/rlm_radutmp/configure.ac
new file mode 100644
index 0000000..9eda477
--- /dev/null
+++ b/src/modules/rlm_radutmp/configure.ac
@@ -0,0 +1,20 @@
+AC_PREREQ([2.68])
+AC_INIT(rlm_radutmp.c)
+AC_REVISION($Revision$)
+FR_INIT_MODULE([rlm_radutmp], [radutmp support])
+
+if test x$with_[]modname != xno; then
+
+ AC_CHECK_HEADERS(sys/mman.h)
+
+ targetname=modname
+else
+ targetname=
+ echo \*\*\* module modname is disabled.
+fi
+
+AC_SUBST(mod_ldflags)
+AC_SUBST(mod_cflags)
+AC_SUBST(targetname)
+AC_CONFIG_HEADER(config.h)
+AC_OUTPUT(all.mk)