aboutsummaryrefslogtreecommitdiff
path: root/config/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/plugins.m4')
-rw-r--r--config/plugins.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/config/plugins.m4 b/config/plugins.m4
new file mode 100644
index 0000000..7ee8412
--- /dev/null
+++ b/config/plugins.m4
@@ -0,0 +1,11 @@
+AC_DEFUN([AC_PLUGINS],
+[
+AC_ARG_ENABLE([plugins],
+AS_HELP_STRING([--enable-plugins], [Enable support for plugins (defaults no)]),
+[case "${enableval}" in
+ yes | "") plugins=yes ;;
+ no) plugins=no ;;
+ *) plugins=yes ;;
+ esac],
+[plugins=no])
+])