Skip to content

Commit

Permalink
Fix rfc3195 configure check
Browse files Browse the repository at this point in the history
Newer versions of liblogging were restructured and now also contain
other components besides rfc3195. As a result the original liblogging
library was split and the rfc3195 component was renamed to
liblogging-rfc3195 along with its pkg-config file.

Update the configure check accordingly.
Since we require liblogging >= 1.0.1 anyway, don't add a fallback check
for the old pkg-config name.

Fixes rsyslog#30
  • Loading branch information
mbiebl committed Feb 16, 2014
1 parent 2988df6 commit f13241a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ AC_ARG_ENABLE(rfc3195,
[enable_rfc3195=no]
)
if test "x$enable_rfc3195" = "xyes"; then
PKG_CHECK_MODULES(LIBLOGGING, liblogging >= 0.7.1)
PKG_CHECK_MODULES(LIBLOGGING, liblogging-rfc3195 >= 1.0.1)
fi
AM_CONDITIONAL(ENABLE_RFC3195, test x$enable_rfc3195 = xyes)

Expand Down

0 comments on commit f13241a

Please sign in to comment.