diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-12-11 09:05:26 -0800 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-12-11 09:05:26 -0800 |
commit | a45df61f6641ed0f6b92919bf377ce2ef1f1d839 (patch) | |
tree | 0eaeba63fc853334f703a8807bae47ca5b8f3232 /autoconf | |
parent | 02fa9e4d83a04f50cb1ad24b543a2fd5002fa2f3 (diff) | |
parent | 67bfeaa6f6cd9f46a1d5131ab0b831913922eb3d (diff) | |
download | klee-a45df61f6641ed0f6b92919bf377ce2ef1f1d839.tar.gz |
Merge pull request #31 from antiAgainst/chroot-replay
Chroot replay feature
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 2fd162f2..4bd79557 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -467,6 +467,15 @@ AC_LANG_PUSH([C]) AC_CHECK_HEADERS([sys/acl.h]) +AC_CHECK_LIB([cap], [cap_get_proc], [have_cap=yes], [have_cap=no]) +if test "x${have_cap}" = xyes; then + AC_CHECK_HEADERS([sys/capability.h], [], [have_cap=no]) +fi +if test "x${have_cap}" = xno; then + AC_MSG_ERROR([Library cap and its header file sys/capability.h required for \ +klee-replay. Please install package libcap-dev/libcap-devel.]) +fi + AC_LANG_POP([C]) AC_CHECK_HEADERS([selinux/selinux.h], |