public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 WHATS_NEW configure.in
@ 2009-09-11 15:55 prajnoha
  0 siblings, 0 replies; 6+ messages in thread
From: prajnoha @ 2009-09-11 15:55 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha@sourceware.org	2009-09-11 15:55:07

Modified files:
	.              : WHATS_NEW configure.in 

Log message:
	Add libudev configuration check.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1255&r2=1.1256
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.111&r2=1.112

--- LVM2/WHATS_NEW	2009/09/04 12:54:23	1.1255
+++ LVM2/WHATS_NEW	2009/09/11 15:55:07	1.1256
@@ -1,5 +1,6 @@
 Version 2.02.52 -
 =================================
+  Add libudev configuration check.
   Add lvm2app.sh to nightly tests conditional upon configure --enable-applib.
   Update lvm_vg_remove to require lvm_vg_write to commit remove to disk.
   Enforce an alphabetical lock ordering for vgname locks.
--- LVM2/configure.in	2009/09/02 19:32:37	1.111
+++ LVM2/configure.in	2009/09/11 15:55:07	1.112
@@ -651,6 +651,20 @@
 AC_MSG_RESULT($UDEV_RULES)
 
 ################################################################################
+dnl -- Check for libudev's udev_queue_get_udev_is_active function when udev synchronisation is enabled
+
+if test x$UDEV_SYNC = xyes; then
+	AC_CHECK_LIB(udev, udev_queue_get_udev_is_active, HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=yes,
+		HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=no)
+
+		if test x$HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE = xyes; then
+			AC_DEFINE([HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE], 1,
+			  [Define to 1 if libudev's udev_queue_get_udev_is_active function is available.])
+			LIBS="-ludev $LIBS"
+		fi
+fi
+
+################################################################################
 dnl -- Compatibility mode
 AC_ARG_ENABLE(compat,   [  --enable-compat         Enable support for old device-mapper versions],
   DM_COMPAT=$enableval, DM_COMPAT=no)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* LVM2 WHATS_NEW configure.in
@ 2012-02-13  5:25 fabbione
  0 siblings, 0 replies; 6+ messages in thread
From: fabbione @ 2012-02-13  5:25 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	fabbione@sourceware.org	2012-02-13 05:24:58

Modified files:
	.              : WHATS_NEW configure.in 

Log message:
	In the new corosync world, dlm is a standalone service.
	
	Fix clvmd init script to Require dlm service when building for the
	new corosync or clvmd will fail to start.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2279&r2=1.2280
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.180&r2=1.181

--- LVM2/WHATS_NEW	2012/02/13 00:23:21	1.2279
+++ LVM2/WHATS_NEW	2012/02/13 05:24:57	1.2280
@@ -1,5 +1,6 @@
 Version 2.02.92 - 
 ====================================
+  Add clvmd init dependency on dlm service when running with new corosync.
 
 Version 2.02.91 - 12th February 2012
 ====================================
--- LVM2/configure.in	2012/01/31 21:21:54	1.180
+++ LVM2/configure.in	2012/02/13 05:24:57	1.181
@@ -675,6 +675,15 @@
 	fi
 fi
 
+dnl -- Fixup CLVMD_CMANAGERS with new corosync
+dnl -- clvmd built with corosync >= 2.0 needs dlm (either init or systemd service)
+dnl -- to be started.
+if [[ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]]; then
+   if test x$HAVE_CMAP = xyes; then
+	CLVMD_CMANAGERS="$CLVMD_CMANAGERS dlm"
+   fi
+fi
+
 ################################################################################
 dnl -- clvmd pidfile
 if test "x$CLVMD" != xnone; then


^ permalink raw reply	[flat|nested] 6+ messages in thread

* LVM2 WHATS_NEW configure.in
@ 2010-03-04  9:46 zkabelac
  0 siblings, 0 replies; 6+ messages in thread
From: zkabelac @ 2010-03-04  9:46 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2010-03-04 09:46:38

Modified files:
	.              : WHATS_NEW configure.in 

Log message:
	Usage of AC_PROG_SED and AC_PROG_MKDIR_P requires autoconf version 2.61.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1442&r2=1.1443
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.124&r2=1.125

--- LVM2/WHATS_NEW	2010/03/02 21:56:14	1.1442
+++ LVM2/WHATS_NEW	2010/03/04 09:46:38	1.1443
@@ -1,5 +1,6 @@
 Version 2.02.62 -
 ====================================
+  Increase AC_PREREQ version to 2.61 (for AC_PROC_SED, AC_PROG_MKDIR_P).
   Handle a misaligned device that reports a -1 alignment_offset.
   Extend core allocation code in preparation for mirrored log areas.
   Rewrite clvmd init script.
--- LVM2/configure.in	2010/01/21 22:15:45	1.124
+++ LVM2/configure.in	2010/03/04 09:46:38	1.125
@@ -11,7 +11,7 @@
 ## Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ################################################################################
 
-AC_PREREQ(2.57)
+AC_PREREQ(2.61)
 ################################################################################
 dnl -- Process this file with autoconf to produce a configure script.
 AC_INIT


^ permalink raw reply	[flat|nested] 6+ messages in thread

* LVM2 WHATS_NEW configure.in
@ 2009-01-29 15:23 ccaulfield
  0 siblings, 0 replies; 6+ messages in thread
From: ccaulfield @ 2009-01-29 15:23 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	ccaulfield@sourceware.org	2009-01-29 15:23:16

Modified files:
	.              : WHATS_NEW configure.in 

Log message:
	Mention --with-clvmd=corosync in ./configure

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1030&r2=1.1031
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.93&r2=1.94

--- LVM2/WHATS_NEW	2009/01/26 22:42:59	1.1030
+++ LVM2/WHATS_NEW	2009/01/29 15:23:15	1.1031
@@ -1,5 +1,6 @@
 Version 2.02.45 - 
 ===================================
+  Mention --with-clvmd=corosync in ./configure
   Replace internal vg_check_status() implementation.
   Rename vg_read() to vg_read_internal().
 
--- LVM2/configure.in	2009/01/20 17:07:53	1.93
+++ LVM2/configure.in	2009/01/29 15:23:15	1.94
@@ -324,7 +324,7 @@
 dnl -- Build cluster LVM daemon
 AC_MSG_CHECKING(whether to build cluster LVM daemon)
 AC_ARG_WITH(clvmd,
-  [  --with-clvmd=TYPE       Build cluster LVM Daemon: cman/gulm/none/all
+  [  --with-clvmd=TYPE       Build cluster LVM Daemon: cman/gulm/corosync/none/all
                           [TYPE=none] ],
   [ CLVMD="$withval" ],
   [ CLVMD="none" ])


^ permalink raw reply	[flat|nested] 6+ messages in thread

* LVM2 WHATS_NEW configure.in
@ 2008-07-24 14:54 meyering
  0 siblings, 0 replies; 6+ messages in thread
From: meyering @ 2008-07-24 14:54 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	meyering@sourceware.org	2008-07-24 14:54:06

Modified files:
	.              : WHATS_NEW configure.in 

Log message:
	Don't make configure fail when readline library is not available.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.934&r2=1.935
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.75&r2=1.76

--- LVM2/WHATS_NEW	2008/07/23 19:46:33	1.934
+++ LVM2/WHATS_NEW	2008/07/24 14:54:06	1.935
@@ -1,5 +1,6 @@
 Version 2.02.40 - 
 ================================
+  configure no longer fails when the readline library is not available
   Remove dead code, is_lvm_partition() - no functional change.
   Refactor pvcreate to divide parameter parsing & validation from create logic.
   Check for label_write() failure in _text_pv_write().
--- LVM2/configure.in	2008/07/09 09:59:42	1.75
+++ LVM2/configure.in	2008/07/24 14:54:06	1.76
@@ -273,7 +273,7 @@
 AC_MSG_CHECKING(whether to enable readline)
 AC_ARG_ENABLE([readline],
   [  --disable-readline      Disable readline support],
-  [READLINE=$enableval], [READLINE=yes])
+  [READLINE=$enableval], [READLINE=maybe])
 AC_MSG_RESULT($READLINE)
 
 ################################################################################
@@ -410,9 +410,11 @@
 
 ################################################################################
 dnl -- Check for termcap (Shamelessly copied from parted 1.4.17)
-if test x$READLINE = xyes; then
-	AC_SEARCH_LIBS(tgetent, ncurses curses termcap termlib, ,
-		AC_MSG_ERROR(
+if test x$READLINE != xno; then
+	AC_SEARCH_LIBS([tgetent], [ncurses curses termcap termlib],
+	  [tg_found=yes], [tg_found=no])
+	test x$READLINE:$tg_found = xyes:no &&
+	  AC_MSG_ERROR(
 termcap could not be found which is required for the
 --enable-readline option (which is enabled by default).  Either disable readline
 support with --disable-readline or download and install termcap from:
@@ -422,7 +424,6 @@
 Note: (n)curses also seems to work as a substitute for termcap.  This was
   not found either - but you could try installing that as well.
 )
-	)
 fi
 
 ################################################################################
@@ -514,9 +515,10 @@
 
 ################################################################################
 dnl -- Check for readline (Shamelessly copied from parted 1.4.17)
-if test x$READLINE = xyes; then
-	AC_CHECK_LIB(readline, readline, ,
-		AC_MSG_ERROR(
+if test x$READLINE != xno; then
+	AC_CHECK_LIB([readline], [readline], [rl_found=yes], [rl_found=no])
+	test x$READLINE:$rl_found = xyes:no &&
+	  AC_MSG_ERROR(
 GNU Readline could not be found which is required for the
 --enable-readline option (which is enabled by default).  Either disable readline
 support with --disable-readline or download and install readline from:
@@ -524,12 +526,13 @@
 Note: if you are using precompiled packages you will also need the development
 package as well (which may be called readline-devel or something similar).
 )
-	)
-	AC_CHECK_FUNC([rl_completion_matches],
-	  AC_DEFINE([HAVE_RL_COMPLETION_MATCHES], 1,
-	  [Define to 1 if rl_completion_matches() is available.]))
-	AC_DEFINE([READLINE_SUPPORT], 1,
-	  [Define to 1 to include the LVM readline shell.])
+	if test $rl_found = yes; then
+		AC_CHECK_FUNC([rl_completion_matches],
+		  AC_DEFINE([HAVE_RL_COMPLETION_MATCHES], 1,
+		  [Define to 1 if rl_completion_matches() is available.]))
+		AC_DEFINE([READLINE_SUPPORT], 1,
+		  [Define to 1 to include the LVM readline shell.])
+	fi
 fi
 
 ################################################################################


^ permalink raw reply	[flat|nested] 6+ messages in thread

* LVM2 WHATS_NEW configure.in
@ 2008-06-23  9:23 meyering
  0 siblings, 0 replies; 6+ messages in thread
From: meyering @ 2008-06-23  9:23 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	meyering@sourceware.org	2008-06-23 09:23:48

Modified files:
	.              : WHATS_NEW configure.in 

Log message:
	avoid link failure when configuring without --enable-readline
	
	* configure.in: Define READLINE_SUPPORT not when processing
	--enable-readline or --disable-readline, but rather only after
	determining that readline support is desired and the readline
	library is available/usable.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.908&r2=1.909
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.69&r2=1.70

--- LVM2/WHATS_NEW	2008/06/20 12:46:21	1.908
+++ LVM2/WHATS_NEW	2008/06/23 09:23:48	1.909
@@ -1,5 +1,6 @@
 Version 2.02.39 -
 ================================
+  Avoid link failure when configuring without --enable-readline.
   Make clvmd return immediately if other nodes are down in an openais cluster.
   Make clvmd return immediately if other nodes are down in a gulm cluster.
   Improve/Fix read ahead 'auto' calculation for stripe_size
--- LVM2/configure.in	2008/06/13 14:37:17	1.69
+++ LVM2/configure.in	2008/06/23 09:23:48	1.70
@@ -270,14 +270,11 @@
 ################################################################################
 dnl -- Enable readline
 AC_MSG_CHECKING(whether to enable readline)
-AC_ARG_ENABLE(readline, [  --enable-readline       Enable readline support],
-READLINE=$enableval, READLINE=no)
+AC_ARG_ENABLE([readline],
+  [  --enable-readline       Enable readline support],
+  [READLINE=$enableval], [READLINE=no])
 AC_MSG_RESULT($READLINE)
 
-if test x$READLINE = xyes; then
-	AC_DEFINE([READLINE_SUPPORT], 1, [Define to 1 to include the LVM readline shell.])
-fi
-
 ################################################################################
 dnl -- Disable realtime clock support
 AC_MSG_CHECKING(whether to enable realtime support)
@@ -501,7 +498,11 @@
 package as well (which may be called readline-devel or something similar).
 )
 	)
-	AC_CHECK_FUNC(rl_completion_matches, AC_DEFINE([HAVE_RL_COMPLETION_MATCHES], 1, [Define to 1 if rl_completion_matches() is available.]))
+	AC_CHECK_FUNC([rl_completion_matches],
+	  AC_DEFINE([HAVE_RL_COMPLETION_MATCHES], 1,
+	  [Define to 1 if rl_completion_matches() is available.]))
+	AC_DEFINE([READLINE_SUPPORT], 1,
+	  [Define to 1 to include the LVM readline shell.])
 fi
 
 ################################################################################


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-13  5:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11 15:55 LVM2 WHATS_NEW configure.in prajnoha
  -- strict thread matches above, loose matches on Subject: below --
2012-02-13  5:25 fabbione
2010-03-04  9:46 zkabelac
2009-01-29 15:23 ccaulfield
2008-07-24 14:54 meyering
2008-06-23  9:23 meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).