From e5781ad635db7c260ed61f5816a7737105b220f4 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 14 Jul 2010 18:53:23 +0200 Subject: build: add libtool m4 support libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Signed-off-by: Pablo Neira Ayuso --- Makefile.am | 2 ++ configure.in | 1 + m4/.gitignore | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 m4/.gitignore diff --git a/Makefile.am b/Makefile.am index 3101500..348cfc6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,8 @@ INCLUDES =$(all_includes) -I$(top_srcdir)/include SUBDIRS = include src utils LINKOPTS = -lnfnetlink +ACLOCAL_AMFLAGS = -I m4 + EXTRA_DIST = $(man_MANS) man_MANS = #nfnetlink_log.3 nfnetlink_log.7 diff --git a/configure.in b/configure.in index 87bd4a4..94bf52e 100644 --- a/configure.in +++ b/configure.in @@ -3,6 +3,7 @@ dnl Process this file with autoconf to create configure. AC_INIT AC_CANONICAL_SYSTEM +AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE(libnetfilter_log, 0.0.16) diff --git a/m4/.gitignore b/m4/.gitignore new file mode 100644 index 0000000..64d9bbc --- /dev/null +++ b/m4/.gitignore @@ -0,0 +1,2 @@ +/libtool.m4 +/lt*.m4 -- cgit v1.2.3