diff --git a/WHATS_NEW b/WHATS_NEW index 4e551d1b8..68c74974c 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -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. diff --git a/configure b/configure index 8f7ee4897..72dd94109 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 2541e661c..2855c2eba 100644 --- a/configure.in +++ b/configure.in @@ -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