mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
configure.ac: Remove some more remnants of optional RAID
(It's now always 'internal')
This commit is contained in:
parent
90d0ff6636
commit
9cab005797
19
configure.ac
19
configure.ac
@ -332,13 +332,6 @@ esac
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
dnl -- raid inclusion type
|
dnl -- raid inclusion type
|
||||||
AC_MSG_CHECKING(whether to include raid)
|
|
||||||
AC_ARG_WITH(raid,
|
|
||||||
AC_HELP_STRING([--with-raid=TYPE],
|
|
||||||
[raid support: internal/shared/none [internal]]),
|
|
||||||
RAID=$withval, RAID=internal)
|
|
||||||
AC_MSG_RESULT($RAID)
|
|
||||||
|
|
||||||
AC_ARG_WITH(default-mirror-segtype,
|
AC_ARG_WITH(default-mirror-segtype,
|
||||||
AC_HELP_STRING([--with-default-mirror-segtype=TYPE],
|
AC_HELP_STRING([--with-default-mirror-segtype=TYPE],
|
||||||
[default mirror segtype: raid1/mirror [raid1]]),
|
[default mirror segtype: raid1/mirror [raid1]]),
|
||||||
@ -347,14 +340,9 @@ AC_ARG_WITH(default-raid10-segtype,
|
|||||||
AC_HELP_STRING([--with-default-raid10-segtype=TYPE],
|
AC_HELP_STRING([--with-default-raid10-segtype=TYPE],
|
||||||
[default mirror segtype: raid10/mirror [raid10]]),
|
[default mirror segtype: raid10/mirror [raid10]]),
|
||||||
DEFAULT_RAID10_SEGTYPE=$withval, DEFAULT_RAID10_SEGTYPE="raid10")
|
DEFAULT_RAID10_SEGTYPE=$withval, DEFAULT_RAID10_SEGTYPE="raid10")
|
||||||
case "$RAID" in
|
|
||||||
none) test "$DEFAULT_MIRROR_SEGTYPE" = "raid1" && DEFAULT_MIRROR_SEGTYPE="mirror"
|
AC_DEFINE([RAID_INTERNAL], 1,
|
||||||
test "$DEFAULT_RAID10_SEGTYPE" = "raid10" && DEFAULT_RAID10_SEGTYPE="mirror" ;;
|
|
||||||
shared) ;;
|
|
||||||
internal) AC_DEFINE([RAID_INTERNAL], 1,
|
|
||||||
[Define to 1 to include built-in support for raid.]) ;;
|
[Define to 1 to include built-in support for raid.]) ;;
|
||||||
*) AC_MSG_ERROR([--with-raid parameter invalid]) ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED([DEFAULT_MIRROR_SEGTYPE], ["$DEFAULT_MIRROR_SEGTYPE"],
|
AC_DEFINE_UNQUOTED([DEFAULT_MIRROR_SEGTYPE], ["$DEFAULT_MIRROR_SEGTYPE"],
|
||||||
[Default segtype used for mirror volumes.])
|
[Default segtype used for mirror volumes.])
|
||||||
@ -1551,8 +1539,6 @@ AC_CHECK_LIB(dl, dlopen,
|
|||||||
################################################################################
|
################################################################################
|
||||||
dnl -- Check for shared/static conflicts
|
dnl -- Check for shared/static conflicts
|
||||||
if [[ \( "$LVM1" = shared -o "$POOL" = shared -o "$CLUSTER" = shared \
|
if [[ \( "$LVM1" = shared -o "$POOL" = shared -o "$CLUSTER" = shared \
|
||||||
-o "$SNAPSHOTS" = shared -o "$MIRRORS" = shared \
|
|
||||||
-o "$RAID" = shared -o "$CACHE" = shared \
|
|
||||||
\) -a "$STATIC_LINK" = yes ]]; then
|
\) -a "$STATIC_LINK" = yes ]]; then
|
||||||
AC_MSG_ERROR([Features cannot be 'shared' when building statically])
|
AC_MSG_ERROR([Features cannot be 'shared' when building statically])
|
||||||
fi
|
fi
|
||||||
@ -2042,7 +2028,6 @@ AC_SUBST(PYTHON2DIR)
|
|||||||
AC_SUBST(PYTHON3DIR)
|
AC_SUBST(PYTHON3DIR)
|
||||||
AC_SUBST(QUORUM_CFLAGS)
|
AC_SUBST(QUORUM_CFLAGS)
|
||||||
AC_SUBST(QUORUM_LIBS)
|
AC_SUBST(QUORUM_LIBS)
|
||||||
AC_SUBST(RAID)
|
|
||||||
AC_SUBST(RT_LIBS)
|
AC_SUBST(RT_LIBS)
|
||||||
AC_SUBST(READLINE_LIBS)
|
AC_SUBST(READLINE_LIBS)
|
||||||
AC_SUBST(REPLICATORS)
|
AC_SUBST(REPLICATORS)
|
||||||
|
Loading…
Reference in New Issue
Block a user