summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJérôme Renard <jerome.renard@gmail.com>2012-08-26 14:13:26 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-26 14:13:26 +0200
commit744d7c426da4aa3229771358a5da27b79e2edf52 (patch)
tree060a3a287579367938152f1edf86884deaddfcff /configure.ac
parentd1589cd43978c700e2c88747e04d29c64a25d185 (diff)
downloadrsyslog-744d7c426da4aa3229771358a5da27b79e2edf52.zip
rsyslog-744d7c426da4aa3229771358a5da27b79e2edf52.tar.gz
rsyslog-744d7c426da4aa3229771358a5da27b79e2edf52.tar.xz
add uuid property to message object
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 80c086f..78315a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -674,6 +674,21 @@ AM_CONDITIONAL(ENABLE_OMLIBDBI, test x$enable_libdbi = xyes)
AC_SUBST(LIBDBI_CFLAGS)
AC_SUBST(LIBDBI_LIBS)
+# libuuid support
+AC_CHECK_HEADERS(
+ [uuid/uuid.h],,
+ [AC_MSG_FAILURE([libuuid is missing])]
+)
+AC_CHECK_LIB(
+ [uuid],
+ [uuid_generate],
+ [LIBUUID_CFLAGS=""
+ LIBUUID_LIBS="-luuid"
+ ],
+ [AC_MSG_FAILURE([libuuid library is missing])]
+)
+AC_SUBST(LIBUUID_CFLAGS)
+AC_SUBST(LIBUUID_LIBS)
# SNMP support
AC_ARG_ENABLE(snmp,