mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +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
|
SELINUX_LIBS
|
||||||
REPLICATORS
|
REPLICATORS
|
||||||
READLINE_LIBS
|
READLINE_LIBS
|
||||||
|
RT_PC
|
||||||
RAID
|
RAID
|
||||||
PYTHON_LIBDIRS
|
PYTHON_LIBDIRS
|
||||||
PYTHON_INCDIRS
|
PYTHON_INCDIRS
|
||||||
@ -12794,6 +12795,7 @@ fi
|
|||||||
$as_echo "#define HAVE_REALTIME 1" >>confdefs.h
|
$as_echo "#define HAVE_REALTIME 1" >>confdefs.h
|
||||||
|
|
||||||
LIBS="-lrt $LIBS"
|
LIBS="-lrt $LIBS"
|
||||||
|
RT_PC="librt"
|
||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling realtime clock" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling realtime clock" >&5
|
||||||
$as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
|
$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
|
if test "$HAVE_REALTIME" = yes; then
|
||||||
AC_DEFINE([HAVE_REALTIME], 1, [Define to 1 to include support for realtime clock.])
|
AC_DEFINE([HAVE_REALTIME], 1, [Define to 1 to include support for realtime clock.])
|
||||||
LIBS="-lrt $LIBS"
|
LIBS="-lrt $LIBS"
|
||||||
|
RT_PC="librt"
|
||||||
else
|
else
|
||||||
AC_MSG_WARN(Disabling realtime clock)
|
AC_MSG_WARN(Disabling realtime clock)
|
||||||
fi
|
fi
|
||||||
@ -1984,6 +1985,7 @@ AC_SUBST(PYTHON_LIBDIRS)
|
|||||||
AC_SUBST(QUORUM_CFLAGS)
|
AC_SUBST(QUORUM_CFLAGS)
|
||||||
AC_SUBST(QUORUM_LIBS)
|
AC_SUBST(QUORUM_LIBS)
|
||||||
AC_SUBST(RAID)
|
AC_SUBST(RAID)
|
||||||
|
AC_SUBST(RT_PC)
|
||||||
AC_SUBST(READLINE_LIBS)
|
AC_SUBST(READLINE_LIBS)
|
||||||
AC_SUBST(REPLICATORS)
|
AC_SUBST(REPLICATORS)
|
||||||
AC_SUBST(SACKPT_CFLAGS)
|
AC_SUBST(SACKPT_CFLAGS)
|
||||||
|
@ -8,4 +8,4 @@ Description: device-mapper library
|
|||||||
Version: @DM_LIB_PATCHLEVEL@
|
Version: @DM_LIB_PATCHLEVEL@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -ldevmapper
|
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