diff options
author | Alasdair Kergon <agk@redhat.com> | 2008-11-01 02:20:06 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2008-11-01 02:20:06 +0000 |
commit | 24bbc4d71ee98e3ad23f3acba894e1351d462aa4 (patch) | |
tree | f3272eae04f435baa2b21b618238afb43da43c1b /configure | |
parent | 0782ad5002b303ae2b8e353509102b4822927ea8 (diff) | |
download | lvm2-24bbc4d71ee98e3ad23f3acba894e1351d462aa4.tar.gz |
autoreconf
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -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 @@ -8433,6 +8435,36 @@ if test x$GROUP != x; then 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`\"" ################################################################################ |