]> sourceware.org Git - lvm2.git/commitdiff
autoreconf
authorAlasdair Kergon <agk@redhat.com>
Sat, 1 Nov 2008 02:20:06 +0000 (02:20 +0000)
committerAlasdair Kergon <agk@redhat.com>
Sat, 1 Nov 2008 02:20:06 +0000 (02:20 +0000)
configure

index f965257b8dc04cea4526cf431d1cb07a18b393d2..72a04d8f78bb8a16244501696fb52fceabaf7b3c 100755 (executable)
--- 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`\""
 
 ################################################################################
This page took 0.036114 seconds and 5 git commands to generate.