Skip to contentSkip to conversation

LVM2 WHATS_NEW configure configure.in

PATCH [email protected] 1 participant 1 message Jul 13, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2007-07-13 17:08:00

Modified files:
. : WHATS_NEW configure configure.in

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

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.655&r2=1.656
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.diff?cvsroot=lvm2&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.56&r2=1.57

WHATS_NEW +1 -0
@@ -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.
configure +1 -1
@@ -8957,7 +8957,7 @@
 # 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;
configure.in +1 -1
@@ -522,7 +522,7 @@
 
 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= ])
 
 ################################################################################