diff options
author | Michael Biebl <biebl@debian.org> | 2012-12-07 15:29:51 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-12-13 15:45:44 +0100 |
commit | adf7ed201f081660716b56d8223f0b1a6c6a4b88 (patch) | |
tree | ff332392eb1703d0c06fb299aad188c9c00c9341 | |
parent | 06764f3beda12b3f2bbb9f05d9ce1ba77cb2ddc8 (diff) | |
download | rsyslog-adf7ed201f081660716b56d8223f0b1a6c6a4b88.tar.gz rsyslog-adf7ed201f081660716b56d8223f0b1a6c6a4b88.tar.bz2 rsyslog-adf7ed201f081660716b56d8223f0b1a6c6a4b88.zip |
build: fix uuid configure check
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index e1f7b37d..3d8bbfeb 100644 --- a/configure.ac +++ b/configure.ac @@ -711,13 +711,13 @@ AC_SUBST(SNMP_LIBS) AC_ARG_ENABLE(uuid, [AS_HELP_STRING([--enable-uuid],[Enable support for uuid generation @<:@default=yes@:>@])], [case "${enableval}" in - yes) enable_elasticsearch="yes" ;; - no) enable_elasticsearch="no" ;; + yes) enable_uuid="yes" ;; + no) enable_uuid="no" ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-uuid) ;; esac], [enable_uuid=yes] ) -if test "x$enable_elasticsearch" = "xyes"; then +if test "x$enable_uuid" = "xyes"; then PKG_CHECK_MODULES([LIBUUID], [uuid]) AC_DEFINE(USE_LIBUUID, 1, [Define if you want to enable libuuid support]) fi |