From a8cf4293e0dbd9f30efc0709025072492bf685e9 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Sat, 1 Nov 2008 02:20:06 +0000 Subject: [PATCH] autoreconf --- configure | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/configure b/configure index f965257b8..72a04d8f7 100755 --- a/configure +++ b/configure @@ -1346,6 +1346,8 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-user=USER Set the owner of installed files [USER=root] --with-group=GROUP Set the group owner of installed files [GROUP=root] + --with-device-uid=UID Set the owner used for new device nodes [UID=0] + --with-device-gid=UID Set the group used for new device nodes [GID=0] --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600] --with-lvm1=TYPE LVM1 metadata support: internal/shared/none TYPE=internal @@ -8432,6 +8434,36 @@ if test x$GROUP != x; then GROUP="-g $GROUP" fi +################################################################################ +{ echo "$as_me:$LINENO: checking device node uid" >&5 +echo $ECHO_N "checking device node uid... $ECHO_C" >&6; } + + +# Check whether --with-device-uid was given. +if test "${with_device_uid+set}" = set; then + withval=$with_device_uid; DM_DEVICE_UID="$withval" +else + DM_DEVICE_UID="0" +fi + +{ echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5 +echo "${ECHO_T}$DM_DEVICE_UID" >&6; } + +################################################################################ +{ echo "$as_me:$LINENO: checking device node gid" >&5 +echo $ECHO_N "checking device node gid... $ECHO_C" >&6; } + + +# Check whether --with-device-gid was given. +if test "${with_device_gid+set}" = set; then + withval=$with_device_gid; DM_DEVICE_GID="$withval" +else + DM_DEVICE_GID="0" +fi + +{ echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5 +echo "${ECHO_T}$DM_DEVICE_GID" >&6; } + ################################################################################ { echo "$as_me:$LINENO: checking device node mode" >&5 echo $ECHO_N "checking device node mode... $ECHO_C" >&6; } @@ -11766,6 +11798,12 @@ echo "${ECHO_T}$interface" >&6; } ################################################################################ DM_LIB_VERSION="\"`cat VERSION_LIB 2>/dev/null || echo Unknown`\"" + +cat >>confdefs.h <<_ACEOF +#define DM_LIB_VERSION $DM_LIB_VERSION +_ACEOF + + LVM_VERSION="\"`cat VERSION 2>/dev/null || echo Unknown`\"" ################################################################################ -- 2.43.5