mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix configure libdevmapper.h check when --with-dmdir is used.
This commit is contained in:
parent
a7ed0103ef
commit
d1158c75e8
@ -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
2
configure
vendored
@ -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;
|
||||
|
@ -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= ])
|
||||
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user