diff options
author | Karel Zak <kzak@redhat.com> | 2009-07-13 23:44:30 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-07-13 23:44:30 +0200 |
commit | dc2b8d87c13c7d6aa4f9735ed9f21c02f241c2d4 (patch) | |
tree | 07546791d7b5a5b486dc2db60d60fd259b6109c4 /configure.ac | |
parent | ff67bea3c200359cc67140285102615c42b5921e (diff) | |
download | util-linux-old-dc2b8d87c13c7d6aa4f9735ed9f21c02f241c2d4.tar.gz |
build-sys: fix libuuid and libblkid version-info
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f352f88e..2e775209 100644 --- a/configure.ac +++ b/configure.ac @@ -20,9 +20,17 @@ PACKAGE_VERSION_RELEASE=0 dnl libblkid version LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" LIBBLKID_DATE="10-Feb-2009" +LIBBLKID_LT_MAJOR=1 +LIBBLKID_LT_MINOR=1 +LIBBLKID_LT_MICRO=0 +LIBBLKID_VERSION_INFO=`expr $LIBBLKID_LT_MAJOR + $LIBBLKID_LT_MINOR`:$LIBBLKID_LT_MICRO:$LIBBLKID_LT_MINOR dnl libuuid version LIBUUID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBUUID_LT_MAJOR=1 +LIBUUID_LT_MINOR=3 +LIBUUID_LT_MICRO=0 +LIBUUID_VERSION_INFO=`expr $LIBUUID_LT_MAJOR + $LIBUUID_LT_MINOR`:$LIBUUID_LT_MICRO:$LIBUUID_LT_MINOR # Check whether exec_prefix=/usr: case $exec_prefix:$prefix in @@ -259,7 +267,8 @@ AC_ARG_ENABLE([libuuid], AS_HELP_STRING([--disable-libuuid], [do not build libuuid and uuid utilities]), [], enable_libuuid=yes ) -AC_SUBST(LIBUUID_VERSION) +AC_SUBST([LIBUUID_VERSION]) +AC_SUBST([LIBUUID_VERSION_INFO]) AM_CONDITIONAL(BUILD_LIBUUID, test "x$enable_libuuid" = xyes) have_uuid=yes @@ -311,7 +320,8 @@ AC_ARG_ENABLE([libblkid], AS_HELP_STRING([--disable-libblkid], [do not build libblkid and blkid utilities]), [], enable_libblkid=yes ) -AC_SUBST(LIBBLKID_VERSION) +AC_SUBST([LIBBLKID_VERSION]) +AC_SUBST([LIBBLKID_VERSION_INFO]) AM_CONDITIONAL(BUILD_LIBBLKID, test "x$enable_libblkid" = xyes) AC_DEFINE_UNQUOTED(LIBBLKID_VERSION, "$LIBBLKID_VERSION", [libblkid version string]) AC_DEFINE_UNQUOTED(LIBBLKID_DATE, "$LIBBLKID_DATE", [libblkid date string]) |