about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2010-08-05 17:53:03 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2010-08-05 17:53:03 +0000
commitae6b58bba9c18954c6156223eb3df810fcf0dbbd (patch)
tree8be3f8dbc8e10d6deebb64438e037dca49d9e44c
parent4440b96b3d92802ee327609e713f351065d25063 (diff)
downloadklee-ae6b58bba9c18954c6156223eb3df810fcf0dbbd.tar.gz
Add support for Debug+Asserts configuration
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@110349 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac3
-rwxr-xr-xconfigure5
2 files changed, 8 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 015c4f44..3be97790 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -231,6 +231,9 @@ if test X${with_runtime} = XRelease; then
 elif test X${with_runtime} = XDebug; then
    AC_MSG_RESULT([Debug])
    AC_SUBST(RUNTIME_ENABLE_OPTIMIZED,[[0]])
+elif test X${with_runtime} = XDebug+Asserts; then
+   AC_MSG_RESULT([Debug+Asserts])
+   AC_SUBST(RUNTIME_ENABLE_OPTIMIZED,[[0]])
 else
    AC_MSG_ERROR([invalid configuration: ${with_runtime}])
 fi
diff --git a/configure b/configure
index e1622458..73264954 100755
--- a/configure
+++ b/configure
@@ -2185,6 +2185,11 @@ elif test X${with_runtime} = XDebug; then
 echo "${ECHO_T}Debug" >&6; }
    RUNTIME_ENABLE_OPTIMIZED=0
 
+elif test X${with_runtime} = XDebug+Asserts; then
+   { echo "$as_me:$LINENO: result: Debug+Asserts" >&5
+echo "${ECHO_T}Debug+Asserts" >&6; }
+   RUNTIME_ENABLE_OPTIMIZED=0
+
 else
    { { echo "$as_me:$LINENO: error: invalid configuration: ${with_runtime}" >&5
 echo "$as_me: error: invalid configuration: ${with_runtime}" >&2;}