From: Eric Leblond Date: Sun, 5 Apr 2009 10:34:31 +0000 (+0200) Subject: ulogd: permit compilation of plugin outside of tree X-Git-Tag: ulogd-2.0.0beta4~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ff525cb0506b2c043bc9df6d7e7b486c865bc38;p=thirdparty%2Fulogd2.git 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. --- 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]))