public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 configure.in
@ 2008-11-01 1:43 agk
0 siblings, 0 replies; 7+ messages in thread
From: agk @ 2008-11-01 1:43 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2008-11-01 01:43:31
Modified files:
. : configure.in
Log message:
export DM_LIB_VERSION
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.84&r2=1.85
--- LVM2/configure.in 2008/10/31 22:32:09 1.84
+++ LVM2/configure.in 2008/11/01 01:43:31 1.85
@@ -701,6 +701,8 @@
################################################################################
DM_LIB_VERSION="\"`cat VERSION_LIB 2>/dev/null || echo Unknown`\""
+AC_DEFINE_UNQUOTED(DM_LIB_VERSION, $DM_LIB_VERSION, [Library version])
+
LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\""
################################################################################
^ permalink raw reply [flat|nested] 7+ messages in thread
* LVM2 configure.in
@ 2012-02-28 18:18 agk
0 siblings, 0 replies; 7+ messages in thread
From: agk @ 2012-02-28 18:18 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2012-02-28 18:18:48
Modified files:
. : configure.in
Log message:
Define LVMETAD_SUPPORT in source code
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.188&r2=1.189
--- LVM2/configure.in 2012/02/24 13:03:50 1.188
+++ LVM2/configure.in 2012/02/28 18:18:48 1.189
@@ -847,6 +847,10 @@
BUILD_LVMETAD=$LVMETAD
+if test x$BUILD_LVMETAD = xyes; then
+ AC_DEFINE([LVMETAD_SUPPORT], 1, [Define to 1 to include code that uses lvmetad.])
+fi
+
################################################################################
dnl -- Enable udev synchronisation
AC_MSG_CHECKING(whether to enable synchronisation with udev processing)
@@ -1496,7 +1500,6 @@
daemons/Makefile
daemons/clvmd/Makefile
daemons/cmirrord/Makefile
-daemons/common/Makefile
daemons/dmeventd/Makefile
daemons/dmeventd/libdevmapper-event.pc
daemons/dmeventd/plugins/Makefile
@@ -1520,6 +1523,9 @@
lib/raid/Makefile
lib/snapshot/Makefile
lib/thin/Makefile
+libdaemon/Makefile
+libdaemon/client/Makefile
+libdaemon/server/Makefile
libdm/Makefile
libdm/libdevmapper.pc
liblvm/Makefile
^ permalink raw reply [flat|nested] 7+ messages in thread
* LVM2 configure.in
@ 2010-01-11 15:51 prajnoha
0 siblings, 0 replies; 7+ messages in thread
From: prajnoha @ 2010-01-11 15:51 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha@sourceware.org 2010-01-11 15:51:44
Modified files:
. : configure.in
Log message:
Show a warning message when libudev not found and we're using --enable-udev_sync.
Just to emphasize what one can expect - we won't be able to get udev state
and we will consider that udev is not running at all.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.121&r2=1.122
--- LVM2/configure.in 2010/01/11 15:48:49 1.121
+++ LVM2/configure.in 2010/01/11 15:51:44 1.122
@@ -669,6 +669,8 @@
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"
+ else
+ AC_MSG_WARN(It won't be possible to get udev state. We will assume that udev is not running.)
fi
fi
^ permalink raw reply [flat|nested] 7+ messages in thread
* LVM2 configure.in
@ 2009-08-13 20:23 jbrassow
0 siblings, 0 replies; 7+ messages in thread
From: jbrassow @ 2009-08-13 20:23 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: jbrassow@sourceware.org 2009-08-13 20:23:02
Modified files:
. : configure.in
Log message:
configure script: A couple unwanted changes snuck in.
Previously while messing around with 'configure.in' and autoconf,
I changed a couple lines that I didn't want in the final check-in.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.106&r2=1.107
--- LVM2/configure.in 2009/08/13 16:34:07 1.106
+++ LVM2/configure.in 2009/08/13 20:23:01 1.107
@@ -63,7 +63,7 @@
################################################################################
dnl -- Checks for programs.
-m4_pattern_allow(AC_PROG_SED)
+AC_PROG_SED
AC_PROG_AWK
AC_PROG_CC
@@ -72,7 +72,7 @@
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-m4_pattern_allow(AC_PROG_MKDIR_P)
+AC_PROG_MKDIR_P
AC_PROG_RANLIB
AC_PATH_PROG(CFLOW_CMD, cflow)
AC_PATH_PROG(CSCOPE_CMD, cscope)
^ permalink raw reply [flat|nested] 7+ messages in thread
* LVM2 configure.in
@ 2008-10-31 22:32 agk
0 siblings, 0 replies; 7+ messages in thread
From: agk @ 2008-10-31 22:32 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2008-10-31 22:32:09
Modified files:
. : configure.in
Log message:
no DMDIR
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.83&r2=1.84
--- LVM2/configure.in 2008/10/31 22:29:44 1.83
+++ LVM2/configure.in 2008/10/31 22:32:09 1.84
@@ -611,12 +611,6 @@
[ STATICDIR="$withval" ],
[ STATICDIR='${exec_prefix}/sbin' ])
-# Convert a relative dir name to absolute.
-case $DMDIR in
- /*) ;;
- *) DMDIR="`pwd`/$DMDIR" ;;
-esac
-
AC_ARG_WITH(usrlibdir,
[ --with-usrlibdir=DIR],
[ usrlibdir="$withval"],
@@ -723,7 +717,6 @@
AC_SUBST(CSCOPE_CMD)
AC_SUBST(DEBUG)
AC_SUBST(DEVMAPPER)
-AC_SUBST(DMDIR)
AC_SUBST(DMEVENTD)
AC_SUBST(DM_COMPAT)
AC_SUBST(DM_DEVICE_GID)
^ permalink raw reply [flat|nested] 7+ messages in thread
* LVM2 configure.in
@ 2008-10-31 22:06 agk
0 siblings, 0 replies; 7+ messages in thread
From: agk @ 2008-10-31 22:06 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2008-10-31 22:06:09
Modified files:
. : configure.in
Log message:
first attempt at merging configure
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.80&r2=1.81
--- LVM2/configure.in 2008/10/08 12:50:13 1.80
+++ LVM2/configure.in 2008/10/31 22:06:09 1.81
@@ -41,7 +41,7 @@
SELINUX=yes
REALTIME=yes
CLUSTER=internal
- FSADM=no
+ FSADM=yes
;;
darwin*)
CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
@@ -160,6 +160,15 @@
fi
################################################################################
+dnl -- Setup device mode
+AC_MSG_CHECKING(device node mode)
+
+AC_ARG_WITH(device-mode,
+ [ --with-device-mode=MODE Set the mode used for new device nodes [[MODE=0600]] ],
+ [ DM_DEVICE_MODE="$withval" ], [ DM_DEVICE_MODE="0600" ] )
+AC_MSG_RESULT($DM_DEVICE_MODE)
+
+################################################################################
dnl -- LVM1 tool fallback option
AC_MSG_CHECKING(whether to enable lvm1 fallback)
AC_ARG_ENABLE(lvm1_fallback, [ --enable-lvm1_fallback Use this to fall back and use LVM1 binaries if
@@ -344,15 +353,25 @@
################################################################################
dnl -- Disable devmapper
AC_MSG_CHECKING(whether to use device-mapper)
-AC_ARG_ENABLE(devmapper, [ --disable-devmapper Disable device-mapper interaction],
+AC_ARG_ENABLE(devmapper, [ --disable-devmapper Disable LVM2 device-mapper interaction],
DEVMAPPER=$enableval)
AC_MSG_RESULT($DEVMAPPER)
if test x$DEVMAPPER = xyes; then
- AC_DEFINE([DEVMAPPER_SUPPORT], 1, [Define to 1 to enable device-mapper interaction.])
+ AC_DEFINE([DEVMAPPER_SUPPORT], 1, [Define to 1 to enable LVM2 device-mapper interaction.])
fi
################################################################################
+dnl -- Compatibility mode
+AC_ARG_ENABLE(compat, [ --enable-compat Enable support for old device-mapper versions],
+ DM_COMPAT=$enableval, DM_COMPAT=no)
+
+################################################################################
+dnl -- Disable ioctl
+AC_ARG_ENABLE(ioctl, [ --disable-driver Disable calls to device-mapper in the kernel],
+ DM_IOCTLS=$enableval)
+
+################################################################################
dnl -- Disable O_DIRECT
AC_MSG_CHECKING(whether to enable O_DIRECT)
AC_ARG_ENABLE(o_direct, [ --disable-o_direct Disable O_DIRECT],
@@ -374,6 +393,10 @@
&& LVM2CMD_LIB=-llvm2cmd \
|| LVM2CMD_LIB=
+################################################################################
+dnl -- Enable pkg-config
+AC_ARG_ENABLE(pkgconfig, [ --enable-pkgconfig Install pkgconfig support],
+ PKGCONFIG=$enableval, PKGCONFIG=no)
################################################################################
dnl -- Enable fsadm
@@ -389,6 +412,8 @@
DMEVENTD=$enableval)
AC_MSG_RESULT($DMEVENTD)
+BUILD_DMEVENTD=$DMEVENTD
+
dnl -- dmeventd currently requires internal mirror support
if test x$DMEVENTD = xyes; then
if test x$MIRRORS != xinternal; then
@@ -406,6 +431,20 @@
if test x$DMEVENTD = xyes; then
AC_DEFINE([DMEVENTD], 1, [Define to 1 to enable the device-mapper event daemon.])
fi
+
+################################################################################
+dnl -- getline included in recent libc
+
+AC_CHECK_LIB(c, getline, AC_DEFINE([HAVE_GETLINE], 1,
+ [Define to 1 if getline is available.]))
+
+################################################################################
+dnl -- canonicalize_file_name included in recent libc
+
+AC_CHECK_LIB(c, canonicalize_file_name,
+ AC_DEFINE([HAVE_CANONICALIZE_FILE_NAME], 1,
+ [Define to 1 if canonicalize_file_name is available.]))
+
################################################################################
dnl -- Clear default exec_prefix - install into /sbin rather than /usr/sbin
if [[ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ]];
@@ -546,6 +585,7 @@
AC_MSG_RESULT($INTL)
if test x$INTL = xyes; then
+# FIXME - Move this - can be device-mapper too
INTL_PACKAGE="lvm2"
AC_PATH_PROG(MSGFMT, msgfmt)
if [[ "x$MSGFMT" == x ]];
@@ -633,6 +673,45 @@
fi
################################################################################
+dnl -- dmeventd pidfile and executable path
+AH_TEMPLATE(DMEVENTD_PIDFILE, [Path to dmeventd pidfile.])
+if test "$BUILD_DMEVENTD" = yes; then
+ AC_ARG_WITH(dmeventd-pidfile,
+ [ --with-dmeventd-pidfile=PATH dmeventd pidfile [[/var/run/dmeventd.pid]] ],
+ [ AC_DEFINE_UNQUOTED(DMEVENTD_PIDFILE,"$withval") ],
+ [ AC_DEFINE_UNQUOTED(DMEVENTD_PIDFILE,"/var/run/dmeventd.pid") ])
+fi
+
+AH_TEMPLATE(DMEVENTD_PATH, [Path to dmeventd binary.])
+if test "$BUILD_DMEVENTD" = yes; then
+ dmeventd_prefix="$exec_prefix"
+ if test "x$dmeventd_prefix" = "xNONE"; then
+ dmeventd_prefix="$prefix"
+ fi
+ if test "x$dmeventd_prefix" = "xNONE"; then
+ dmeventd_prefix=""
+ fi
+ AC_ARG_WITH(dmeventd-path,
+ [ --with-dmeventd-path=PATH dmeventd path [[${exec_prefix}/sbin/dmeventd]] ],
+ [ AC_DEFINE_UNQUOTED(DMEVENTD_PATH,"$withval") ],
+ [ AC_DEFINE_UNQUOTED(DMEVENTD_PATH,"$dmeventd_prefix/sbin/dmeventd") ])
+fi
+
+################################################################################
+dnl -- which kernel interface to use (ioctl only)
+AC_MSG_CHECKING(for kernel interface choice)
+AC_ARG_WITH(interface,
+ [ --with-interface=IFACE Choose kernel interface (ioctl) [[ioctl]] ],
+ [ interface="$withval" ],
+ [ interface=ioctl ])
+if [[ "x$interface" != xioctl ]];
+then
+ AC_MSG_ERROR(--with-interface=ioctl required. fs no longer supported.)
+fi
+AC_MSG_RESULT($interface)
+
+################################################################################
+DM_LIB_VERSION="\"`cat VERSION_LIB 2>/dev/null || echo Unknown`\""
LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\""
################################################################################
@@ -650,7 +729,6 @@
AC_SUBST(DEBUG)
AC_SUBST(DEVMAPPER)
AC_SUBST(DMDIR)
-# FIXME: rename to LVM_USE_DMEVENTD
AC_SUBST(DMEVENTD)
AC_SUBST(DM_COMPAT)
AC_SUBST(DM_DEVICE_GID)
@@ -672,7 +750,6 @@
AC_SUBST(LOCALEDIR)
AC_SUBST(LVM1)
AC_SUBST(LVM1_FALLBACK)
-# FIXME: rename to LVM_CONF_DIR
AC_SUBST(CONFDIR)
AC_SUBST(LVM_VERSION)
AC_SUBST(MIRRORS)
@@ -684,6 +761,11 @@
AC_SUBST(STATICDIR)
AC_SUBST(STATIC_LINK)
AC_SUBST([LIB_PTHREAD])
+AC_SUBST(interface)
+AC_SUBST(kerneldir)
+AC_SUBST(missingkernel)
+AC_SUBST(kernelvsn)
+AC_SUBST(tmpdir)
AC_SUBST(usrlibdir)
AC_SUBST(usrsbindir)
@@ -693,23 +775,26 @@
AC_CONFIG_FILES([
Makefile
make.tmpl
-include/Makefile
-lib/Makefile
-man/Makefile
-po/Makefile
-dmeventd/Makefile
daemons/Makefile
daemons/clvmd/Makefile
-dmeventd/mirror/Makefile
-dmeventd/snapshot/Makefile
+daemons/dmeventd/Makefile
+daemons/dmeventd/libdevmapper-event.pc
+daemons/dmeventd/plugins/mirror/Makefile
+daemons/dmeventd/plugins/snapshot/Makefile
doc/Makefile
+include/Makefile
+lib/Makefile
lib/format1/Makefile
lib/format_pool/Makefile
lib/locking/Makefile
lib/mirror/Makefile
lib/snapshot/Makefile
-test/Makefile
+libdm/Makefile
+libdm/libdevmapper.pc
+man/Makefile
+po/Makefile
scripts/Makefile
+test/Makefile
tools/Makefile
tools/version.h
])
@@ -718,11 +803,3 @@
if test x$ODIRECT != xyes; then
AC_MSG_WARN(Warning: O_DIRECT disabled: low-memory pvmove may lock up)
fi
-
-if test x$FSADM == xyes; then
- AC_MSG_WARN(fsadm support is untested)
-fi
-
-if test x$DMEVENTD == xyes; then
- AC_MSG_WARN(dmeventd support is untested)
-fi
^ permalink raw reply [flat|nested] 7+ messages in thread
* LVM2 configure.in
@ 2008-07-25 8:00 meyering
0 siblings, 0 replies; 7+ messages in thread
From: meyering @ 2008-07-25 8:00 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: meyering@sourceware.org 2008-07-25 08:00:20
Modified files:
. : configure.in
Log message:
Avoid compiler warnings (provoked by new configure.in bug) on RHEL5.
Do not override the default action of AC_CHECK_LIB([readline],...
(i.e., leave the ACTION-IF-FOUND parameter blank) so that the
subsequent check for rl_completion_matches can use -lreadline.
Also, replace AC_CHECK_FUNC+AC_DEFINE with an equivalent AC_CHECK_FUNCS call.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.76&r2=1.77
--- LVM2/configure.in 2008/07/24 14:54:06 1.76
+++ LVM2/configure.in 2008/07/25 08:00:18 1.77
@@ -516,7 +516,8 @@
################################################################################
dnl -- Check for readline (Shamelessly copied from parted 1.4.17)
if test x$READLINE != xno; then
- AC_CHECK_LIB([readline], [readline], [rl_found=yes], [rl_found=no])
+ rl_found=yes
+ AC_CHECK_LIB([readline], [readline], , [rl_found=no])
test x$READLINE:$rl_found = xyes:no &&
AC_MSG_ERROR(
GNU Readline could not be found which is required for the
@@ -527,9 +528,7 @@
package as well (which may be called readline-devel or something similar).
)
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_CHECK_FUNCS([rl_completion_matches])
AC_DEFINE([READLINE_SUPPORT], 1,
[Define to 1 to include the LVM readline shell.])
fi
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-28 18:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-01 1:43 LVM2 configure.in agk
-- strict thread matches above, loose matches on Subject: below --
2012-02-28 18:18 agk
2010-01-11 15:51 prajnoha
2009-08-13 20:23 jbrassow
2008-10-31 22:32 agk
2008-10-31 22:06 agk
2008-07-25 8:00 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).