| 160 |
|
AC_DEFINE([EFNET],[1],[Define to 1 if this server will be an EFnet server.]) |
| 161 |
|
AC_DEFINE([TS5_ONLY],[1],[If Defined to 1 server links to your network must have a minimum of TS5.]) |
| 162 |
|
else |
| 163 |
– |
AC_DEFINE([INVARIANTS],[1],[Miscellaneous sanity checks for the IRCd. Makes it slightly slower]) |
| 163 |
|
use_efnet="no" |
| 164 |
|
fi |
| 165 |
|
AM_CONDITIONAL([EFNET],[test "$use_efnet" = "yes"]) |
| 185 |
|
AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[ |
| 186 |
|
AC_ARG_ENABLE([warnings],[AC_HELP_STRING([--enable-warnings],[Enable compiler warnings.])],[warnings="$enableval"],[warnings="no"]) |
| 187 |
|
if test "$warnings" = "yes" ; then |
| 188 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef" |
| 188 |
> |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 189 |
|
fi |
| 190 |
|
])dnl }}} |
| 191 |
|
dnl {{{ ax_arg_enable_syslog |