1 AC_INIT([lstun], [0.1.0], [op@omarpolo.com])
2 AC_CONFIG_LIBOBJ_DIR([compat])
3 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
5 AC_USE_SYSTEM_EXTENSIONS
12 AC_CHECK_LIB([event2], [event_init], [], [
13 AC_CHECK_LIB([event], [event_init], [], [
14 AC_MSG_ERROR([requires libevent])
18 AM_CFLAGS="${AM_CFLAGS} -Wall -Wextra -Wmissing-prototypes"
19 AM_CFLAGS="${AM_CFLAGS} -Wstrict-prototypes -Wwrite-strings"
20 AM_CFLAGS="${AM_CFLAGS} -Wno-unused-parameter"
22 AC_CONFIG_HEADERS([config.h])
23 AC_CONFIG_FILES([Makefile])