1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

Fix configure libdevmapper.h check when --with-dmdir is used.

This commit is contained in:
Alasdair Kergon 2007-07-13 17:08:00 +00:00
parent a7ed0103ef
commit d1158c75e8
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.27 -
================================
Fix configure libdevmapper.h check when --with-dmdir is used.
Turn _add_pv_to_vg() into external library function add_pv_to_vg().
Add pv_by_path() external library function.
Tidy clvmd-openais of redundant bits, and improve an error report.

2
configure vendored
View File

@ -8957,7 +8957,7 @@ fi;
# Check whether --with-dmdir or --without-dmdir was given.
if test "${with_dmdir+set}" = set; then
withval="$with_dmdir"
DMDIR="$withval"
DMDIR="$withval" CPPFLAGS="$CPPFLAGS -I$DMDIR/include"
else
DMDIR=
fi;

View File

@ -522,7 +522,7 @@ AC_ARG_WITH(staticdir,
AC_ARG_WITH(dmdir,
[ --with-dmdir=DIR Build against device-mapper source tree in DIR],
[ DMDIR="$withval" ],
[ DMDIR="$withval" CPPFLAGS="$CPPFLAGS -I$DMDIR/include"],
[ DMDIR= ])
################################################################################