summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authormikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-04-19 21:22:35 -0400
committermikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-04-19 21:22:35 -0400
commit09e95da616e77c53dabaff26cb1ef81d143e6ffb (patch)
tree9850b72f96536df551030ac68a61ccc9ae2ce51f /configure.in
parent5f763b4378440dc6e5c7d4fc6b61f85855b22371 (diff)
parentc9085e5189120e7bce8ec8834040ebc6a838fb4e (diff)
downloadmariadb-git-09e95da616e77c53dabaff26cb1ef81d143e6ffb.tar.gz
Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new
into c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6984f5b5f89..44e9d286e1f 100644
--- a/configure.in
+++ b/configure.in
@@ -666,6 +666,7 @@ else
AC_MSG_RESULT([no])
fi
+
MYSQL_SYS_LARGEFILE
# Types that must be checked AFTER large file support is checked
@@ -1608,6 +1609,21 @@ else
CXXFLAGS="$OPTIMIZE_CXXFLAGS -DDBUG_OFF $CXXFLAGS"
fi
+# If we should allow error injection tests
+AC_ARG_WITH(error-inject,
+ [ --with-error-inject Enable error injection in MySQL Server],
+ [ with_error_inject=$withval ],
+ [ with_error_inject=no ])
+
+if test $with_debug != "no"
+then
+ if test "$with_error_inject" = "yes"
+ then
+ AC_DEFINE([ERROR_INJECT_SUPPORT], [1],
+ [Enable error injection in MySQL Server])
+ fi
+fi
+
AC_ARG_WITH([fast-mutexes],
AC_HELP_STRING([--with-fast-mutexes],
[Compile with fast mutexes (default is disabled)]),