summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-26 10:54:45 +0200
committerunknown <tim@cane.mysql.fi>2000-12-26 10:54:45 +0200
commit70c7b3c02d0a8f54b16c24c35d03f576521472fa (patch)
tree4dc9d0f2cc657cf15c9b8d3c0bcca1142f2e1a44
parent25e911fa5e6ae6389231bffd6e64f9bd292aa3bc (diff)
downloadmariadb-git-70c7b3c02d0a8f54b16c24c35d03f576521472fa.tar.gz
configure.in --without-raid should not #define USE_RAID
configure.in: --without-raid should not #define USE_RAID
-rw-r--r--configure.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index fbfb3119674..fe8a83f1942 100644
--- a/configure.in
+++ b/configure.in
@@ -436,10 +436,16 @@ AM_CONDITIONAL(ASSEMBLER, test ASSEMBLER_x86 = "" -o ASSEMBLER_x86 = "")
AC_MSG_CHECKING(whether to use RAID)
AC_ARG_WITH(raid,
[ --with-raid Enable RAID Support],
- [ AC_DEFINE(USE_RAID)
- AC_MSG_RESULT(yes) ],
- [ AC_MSG_RESULT(no) ]
+ [ USE_RAID=$withval ],
+ [ USE_RAID=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.
AC_ARG_WITH(unix-socket-path,