diff options
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, |