19 lines
702 B
Diff
19 lines
702 B
Diff
This patch fixes the issue, that the build doesn't link against json-c
|
|
when --disable-zypp flag is enabled.
|
|
See openSUSE/snapper#617
|
|
|
|
diff --git configure.ac configure.ac
|
|
index 839d012..06e4721 100644
|
|
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -194,9 +194,7 @@ fi
|
|
|
|
PKG_CHECK_MODULES(DBUS, dbus-1)
|
|
PKG_CHECK_MODULES(XML2, libxml-2.0)
|
|
-if test "x$with_zypp" = "xyes"; then
|
|
- PKG_CHECK_MODULES(JSONC, json-c, [], [AC_MSG_WARN([Cannot find json-c. Please install libjson-c-devel])])
|
|
-fi
|
|
+PKG_CHECK_MODULES(JSONC, json-c, [], [AC_MSG_WARN([Cannot find json-c. Please install libjson-c-devel])])
|
|
|
|
AC_CHECK_HEADER(acl/libacl.h,[],[AC_MSG_ERROR([Cannout find libacl headers. Please install libacl-devel])])
|
|
|