X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.ng;h=a3855dbebee95b1bd33059ce16b16a87abb9a4a5;hp=b2652c64aed63f61442a31a888f4f3e09483fd0a;hb=HEAD;hpb=1d527eaf17435089e70b530955e271bbd0440fe4 diff --git a/configure.ng b/configure.ng index b2652c64..0dccfbc5 100644 --- a/configure.ng +++ b/configure.ng @@ -23,7 +23,7 @@ m4_ifdef([AM_SILENT_RULES], # -- 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]) @@ -129,10 +129,12 @@ AC_DEFUN([GCC_W_NO_FORMAT_TRUNC],[ 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 ]) @@ -190,6 +192,8 @@ AC_CHECK_HEADERS_ONCE([ \ stdbool.h \ stddef.h \ stdint.h \ + sys/resource.h \ + sys/un.h \ varargs.h \ ]) @@ -272,6 +276,7 @@ AC_CHECK_FUNCS_ONCE([ getnameinfo \ inet_aton \ setgroups \ + setrlimit \ sigaction \ sigprocmask \ snprintf \