# -- Initialisation --
AC_PREREQ([2.61])
-AC_INIT([ngIRCd],[VERSION_ID],[ngircd-ml@ngircd.barton.de],[ngircd],[http://ngircd.barton.de/])
+AC_INIT([ngIRCd],[VERSION_ID],[ngircd@lists.barton.de],[ngircd],[https://ngircd.barton.de/])
AC_CONFIG_SRCDIR([src/ngircd/ngircd.c])
AC_CONFIG_HEADER([src/config.h])
result=yes
AC_MSG_CHECKING([whether ${CC} accepts -Wno-format-truncation])
old_cflags="$CFLAGS"
- CFLAGS="$CFLAGS -Wno-format-truncation"
+ CFLAGS="$CFLAGS -Werror -Wno-format-truncation"
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],[],[result=no])
echo $result
- if test "X$result" = "Xno"; then
+ if test "X$result" = "Xyes"; then
+ CFLAGS="$old_cflags -Wno-format-truncation"
+ else
CFLAGS="$old_cflags"
fi
])
stdbool.h \
stddef.h \
stdint.h \
+ sys/resource.h \
+ sys/un.h \
varargs.h \
])
getnameinfo \
inet_aton \
setgroups \
+ setrlimit \
sigaction \
sigprocmask \
snprintf \