mirror of
git://sourceware.org/git/lvm2.git
synced 2024-11-02 10:51:27 +03:00
libdm: Require librt for new dm_timestamp.
This commit is contained in:
parent
a28fb37b9e
commit
3cd644aeb5
3
configure
vendored
3
configure
vendored
@ -659,6 +659,7 @@ SELINUX_PC
|
||||
SELINUX_LIBS
|
||||
REPLICATORS
|
||||
READLINE_LIBS
|
||||
RT_PC
|
||||
RAID
|
||||
PYTHON_LIBDIRS
|
||||
PYTHON_INCDIRS
|
||||
@ -12794,6 +12795,7 @@ fi
|
||||
$as_echo "#define HAVE_REALTIME 1" >>confdefs.h
|
||||
|
||||
LIBS="-lrt $LIBS"
|
||||
RT_PC="librt"
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling realtime clock" >&5
|
||||
$as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
|
||||
@ -14141,6 +14143,7 @@ LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
|
@ -1570,6 +1570,7 @@ if test "$REALTIME" = yes; then
|
||||
if test "$HAVE_REALTIME" = yes; then
|
||||
AC_DEFINE([HAVE_REALTIME], 1, [Define to 1 to include support for realtime clock.])
|
||||
LIBS="-lrt $LIBS"
|
||||
RT_PC="librt"
|
||||
else
|
||||
AC_MSG_WARN(Disabling realtime clock)
|
||||
fi
|
||||
@ -1984,6 +1985,7 @@ AC_SUBST(PYTHON_LIBDIRS)
|
||||
AC_SUBST(QUORUM_CFLAGS)
|
||||
AC_SUBST(QUORUM_LIBS)
|
||||
AC_SUBST(RAID)
|
||||
AC_SUBST(RT_PC)
|
||||
AC_SUBST(READLINE_LIBS)
|
||||
AC_SUBST(REPLICATORS)
|
||||
AC_SUBST(SACKPT_CFLAGS)
|
||||
|
@ -8,4 +8,4 @@ Description: device-mapper library
|
||||
Version: @DM_LIB_PATCHLEVEL@
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -ldevmapper
|
||||
Requires.private: @SELINUX_PC@ @UDEV_PC@
|
||||
Requires.private: @SELINUX_PC@ @UDEV_PC@ @RT_PC@
|
||||
|
Loading…
Reference in New Issue
Block a user