Alasdair Kergon
81410c8f09
And more fixes for cmirror build.
2010-01-19 02:04:33 +00:00
Peter Rajnoha
55313cb6bf
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.
2010-01-11 15:51:44 +00:00
Peter Rajnoha
4df024c40c
Define {DM, LVM}_UDEV_DISABLE_CHECKING=1 env. variables for tests.
...
We need to disable udev checking for our tests since they use their own
location for device nodes and symlinks.
2010-01-11 15:48:49 +00:00
Fabio M. Di Nitto
39dabc84cf
configure.in: don't set default file owner and group
...
Per discussion on lvm-devel mailing list and part of debian patch set,
don't set defaults for owner and group, since nobody seems to use them, and
still allow override.
2009-10-14 04:10:41 +00:00
Fabio M. Di Nitto
89044bc0fe
Disable realtime support by default.
...
This code is used only in a under development feature and it's not used
anywhere in the tree.
Allow to build it conditionally.
2009-10-12 16:59:20 +00:00
Alasdair Kergon
e1b8a236b7
Only include selinux libs in libdevmapper.pc when selinux build enabled.
2009-10-05 12:11:30 +00:00
Alasdair Kergon
db8b5af9d9
Allow for a build directory separate from the source.
2009-10-02 19:10:31 +00:00
Alasdair Kergon
a0f9708e49
Provide alternative implementation of obsolete siginterrupt().
2009-09-28 21:23:02 +00:00
Alasdair Kergon
95eaa68309
Add global/si_unit_consistency to enable cleaned-up use of units in output.
...
Add configure --enable-units-compat to set si_unit_consistency off by default.
Use standard output units for 'PE Size' and 'Stripe size' in pv/lvdisplay.
2009-09-28 16:23:44 +00:00
Alasdair Kergon
595eaf925c
Update lvm2_monitoring script.
2009-09-16 23:22:40 +00:00
Alasdair Kergon
90c8088760
More cmirror makefile fixes from Fabio.
2009-09-14 22:57:46 +00:00
Peter Rajnoha
fd8563328c
Add libudev configuration check.
2009-09-11 15:55:07 +00:00
Alasdair Kergon
5d311afba2
clogd->cmirrord
2009-09-02 19:32:37 +00:00
Fabio M. Di Nitto
8c222979e5
Fix --with-clvmd=all to deal with the case where no cluster managers are available.
...
Also simplify the check by removing an unnecessary variable and update
configure messages.
2009-09-01 19:11:45 +00:00
Alasdair Kergon
66fd45290c
change clogd to cmirrord
...
make pidfile locn configurable
2009-08-28 20:51:40 +00:00
Alasdair Kergon
a946372e50
Rewrite clvmd configuration code.
2009-08-28 19:22:05 +00:00
Jonathan Earl Brassow
162aefe84b
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.
2009-08-13 20:23:01 +00:00
Jonathan Earl Brassow
3c14bcca33
cluster log daemon (clogd): Add to LVM build system
...
This check-in includes the touch-ups, make file changes, copyrights,
and other necessities to include the cluster log daemon into the
build system.
[autoconf still needs to be run to generate the 'configure' and
'Makefile' files.]
2009-08-13 16:34:07 +00:00
Alasdair Kergon
78ce7acc0c
configure --udevdir
2009-07-31 13:31:53 +00:00
Alasdair Kergon
5d518f1f18
Prepare for udev synchronisation code. (options don't work yet)
2009-07-31 11:49:53 +00:00
Alasdair Kergon
f15a2320bd
corosync not cman...
2009-07-30 12:31:45 +00:00
Alasdair Kergon
82c445b01d
Fix configure script to handle multiple clvmd selections.
2009-07-30 12:25:42 +00:00
Alasdair Kergon
7004662395
Add liblvm2app Makefile installation targets.
...
Add liblvm pkgconfig file.
2009-07-22 21:09:13 +00:00
Alasdair Kergon
bf45614685
Add an API version number, LVM_LIBAPI, to the VERSION string.
2009-07-22 20:01:28 +00:00
Alasdair Kergon
572fefeb90
Rename liblvm.so to liblvm2app.so and use configure --enable-applib.
2009-05-22 14:44:59 +00:00
Alasdair Kergon
7f54ef36dc
Fix linux configure --enable-debug to exclude -O2.
2009-04-24 21:44:15 +00:00
Dave Wysochanski
e0c64c6c35
Add new liblvm build directory and move lvm_base.c.
...
The original liblvm.a has been moved to liblvm-internal.a.
We now use liblvm.a for the new application library and build
it inside liblvm directory.
Change dependencies so tools depend on liblvm application library,
and application library depends on liblvm internal.
2009-03-06 16:19:52 +00:00
Alasdair Kergon
edf47283de
Use pkgconfig to obtain corosync library details during configuration. (kabi)
2009-02-25 22:41:12 +00:00
Alasdair Kergon
ec6a6fbef2
Move tools/version.h to lib/misc/lvm-version.h.
...
Split LVM_VERSION into MAJOR, MINOR, PATCHLEVEL, RELEASE and RELEASE_DATE.
2009-02-22 22:11:58 +00:00
Christine Caulfield
4ff2b4ee5d
Mention --with-clvmd=corosync in ./configure
2009-01-29 15:23:15 +00:00
Milan Broz
9c961554c4
Fix problems with static build
...
- compiler warning (missing header)
- configure should set static flag early to be able
use STATIC_LINK flag during configure script
2009-01-20 17:07:53 +00:00
Dave Wysochanski
c7e363f98a
Add liblvm interactive test infrastructure to build.
2008-12-07 19:37:07 +00:00
Alasdair Kergon
18dcfb6987
Add tinfo to termcap search path for pld-linux.
2008-11-24 13:33:16 +00:00
Alasdair Kergon
2de380336d
Generate clvmd init script at configuration time for Red Hat-based distros.
2008-11-19 19:33:25 +00:00
Alasdair Kergon
7314bc1d45
no need for libdevmapper.h on system any more
2008-11-10 21:25:45 +00:00
Alasdair Kergon
2c44337bd5
Right, a simple build (without options) is working again.
2008-11-03 22:14:30 +00:00
Alasdair Kergon
597c3f8e0f
Use simple x.y.z library version in libdevmapper.pc
2008-11-01 20:48:09 +00:00
Alasdair Kergon
0782ad5002
further progress
2008-11-01 02:19:19 +00:00
Alasdair Kergon
f58b35b5a4
export DM_LIB_VERSION
2008-11-01 01:43:31 +00:00
Alasdair Kergon
0f2c248eee
no DMDIR
2008-10-31 22:33:55 +00:00
Alasdair Kergon
b7edb5bfa7
dmeventd plugins move
2008-10-31 22:29:44 +00:00
Alasdair Kergon
44e63d973f
drop configure --with-dmdir
2008-10-31 22:22:04 +00:00
Alasdair Kergon
f6fc418d32
first attempt at merging configure
2008-10-31 22:06:09 +00:00
Alasdair Kergon
5951ef331a
Generate man pages from templates and include version. (romster)
2008-10-08 12:50:13 +00:00
Alasdair Kergon
68f2de6d4a
Add usrlibdir & usrsbindir to configure.
2008-10-07 19:11:59 +00:00
Zdenek Kabelac
b145d876a4
configure aborts if lcov or genhtml are missing with --enable-profiling
2008-08-05 14:29:38 +00:00
Jim Meyering
0ad6b7e212
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.
2008-07-25 08:00:18 +00:00
Jim Meyering
ea7cfb003f
Don't make configure fail when readline library is not available.
2008-07-24 14:54:06 +00:00
Petr Rockai
2a9a80c9bb
Fix dmeventd regression where mirror and snapshot monitoring libraries
...
failed to link against liblvm2cmd.
Dmeventd DSOs *require* lvm2cmd to be linked in.
For the future:
1) AC_SUBST does not create Makefile variables, only @foo@-style substitutions
2) When using `test', whitespace around `=' is essential:
test a=b is true, as is test a=a
2008-07-09 09:59:42 +00:00
Alasdair Kergon
1b52334772
Enable readline by default if available.
2008-06-27 19:57:27 +00:00