mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
configure.in --without-raid should not #define USE_RAID
This commit is contained in:
12
configure.in
12
configure.in
@@ -436,10 +436,16 @@ AM_CONDITIONAL(ASSEMBLER, test ASSEMBLER_x86 = "" -o ASSEMBLER_x86 = "")
|
|||||||
AC_MSG_CHECKING(whether to use RAID)
|
AC_MSG_CHECKING(whether to use RAID)
|
||||||
AC_ARG_WITH(raid,
|
AC_ARG_WITH(raid,
|
||||||
[ --with-raid Enable RAID Support],
|
[ --with-raid Enable RAID Support],
|
||||||
[ AC_DEFINE(USE_RAID)
|
[ USE_RAID=$withval ],
|
||||||
AC_MSG_RESULT(yes) ],
|
[ USE_RAID=no ]
|
||||||
[ AC_MSG_RESULT(no) ]
|
|
||||||
)
|
)
|
||||||
|
if test "$USE_RAID" = "yes"
|
||||||
|
then
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
AC_DEFINE([USE_RAID])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
fi
|
||||||
|
|
||||||
# Use this to set the place used for unix socket used to local communication.
|
# Use this to set the place used for unix socket used to local communication.
|
||||||
AC_ARG_WITH(unix-socket-path,
|
AC_ARG_WITH(unix-socket-path,
|
||||||
|
Reference in New Issue
Block a user