device-mapper ./Makefile.in ./configure ./conf ...
Subsystems (3)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2008-06-06 20:44:35
Modified files:
. : Makefile.in configure configure.in make.tmpl.in
lib : Makefile.in libdm-common.c
Log message:
rename some config vars
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/Makefile.in.diff?cvsroot=dm&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/configure.diff?cvsroot=dm&r1=1.46&r2=1.47
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/configure.in.diff?cvsroot=dm&r1=1.48&r2=1.49
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/make.tmpl.in.diff?cvsroot=dm&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/Makefile.in.diff?cvsroot=dm&r1=1.37&r2=1.38
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-common.c.diff?cvsroot=dm&r1=1.58&r2=1.59
Makefile.in +1 -1
@@ -24,7 +24,7 @@ SUBDIRS += po endif -ifeq ("@DMEVENTD@", "yes") +ifeq ("@BUILD_DMEVENTD@", "yes") SUBDIRS += dmeventd else ifeq ($(MAKECMDGOALS),distclean)
configure +36 -36
198 lines not on this page · raw message
configure.in +20 -20
@@ -38,7 +38,7 @@ LIB_SUFFIX=so DEVMAPPER=yes ODIRECT=yes - DMIOCTLS=yes + DM_IOCTLS=yes SELINUX=yes REALTIME=yes CLUSTER=internal
@@ -53,7 +53,7 @@ LIB_SUFFIX=dylib DEVMAPPER=yes ODIRECT=no - DMIOCTLS=no + DM_IOCTLS=no SELINUX=no REALTIME=no CLUSTER=none
@@ -158,8 +158,8 @@ AC_ARG_WITH(device-uid, [ --with-device-uid=UID Set the owner used for new device nodes [[UID=0]] ], - [ DEVICE_UID="$withval" ], [ DEVICE_UID="0" ] ) -AC_MSG_RESULT($DEVICE_UID) + [ DM_DEVICE_UID="$withval" ], [ DM_DEVICE_UID="0" ] ) +AC_MSG_RESULT($DM_DEVICE_UID) ################################################################################ dnl -- Setup device group ownership
@@ -167,8 +167,8 @@ AC_ARG_WITH(device-gid, [ --with-device-gid=UID Set the group used for new device nodes [[GID=0]] ], - [ DEVICE_GID="$withval" ], [ DEVICE_GID="0" ] ) -AC_MSG_RESULT($DEVICE_GID) + [ DM_DEVICE_GID="$withval" ], [ DM_DEVICE_GID="0" ] ) +AC_MSG_RESULT($DM_DEVICE_GID) ################################################################################ dnl -- Setup device mode
@@ -176,8 +176,8 @@ AC_ARG_WITH(device-mode, [ --with-device-mode=MODE Set the mode used for new device nodes [[MODE=0600]] ], - [ DEVICE_MODE="$withval" ], [ DEVICE_MODE="0600" ] ) -AC_MSG_RESULT($DEVICE_MODE) + [ DM_DEVICE_MODE="$withval" ], [ DM_DEVICE_MODE="0600" ] ) +AC_MSG_RESULT($DM_DEVICE_MODE) ################################################################################ dnl -- Enable debugging
@@ -204,17 +204,17 @@ ################################################################################ dnl -- Compatibility mode AC_ARG_ENABLE(compat, [ --enable-compat Enable support for old device-mapper versions], - COMPAT=$enableval, COMPAT=no) + DM_COMPAT=$enableval, DM_COMPAT=no) ################################################################################ dnl -- Disable ioctl AC_ARG_ENABLE(ioctl, [ --disable-driver Disable calls to device-mapper in the kernel], - DMIOCTLS=$enableval) + DM_IOCTLS=$enableval) ################################################################################ dnl -- Enable dmeventd AC_ARG_ENABLE(dmeventd, [ --enable-dmeventd Build the new event daemon], - DMEVENTD=$enableval, DMEVENTD=no) + BUILD_DMEVENTD=$enableval, BUILD_DMEVENTD=no) ################################################################################ dnl -- Enable pkg-config
@@ -421,7 +421,7 @@ ################################################################################ dnl -- dmeventd pidfile and executable path AH_TEMPLATE(DMEVENTD_PIDFILE, [Path to dmeventd pidfile.]) -if test "$DMEVENTD" = yes; then +if test "$BUILD_DMEVENTD" = yes; then AC_ARG_WITH(dmeventd-pidfile, [ --with-dmeventd-pidfile=PATH dmeventd pidfile [[/var/run/dmeventd.pid]] ], [ AC_DEFINE_UNQUOTED(DMEVENTD_PIDFILE,"$withval") ],
@@ -429,7 +429,7 @@ fi AH_TEMPLATE(DMEVENTD_PATH, [Path to dmeventd binary.]) -if test "$DMEVENTD" = yes; then +if test "$BUILD_DMEVENTD" = yes; then dmeventd_prefix="$exec_prefix" if test "x$dmeventd_prefix" = "xNONE"; then dmeventd_prefix="$prefix"
@@ -444,6 +444,7 @@ fi ################################################################################ +AC_SUBST(BUILD_DMEVENTD) AC_SUBST(CFLAGS) AC_SUBST(CFLOW_CMD) AC_SUBST(CLDFLAGS)
@@ -452,18 +453,16 @@ AC_SUBST(CLUSTER) AC_SUBST(CLVMD) AC_SUBST(CMDLIB) -AC_SUBST(COMPAT) -AC_SUBST(CONFDIR) AC_SUBST(COPTIMISE_FLAG) AC_SUBST(CSCOPE_CMD) AC_SUBST(DEBUG) -AC_SUBST(DEVICE_GID) -AC_SUBST(DEVICE_MODE) -AC_SUBST(DEVICE_UID) AC_SUBST(DEVMAPPER) AC_SUBST(DMDIR) -AC_SUBST(DMEVENTD) -AC_SUBST(DMIOCTLS) +AC_SUBST(DM_COMPAT) +AC_SUBST(DM_DEVICE_GID) +AC_SUBST(DM_DEVICE_MODE) +AC_SUBST(DM_DEVICE_UID) +AC_SUBST(DM_IOCTLS) AC_SUBST(DM_LIB_VERSION) AC_SUBST(FSADM) AC_SUBST(GROUP)
@@ -479,6 +478,7 @@ AC_SUBST(LOCALEDIR) AC_SUBST(LVM1) AC_SUBST(LVM1_FALLBACK) +AC_SUBST(LVM_CONF_DIR) AC_SUBST(LVM_VERSION) AC_SUBST(MIRRORS) AC_SUBST(MSGFMT)
make.tmpl.in +2 -2
@@ -77,11 +77,11 @@ LDFLAGS += -L$(interfacedir) CLDFLAGS += -L$(interfacedir) -ifeq ("@COMPAT@", "yes") +ifeq ("@DM_COMPAT@", "yes") DEFS += -DDM_COMPAT endif -ifeq ("@DMIOCTLS@", "yes") +ifeq ("@DM_IOCTLS@", "yes") DEFS += -DDM_IOCTLS endif
lib/Makefile.in +2 -2
@@ -43,8 +43,8 @@ endif VERSIONED_SHLIB = libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) -DEFS += -DDEVICE_UID=@DEVICE_UID@ -DDEVICE_GID=@DEVICE_GID@ \ - -DDEVICE_MODE=@DEVICE_MODE@ +DEFS += -DDM_DEVICE_UID=@DM_DEVICE_UID@ -DDM_DEVICE_GID=@DM_DEVICE_GID@ \ + -DDM_DEVICE_MODE=@DM_DEVICE_MODE@ include ../make.tmpl
lib/libdm-common.c +3 -3
@@ -120,9 +120,9 @@ dmt->type = type; dmt->minor =-1 ; dmt->major =-1 ; - dmt->uid =DEVICE_UID ; - dmt->gid =DEVICE_GID ; - dmt->mode =DEVICE_MODE ; + dmt->uid =DM_DEVICE_UID ; + dmt->gid =DM_DEVICE_GID ; + dmt->mode =DM_DEVICE_MODE ; dmt->no_open_count =0 ; dmt->read_ahead =DM_READ_AHEAD_AUTO ; dmt->read_ahead_flags =0 ;