Skip to content

Commit 373fd48

Browse files
frozencemeterysimo5
authored andcommitted
Ensure ini_config >= 1.2.0 for ini_config_augment()
Signed-off-by: Robbie Harwood <[email protected]> Reviewed-by: Simo Sorce <[email protected]>
1 parent 2c05f43 commit 373fd48

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

configure.ac

+4-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if test x$have_libverto = x; then
8383
fi
8484

8585
#Check for libini_config
86-
PKG_CHECK_MODULES([LIBINI_CONFIG], [ini_config >= 1.0.0], [have_libini_config=1], [have_libini_config=])
86+
PKG_CHECK_MODULES([LIBINI_CONFIG], [ini_config >= 1.2.0], [have_libini_config=1], [have_libini_config=])
8787
if test x$have_libini_config = x; then
8888
AC_MSG_WARN([Could not find LIBINI_CONFIG headers])
8989
else
@@ -92,6 +92,9 @@ else
9292
AC_CHECK_LIB(ini_config, ini_config_file_open, [],
9393
[AC_MSG_WARN([ini_config library must support ini_config_file_open])],
9494
[$INI_CONFIG_LIBS])
95+
AC_CHECK_LIB(ini_config, ini_config_augment, [],
96+
[AC_MSG_WARN([ini_config library must support ini_config_augment])],
97+
[$INI_CONFIG_LIBS])
9598
fi
9699

97100
if test x$have_libini_config = x1; then

contrib/gssproxy.spec.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
2020
Requires: krb5-libs >= 1.11.5
2121
Requires: keyutils-libs
2222
Requires: libverto-tevent
23-
Requires: libini_config >= 1.0.0.1
23+
Requires: libini_config >= 1.2.0
2424

2525
Requires(post): systemd-units
2626
Requires(preun): systemd-units
@@ -41,7 +41,7 @@ BuildRequires: pkgconfig
4141
BuildRequires: krb5-devel >= 1.11.5
4242
BuildRequires: libselinux-devel
4343
BuildRequires: keyutils-libs-devel
44-
BuildRequires: libini_config-devel >= 1.0.0.1
44+
BuildRequires: libini_config-devel >= 1.2.0
4545
BuildRequires: libverto-devel
4646
BuildRequires: popt-devel
4747
BuildRequires: findutils

0 commit comments

Comments
 (0)