summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 89e6eb8)
raw | patch | inline | side by side (parent: 89e6eb8)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 24 Jan 2014 08:04:29 +0000 (09:04 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 24 Jan 2014 08:04:29 +0000 (09:04 +0100) |
configure.ac | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index c0a25c1dc9110a14025a37bb350bc0f19807b07a..5cae366f0e47b6d16ee649b491ae17d34a8e7d2c 100644 (file)
--- a/configure.ac
+++ b/configure.ac
[backend accessing Nagios/Icinga/Shinken using MK Livestatus])
AC_SDB_PLUGIN([puppet-storeconfigs], [$puppet_storeconfigs_default],
[backend accessing the Puppet stored configuration database])
-AC_SDB_PLUGIN([syslog], [yes],
- [plugin logging to syslog])
+
+m4_divert_once([HELP_ENABLE], [
+Plugins:])
+
AC_SDB_PLUGIN([cname-dns], [yes],
[canonicalize hostnames by querying DNS])
+AC_SDB_PLUGIN([syslog], [yes],
+ [plugin logging to syslog])
AM_CONDITIONAL([BUILD_DOCUMENTATION], test "x$build_documentation" = "xyes")
AM_CONDITIONAL([BUILD_TESTING], test "x$build_testing" = "xyes")
AC_MSG_RESULT()
AC_MSG_RESULT([ Plugins:])
AC_MSG_RESULT([ cname::dns: . . . . . . . . $enable_cname_dns])
+AC_MSG_RESULT([ syslog: . . . . . . . . . . $enable_syslog])
AC_MSG_RESULT()
AC_MSG_RESULT([This package is maintained by $PACKAGE_MAINTAINER.])
AC_MSG_RESULT([Please report bugs to $PACKAGE_BUGREPORT.])
diff --git a/src/Makefile.am b/src/Makefile.am
index 9206e27c956fab434980d3658e5438880aa10651..cdadd60a80932f37df8a0dddf987ecbcb045249e 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
pkgbackendpuppetlib_LTLIBRARIES =
pkgcnamelib_LTLIBRARIES =
+if BUILD_PLUGIN_CNAMEDNS
+pkgcnamelib_LTLIBRARIES += plugins/cname/dns.la
+plugins_cname_dns_la_SOURCE = plugins/cname/dns.c
+plugins_cname_dns_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version
+libsysdb_la_LIBADD += -dlopen plugins/cname/dns.la
+libsysdb_la_DEPENDENCIES += plugins/cname/dns.la
+endif
+
if BUILD_PLUGIN_COLLECTD
pkgbackendcollectdlib_LTLIBRARIES += backend/collectd/unixsock.la
backend_collectd_unixsock_la_SOURCES = backend/collectd/unixsock.c
libsysdb_la_DEPENDENCIES += plugins/syslog.la
endif
-if BUILD_PLUGIN_CNAMEDNS
-pkgcnamelib_LTLIBRARIES += plugins/cname/dns.la
-plugins_cname_dns_la_SOURCE = plugins/cname/dns.c
-plugins_cname_dns_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version
-libsysdb_la_LIBADD += -dlopen plugins/cname/dns.la
-libsysdb_la_DEPENDENCIES += plugins/cname/dns.la
-endif
-
include/client/sysdb.h: include/client/sysdb.h.in ../version
source ../version; sed \
-e "s/@SDB_VERSION_MAJOR@/$$VERSION_MAJOR/g" \