X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=configure.ac;h=3ad2821fe75411cdd1985f5f3b116ab2d446d147;hb=953f5b4231bbbb8269bb0c55b96a1c8c4bb34a59;hp=216f271f68afe075cf43247f9b5b5c49eca639ff;hpb=8f2ef1a174d18a9efdf9b0bd2417132fe7d84e9f;p=tinc diff --git a/configure.ac b/configure.ac index 216f271f..3ad2821f 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ origcflags="$CFLAGS" AC_PREREQ(2.61) AC_INIT([tinc], m4_esyscmd_s((git describe || echo UNKNOWN) | sed 's/release-//')) AC_CONFIG_SRCDIR([src/tincd.c]) -AM_INIT_AUTOMAKE([std-options subdir-objects nostdinc silent-rules -Wall info-in-builddir]) +AM_INIT_AUTOMAKE([std-options subdir-objects nostdinc silent-rules -Wall]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AM_SILENT_RULES([yes]) @@ -181,6 +181,7 @@ AC_CHECK_HEADERS([netinet/tcp.h netinet/ip_icmp.h netinet/icmp6.h], dnl Checks for typedefs, structures, and compiler characteristics. tinc_ATTRIBUTE(__malloc__) +tinc_ATTRIBUTE(__nonnull__) tinc_ATTRIBUTE(__warn_unused_result__) AC_CHECK_TYPES([struct ether_header, struct arphdr, struct ether_arp, struct ip, struct icmp, struct ip6_hdr, struct icmp6_hdr, struct nd_neighbor_solicit, struct nd_opt_hdr], , , @@ -265,6 +266,6 @@ if test "x$runstatedir" = "x"; then AC_SUBST([runstatedir], ['${localstatedir}/run']) fi -AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile gui/Makefile test/Makefile systemd/Makefile]) +AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile test/Makefile systemd/Makefile]) AC_OUTPUT