about summary refs log tree commit diff homepage
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-08-20 18:29:36 +0100
committerDaniel Dunbar <daniel@zuster.org>2014-09-14 15:41:24 -0700
commit1d3c741c7f074df863e94e9dfb70630eaadac6d2 (patch)
tree83775a93e424a77c1c8a9b388ea1ccc0a3848339 /Makefile.config.in
parent0aa44d4f61032836744d7a20f219af4463e99a23 (diff)
downloadklee-1d3c741c7f074df863e94e9dfb70630eaadac6d2.tar.gz
Provide --enable-cxx11 configure option to enable building with C++11.
For LLVM >= 3.5 explicitly force this to be enabled otherwise we can't
compile against LLVM.

 - Some minor tweaks to the configure logic by me (Daniel Dunbar), to ensure C++
   compiler is tested before these checks run, and to properly restore CXXFLAGS.
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index a6dcdcaa..c8e2b57f 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -27,6 +27,8 @@ PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
 # Set the root directory of this project's install prefix
 PROJ_INSTALL_ROOT := @prefix@
 
+KLEE_USE_CXX11 := @KLEE_USE_CXX11@
+
 STP_ROOT := @STP_ROOT@
 
 STP_NEEDS_BOOST := @STP_NEEDS_BOOST@