diff options
author | Michal Suchanek <msuchanek@suse.de> | 2021-12-08 16:50:04 +0100 |
---|---|---|
committer | Michal Suchanek <msuchanek@suse.de> | 2021-12-08 16:50:04 +0100 |
commit | 25e11c079194f410240c4d4dc7aae492d5b65130 (patch) | |
tree | 05a955ee266ee7dc4894f97022aa83c2592cc07f | |
parent | 1a2bf23ef7e78d86f5bbad9af89c7b3004c1b145 (diff) |
Check for new enough libvpd2 that provides locking API.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index e9fc871..dc80e1e 100644 --- a/configure.ac +++ b/configure.ac @@ -56,8 +56,8 @@ AC_CHECK_LIB(sgutils2,sg_lib_version, [SGUTILS_LIB="sgutils2"],[]) # exit 1 ]) AM_CONDITIONAL([SGUTIL1], [ test x$SGUTILS_LIB == xsgutils ]) AM_CONDITIONAL([SGUTIL2], [ test x$SGUTILS_LIB == xsgutils2 ]) -AC_CHECK_LIB(vpd,unpack_system,[],[ - echo "VPD library(libvpd) version 2 is required for lsvpd" +PKG_CHECK_MODULES([LIBVPD2], [libvpd_cxx-2 >= 2.2.9],[],[ + echo "VPD library(libvpd) version 2.2.9 is required for lsvpd" exit 1]) AC_FUNC_CLOSEDIR_VOID |