configure: add ENABLE_OPER_CHGHOST flag
This commit is contained in:
parent
f79f3e6a95
commit
0e99e13a71
4 changed files with 15 additions and 10 deletions
12
configure.ac
12
configure.ac
|
@ -497,6 +497,18 @@ if test "x$BRANDING_NAME" != "x$PACKAGE_NAME"; then
|
|||
AC_DEFINE(CUSTOM_BRANDING, 1, [Define if custom branding is enabled.])
|
||||
fi
|
||||
|
||||
dnl **********************************************************************
|
||||
dnl Enable oper chghost
|
||||
dnl **********************************************************************
|
||||
|
||||
AC_ARG_ENABLE(oper-chghost,
|
||||
AC_HELP_STRING([--enable-oper-chghost],[Allow opers to use the CHGHOST command]),
|
||||
[operchghost=$enableval],[operchghost=no])
|
||||
|
||||
if test "$operchghost" = yes; then
|
||||
AC_DEFINE(ENABLE_OPER_CHGHOST, 1, [Define this to enable opers to use the CHGHOST command.])
|
||||
fi
|
||||
|
||||
dnl Debug-related options
|
||||
dnl =====================
|
||||
|
||||
|
|
|
@ -72,11 +72,6 @@
|
|||
*/
|
||||
#undef IGNORE_BOGUS_TS
|
||||
|
||||
/* ENABLE_OPER_CHGHOST
|
||||
* Allow opers to use the CHGHOST command. Potentially abusive.
|
||||
*/
|
||||
#undef ENABLE_OPER_CHGHOST
|
||||
|
||||
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||
* Often net breaks for a short time and it's useful to try to
|
||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||
|
|
|
@ -72,11 +72,6 @@
|
|||
*/
|
||||
#undef IGNORE_BOGUS_TS
|
||||
|
||||
/* ENABLE_OPER_CHGHOST
|
||||
* Allow opers to use the CHGHOST command. Potentially abusive.
|
||||
*/
|
||||
#undef ENABLE_OPER_CHGHOST
|
||||
|
||||
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||
* Often net breaks for a short time and it's useful to try to
|
||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
/* Size of the dlink_node heap. */
|
||||
#undef DNODE_HEAP_SIZE
|
||||
|
||||
/* Define this to enable opers to use the CHGHOST command. */
|
||||
#undef ENABLE_OPER_CHGHOST
|
||||
|
||||
/* Prefix where config files are installed. */
|
||||
#undef ETC_DIR
|
||||
|
||||
|
|
Loading…
Reference in a new issue