AS_HELP_STRING([--disable-poll], [use select() instead of poll()]),
[POLL="$enableval"],
[POLL="yes"])
+AC_ARG_WITH( [rizon],
+ AS_HELP_STRING([--with-rizon={US,EU}], [enable building of rizon-specific modules]),
+ [RIZON=$withval],
+ [RIZON="no"])
+
+if test "x$RIZON" != "xno"; then
+ appendCXX -DRIZON_$RIZON
+fi
if test "$DEBUG" != "no"; then
appendCXX -ggdb
echo
echo znc AC_PACKAGE_VERSION configured
echo
+echo "rizon: $RIZON"
echo "prefix: $prefix"
echo "debug: $DEBUG"
echo "ipv6: $IPV6"
FILES += $(addprefix extra/, $(notdir $(wildcard $(srcdir)/extra/*.cpp)))
endif
+# If rizon modules are enabled
+ifneq "@RIZON@" "no"
+FILES += $(addprefix rizon/, $(notdir $(wildcard $(srcdir)/rizon/*.cpp)))
+endif
+
include $(srcdir)/modperl/Makefile.inc
include $(srcdir)/modpython/Makefile.inc
include $(srcdir)/modtcl/Makefile.inc
}\r
};\r
\r
-CString CCgiIrcMod::m_pPass = CHANGE ME "";\r
+#error CGI::IRC module requires password to be entered at compile-time.\r
+CString CCgiIrcMod::m_pPass = "";\r
\r
GLOBALMODULEDEFS(CCgiIrcMod, "Provide dynamic IP spoofing to assist with user accountability.");\r