1 dnl Process this file with autoconf to create configure.
3 AC_INIT([libmnl], [1.0.3])
4 AC_CONFIG_AUX_DIR([build-aux])
6 AC_CONFIG_MACRO_DIR([m4])
7 AC_CONFIG_HEADERS([config.h])
8 AM_INIT_AUTOMAKE([foreign tar-pax no-dist-gzip dist-bzip2 1.6 subdir-objects])
10 dnl kernel style compile messages
11 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
21 *) AC_MSG_ERROR([Linux only, dude!]);;
24 regular_CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_REENTRANT"
25 regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
26 -Wmissing-prototypes -Wshadow -Wstrict-prototypes \
28 AC_SUBST([regular_CPPFLAGS])
29 AC_SUBST([regular_CFLAGS])
30 AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libmnl/Makefile include/linux/Makefile examples/Makefile examples/genl/Makefile examples/netfilter/Makefile examples/rtnl/Makefile libmnl.pc doxygen.cfg])