From 0ff525cb0506b2c043bc9df6d7e7b486c865bc38 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 5 Apr 2009 12:34:31 +0200 Subject: ulogd: permit compilation of plugin outside of tree This patch modifies Makefile.am to install the headers needed for compilation of plugins outside of the source tree. --- include/Makefile.am | 1 + include/ulogd/Makefile.am | 3 +-- include/ulogd/ulogd.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Makefile.am b/include/Makefile.am index fa34473..0e0b87a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1 +1,2 @@ SUBDIRS = ulogd libipulog +nobase_include_HEADERS = ulogd/conffile.h ulogd/ipfix_protocol.h ulogd/linuxlist.h ulogd/ulogd.h ulogd/common.h ulogd/linux_rbtree.h ulogd/timer.h ulogd/slist.h ulogd/hash.h ulogd/jhash.h diff --git a/include/ulogd/Makefile.am b/include/ulogd/Makefile.am index 9b8a3d1..de9c8f2 100644 --- a/include/ulogd/Makefile.am +++ b/include/ulogd/Makefile.am @@ -1,2 +1 @@ - -noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h printpkt.h printflow.h common.h linux_rbtree.h timer.h slist.h hash.h jhash.h +noinst_HEADERS = db.h printpkt.h printflow.h diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index 2d1b348..3069454 100644 --- a/include/ulogd/ulogd.h +++ b/include/ulogd/ulogd.h @@ -19,7 +19,9 @@ #include /* need this because of extension-sighandler */ #include #include +#ifdef HAVE_CONFIG_H #include +#endif #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) -- cgit v1.2.3