summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-10-02 19:10:31 +0000
committerAlasdair Kergon <agk@redhat.com>2009-10-02 19:10:31 +0000
commitdb8b5af9d94f537b6e9c9483c2bde06ac9edb621 (patch)
tree11cca90b013c731ba7060d0f608657127fb794dc /configure.in
parent1ae301590bbdebdcd7464e52fed7c49c12fa00bf (diff)
downloadlvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.gz
lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.xz
lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.zip
Allow for a build directory separate from the source.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 9cb48fb3..bf360ed1 100644
--- a/configure.in
+++ b/configure.in
@@ -1040,14 +1040,14 @@ fi
AC_MSG_RESULT($interface)
################################################################################
-DM_LIB_VERSION="\"`cat VERSION_DM 2>/dev/null || echo Unknown`\""
+DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
AC_DEFINE_UNQUOTED(DM_LIB_VERSION, $DM_LIB_VERSION, [Library version])
-DM_LIB_PATCHLEVEL=`cat VERSION_DM | $AWK -F '[[-. ]]' '{printf "%s.%s.%s",$1,$2,$3}'`
+DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[[-. ]]' '{printf "%s.%s.%s",$1,$2,$3}'`
-LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\""
+LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
-VER=`cat VERSION`
+VER=`cat "$srcdir"/VERSION`
LVM_RELEASE_DATE="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
VER=`echo "$VER" | $AWK '{print $1}'`
LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
@@ -1156,6 +1156,7 @@ daemons/dmeventd/plugins/Makefile
daemons/dmeventd/plugins/mirror/Makefile
daemons/dmeventd/plugins/snapshot/Makefile
doc/Makefile
+include/.symlinks
include/Makefile
lib/Makefile
lib/format1/Makefile