diff options
author | tim@cane.mysql.fi <> | 2000-12-26 10:54:45 +0200 |
---|---|---|
committer | tim@cane.mysql.fi <> | 2000-12-26 10:54:45 +0200 |
commit | dbb64831118e4e03b718dcbe47fd6e740371fbfa (patch) | |
tree | 4dc9d0f2cc657cf15c9b8d3c0bcca1142f2e1a44 /configure.in | |
parent | 4949aea3451804bcded20b29bb9608836b6fdcd5 (diff) | |
download | mariadb-git-dbb64831118e4e03b718dcbe47fd6e740371fbfa.tar.gz |
configure.in --without-raid should not #define USE_RAID
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
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, |