1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

configure --udevdir

This commit is contained in:
Alasdair Kergon 2009-07-31 13:31:53 +00:00
parent a5f46f6a22
commit 78ce7acc0c
3 changed files with 16 additions and 3 deletions

View File

@ -1,6 +1,7 @@
Version 2.02.51 -
================================
Added configure --enable-udev_rules --enable-udev_sync --with-udev-prefix.
Added configure --enable-udev_rules --enable-udev_sync.
Added configure --with-udev-prefix --with-udevdir.
Added udev dir to hold udev rules.
Add --dataalignmentoffset to pvcreate to shift start of aligned data area.
Fix _mda_setup() to not check first mda's size before pe_align rounding.

11
configure vendored
View File

@ -821,6 +821,7 @@ with_staticdir
with_usrlibdir
with_usrsbindir
with_udev_prefix
with_udevdir
with_dmeventd_pidfile
with_dmeventd_path
with_interface
@ -1514,6 +1515,7 @@ Optional Packages:
--with-usrlibdir=DIR
--with-usrsbindir=DIR
--with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
--with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
--with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
--with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
--with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
@ -11052,7 +11054,14 @@ else
fi
udevdir='${udev_prefix}/lib/udev/rules.d'
# Check whether --with-udevdir was given.
if test "${with_udevdir+set}" = set; then
withval=$with_udevdir; udevdir="$withval"
else
udevdir='${udev_prefix}/lib/udev/rules.d'
fi
################################################################################
if test x$READLINE = xyes; then

View File

@ -688,7 +688,10 @@ AC_ARG_WITH(udev_prefix,
[ udev_prefix="$withval"],
[ udev_prefix='${exec_prefix}' ])
udevdir='${udev_prefix}/lib/udev/rules.d'
AC_ARG_WITH(udevdir,
[ --with-udevdir=DIR udev rules in DIR [[UPREFIX/lib/udev/rules.d]]],
[ udevdir="$withval"],
[ udevdir='${udev_prefix}/lib/udev/rules.d' ])
################################################################################
dnl -- Ensure additional headers required