Makefile.am
author psykose <alice@ayaya.dev>
Thu, 21 Apr 2022 20:23:32 +0200
changeset 744 4ebe32453682
parent 706 54b976da688b
permissions -rw-r--r--
fix macro define for freeaddrinfo with asyncns previously, this define was only made in lm-asyncns-resolver.c, which does not propagate it to lm-resolver.c, where freeaddrinfo() is used. this means that when asyncns support is used, the standard libc freeaddrinfo() is called on an addrinfo acquired from asyncns_getaddrinfo, which is undefined behaviour, and leads to a segfault on musl libc.

include $(top_srcdir)/build/Makefile.am.lm

SUBDIRS = loudmouth docs examples $(TEST_DIRS)
DIST_SUBDIRS = loudmouth docs examples tests

ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST +=			\
	loudmouth-1.0.pc.in     \
	autogen.sh		\
	README.WIN32

pkgconfig_DATA = loudmouth-1.0.pc

DISTCHECK_CONFIGURE_FLAGS =     \
	--enable-gtk-doc

ChangeLog: OLD_VERSION=`git describe`
ChangeLog:
	git log --no-merges $(OLD_VERSION)..HEAD > $(srcdir)/ChangeLog