1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Use simple x.y.z library version in libdevmapper.pc

This commit is contained in:
Alasdair Kergon 2008-11-01 20:48:09 +00:00
parent 24bbc4d71e
commit 597c3f8e0f
3 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,9 @@
Version 2.02.43 - Version 2.02.43 -
=================================== ===================================
Use simplified x.y.z version number in libdevmapper.pc.
Merge device-mapper into the lvm2 tree.
Remove ancient debian directory. Remove ancient debian directory.
Split out lvm-logging.h from log.h and lvm-globals.[ch] from log.[ch]. Split out lvm-logging.h from log.h and lvm-globals.[ch] from log.[ch].
Add libdm subdirectory for libdevmapper files.
Version 2.02.42 - 26th October 2008 Version 2.02.42 - 26th October 2008
=================================== ===================================

View File

@ -721,6 +721,8 @@ AC_MSG_RESULT($interface)
DM_LIB_VERSION="\"`cat VERSION_LIB 2>/dev/null || echo Unknown`\"" DM_LIB_VERSION="\"`cat VERSION_LIB 2>/dev/null || echo Unknown`\""
AC_DEFINE_UNQUOTED(DM_LIB_VERSION, $DM_LIB_VERSION, [Library version]) AC_DEFINE_UNQUOTED(DM_LIB_VERSION, $DM_LIB_VERSION, [Library version])
DM_LIB_PATCHLEVEL=`cat VERSION_LIB | awk -F '[[-. ]]' '{printf "%s.%s.%s",$1,$2,$3}'`
LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\"" LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\""
################################################################################ ################################################################################
@ -744,6 +746,7 @@ AC_SUBST(DM_DEVICE_MODE)
AC_SUBST(DM_DEVICE_UID) AC_SUBST(DM_DEVICE_UID)
AC_SUBST(DM_IOCTLS) AC_SUBST(DM_IOCTLS)
AC_SUBST(DM_LIB_VERSION) AC_SUBST(DM_LIB_VERSION)
AC_SUBST(DM_LIB_PATCHLEVEL)
AC_SUBST(FSADM) AC_SUBST(FSADM)
AC_SUBST(GROUP) AC_SUBST(GROUP)
AC_SUBST(HAVE_LIBDL) AC_SUBST(HAVE_LIBDL)

View File

@ -5,7 +5,7 @@ includedir=@includedir@
Name: devmapper Name: devmapper
Description: device-mapper library Description: device-mapper library
Version: @DM_LIB_VERSION@ Version: @DM_LIB_PATCHLEVEL@
Cflags: -I${includedir} Cflags: -I${includedir}
Libs: -L${libdir} -ldevmapper Libs: -L${libdir} -ldevmapper
Libs.private: -lselinux -lsepol Libs.private: -lselinux -lsepol