summaryrefslogtreecommitdiffstats
path: root/m4/fr_init_module.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--m4/fr_init_module.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/fr_init_module.m4 b/m4/fr_init_module.m4
new file mode 100644
index 0000000..d0e2b1a
--- /dev/null
+++ b/m4/fr_init_module.m4
@@ -0,0 +1,9 @@
+dnl Macro to set the module name for use later on.
+dnl
+AC_DEFUN([FR_INIT_MODULE],
+[
+AC_DEFUN([modname],$1)
+
+AC_ARG_WITH([$1],
+[AS_HELP_STRING([--without-$1],[build without ]ifelse([$2],[],[$1],[$2]))])
+])